Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 46 of 46) sorted by relevance

/linux-4.4.14/arch/cris/arch-v10/drivers/
Daxisflashmap.c273 int pidx = 0; in init_axis_flash() local
296 pidx++; /* First partition is always set to the default. */ in init_axis_flash()
344 && pidx < MAX_PARTITIONS) { in init_axis_flash()
346 axis_partitions[pidx].offset = offset + ptable->offset; in init_axis_flash()
347 axis_partitions[pidx].size = ptable->size; in init_axis_flash()
349 printk(pmsg, pidx, axis_partitions[pidx].offset, in init_axis_flash()
350 axis_partitions[pidx].size); in init_axis_flash()
351 pidx++; in init_axis_flash()
360 axis_partitions[pidx].name = "romfs"; in init_axis_flash()
361 axis_partitions[pidx].size = romfs_length; in init_axis_flash()
[all …]
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_init.c324 int ret, pidx; in init_pioavailregs() local
348 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_pioavailregs()
349 dd->pport[pidx].statusp = status_page; in init_pioavailregs()
541 int i, pidx; in init_piobuf_state() local
553 for (pidx = 0; pidx < dd->num_pports; ++pidx) in init_piobuf_state()
554 dd->f_sendctrl(dd->pport + pidx, QIB_SENDCTRL_FLUSH); in init_piobuf_state()
601 int pidx; in qib_create_workqueues() local
604 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_create_workqueues()
605 ppd = dd->pport + pidx; in qib_create_workqueues()
610 dd->unit, pidx); in qib_create_workqueues()
[all …]
Dqib_driver.c101 int pidx, nunits_active = 0; in qib_count_active_units() local
107 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_count_active_units()
108 ppd = dd->pport + pidx; in qib_count_active_units()
130 int pidx; in qib_count_units() local
139 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_count_units()
140 ppd = dd->pport + pidx; in qib_count_units()
761 int pidx; in qib_reset_device() local
789 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in qib_reset_device()
790 ppd = dd->pport + pidx; in qib_reset_device()
Dqib_iba7322.c953 #define QIB_I_P_SDMAINT(pidx) \ argument
954 (INT_MASK_P(SDma, pidx) | INT_MASK_P(SDmaIdle, pidx) | \
955 INT_MASK_P(SDmaProgress, pidx) | \
956 INT_MASK_PM(SDmaCleanupDone, pidx))
959 #define QIB_I_P_BITSEXTANT(pidx) \ argument
960 (INT_MASK_P(Err, pidx) | INT_MASK_P(SendDone, pidx) | \
961 INT_MASK_P(SDma, pidx) | INT_MASK_P(SDmaIdle, pidx) | \
962 INT_MASK_P(SDmaProgress, pidx) | \
963 INT_MASK_PM(SDmaCleanupDone, pidx))
1715 int pidx; in handle_7322_errors() local
[all …]
Dqib_tx.c117 unsigned pidx; in is_sdma_buf() local
119 for (pidx = 0; pidx < dd->num_pports; pidx++) { in is_sdma_buf()
120 ppd = dd->pport + pidx; in is_sdma_buf()
Dqib_file_ops.c571 int i, any = 0, pidx = -1; in qib_set_part_key() local
595 if (!rcd->pkeys[i] && pidx == -1) in qib_set_part_key()
596 pidx = i; in qib_set_part_key()
602 if (pidx == -1) { in qib_set_part_key()
615 rcd->pkeys[pidx] = key; in qib_set_part_key()
643 rcd->pkeys[pidx] = key; in qib_set_part_key()
1399 u32 pidx = ctxt % dd->num_pports; in choose_port_ctxt() local
1401 if (usable(dd->pport + pidx)) in choose_port_ctxt()
1402 ppd = dd->pport + pidx; in choose_port_ctxt()
1404 for (pidx = 0; pidx < dd->num_pports && !ppd; in choose_port_ctxt()
[all …]
Dqib_mad.c283 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ in subn_get_nodeinfo() local
286 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo()
287 dd->pport[pidx].guid == 0) in subn_get_nodeinfo()
290 nip->port_guid = dd->pport[pidx].guid; in subn_get_nodeinfo()
319 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ in subn_get_guidinfo() local
325 if (startgx == 0 && pidx < dd->num_pports) { in subn_get_guidinfo()
326 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo()
624 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ in subn_set_guidinfo() local
628 if (startgx == 0 && pidx < dd->num_pports) { in subn_set_guidinfo()
629 struct qib_pportdata *ppd = dd->pport + pidx; in subn_set_guidinfo()
Dqib.h1231 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ in to_iport() local
1233 WARN_ON(pidx >= dd->num_pports); in to_iport()
1234 return &dd->pport[pidx].ibport_data; in to_iport()
Dqib_qp.c645 int mtu, pidx = qp->port_num - 1; in qib_modify_qp() local
650 if (mtu > dd->pport[pidx].ibmtu) { in qib_modify_qp()
651 switch (dd->pport[pidx].ibmtu) { in qib_modify_qp()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dinit.c598 int pidx; in create_workqueues() local
601 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
602 ppd = dd->pport + pidx; in create_workqueues()
607 dd->unit, pidx); in create_workqueues()
617 pidx + 1); in create_workqueues()
618 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
619 ppd = dd->pport + pidx; in create_workqueues()
645 int ret = 0, pidx, lastfail = 0; in hfi1_init() local
682 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
683 ppd = dd->pport + pidx; in hfi1_init()
[all …]
Ddriver.c173 int pidx, nunits_active = 0; in hfi1_count_active_units() local
179 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_count_active_units()
180 ppd = dd->pport + pidx; in hfi1_count_active_units()
201 int pidx; in hfi1_count_units() local
210 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_count_units()
211 ppd = dd->pport + pidx; in hfi1_count_units()
1103 int pidx; in hfi1_reset_device() local
1131 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_reset_device()
1132 ppd = dd->pport + pidx; in hfi1_reset_device()
Dqp.c685 int mtu, pidx = qp->port_num - 1; in hfi1_modify_qp() local
692 if (mtu > dd->pport[pidx].ibmtu) in hfi1_modify_qp()
693 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); in hfi1_modify_qp()
1597 int pidx; in qp_iter_next() local
1599 pidx = n % dev->ibdev.phys_port_cnt; in qp_iter_next()
1600 ppd = &dd_from_dev(dev)->pport[pidx]; in qp_iter_next()
Dhfi.h1461 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ in to_iport() local
1463 WARN_ON(pidx >= dd->num_pports); in to_iport()
1464 return &dd->pport[pidx].ibport_data; in to_iport()
Dmad.c320 unsigned pidx = port - 1; /* IB number port from 1, hw from 0 */ in __subn_get_opa_nodeinfo() local
325 if (am || pidx >= dd->num_pports || dd->pport[pidx].guid == 0) { in __subn_get_opa_nodeinfo()
330 ni->port_guid = cpu_to_be64(dd->pport[pidx].guid); in __subn_get_opa_nodeinfo()
358 unsigned pidx = port - 1; /* IB number port from 1, hw from 0 */ in subn_get_nodeinfo() local
361 if (smp->attr_mod || pidx >= dd->num_pports || in subn_get_nodeinfo()
362 dd->pport[pidx].guid == 0) in subn_get_nodeinfo()
365 nip->port_guid = cpu_to_be64(dd->pport[pidx].guid); in subn_get_nodeinfo()
/linux-4.4.14/arch/cris/arch-v32/drivers/
Daxisflashmap.c308 int pidx = 0; in init_axis_flash() local
384 pidx++; in init_axis_flash()
459 && pidx < MAX_PARTITIONS - 1) { in init_axis_flash()
461 axis_partitions[pidx].offset = offset + ptable->offset; in init_axis_flash()
464 axis_partitions[pidx].size = in init_axis_flash()
473 axis_partitions[pidx].size = ptable->size; in init_axis_flash()
483 ram_rootfs_partition = pidx; in init_axis_flash()
485 pidx++; in init_axis_flash()
497 pidx = NUM_DEFAULT_PARTITIONS; in init_axis_flash()
507 axis_partitions[pidx].size = romfs_length; in init_axis_flash()
[all …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h98 u8 pidx; /* index into adapter port[] */ member
128 unsigned int pidx; /* producer index */ member
235 unsigned int pidx; /* producer index */ member
469 static inline const char *port_name(struct adapter *adapter, int pidx) in port_name() argument
471 return adapter->port[pidx]->name; in port_name()
483 static inline void t4_os_set_hw_addr(struct adapter *adapter, int pidx, in t4_os_set_hw_addr() argument
486 memcpy(adapter->port[pidx]->dev_addr, hw_addr, ETH_ALEN); in t4_os_set_hw_addr()
507 static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx) in adap2pinfo() argument
509 return netdev_priv(adapter->port[pidx]); in adap2pinfo()
Dcxgb4vf_main.c144 void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok) in t4vf_os_link_changed() argument
146 struct net_device *dev = adapter->port[pidx]; in t4vf_os_link_changed()
217 void t4vf_os_portmod_changed(struct adapter *adapter, int pidx) in t4vf_os_portmod_changed() argument
222 const struct net_device *dev = adapter->port[pidx]; in t4vf_os_portmod_changed()
293 int pidx; in name_msix_vecs() local
305 for_each_port(adapter, pidx) { in name_msix_vecs()
306 struct net_device *dev = adapter->port[pidx]; in name_msix_vecs()
532 int err, pidx, msix; in setup_sge_queues() local
570 for_each_port(adapter, pidx) { in setup_sge_queues()
571 struct net_device *dev = adapter->port[pidx]; in setup_sge_queues()
[all …]
Dsge.c611 __be64 *d = &fl->desc[fl->pidx]; in refill_fl()
612 struct rx_sw_desc *sdesc = &fl->sdesc[fl->pidx]; in refill_fl()
667 if (++fl->pidx == fl->size) { in refill_fl()
668 fl->pidx = 0; in refill_fl()
696 if (++fl->pidx == fl->size) { in refill_fl()
697 fl->pidx = 0; in refill_fl()
1001 unsigned int index = (tq->pidx in ring_tx_db()
1002 ? (tq->pidx - 1) in ring_tx_db()
1150 tq->pidx += n; in txq_advance()
1151 if (tq->pidx >= tq->size) in txq_advance()
[all …]
Dt4vf_hw.c282 int t4vf_port_init(struct adapter *adapter, int pidx) in t4vf_port_init() argument
284 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_port_init()
305 t4_os_set_hw_addr(adapter, pidx, vi_rpl.mac); in t4vf_port_init()
1353 int t4vf_get_port_stats(struct adapter *adapter, int pidx, in t4vf_get_port_stats() argument
1356 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_get_port_stats()
1490 int action, port_id, link_ok, speed, fc, pidx; in t4vf_handle_fw_rpl() local
1530 for_each_port(adapter, pidx) { in t4vf_handle_fw_rpl()
1531 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_handle_fw_rpl()
1542 t4vf_os_portmod_changed(adapter, pidx); in t4vf_handle_fw_rpl()
1553 t4vf_os_link_changed(adapter, pidx, link_ok); in t4vf_handle_fw_rpl()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dsge.c184 u16 pidx; /* producer index (SW) */ member
197 u16 pidx; /* producer index (SW) */ member
828 struct freelQ_ce *ce = &q->centries[q->pidx]; in refill_free_list()
829 struct freelQ_e *e = &q->entries[q->pidx]; in refill_free_list()
856 if (++q->pidx == q->size) { in refill_free_list()
857 q->pidx = 0; in refill_free_list()
1006 struct freelQ_e *to = &fl->entries[fl->pidx]; in recycle_fl_buf()
1008 fl->centries[fl->pidx] = fl->centries[idx]; in recycle_fl_buf()
1016 if (++fl->pidx == fl->size) { in recycle_fl_buf()
1017 fl->pidx = 0; in recycle_fl_buf()
[all …]
/linux-4.4.14/net/sunrpc/
Dsvc.c168 unsigned int pidx = 0; in svc_pool_map_init_percpu() local
177 BUG_ON(pidx >= maxpools); in svc_pool_map_init_percpu()
178 m->to_pool[cpu] = pidx; in svc_pool_map_init_percpu()
179 m->pool_to[pidx] = cpu; in svc_pool_map_init_percpu()
180 pidx++; in svc_pool_map_init_percpu()
184 return pidx; in svc_pool_map_init_percpu()
196 unsigned int pidx = 0; in svc_pool_map_init_pernode() local
206 BUG_ON(pidx > maxpools); in svc_pool_map_init_pernode()
207 m->to_pool[node] = pidx; in svc_pool_map_init_pernode()
208 m->pool_to[pidx] = node; in svc_pool_map_init_pernode()
[all …]
Dsvc_xprt.c1300 unsigned int pidx = (unsigned int)*pos; in svc_pool_stats_start() local
1303 dprintk("svc_pool_stats_start, *pidx=%u\n", pidx); in svc_pool_stats_start()
1305 if (!pidx) in svc_pool_stats_start()
1307 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()
1320 unsigned int pidx = (pool - &serv->sv_pools[0]); in svc_pool_stats_next() local
1321 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
1322 pool = &serv->sv_pools[pidx+1]; in svc_pool_stats_next()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c502 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
503 struct rx_desc *d = &q->desc[q->pidx]; in refill_fl()
542 if (++q->pidx == q->size) { in refill_fl()
543 q->pidx = 0; in refill_fl()
577 struct rx_desc *to = &q->desc[q->pidx]; in recycle_rx_buf()
579 q->sdesc[q->pidx] = q->sdesc[idx]; in recycle_rx_buf()
586 if (++q->pidx == q->size) { in recycle_rx_buf()
587 q->pidx = 0; in recycle_rx_buf()
1050 struct tx_desc *d, unsigned int pidx, in write_wr_hdr_sgl() argument
1058 struct tx_sw_desc *sd = &q->sdesc[pidx]; in write_wr_hdr_sgl()
[all …]
Dadapter.h109 unsigned int pidx; /* producer index */ member
173 unsigned int pidx; /* producer index */ member
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dt4.h52 __be16 pidx; member
302 u16 pidx; member
331 u16 pidx; member
367 if (++wq->rq.pidx == wq->rq.size) in t4_rq_produce()
368 wq->rq.pidx = 0; in t4_rq_produce()
415 if (++wq->sq.pidx == wq->sq.size) in t4_sq_produce()
416 wq->sq.pidx = 0; in t4_sq_produce()
466 __func__, wq->sq.pidx); in t4_ring_sq_db()
472 __func__, wq->sq.pidx); in t4_ring_sq_db()
493 __func__, wq->rq.pidx); in t4_ring_rq_db()
[all …]
Dqp.c778 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; in c4iw_post_send()
835 swsqe->idx = qhp->wq.sq.pidx; in c4iw_post_send()
847 init_wr_hdr(wqe, qhp->wq.sq.pidx, fw_opcode, fw_flags, len16); in c4iw_post_send()
850 __func__, (unsigned long long)wr->wr_id, qhp->wq.sq.pidx, in c4iw_post_send()
907 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].wr_id = wr->wr_id; in c4iw_post_receive()
909 qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].sge_ts = in c4iw_post_receive()
913 &qhp->wq.rq.sw_rq[qhp->wq.rq.pidx].host_ts); in c4iw_post_receive()
918 wqe->recv.wrid = qhp->wq.rq.pidx; in c4iw_post_receive()
924 (unsigned long long) wr->wr_id, qhp->wq.rq.pidx); in c4iw_post_receive()
Dcq.c249 while (idx != wq->sq.pidx) { in c4iw_flush_sq()
278 while (cidx != wq->sq.pidx) { in flush_completed_wrs()
323 while (rptr != wq->sq.pidx) { in advance_oldest_read()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_wr.c154 flq->pidx += n; in csio_wr_update_fl()
155 if (unlikely(flq->pidx >= flq->credits)) in csio_wr_update_fl()
156 flq->pidx -= (uint16_t)flq->credits; in csio_wr_update_fl()
245 q->pidx = q->cidx = q->inc_idx = 0; in csio_wr_alloc_q()
302 flq->pidx = flq->inc_idx = flq->credits - 8; in csio_wr_alloc_q()
863 (q->pidx * CSIO_QCREDIT_SZ)); in csio_wr_get()
866 uint16_t pidx = q->pidx; in csio_wr_get() local
876 if (pidx > cidx) { in csio_wr_get()
877 credits = q->credits - (pidx - cidx) - 1; in csio_wr_get()
878 } else if (cidx > pidx) { in csio_wr_get()
[all …]
Dcsio_wr.h276 __be16 pidx; member
395 uint16_t pidx; /* producer index */ member
454 #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx)
/linux-4.4.14/net/sched/
Dsch_choke.c229 unsigned int *pidx) in choke_peek_random() argument
235 *pidx = (q->head + prandom_u32_max(choke_len(q))) & q->tab_mask; in choke_peek_random()
236 skb = q->tab[*pidx]; in choke_peek_random()
241 return q->tab[*pidx = q->head]; in choke_peek_random()
250 unsigned int *pidx) in choke_match_random() argument
257 oskb = choke_peek_random(q, pidx); in choke_match_random()
/linux-4.4.14/net/8021q/
Dvlan.h52 unsigned int pidx, in __vlan_group_get_device() argument
57 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
Dvlan.c58 unsigned int pidx, vidx; in vlan_group_prealloc_vid() local
63 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid()
65 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid()
74 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c586 __be64 *d = &q->desc[q->pidx]; in refill_fl()
587 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
625 if (++q->pidx == q->size) { in refill_fl()
626 q->pidx = 0; in refill_fl()
653 if (++q->pidx == q->size) { in refill_fl()
654 q->pidx = 0; in refill_fl()
952 q->db_pidx = q->pidx; in ring_tx_db()
970 int index = (q->pidx in ring_tx_db()
971 ? (q->pidx - 1) in ring_tx_db()
1094 q->pidx += n; in txq_advance()
[all …]
Dt4_hw.h139 __be16 pidx; member
Dcxgb4_debugfs.c2229 int pidx; in ethqset2pinfo() local
2231 for_each_port(adap, pidx) { in ethqset2pinfo()
2232 struct port_info *pi = adap2pinfo(adap, pidx); in ethqset2pinfo()
2290 T("TxQ PIDX:", q.pidx); in sge_qinfo_show()
2312 R("FL PIDX:", fl.pidx); in sge_qinfo_show()
2342 T("TxQ PIDX:", q.pidx); in sge_qinfo_show()
2355 R("FL PIDX:", fl.pidx); in sge_qinfo_show()
2384 R("FL PIDX:", fl.pidx); in sge_qinfo_show()
2420 T("TxQ PIDX:", q.pidx); in sge_qinfo_show()
Dcxgb4_uld.h309 int cxgb4_sync_txq_pidx(struct net_device *dev, u16 qid, u16 pidx, u16 size);
Dcxgb4.h483 unsigned int pidx; /* producer index */ member
588 unsigned int pidx; /* producer index */ member
Dcxgb4_main.c2050 static int read_eq_indices(struct adapter *adap, u16 qid, u16 *pidx, u16 *cidx) in read_eq_indices() argument
2063 *pidx = (be64_to_cpu(indices) >> 9) & 0xffff; in read_eq_indices()
2068 int cxgb4_sync_txq_pidx(struct net_device *dev, u16 qid, u16 pidx, in cxgb4_sync_txq_pidx() argument
2079 if (pidx != hw_pidx) { in cxgb4_sync_txq_pidx()
2083 if (pidx >= hw_pidx) in cxgb4_sync_txq_pidx()
2084 delta = pidx - hw_pidx; in cxgb4_sync_txq_pidx()
2086 delta = size - hw_pidx + pidx; in cxgb4_sync_txq_pidx()
Dt4_msg.h1039 __be16 pidx; member
/linux-4.4.14/kernel/
Drelay.c1215 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
1249 pidx = (read_start / PAGE_SIZE) % subbuf_pages; in subbuf_splice_actor()
1263 spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; in subbuf_splice_actor()
1277 pidx = (pidx + 1) % subbuf_pages; in subbuf_splice_actor()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_file_ops.c613 int i, any = 0, pidx = -1; in ipath_set_part_key() local
647 if (!pd->port_pkeys[i] && pidx == -1) in ipath_set_part_key()
648 pidx = i; in ipath_set_part_key()
657 if (pidx == -1) { in ipath_set_part_key()
672 pd->port_pkeys[pidx] = key; in ipath_set_part_key()
713 pd->port_pkeys[pidx] = dd->ipath_pkeys[i] = key; in ipath_set_part_key()
721 pd->port_port, key, i, pidx, in ipath_set_part_key()
Dipath_driver.c2257 int pidx; in ipath_run_led_override() local
2263 pidx = dd->ipath_led_override_phase++ & 1; in ipath_run_led_override()
2264 dd->ipath_led_override = dd->ipath_led_override_vals[pidx]; in ipath_run_led_override()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_cmds.h251 u8 pidx[13]; /* dword 1 */ member
526 u8 pidx[11]; /* dword 1 */ member
Dbe_main.h1010 u32 pidx; /* producer index -- not used by most rings */ member
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h328 u8 pidx[13]; /* dword 1*/ member
420 u8 pidx[11]; /* dword 1*/ member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c903 int vidx, pidx; in mlx4_MAD_IFC_wrapper() local
938 pidx = priv->virt2phys_pkey[slave][port - 1][vidx]; in mlx4_MAD_IFC_wrapper()
939 outtab[vidx % 32] = cpu_to_be16(table[pidx]); in mlx4_MAD_IFC_wrapper()