Lines Matching refs:qib_devdata

203 	struct qib_devdata *dd;
522 struct qib_devdata *dd;
691 typedef int (*diag_hook) (struct qib_devdata *dd,
701 extern int qib_register_observer(struct qib_devdata *dd,
712 struct qib_devdata { struct
764 int (*f_intr_fallback)(struct qib_devdata *); argument
766 int (*f_reset)(struct qib_devdata *); argument
769 int (*f_early_init)(struct qib_devdata *); argument
770 void (*f_clear_tids)(struct qib_devdata *, struct qib_ctxtdata *); argument
771 void (*f_put_tid)(struct qib_devdata *, u64 __iomem*, argument
773 void (*f_cleanup)(struct qib_devdata *); argument
778 void (*f_free_irq)(struct qib_devdata *); argument
780 (struct qib_devdata *, __le32 *); argument
781 void (*f_config_ctxts)(struct qib_devdata *); argument
794 int (*f_gpio_mod)(struct qib_devdata *dd, u32 out, u32 dir, argument
797 int (*f_eeprom_wen)(struct qib_devdata *dd, int wen); argument
808 void (*f_set_intr_state)(struct qib_devdata *, u32); argument
809 void (*f_set_armlaunch)(struct qib_devdata *, u32); argument
810 void (*f_wantpiobuf_intr)(struct qib_devdata *, u32); argument
811 int (*f_late_initreg)(struct qib_devdata *); argument
825 u32 (*f_read_cntrs)(struct qib_devdata *, loff_t, char **, argument
827 u32 (*f_read_portcntrs)(struct qib_devdata *, loff_t, u32, argument
830 void (*f_initvl15_bufs)(struct qib_devdata *); argument
832 void (*f_txchk_change)(struct qib_devdata *, u32, u32, u32, argument
834 void (*f_writescratch)(struct qib_devdata *, u32); argument
835 int (*f_tempsense_rd)(struct qib_devdata *, int regnum); argument
837 int (*f_notify_dca)(struct qib_devdata *, unsigned long event); argument
1110 extern struct qib_devdata *qib_lookup(int unit);
1115 int qib_init(struct qib_devdata *, int);
1116 int init_chip_wc_pat(struct qib_devdata *dd, u32);
1117 int qib_enable_wc(struct qib_devdata *dd);
1118 void qib_disable_wc(struct qib_devdata *dd);
1129 int qib_diag_add(struct qib_devdata *);
1130 void qib_diag_remove(struct qib_devdata *);
1134 int qib_decode_err(struct qib_devdata *dd, char *buf, size_t blen, u64 err);
1135 void qib_bad_intrstatus(struct qib_devdata *);
1136 void qib_handle_urcv(struct qib_devdata *, u64);
1139 void qib_chip_cleanup(struct qib_devdata *);
1147 void qib_disarm_piobufs(struct qib_devdata *, unsigned, unsigned);
1149 void qib_disarm_piobufs_set(struct qib_devdata *, unsigned long *, unsigned);
1152 int qib_create_rcvhdrq(struct qib_devdata *, struct qib_ctxtdata *);
1154 void qib_set_ctxtcnt(struct qib_devdata *);
1155 int qib_create_ctxts(struct qib_devdata *dd);
1157 int qib_init_pportdata(struct qib_pportdata *, struct qib_devdata *, u8, u8);
1158 void qib_free_ctxtdata(struct qib_devdata *, struct qib_ctxtdata *);
1170 void qib_disable_after_error(struct qib_devdata *);
1183 static inline struct qib_devdata *dd_from_ppd(struct qib_pportdata *ppd) in dd_from_ppd()
1188 static inline struct qib_devdata *dd_from_dev(struct qib_ibdev *dev) in dd_from_dev()
1190 return container_of(dev, struct qib_devdata, verbs_dev); in dd_from_dev()
1193 static inline struct qib_devdata *dd_from_ibdev(struct ib_device *ibdev) in dd_from_ibdev()
1205 struct qib_devdata *dd = dd_from_ibdev(ibdev); in to_iport()
1262 void qib_chg_pioavailkernel(struct qib_devdata *, unsigned, unsigned,
1264 struct qib_devdata *qib_init_iba7322_funcs(struct pci_dev *,
1266 struct qib_devdata *qib_init_iba7220_funcs(struct pci_dev *,
1268 struct qib_devdata *qib_init_iba6120_funcs(struct pci_dev *,
1270 void qib_free_devdata(struct qib_devdata *);
1271 struct qib_devdata *qib_alloc_devdata(struct pci_dev *pdev, size_t extra);
1275 int qib_twsi_reset(struct qib_devdata *dd);
1276 int qib_twsi_blk_rd(struct qib_devdata *dd, int dev, int addr, void *buffer,
1278 int qib_twsi_blk_wr(struct qib_devdata *dd, int dev, int addr,
1280 void qib_get_eeprom_info(struct qib_devdata *);
1281 void qib_dump_lookup_output_queue(struct qib_devdata *);
1282 void qib_force_pio_avail_update(struct qib_devdata *);
1347 int qib_eeprom_read(struct qib_devdata *, u8, void *, int);
1348 int qib_eeprom_write(struct qib_devdata *, u8, const void *, int);
1349 u32 __iomem *qib_getsendbuf_range(struct qib_devdata *, u32 *, u32, u32);
1350 void qib_sendbuf_done(struct qib_devdata *, unsigned);
1369 const struct qib_devdata *dd = rcd->dd; in qib_get_hdrqtail()
1395 int qib_device_create(struct qib_devdata *);
1396 void qib_device_remove(struct qib_devdata *);
1400 void qib_verbs_unregister_sysfs(struct qib_devdata *);
1407 int qibfs_add(struct qib_devdata *);
1408 int qibfs_remove(struct qib_devdata *);
1411 int qib_pcie_ddinit(struct qib_devdata *, struct pci_dev *,
1413 void qib_pcie_ddcleanup(struct qib_devdata *);
1414 int qib_pcie_params(struct qib_devdata *dd, u32 minw, u32 *nent);
1415 void qib_free_irq(struct qib_devdata *dd);
1416 int qib_reinit_intr(struct qib_devdata *dd);
1417 void qib_pcie_getcmd(struct qib_devdata *, u16 *, u8 *, u8 *);
1418 void qib_pcie_reenable(struct qib_devdata *, u16, u8, u8);
1420 u64 qib_int_counter(struct qib_devdata *);