Searched refs:hw_pidx (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c73 if (ppd->hw_pidx) { qsfp_read()
183 if (ppd->hw_pidx) { qib_qsfp_write()
450 (ppd->hw_pidx * QSFP_GPIO_PORT2_SHIFT); qib_qsfp_mod_present()
454 ((ppd->hw_pidx * QSFP_GPIO_PORT2_SHIFT) + 3)); qib_qsfp_mod_present()
478 if (qd->ppd->hw_pidx) { qib_qsfp_init()
H A Dqib_iba7322.c96 #define IBSD(hw_pidx) (hw_pidx + 2)
1451 (((u64)ppd->hw_pidx) << (PBC_PORT_SEL_LSB + 32)) | flush_fifo()
2740 cspec->dca_rcvhdr_ctrl[4] &= ~(ppd->hw_pidx ? qib_update_sdma_dca()
2745 (ppd->hw_pidx ? qib_update_sdma_dca()
2749 "sdma %d cpu %d dca %llx\n", ppd->hw_pidx, cpu, qib_update_sdma_dca()
2753 cspec->dca_ctrl |= ppd->hw_pidx ? qib_update_sdma_dca()
3010 mask <<= (QSFP_GPIO_PORT2_SHIFT * ppd->hw_pidx); unknown_7322_gpio_intr()
3258 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? sdma_intr()
3285 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? sdma_idle_intr()
3312 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? sdma_progress_intr()
3340 qib_write_kreg(dd, kr_intclear, ppd->hw_pidx ? sdma_cleanup_intr()
6084 mod_prs_bit <<= (QSFP_GPIO_PORT2_SHIFT * ppd->hw_pidx); qib_init_7322_qsfp()
6381 ctxt = ppd->hw_pidx; write_7322_initregs()
6776 first = dd->piobcnt2k + dd->piobcnt4k + ppd->hw_pidx; qib_7322_getsendbuf()
7049 ret |= ((u32)(ppd->hw_pidx)) << PBC_PORT_SEL_LSB; qib_7322_setpbc_control()
7425 if (ppd->hw_pidx) set_txdds()
7882 ahb_mod(dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), addr, ibsd_wr_allchans()
7884 rbc = ahb_mod(dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), ibsd_wr_allchans()
7950 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 0 << 14, 1 << 14); serdes_7322_init_old()
7957 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 5, 8 << 11, BMASK(14, 11)); serdes_7322_init_old()
7958 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 8 << 4, BMASK(7, 4)); serdes_7322_init_old()
7959 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 8, 8 << 11, BMASK(14, 11)); serdes_7322_init_old()
7960 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 8 << 4, BMASK(7, 4)); serdes_7322_init_old()
7963 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 6, 4 << 0, BMASK(3, 0)); serdes_7322_init_old()
7964 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 4 << 8, BMASK(11, 8)); serdes_7322_init_old()
7965 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 4 << 0, BMASK(3, 0)); serdes_7322_init_old()
7966 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 4 << 8, BMASK(11, 8)); serdes_7322_init_old()
7969 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 1 << 15, 1 << 15); serdes_7322_init_old()
8023 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 0 << 14, 1 << 14); serdes_7322_init_new()
8091 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 5, 8 << 11, BMASK(14, 11)); serdes_7322_init_new()
8092 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 8 << 4, BMASK(7, 4)); serdes_7322_init_new()
8093 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 8, 8 << 11, BMASK(14, 11)); serdes_7322_init_new()
8094 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 8 << 4, BMASK(7, 4)); serdes_7322_init_new()
8097 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 6, 4 << 0, BMASK(3, 0)); serdes_7322_init_new()
8098 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 4 << 8, BMASK(11, 8)); serdes_7322_init_new()
8099 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 4 << 0, BMASK(3, 0)); serdes_7322_init_new()
8100 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 4 << 8, BMASK(11, 8)); serdes_7322_init_new()
8103 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 1 << 15, 1 << 15); serdes_7322_init_new()
8127 rxcaldone = ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), serdes_7322_init_new()
8137 IBSD(ppd->hw_pidx), chan_done); serdes_7322_init_new()
8140 rxcaldone = ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), serdes_7322_init_new()
8145 IBSD(ppd->hw_pidx), chan); serdes_7322_init_new()
8216 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), set_man_code()
8224 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), set_man_mode_h1()
8227 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), set_man_mode_h1()
8234 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), clock_man()
8236 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), clock_man()
8238 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), clock_man()
8240 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), (chan + (chan >> 1)), clock_man()
H A Dqib_init.c225 u8 hw_pidx, u8 port) qib_init_pportdata()
230 ppd->hw_pidx = hw_pidx; qib_init_pportdata()
224 qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, u8 hw_pidx, u8 port) qib_init_pportdata() argument
H A Dqib_ud.c399 unsigned ctxt = ppd->hw_pidx; qib_lookup_pkey()
H A Dqib_mad.c586 struct qib_ctxtdata *rcd = dd->rcd[ppd->hw_pidx]; get_pkeys()
1000 rcd = dd->rcd[ppd->hw_pidx]; set_pkeys()
H A Dqib.h649 u8 hw_pidx; /* physical port index */ member in struct:qib_pportdata
H A Dqib_verbs.c1940 unsigned ctxt = ppd->hw_pidx; qib_get_pkey()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c2016 u16 hw_pidx, hw_cidx; cxgb4_sync_txq_pidx() local
2019 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx); cxgb4_sync_txq_pidx()
2023 if (pidx != hw_pidx) { cxgb4_sync_txq_pidx()
2027 if (pidx >= hw_pidx) cxgb4_sync_txq_pidx()
2028 delta = pidx - hw_pidx; cxgb4_sync_txq_pidx()
2030 delta = size - hw_pidx + pidx; cxgb4_sync_txq_pidx()
2288 u16 hw_pidx, hw_cidx; sync_txq_pidx() local
2292 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); sync_txq_pidx()
2295 if (q->db_pidx != hw_pidx) { sync_txq_pidx()
2299 if (q->db_pidx >= hw_pidx) sync_txq_pidx()
2300 delta = q->db_pidx - hw_pidx; sync_txq_pidx()
2302 delta = q->size - hw_pidx + q->db_pidx; sync_txq_pidx()

Completed in 325 milliseconds