/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_qsfp.c | 73 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()
|
H A D | qib_iba7322.c | 96 #define IBSD(hw_pidx) (hw_pidx + 2) 1442 (((u64)ppd->hw_pidx) << (PBC_PORT_SEL_LSB + 32)) | in flush_fifo() 2727 cspec->dca_rcvhdr_ctrl[4] &= ~(ppd->hw_pidx ? in qib_update_sdma_dca() 2732 (ppd->hw_pidx ? in qib_update_sdma_dca() 2736 "sdma %d cpu %d dca %llx\n", ppd->hw_pidx, cpu, in qib_update_sdma_dca() 2740 cspec->dca_ctrl |= ppd->hw_pidx ? in qib_update_sdma_dca() 2986 mask <<= (QSFP_GPIO_PORT2_SHIFT * ppd->hw_pidx); in unknown_7322_gpio_intr() 3234 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? in sdma_intr() 3261 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx in sdma_idle_intr() [all...] |
H A D | qib_init.c | 221 u8 hw_pidx, u8 port) in qib_init_pportdata() 226 ppd->hw_pidx = hw_pidx; in qib_init_pportdata() 220 qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, u8 hw_pidx, u8 port) qib_init_pportdata() argument
|
H A D | qib_ud.c | 397 unsigned ctxt = ppd->hw_pidx; in qib_lookup_pkey()
|
H A D | qib.h | 632 u8 hw_pidx; /* physical port index */ member
|
H A D | qib_verbs.c | 1376 unsigned ctxt = ppd->hw_pidx; in qib_get_pkey() 1609 ctxt = ppd->hw_pidx; in qib_register_ib_device()
|
H A D | qib_mad.c | 589 struct qib_ctxtdata *rcd = dd->rcd[ppd->hw_pidx]; in get_pkeys() 1002 rcd = dd->rcd[ppd->hw_pidx]; in set_pkeys()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_qsfp.c | 73 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()
|
H A D | qib_iba7322.c | 96 #define IBSD(hw_pidx) (hw_pidx + 2) 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() [all...] |
H A D | qib_init.c | 221 u8 hw_pidx, u8 port) in qib_init_pportdata() 226 ppd->hw_pidx = hw_pidx; in qib_init_pportdata() 220 qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, u8 hw_pidx, u8 port) qib_init_pportdata() argument
|
H A D | qib_ud.c | 398 unsigned ctxt = ppd->hw_pidx; in qib_lookup_pkey()
|
H A D | qib.h | 628 u8 hw_pidx; /* physical port index */ member
|
H A D | qib_verbs.c | 1376 unsigned ctxt = ppd->hw_pidx; in qib_get_pkey() 1610 ctxt = ppd->hw_pidx; in qib_register_ib_device()
|
H A D | qib_mad.c | 589 struct qib_ctxtdata *rcd = dd->rcd[ppd->hw_pidx]; in get_pkeys() 1002 rcd = dd->rcd[ppd->hw_pidx]; in set_pkeys()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 2234 u16 hw_pidx, hw_cidx; in cxgb4_sync_txq_pidx() local 2237 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); in cxgb4_sync_txq_pidx() 2241 if (pidx != hw_pidx) { in cxgb4_sync_txq_pidx() 2245 if (pidx >= hw_pidx) in cxgb4_sync_txq_pidx() 2246 delta = pidx - hw_pidx; in cxgb4_sync_txq_pidx() 2248 delta = size - hw_pidx + pidx; in cxgb4_sync_txq_pidx() 2522 u16 hw_pidx, hw_cidx; in sync_txq_pidx() local 2526 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx() 2529 if (q->db_pidx != hw_pidx) { in sync_txq_pidx() 2533 if (q->db_pidx >= hw_pidx) in sync_txq_pidx() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 2233 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...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 631 struct hfi1_devdata *dd, u8 hw_pidx, u8 port) in hfi1_init_pportdata() 638 ppd->hw_pidx = hw_pidx; in hfi1_init_pportdata() 630 hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, struct hfi1_devdata *dd, u8 hw_pidx, u8 port) hfi1_init_pportdata() argument
|
H A D | hfi.h | 866 u8 hw_pidx; /* physical port index */ member 1483 struct hfi1_devdata *dd, u8 hw_pidx, u8 port);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 590 struct hfi1_devdata *dd, u8 hw_pidx, u32 port) in hfi1_init_pportdata() 597 ppd->hw_pidx = hw_pidx; in hfi1_init_pportdata() 589 hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, struct hfi1_devdata *dd, u8 hw_pidx, u32 port) hfi1_init_pportdata() argument
|
H A D | hfi.h | 815 u8 hw_pidx; /* physical port index */ member 1431 struct hfi1_devdata *dd, u8 hw_pidx, u32 port);
|