Lines Matching refs:qib_devdata
62 static void qib_7322_handle_hwerrors(struct qib_devdata *, char *, size_t);
70 static void qib_7322_txchk_change(struct qib_devdata *, u32, u32, u32,
81 static u32 ahb_mod(struct qib_devdata *, int, int, int, u32, u32);
758 static inline void qib_write_kreg(const struct qib_devdata *dd,
760 static inline u32 qib_read_kreg32(const struct qib_devdata *, const u32);
761 static void write_7322_initregs(struct qib_devdata *);
767 static void qib_setup_dca(struct qib_devdata *dd);
768 static void setup_dca_notifier(struct qib_devdata *dd, int msixnum);
769 static void reset_dca_notifier(struct qib_devdata *dd, int msixnum);
782 static inline u32 qib_read_ureg32(const struct qib_devdata *dd, in qib_read_ureg32()
802 static inline void qib_write_ureg(const struct qib_devdata *dd, in qib_write_ureg()
821 static inline u32 qib_read_kreg32(const struct qib_devdata *dd, in qib_read_kreg32()
829 static inline u64 qib_read_kreg64(const struct qib_devdata *dd, in qib_read_kreg64()
837 static inline void qib_write_kreg(const struct qib_devdata *dd, in qib_write_kreg()
871 static inline void qib_write_kreg_ctxt(const struct qib_devdata *dd, in qib_write_kreg_ctxt()
878 static inline u64 read_7322_creg(const struct qib_devdata *dd, u16 regno) in read_7322_creg()
887 static inline u32 read_7322_creg32(const struct qib_devdata *dd, u16 regno) in read_7322_creg32()
1319 struct qib_devdata *dd = ppd->dd; in qib_disarm_7322_senderrbufs()
1396 struct qib_devdata *dd = ppd->dd; in flush_fifo()
1443 struct qib_devdata *dd = ppd->dd; in qib_7322_sdma_sendctrl()
1567 struct qib_devdata *dd = ppd->dd; in sdma_7322_p_errors()
1628 static noinline void handle_7322_errors(struct qib_devdata *dd) in handle_7322_errors()
1716 struct qib_devdata *dd = from_tasklet(dd, t, error_tasklet); in qib_error_tasklet()
1839 struct qib_devdata *dd = ppd->dd; in handle_7322_p_errors()
1991 static void qib_7322_set_intr_state(struct qib_devdata *dd, u32 enable) in qib_7322_set_intr_state()
2025 static void qib_7322_clear_freeze(struct qib_devdata *dd) in qib_7322_clear_freeze()
2075 static void qib_7322_handle_hwerrors(struct qib_devdata *dd, char *msg, in qib_7322_handle_hwerrors()
2191 static void qib_7322_init_hwerrors(struct qib_devdata *dd) in qib_7322_init_hwerrors()
2222 static void qib_set_7322_armlaunch(struct qib_devdata *dd, u32 enable) in qib_set_7322_armlaunch()
2241 struct qib_devdata *dd = ppd->dd; in qib_set_ib_7322_lstate()
2297 struct qib_devdata *dd = ppd->dd; in set_vls()
2353 struct qib_devdata *dd = ppd->dd; in qib_7322_bringup_serdes()
2533 struct qib_devdata *dd = ppd->dd; in qib_7322_mini_quiet_serdes()
2594 struct qib_devdata *dd = ppd->dd; in qib_setup_7322_setextled()
2645 static int qib_7322_notify_dca(struct qib_devdata *dd, unsigned long event) in qib_7322_notify_dca()
2672 struct qib_devdata *dd = rcd->dd; in qib_update_rhdrq_dca()
2697 struct qib_devdata *dd = ppd->dd; in qib_update_sdma_dca()
2725 static void qib_setup_dca(struct qib_devdata *dd) in qib_setup_dca()
2786 struct qib_devdata *dd; in qib_irq_notifier_release()
2803 static void qib_7322_free_irq(struct qib_devdata *dd) in qib_7322_free_irq()
2838 static void qib_setup_7322_cleanup(struct qib_devdata *dd) in qib_setup_7322_cleanup()
2873 static void sdma_7322_intr(struct qib_devdata *dd, u64 istat) in sdma_7322_intr()
2896 static void qib_wantpiobuf_7322_intr(struct qib_devdata *dd, u32 needint) in qib_wantpiobuf_7322_intr()
2915 static noinline void unknown_7322_ibits(struct qib_devdata *dd, u64 istat) in unknown_7322_ibits()
2928 static noinline void unknown_7322_gpio_intr(struct qib_devdata *dd) in unknown_7322_gpio_intr()
2996 static noinline void unlikely_7322_intr(struct qib_devdata *dd, u64 istat) in unlikely_7322_intr()
3018 struct qib_devdata *dd = rcd->dd; in adjust_rcv_timeout()
3046 struct qib_devdata *dd = data; in qib_7322intr()
3139 struct qib_devdata *dd = rcd->dd; in qib_7322pintr()
3167 struct qib_devdata *dd = data; in qib_7322bufavail()
3198 struct qib_devdata *dd = ppd->dd; in sdma_intr()
3225 struct qib_devdata *dd = ppd->dd; in sdma_idle_intr()
3252 struct qib_devdata *dd = ppd->dd; in sdma_progress_intr()
3280 struct qib_devdata *dd = ppd->dd; in sdma_cleanup_intr()
3304 static void reset_dca_notifier(struct qib_devdata *dd, int msixnum) in reset_dca_notifier()
3315 static void setup_dca_notifier(struct qib_devdata *dd, int msixnum) in setup_dca_notifier()
3355 static void qib_setup_7322_interrupt(struct qib_devdata *dd, int clearpend) in qib_setup_7322_interrupt()
3527 static unsigned qib_7322_boardname(struct qib_devdata *dd) in qib_7322_boardname()
3603 static int qib_do_7322_reset(struct qib_devdata *dd) in qib_do_7322_reset()
3744 static void qib_7322_put_tid(struct qib_devdata *dd, u64 __iomem *tidptr, in qib_7322_put_tid()
3782 static void qib_7322_clear_tids(struct qib_devdata *dd, in qib_7322_clear_tids()
3821 static void qib_7322_tidtemplate(struct qib_devdata *dd) in qib_7322_tidtemplate()
3863 qib_7322_get_msgheader(struct qib_devdata *dd, __le32 *rhf_addr) in qib_7322_get_msgheader()
3874 static void qib_7322_config_ctxts(struct qib_devdata *dd) in qib_7322_config_ctxts()
4044 struct qib_devdata *dd = ppd->dd; in qib_7322_set_ib_cfg()
4362 struct qib_devdata *dd = ppd->dd; in set_vl_weights()
4460 struct qib_devdata *dd = ppd->dd; in rcvctrl_7322_mod()
4599 struct qib_devdata *dd = ppd->dd; in sendctrl_7322_mod()
4709 struct qib_devdata *dd = ppd->dd; in qib_portcntr_7322()
4965 static void init_7322_cntrnames(struct qib_devdata *dd) in init_7322_cntrnames()
4999 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs()
5034 static u32 qib_read_7322portcntrs(struct qib_devdata *dd, loff_t pos, u32 port, in qib_read_7322portcntrs()
5088 struct qib_devdata *dd = from_timer(dd, t, stats_timer); in qib_get_7322_faststats()
5138 static int qib_7322_intr_fallback(struct qib_devdata *dd) in qib_7322_intr_fallback()
5164 struct qib_devdata *dd = ppd->dd; in qib_7322_mini_pcs_reset()
5201 struct qib_devdata *dd = ppd->dd; in autoneg_7322_sendpkt()
5235 struct qib_devdata *dd = ppd->dd; in qib_autoneg_7322_send()
5672 static int gpio_7322_mod(struct qib_devdata *dd, u32 out, u32 dir, u32 mask) in gpio_7322_mod()
5704 static int qib_7322_eeprom_wen(struct qib_devdata *dd, int wen) in qib_7322_eeprom_wen()
5721 static void get_7322_chip_params(struct qib_devdata *dd) in get_7322_chip_params()
5774 static void qib_7322_set_baseaddrs(struct qib_devdata *dd) in qib_7322_set_baseaddrs()
5813 static int sendctrl_hook(struct qib_devdata *dd, in sendctrl_hook()
5998 struct qib_devdata *dd = ppd->dd; in qib_init_7322_qsfp()
6025 static void set_no_qsfp_atten(struct qib_devdata *dd, int change) in set_no_qsfp_atten()
6115 struct qib_devdata *dd; in setup_txselect()
6143 static int qib_late_7322_initreg(struct qib_devdata *dd) in qib_late_7322_initreg()
6259 static void write_7322_initregs(struct qib_devdata *dd) in write_7322_initregs()
6343 static int qib_init_7322_variables(struct qib_devdata *dd) in qib_init_7322_variables()
6686 struct qib_devdata *dd = ppd->dd; in qib_7322_getsendbuf()
6851 struct qib_devdata *dd = ppd->dd; in init_sdma_7322_regs()
6889 struct qib_devdata *dd = ppd->dd; in qib_sdma_7322_gethead()
6974 static void qib_7322_initvl15_bufs(struct qib_devdata *dd) in qib_7322_initvl15_bufs()
7001 static void qib_7322_txchk_change(struct qib_devdata *dd, u32 start, in qib_7322_txchk_change()
7143 static void writescratch(struct qib_devdata *dd, u32 val) in writescratch()
7149 static int qib_7322_tempsense_rd(struct qib_devdata *dd, int regnum) in qib_7322_tempsense_rd()
7165 struct qib_devdata *qib_init_iba7322_funcs(struct pci_dev *pdev, in qib_init_iba7322_funcs()
7168 struct qib_devdata *dd; in qib_init_iba7322_funcs()
7324 struct qib_devdata *dd = ppd->dd; in set_txdds()
7712 static u32 ahb_mod(struct qib_devdata *dd, int quad, int chan, int addr, in ahb_mod()
7787 struct qib_devdata *dd = ppd->dd; in ibsd_wr_allchans()
8232 static int qib_r_grab(struct qib_devdata *dd) in qib_r_grab()
8244 static int qib_r_wait_for_rdy(struct qib_devdata *dd) in qib_r_wait_for_rdy()
8257 static int qib_r_shift(struct qib_devdata *dd, int bisten, in qib_r_shift()
8297 static int qib_r_update(struct qib_devdata *dd, int bisten) in qib_r_update()
8409 struct qib_devdata *dd = ppd->dd; in setup_7322_link_recovery()
8442 struct qib_devdata *dd = ppd->dd; in check_7322_rxe_status()