Home
last modified time | relevance | path

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

/linux-6.12.1/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
1420 (((u64)ppd->hw_pidx) << (PBC_PORT_SEL_LSB + 32)) | in flush_fifo()
2705 cspec->dca_rcvhdr_ctrl[4] &= ~(ppd->hw_pidx ? in qib_update_sdma_dca()
2710 (ppd->hw_pidx ? in qib_update_sdma_dca()
2714 "sdma %d cpu %d dca %llx\n", ppd->hw_pidx, cpu, in qib_update_sdma_dca()
2718 cspec->dca_ctrl |= ppd->hw_pidx ? in qib_update_sdma_dca()
2964 mask <<= (QSFP_GPIO_PORT2_SHIFT * ppd->hw_pidx); in unknown_7322_gpio_intr()
3212 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_intr()
3239 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_idle_intr()
3266 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.c398 unsigned ctxt = ppd->hw_pidx; in qib_lookup_pkey()
Dqib.h628 u8 hw_pidx; /* physical port index */ member
Dqib_verbs.c1376 unsigned ctxt = ppd->hw_pidx; in qib_get_pkey()
1610 ctxt = ppd->hw_pidx; in qib_register_ib_device()
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()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2233 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local
2236 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx()
2240 if (pidx != hw_pidx) { in cxgb4_sync_txq_pidx()
2244 if (pidx >= hw_pidx) in cxgb4_sync_txq_pidx()
2245 delta = pidx - hw_pidx; in cxgb4_sync_txq_pidx()
2247 delta = size - hw_pidx + pidx; in cxgb4_sync_txq_pidx()
2521 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local
2525 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
2528 if (q->db_pidx != hw_pidx) { in sync_txq_pidx()
2532 if (q->db_pidx >= hw_pidx) in sync_txq_pidx()
[all …]
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dinit.c590 struct hfi1_devdata *dd, u8 hw_pidx, u32 port) in hfi1_init_pportdata() argument
597 ppd->hw_pidx = hw_pidx; in hfi1_init_pportdata()
Dhfi.h815 u8 hw_pidx; /* physical port index */ member
1431 struct hfi1_devdata *dd, u8 hw_pidx, u32 port);