/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cmd.c | 572 uint_t index, next, prev; local 625 index = mblist->mbl_head_indx; 626 next = mbox_ptr[index].mb_next; 627 prev = mbox_ptr[index].mb_prev; 636 *mb = &mbox_ptr[index]; 655 /* Pull the "index" from mailbox entry */ 671 /* Update tail index */ 931 /* Pull the "index" from command entry */ 948 /* Update tail index */ 2738 * New "producer index" i [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 1176 int index; local 1178 index = pathp->pi_prim_cep_path.cep_pkey_ix; 1179 pkey = (pinfop->p_pkey_tbl)[index];
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 1605 int ii, index; local 1617 &index, &pkey, &port_num) != IBNEX_SUCCESS) { 1653 rval = ibnex_get_dip_from_guid(port_guid, index, pkey, &cdip); 1666 port_attr, index, IBNEX_PORT_COMMSVC_NODE, pkey, &rval, 1672 port_attr, index, IBNEX_HCASVC_COMMSVC_NODE, pkey, &rval, 1687 index, IBNEX_VPPA_COMMSVC_NODE, 1707 * service index & Port #. 1711 ibnex_get_pkey_commsvc_index_portnum(char *device_name, int *index, argument 1755 *index = ii; 2707 ibnex_get_node_and_dip_from_guid(ib_guid_t guid, int index, ib_pkey_ argument 2757 ibnex_get_dip_from_guid(ib_guid_t guid, int index, ib_pkey_t pkey, dev_info_t **dip) argument 2918 int index; local 2965 ibnex_commsvc_initnode(dev_info_t *parent, ibdm_port_attr_t *port_attr, int index, int node_type, ib_pkey_t pkey, int *rval, int flag) argument 3376 ibnex_is_node_data_present(ibnex_node_type_t node_type, void *attr, int index, ib_pkey_t pkey) argument 3525 ibnex_init_child_nodedata(ibnex_node_type_t node_type, void *attr, int index, ib_pkey_t pkey) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 900 uint32_t ncookies, index = 0, total_cookies = 0; local 921 DDI_DMA_DONTWAIT, NULL, &cookie[index], &ncookies); 940 if (index == 0) { 964 index++; 966 for (i = 0; i < ncookies; i++, index++) 967 ddi_dma_nextcookie(dmah->dmahdl, &cookie[index]); 1237 int index, cksum_flags, docopy; local 1241 index = ((desc->u1.s1.referenceHandle_hi << 4) | index_lo); 1243 rx_buffer = index2rxbuf(rcv_desc, index); 1246 cmn_err(CE_WARN, "\r\nNULL rx_buffer idx=%d", index); 2032 offset_t index; member in struct:__anon6421 [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 2394 nxge_tcam_get_index(p_nxge_t nxgep, uint16_t index) argument 2397 if (index >= (nxgep->classifier.tcam_size - 1)) 2398 index = 0; 2400 index++; 2401 return (nxgep->classifier.tcam_top + (index * nxgep->nports)); 2439 uint16_t index; local 2446 index = nxge_tcam_get_index(nxgep, (uint16_t)fs->location); 2447 tcam_ep = &nxgep->classifier.tcam_entries[index]; 2450 "Entry [%d] invalid for index [%d]", fs->location, index)); 2521 uint16_t index; local [all...] |
H A D | nxge_txdma.c | 1037 "index = %d", 1178 "==> nxge_tx_intr:channel %d ring index %d status 0x%08x", 1182 "==> nxge_tx_intr:channel %d ring index %d " 1188 "==> nxge_tx_intr:channel %d ring index %d " 1667 * head index had not moved since last timeout. 2119 printf("\n\thead index %d", hdl.bits.ldw.head); 2122 printf("\n\ttail index %d\n", kick.bits.ldw.tail); 2266 ring->index = (uint16_t)channel; 2539 int i, j, index; local 2632 index 3158 nxge_tx_err_evnts(p_nxge_t nxgep, uint_t index, p_nxge_ldv_t ldvp, tx_cs_t cs) argument [all...] |
H A D | nxge_virtual.c | 2632 tdc_grp_p->grp_index = group->index; 2704 rdc_grp_p->grp_index = group->index; 4104 * Convert an RDC group index into a port ring index. That is, map 4105 * <groupid> to an index into nxgep->rx_ring_handles. 4106 * (group ring index -> port ring index) 4112 int index = 0; local 4126 index += rdc_grp_p->max_rdcs; 4129 return (index [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | stream.c | 189 size_t index; local 193 index = (msg_size - 1) >> DBLK_SIZE_SHIFT; 195 ASSERT(index < (DBLK_MAX_CACHE >> DBLK_SIZE_SHIFT)); 210 dbp->db_cache = dblk_cache[index]; 420 size_t index; local 422 index = (size - 1) >> DBLK_SIZE_SHIFT; 424 if (index >= (DBLK_MAX_CACHE >> DBLK_SIZE_SHIFT)) { 429 index = 0; 432 if ((dbp = kmem_cache_alloc(dblk_cache[index], KM_NOSLEEP)) == NULL) { 1174 size_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 1754 "hidparser_MainItem:index = 0x%lx token = 0x%x", 1996 "hidparser_GlobalItem:index = 0x%lx token = 0x%x", 2059 "hidparser_LocalItem:index = 0x%lx token = 0x%x", 2424 size_t entity_buffer_size, index; local 2426 index = scan_ifp->hidparser_tok_index; 2433 if (index <= entity_buffer_size -1) { 2435 ch = 0xFF & entity_descriptor[index]; 2437 hparser_log_handle, "scanner: index = 0x%lx ch = 0x%x", 2438 index, ch); 2440 index [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc.c | 2953 bufs[i].v4l2_buf.index = i; 3762 uint8_t index, i; local 3846 /* it's good to check index here before use it */ 3847 index = ctrl_get.bFormatIndex - curr_fmtgrp->format->bFormatIndex; 3848 if (index < strm_if->fmtgrp_cnt) { 3849 strm_if->cur_format_group = &strm_if->format_group[index]; 3852 "usbvc_set_default_stream_fmt: format index out of range"); 3858 index = ctrl_get.bFrameIndex - 3860 if (index < strm_if->cur_format_group->frame_cnt) { 3862 &strm_if->cur_format_group->frames[index]; [all...] |
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_util.c | 2119 * Figure out whether or not this interval may be supported. Return the index 2958 * Given a node in the lattice, find the index of the parent node 3078 uint_t elements, index; local 3091 index = EHCI_1US_MASK_INDEX; 3095 index = EHCI_2US_MASK_INDEX; 3099 index = EHCI_4US_MASK_INDEX; 3104 index = EHCI_XUS_MASK_INDEX; 3135 for (i = index; i < (index + elements); i++) { 3137 if (ehci_start_split_mask[index] 3193 uint_t elements, index; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhciutil.c | 97 uhci_bulk_isoc_xfer_t *info, uint_t index, 593 int index; local 613 for (index = 0; index * 5 < regs_prop_len; index++) { 614 if (regs_list[index * 5] & UHCI_PROP_MASK) { 624 if (index * 5 >= regs_prop_len) { 630 if (ddi_regs_map_setup(dip, index, (caddr_t *)&uhcip->uhci_regsp, 917 int index; local 940 for (index 2741 int index; local 3264 uint_t num_bulk_tds, index, td_count, j; local 3986 uint32_t i, j, index; local 4256 uhci_get_isoc_td_by_index( uhci_state_t *uhcip, uhci_bulk_isoc_xfer_t *info, uint_t index, uhci_td_t **tdpp, uhci_bulk_isoc_td_pool_t **td_pool_pp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_util.c | 68 * if_index - interface index 87 "usb_get_if_descr: %s, index=0x%x, alt#=0x%x", 97 if_index, /* interface index */ 98 alt_setting, /* alt interface index */ 121 * if_index - interface index 123 * endpoint_index - endpoint index 142 "usb_get_ep_descr: %s, index=0x%x, alt#=0x%x", 152 if_index, /* interface index */ 153 alt_setting, /* alt interface index */ 154 endpoint_index, /* ep index */ 275 usb_get_string_descr(dev_info_t *dip, uint16_t langid, uint8_t index, char *buf, size_t buflen) argument [all...] |
/illumos-gate/usr/src/uts/common/io/vr/ |
H A D | vr.c | 2005 * significant 9 bits of the result as a bit index into the table. If the 2019 * matching cell address (index) and compares this to the bit position in the 2049 * Get index of first empty slot. 2080 * Find the index of the entry to remove 2194 * Return the CAM index (base 0) of maddr or -1 if maddr is not found 2195 * If maddr is 0, return the index of an empty slot in CAM or -1 when no free 2202 int32_t index; local 2220 for (index = 0; index < VR_CAM_SZ; index [all...] |
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 531 xgell_rx_dtr_replenish(xge_hal_channel_h channelh, xge_hal_dtr_h dtr, int index, argument 713 xge_debug_ll(XGE_TRACE, "xgell_rx_1b_callback on ring %d", ring->index); 871 xge_debug_ll(XGE_TRACE, "xgell_rx_poll on ring %d", ring->index); 1236 slot_start = ring->index * 32; 1273 slot_start = ring->index * 32; 1317 slot_start = ring->index * 32; 1440 const int index, mac_ring_info_t *infop, mac_ring_handle_t rh) 1449 xge_assert(index < lldev->init_rx_rings); 1458 rx_ring = lldev->rx_ring + index; 1480 xge_assert((index > 1439 xgell_fill_ring(void *arg, mac_ring_type_t rtype, const int rg_index, const int index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument 1499 xgell_fill_group(void *arg, mac_ring_type_t rtype, const int index, mac_group_info_t *infop, mac_group_handle_t gh) argument 1535 xgell_maddr_set(xgelldev_t *lldev, int index, uint8_t *macaddr) argument [all...] |
H A D | xgell.h | 315 uint_t index; member in struct:xgell_intr 322 int index; member in struct:xgell_rx_ring 342 int index; member in struct:xgell_tx_ring
|
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippconf.c | 2349 * Use the module id as an index into the array of all module 2421 int index; local 2438 index = start; 2439 while (ipp_mod_byid[index] != NULL) { 2440 index++; 2441 if (index > limit) 2442 index = IPP_MOD_RESERVED + 1; 2443 if (index == start) 2452 index++; 2453 if (index > limi 3112 int index; local [all...] |
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_fm.h | 110 uint32_t index; member in struct:_nxge_fm_ereport_attr
|
H A D | nxge_hio.h | 253 uint64_t index; /* Bits 7:5 of the (virtual) PIO_LDSV. */ member in struct:__anon8301 258 int vector; /* The DDI vector number (index) */ 263 * The service domain driver makes use of both <index>, the index
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsm.h | 231 int fdsidx; /* index of the fd in the pollfd array */ 302 uint_t index : 8; /* slot number */ member in struct:__anon8865::__anon8866
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fbio.h | 82 int index; /* first element (0 origin) */ member in struct:fbcmap 92 int32_t index; /* first element (0 origin) */ member in struct:fbcmap32 387 int index; /* first element (0 origin) */ member in struct:fbcmap_i 399 int32_t index; /* first element (0 origin) */ member in struct:fbcmap_i32
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 287 uint32_t index; local 312 index = ops->fo_hash_fe(ft, flent); 319 headp = &ft->ft_table[index]; 349 * Save the hash index so it can be used by mac_flow_remove(). 351 flent->fe_index = (int)index; 1778 * Calculates hash index of flow entry.
|
/illumos-gate/usr/src/uts/common/io/mxfe/ |
H A D | mxfe.c | 2450 int index = mxfep->mxfe_txreclaim; local 2452 tmdp = &mxfep->mxfe_txdescp[index]; 2455 SYNCTXDESC(mxfep, index, DDI_DMA_SYNC_FORKERNEL); 2466 mxfep->mxfe_txreclaim = (index + 1) % MXFE_TXRING; 2545 DBG(DRECV, "receive at index %d", head);
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 376 "+ index len (%d) > PAGESIZE (%d)", funclen, scriptlen, 419 "sbdp: index area size (%d) > available (%d)\n", 426 SBDP_DBG_MEM("copy-rename index area = 0x%p\n", (void *)indexp); 590 sbdp_rename_script_t *rsp, int *index) 604 m = *index; 655 *index = m; 589 sbdp_copy_regs(pnode_t node, uint64_t bpa, uint64_t new_base, int inval, sbdp_rename_script_t *rsp, int *index) argument
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | iosram.c | 1524 "SINTR invoking hdlr:%p arg:%p index:%d\n", 2754 iosram_toc_entry_t index; local 2780 * Read the index entry from the TOC and make sure it looks correct. 2782 ddi_rep_get8(softp->handle, (uint8_t *)&index, toc_entryp, 2784 if ((index.key != IOSRAM_INDEX_KEY) || 2785 (index.off != IOSRAM_INDEX_OFF)) { 2786 cmn_err(CE_WARN, "iosram(%d): invalid TOC index.\n", instance); 2796 new_nchunks = index.len - 1; 2962 int index = IOSRAM_HASH(key); local 2966 for (chunkp = iosram_hashtab[index]; chunk [all...] |