Home
last modified time | relevance | path

Searched refs:hw_pidx (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_qsfp.c73 if (ppd->hw_pidx) { in qsfp_read()
183 if (ppd->hw_pidx) { in qib_qsfp_write()
450 (ppd->hw_pidx * QSFP_GPIO_PORT2_SHIFT); in qib_qsfp_mod_present()
454 ((ppd->hw_pidx * QSFP_GPIO_PORT2_SHIFT) + 3)); in qib_qsfp_mod_present()
478 if (qd->ppd->hw_pidx) { in qib_qsfp_init()
Dqib_iba7322.c96 #define IBSD(hw_pidx) (hw_pidx + 2) argument
1442 (((u64)ppd->hw_pidx) << (PBC_PORT_SEL_LSB + 32)) | in flush_fifo()
2728 cspec->dca_rcvhdr_ctrl[4] &= ~(ppd->hw_pidx ? in qib_update_sdma_dca()
2733 (ppd->hw_pidx ? in qib_update_sdma_dca()
2737 "sdma %d cpu %d dca %llx\n", ppd->hw_pidx, cpu, in qib_update_sdma_dca()
2741 cspec->dca_ctrl |= ppd->hw_pidx ? in qib_update_sdma_dca()
2987 mask <<= (QSFP_GPIO_PORT2_SHIFT * ppd->hw_pidx); in unknown_7322_gpio_intr()
3235 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_intr()
3262 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_idle_intr()
3289 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_progress_intr()
[all …]
Dqib_init.c221 u8 hw_pidx, u8 port) in qib_init_pportdata() argument
226 ppd->hw_pidx = hw_pidx; in qib_init_pportdata()
Dqib_ud.c397 unsigned ctxt = ppd->hw_pidx; in qib_lookup_pkey()
Dqib_verbs.c1375 unsigned ctxt = ppd->hw_pidx; in qib_get_pkey()
1610 ctxt = ppd->hw_pidx; in qib_register_ib_device()
Dqib.h632 u8 hw_pidx; /* physical port index */ member
Dqib_mad.c589 struct qib_ctxtdata *rcd = dd->rcd[ppd->hw_pidx]; in get_pkeys()
1002 rcd = dd->rcd[ppd->hw_pidx]; in set_pkeys()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1836 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local
1839 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()
1843 if (pidx != hw_pidx) { in cxgb4_sync_txq_pidx()
1847 if (pidx >= hw_pidx) in cxgb4_sync_txq_pidx()
1848 delta = pidx - hw_pidx; in cxgb4_sync_txq_pidx()
1850 delta = size - hw_pidx + pidx; in cxgb4_sync_txq_pidx()
2124 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local
2128 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
2131 if (q->db_pidx != hw_pidx) { in sync_txq_pidx()
2135 if (q->db_pidx >= hw_pidx) in sync_txq_pidx()
[all …]
/drivers/infiniband/hw/hfi1/
Dinit.c644 struct hfi1_devdata *dd, u8 hw_pidx, u8 port) in hfi1_init_pportdata() argument
651 ppd->hw_pidx = hw_pidx; in hfi1_init_pportdata()
Dhfi.h857 u8 hw_pidx; /* physical port index */ member
1484 struct hfi1_devdata *dd, u8 hw_pidx, u8 port);