/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 3888 * dvma release - release dummy handle and all the index handles 3898 * chek none of the index handles were still loaded 3961 * so our dvma routines can find and index off to the handle they 4043 bofi_dvma_kaddr_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index, argument 4074 hp = dummyhp->hparrayp[index]; 4095 dummyhp->save.dvma_ops.dvma_kaddr_load(h, a, len, index, cp); 4131 bofi_dvma_unload(ddi_dma_handle_t h, uint_t index, uint_t view) argument 4157 dummyhp->save.dvma_ops.dvma_unload(h, index, view); 4161 hp = dummyhp->hparrayp[index]; 4203 bofi_dvma_sync(ddi_dma_handle_t h, uint_t index, uint_ argument [all...] |
H A D | bscbus.c | 287 uint8_t index; member in struct:bscbus_channel_state 703 csp->reply[rcvd = csp->index] = data; 705 csp->index = rcvd; 730 csp->index = 0; 991 csp->index = 0; 1057 csp->index = 0;
|
H A D | bscv.c | 2207 * check if led index is -1, if so set it to max value for 2210 if (led_state.index == -1) { 2211 led_state.index = MAX_LED_ID; 2214 /* is the index in a valid range */ 2215 if ((led_state.index > MAX_LED_ID) || (led_state.index < 0)) { 2220 EBUS_IDX_LED1_STATUS + led_state.index, &res); 2251 ssp->led_names[led_state.index]); 2899 "loop index %d ssp->cssp_prog 0x%x", i, ssp->cssp_prog); 4035 bscv_get_label(char labels[][MAX_LOM2_NAME_STR], int limit, int index) argument 4554 bscv_do_page_data_once(bscv_soft_state_t *ssp, uint32_t index, uint32_t image_size, uint32_t pagesize, uint8_t *imagep, uint16_t *calcd_chksum) argument 4614 bscv_do_page(bscv_soft_state_t *ssp, uint32_t loadaddr, uint32_t index, uint32_t image_size, uint32_t pagesize, uint8_t *imagep, boolean_t is_image2) argument 4669 uint32_t index; local [all...] |
H A D | pcic.c | 502 uchar_t *index, *data; local 519 (caddr_t *)&index, 525 data = index + 1; 531 cmn_err(CE_CONT, "\tindex=%p\n", (void *)index); 533 ddi_put8(handle, index, PCIC_CHIP_REVISION); 547 ddi_put8(handle, index, PCIC_MAPPING_ENABLE); 3871 ind = 0; /* default index to 0 power */ 5172 * pcic_check_ready(pcic, index, off)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu.c | 763 cpu_pause(int index) argument 767 volatile char *safe = &safe_list[index]; 768 long lindex = index; 794 * if cp_func has been set then call it using index as the
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 94 * relevant for hashed index based page coloring). 216 * ctr_mutex lock index for a particular physical range. 248 * used to convert a pagenum into a counter array index or vice versa, as 249 * well as a cache of the last successful index to be promoted to a larger 250 * page size. As an optimization, we keep track of the last successful index 262 * page_counters[region_size][mnode].hpm_counters[index]: 264 * exist or can be created within the given index range. 268 * for the mnode we want. We calculate the index and look at a specific 272 * index. Note that when a region is full, it will contribute to the 285 * hpm_shift: shift for pnum/array index con 1974 ulong_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 373 EL(ha, "Invalid HbaSelect vp index: %xh\n", 392 * The specified vp index may be valid(within range) 917 uint16_t port_cnt, tgt_cnt, index; local 1036 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { 1037 for (link = ha->dev[index].first; link != NULL; 1094 uint16_t index; local 1108 for (link = NULL, index = 0; 1109 index < DEVICE_HEAD_LIST_SIZ 1201 uint16_t index; local 4631 uint16_t index; local 6231 uint32_t rlen, dev_type, index; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 1185 int index; local 1228 for (index = 0; index < FCIP_RT_HASH_ELEMS; index++) { 1231 frp = fptr->fcip_rtable[index]; 1241 index = FCIP_RT_HASH_ELEMS; 1851 int index; local 1926 for (index = 0; index < FCIP_RT_HASH_ELEMS; index 2261 int index; local 4917 int index; local 7201 int index; local 7424 int index; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.h | 209 #define RXBUF_START_ADDR(a, index, bsize) ((a & (index * bsize)) 328 uint16_t index; member in struct:_rx_rcr_ring_t 354 /* Buffer index information */ 363 /* Buffer index information */ 394 uint16_t index; member in struct:_rx_rbr_ring_t 451 uint16_t index; member in struct:_rx_mbox_t
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_kstats.c | 57 uint8_t index; member in struct:__anon6425 2207 r_index = rhp->index + nxgep->pt_config.hw_config.start_rdc; 2247 r_index = nxgep->pt_config.hw_config.tdc.start + rhp->index;
|
H A D | nxge_rxdma.c | 904 /* index of the first block in this chunk */ 937 NXGE_DEBUG_MSG((nxgep, RX2_CTL, "==> getting total index")); 939 block_index = (offset / block_size); /* index within chunk */ 975 "==> nxge_rxbuf_pp_to_vp: get msg index: " 1059 int index; local 1084 for (index = 0; index < max_index; index++) { 1088 index, ring_info->buffer[index] 3766 int i, j, index; local 4919 int index; local [all...] |
/illumos-gate/usr/src/uts/common/io/urtw/ |
H A D | urtw.c | 631 urtw_8225_write_s16(struct urtw_softc *sc, uint8_t addr, int index, argument 646 req.wIndex = (uint16_t)index;
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/ |
H A D | usb_ac.c | 1079 uint_t index; local 1087 "#controls: %d index=%d", n_channel_controls, 1097 index = feature_descrp->bControlSize * 1103 feature_descrp->bmaControls[index]); 1105 if ((feature_descrp->bmaControls[index] & 1130 int len, index; local 1145 for (index = 0; index < altif_data->altif_n_cvs; index++) { 1146 cvs = &altif_data->altif_cvs[index]; 4269 usb_ac_get_reg_data(usb_ac_state_t *uacp, ldi_handle_t drv_lh, int index) argument [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device.c | 1741 * @index: index number where the MAC addr will be stored 1748 * 1. ULD has to call this function with the index value which 1750 * ring_num = (index % 8) 1751 * 2.ULD also needs to make sure that the index is not 1752 * occupied by any MAC address. If that index has any MAC address 1757 xge_hal_device_rts_mac_enable(xge_hal_device_h devh, int index, macaddr_t macaddr) argument 1767 if ( index >= max_addr ) 1771 * Set the MAC address at the given location marked by index. 1773 status = xge_hal_device_macaddr_set(hldev, index, macadd 1793 xge_hal_device_rts_mac_disable(xge_hal_device_h devh, int index) argument 4871 xge_hal_device_macaddr_get(xge_hal_device_t *hldev, int index, macaddr_t *macaddr) argument 4956 xge_hal_device_macaddr_set(xge_hal_device_t *hldev, int index, macaddr_t macaddr) argument 5015 xge_hal_device_macaddr_clear(xge_hal_device_t *hldev, int index) argument 5559 int index = 0, count, fail = 0; local 7144 xge_hal_device_rts_section_enable(xge_hal_device_h devh, int index) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_rxdma.h | 54 #define RXBUF_START_ADDR(a, index, bsize) ((a & (index * bsize)) 163 uint32_t index; member in struct:_nxge_rxbuf_off_hdr_t 218 uint16_t index; member in struct:_rx_rcr_ring_t 252 /* Buffer index information */ 262 * Buffer index information 300 uint16_t index; member in struct:_rx_rbr_ring_t 366 uint16_t index; member in struct:_rx_mbox_t
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.h | 141 uint16_t index; member in struct:RPIobj 197 uint16_t index; member in struct:VPIobj 266 uint16_t index; member in struct:VFIobj 322 uint16_t index; member in struct:FCFIobj
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | reglib.h | 308 int max; /* max index */ 309 int cur; /* current index -- user domain */ 449 unsigned char* index; member in struct:Neg_catch_s
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100_impl.h | 194 int index; member in struct:statistic 227 * tx-rd-index the entry to be processed by HW, i.e. empty tx buffer 228 * tx-wr-index the entry just being filled by SW with new data to transmit 233 * rx-rd-index the entry just being processed by HW, i.e. new received data 234 * rx-wr-index the entry just being set by SW to empty buffer to receive
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh.c | 2712 uint32_t index; local 2721 * firmware has moved the index of the rx queue, driver get it, 2724 index = (sc->sc_shared->val0) & 0xfff; 2726 while (sc->sc_rxq.cur != index) { 2731 "rx notification index = %d" 2733 index, sc->sc_rxq.cur, desc->hdr.qid, desc->hdr.idx, 2848 index = (0 == index) ? RX_QUEUE_SIZE - 1 : index - 1; 2849 IWH_WRITE(sc, FH_RSCSR_CHNL0_RBDCB_WPTR_REG, index [all...] |
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp.c | 2598 uint32_t index; local 2607 * firmware has moved the index of the rx queue, driver get it, 2610 index = (sc->sc_shared->val0) & 0xfff; 2612 while (sc->sc_rxq.cur != index) { 2617 "rx notification index = %d" 2619 index, sc->sc_rxq.cur, desc->hdr.qid, desc->hdr.idx, 2747 index = (0 == index) ? RX_QUEUE_SIZE - 1 : index - 1; 2748 IWP_WRITE(sc, FH_RSCSR_CHNL0_RBDCB_WPTR_REG, index [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror.c | 824 * int smi - submirror index 825 * int ci - component index 1498 * is writable. The first writable submirror index is assigned 1627 * of the nth bit set. The nth bit set is passed via the index integer. 1631 * index to appropriate submirror structure, in the md_sm 1635 md_find_nth_unit(uint_t mask, int index) argument 1639 for (bit = -1, nfound = -1; nfound != index; bit++) { 2841 int smi; /* sub mirror index */ 2952 int smi; /* sub mirror index */
|
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 1284 mwlGetCalTable(struct mwl_softc *sc, uint8_t annex, uint8_t index) argument 1291 pCmd->index = index; 2282 "reset key index in key allocation\n");
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus.c | 337 int index = 0; local 376 * CPUs, set "index" to the highest numbered CPU in 391 index = (int)i; 454 uint16_t next = (uint16_t)index; 481 for ((index = ((int)next - 1)); 482 index >= 0; index--) 483 if (CPU_IN_SET(set, index)) { 484 next = (uint16_t)index;
|
/illumos-gate/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 311 uint8_t index; member in struct:lombus_state 669 ssp->reply[rcvd = ssp->index] = data; 672 ssp->index = rcvd; 692 * resetting the buffer index to 0. 694 ssp->index = 0; 713 ssp->index = 0; 745 ssp->index = 0; 926 ssp->index = 0; 957 ssp->index = 0;
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 518 /* if last index number set it to 0 */ 542 /* if last index number set it to 0 */ 599 /* iflast index number set it to 0 */ 1872 int ending_index, index; local 1875 index = phbbmu->postq_index; 1876 ending_index = ((index+1)%ARCMSR_MAX_HBB_POSTQUEUE); 1879 phbbmu->post_qbuffer[index] = 1882 phbbmu->post_qbuffer[index] = cdb_phyaddr_pattern; 1884 index++; 1885 /* if last index numbe 4946 int index; local 5433 int index; local [all...] |