Lines Matching refs:qib_devdata
203 struct qib_devdata *dd;
522 struct qib_devdata *dd;
687 typedef int (*diag_hook) (struct qib_devdata *dd,
697 extern int qib_register_observer(struct qib_devdata *dd,
708 struct qib_devdata { struct
760 int (*f_intr_fallback)(struct qib_devdata *); argument
762 int (*f_reset)(struct qib_devdata *); argument
765 int (*f_early_init)(struct qib_devdata *); argument
766 void (*f_clear_tids)(struct qib_devdata *, struct qib_ctxtdata *); argument
767 void (*f_put_tid)(struct qib_devdata *, u64 __iomem*, argument
769 void (*f_cleanup)(struct qib_devdata *); argument
774 void (*f_free_irq)(struct qib_devdata *); argument
776 (struct qib_devdata *, __le32 *); argument
777 void (*f_config_ctxts)(struct qib_devdata *); argument
790 int (*f_gpio_mod)(struct qib_devdata *dd, u32 out, u32 dir, argument
793 int (*f_eeprom_wen)(struct qib_devdata *dd, int wen); argument
804 void (*f_set_intr_state)(struct qib_devdata *, u32); argument
805 void (*f_set_armlaunch)(struct qib_devdata *, u32); argument
806 void (*f_wantpiobuf_intr)(struct qib_devdata *, u32); argument
807 int (*f_late_initreg)(struct qib_devdata *); argument
821 u32 (*f_read_cntrs)(struct qib_devdata *, loff_t, char **, argument
823 u32 (*f_read_portcntrs)(struct qib_devdata *, loff_t, u32, argument
826 void (*f_initvl15_bufs)(struct qib_devdata *); argument
828 void (*f_txchk_change)(struct qib_devdata *, u32, u32, u32, argument
830 void (*f_writescratch)(struct qib_devdata *, u32); argument
831 int (*f_tempsense_rd)(struct qib_devdata *, int regnum); argument
833 int (*f_notify_dca)(struct qib_devdata *, unsigned long event); argument
1106 extern struct qib_devdata *qib_lookup(int unit);
1111 int qib_init(struct qib_devdata *, int);
1112 int init_chip_wc_pat(struct qib_devdata *dd, u32);
1113 int qib_enable_wc(struct qib_devdata *dd);
1114 void qib_disable_wc(struct qib_devdata *dd);
1125 int qib_diag_add(struct qib_devdata *);
1126 void qib_diag_remove(struct qib_devdata *);
1130 int qib_decode_err(struct qib_devdata *dd, char *buf, size_t blen, u64 err);
1131 void qib_bad_intrstatus(struct qib_devdata *);
1132 void qib_handle_urcv(struct qib_devdata *, u64);
1135 void qib_chip_cleanup(struct qib_devdata *);
1143 void qib_disarm_piobufs(struct qib_devdata *, unsigned, unsigned);
1145 void qib_disarm_piobufs_set(struct qib_devdata *, unsigned long *, unsigned);
1148 int qib_create_rcvhdrq(struct qib_devdata *, struct qib_ctxtdata *);
1150 void qib_set_ctxtcnt(struct qib_devdata *);
1151 int qib_create_ctxts(struct qib_devdata *dd);
1153 int qib_init_pportdata(struct qib_pportdata *, struct qib_devdata *, u8, u8);
1154 void qib_free_ctxtdata(struct qib_devdata *, struct qib_ctxtdata *);
1166 void qib_disable_after_error(struct qib_devdata *);
1179 static inline struct qib_devdata *dd_from_ppd(struct qib_pportdata *ppd) in dd_from_ppd()
1184 static inline struct qib_devdata *dd_from_dev(struct qib_ibdev *dev) in dd_from_dev()
1186 return container_of(dev, struct qib_devdata, verbs_dev); in dd_from_dev()
1189 static inline struct qib_devdata *dd_from_ibdev(struct ib_device *ibdev) in dd_from_ibdev()
1201 struct qib_devdata *dd = dd_from_ibdev(ibdev); in to_iport()
1258 void qib_chg_pioavailkernel(struct qib_devdata *, unsigned, unsigned,
1260 struct qib_devdata *qib_init_iba7322_funcs(struct pci_dev *,
1262 struct qib_devdata *qib_init_iba7220_funcs(struct pci_dev *,
1264 struct qib_devdata *qib_init_iba6120_funcs(struct pci_dev *,
1266 void qib_free_devdata(struct qib_devdata *);
1267 struct qib_devdata *qib_alloc_devdata(struct pci_dev *pdev, size_t extra);
1271 int qib_twsi_reset(struct qib_devdata *dd);
1272 int qib_twsi_blk_rd(struct qib_devdata *dd, int dev, int addr, void *buffer,
1274 int qib_twsi_blk_wr(struct qib_devdata *dd, int dev, int addr,
1276 void qib_get_eeprom_info(struct qib_devdata *);
1277 void qib_dump_lookup_output_queue(struct qib_devdata *);
1278 void qib_force_pio_avail_update(struct qib_devdata *);
1338 int qib_eeprom_read(struct qib_devdata *, u8, void *, int);
1339 int qib_eeprom_write(struct qib_devdata *, u8, const void *, int);
1340 u32 __iomem *qib_getsendbuf_range(struct qib_devdata *, u32 *, u32, u32);
1341 void qib_sendbuf_done(struct qib_devdata *, unsigned);
1366 int qib_device_create(struct qib_devdata *);
1367 void qib_device_remove(struct qib_devdata *);
1375 int qibfs_add(struct qib_devdata *);
1376 int qibfs_remove(struct qib_devdata *);
1379 int qib_pcie_ddinit(struct qib_devdata *, struct pci_dev *,
1381 void qib_pcie_ddcleanup(struct qib_devdata *);
1382 int qib_pcie_params(struct qib_devdata *dd, u32 minw, u32 *nent);
1383 void qib_free_irq(struct qib_devdata *dd);
1384 int qib_reinit_intr(struct qib_devdata *dd);
1385 void qib_pcie_getcmd(struct qib_devdata *, u16 *, u8 *, u8 *);
1386 void qib_pcie_reenable(struct qib_devdata *, u16, u8, u8);
1388 u64 qib_int_counter(struct qib_devdata *);