/drivers/infiniband/hw/qib/ |
D | qib.h | 205 struct qib_devdata *dd; 519 struct qib_devdata *dd; 686 typedef int (*diag_hook) (struct qib_devdata *dd, 696 extern int qib_register_observer(struct qib_devdata *dd, 707 struct qib_devdata { struct 759 int (*f_intr_fallback)(struct qib_devdata *); argument 761 int (*f_reset)(struct qib_devdata *); argument 764 int (*f_early_init)(struct qib_devdata *); argument 765 void (*f_clear_tids)(struct qib_devdata *, struct qib_ctxtdata *); argument 766 void (*f_put_tid)(struct qib_devdata *, u64 __iomem*, argument [all …]
|
D | qib_twsi.c | 67 static void i2c_wait_for_writes(struct qib_devdata *dd) in i2c_wait_for_writes() 89 static void scl_out(struct qib_devdata *dd, u8 bit) in scl_out() 120 static void sda_out(struct qib_devdata *dd, u8 bit) in sda_out() 133 static u8 sda_in(struct qib_devdata *dd, int wait) in sda_in() 152 static int i2c_ackrcv(struct qib_devdata *dd) in i2c_ackrcv() 165 static void stop_cmd(struct qib_devdata *dd); 173 static int rd_byte(struct qib_devdata *dd, int last) in rd_byte() 204 static int wr_byte(struct qib_devdata *dd, u8 data) in wr_byte() 222 static void start_seq(struct qib_devdata *dd) in start_seq() 237 static void stop_seq(struct qib_devdata *dd) in stop_seq() [all …]
|
D | qib_7220.h | 110 int qib_sd7220_presets(struct qib_devdata *dd); 111 int qib_sd7220_init(struct qib_devdata *dd); 112 void qib_sd7220_clr_ibpar(struct qib_devdata *); 120 static inline u32 qib_read_kreg32(const struct qib_devdata *dd, in qib_read_kreg32() 128 static inline u64 qib_read_kreg64(const struct qib_devdata *dd, in qib_read_kreg64() 137 static inline void qib_write_kreg(const struct qib_devdata *dd, in qib_write_kreg() 144 void set_7220_relock_poll(struct qib_devdata *, int); 145 void shutdown_7220_relock_poll(struct qib_devdata *); 146 void toggle_7220_rclkrls(struct qib_devdata *);
|
D | qib_sd7220.c | 98 static int qib_sd7220_reg_mod(struct qib_devdata *dd, int sdnum, u32 loc, 100 static int ibsd_mod_allchnls(struct qib_devdata *dd, int loc, int val, 102 static int qib_sd_trimdone_poll(struct qib_devdata *dd); 103 static void qib_sd_trimdone_monitor(struct qib_devdata *dd, const char *where); 104 static int qib_sd_setvals(struct qib_devdata *dd); 105 static int qib_sd_early(struct qib_devdata *dd); 106 static int qib_sd_dactrim(struct qib_devdata *dd); 107 static int qib_internal_presets(struct qib_devdata *dd); 109 static int qib_sd_trimself(struct qib_devdata *dd, int val); 110 static int epb_access(struct qib_devdata *dd, int sdnum, int claim); [all …]
|
D | qib_init.c | 101 void qib_set_ctxtcnt(struct qib_devdata *dd) in qib_set_ctxtcnt() 120 int qib_create_ctxts(struct qib_devdata *dd) in qib_create_ctxts() 166 struct qib_devdata *dd = ppd->dd; in qib_create_ctxtdata() 207 void qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() 301 static int init_pioavailregs(struct qib_devdata *dd) in init_pioavailregs() 359 static void init_shadow_tids(struct qib_devdata *dd) in init_shadow_tids() 392 static int loadtime_init(struct qib_devdata *dd) in loadtime_init() 444 static int init_after_reset(struct qib_devdata *dd) in init_after_reset() 469 static void enable_chip(struct qib_devdata *dd) in enable_chip() 497 struct qib_devdata *dd = (struct qib_devdata *) opaque; in verify_interrupt() [all …]
|
D | qib_pcie.c | 54 static int qib_tune_pcie_caps(struct qib_devdata *); 55 static int qib_tune_pcie_coalesce(struct qib_devdata *); 135 int qib_pcie_ddinit(struct qib_devdata *dd, struct pci_dev *pdev, in qib_pcie_ddinit() 177 void qib_pcie_ddcleanup(struct qib_devdata *dd) in qib_pcie_ddcleanup() 196 static void qib_msix_setup(struct qib_devdata *dd, int pos, u32 *msixcnt, in qib_msix_setup() 247 static int qib_msi_setup(struct qib_devdata *dd, int pos) in qib_msi_setup() 272 int qib_pcie_params(struct qib_devdata *dd, u32 minw, u32 *nent, in qib_pcie_params() 350 int qib_reinit_intr(struct qib_devdata *dd) in qib_reinit_intr() 400 void qib_nomsi(struct qib_devdata *dd) in qib_nomsi() 409 void qib_nomsix(struct qib_devdata *dd) in qib_nomsix() [all …]
|
D | qib_diag.c | 69 struct qib_devdata *dd; 78 static struct qib_diag_client *get_client(struct qib_devdata *dd) in get_client() 104 struct qib_devdata *dd = dc->dd; in return_client() 160 int qib_diag_add(struct qib_devdata *dd) in qib_diag_add() 181 static void qib_unregister_observers(struct qib_devdata *dd); 183 void qib_diag_remove(struct qib_devdata *dd) in qib_diag_remove() 234 static u32 __iomem *qib_remap_ioaddr32(struct qib_devdata *dd, u32 offset, in qib_remap_ioaddr32() 337 static int qib_read_umem64(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem64() 381 static int qib_write_umem64(struct qib_devdata *dd, u32 regoffs, in qib_write_umem64() 425 static int qib_read_umem32(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem32() [all …]
|
D | qib_iba6120.c | 306 static inline u32 qib_read_ureg32(const struct qib_devdata *dd, in qib_read_ureg32() 332 static inline void qib_write_ureg(const struct qib_devdata *dd, in qib_write_ureg() 350 static inline u32 qib_read_kreg32(const struct qib_devdata *dd, in qib_read_kreg32() 358 static inline u64 qib_read_kreg64(const struct qib_devdata *dd, in qib_read_kreg64() 367 static inline void qib_write_kreg(const struct qib_devdata *dd, in qib_write_kreg() 381 static inline void qib_write_kreg_ctxt(const struct qib_devdata *dd, in qib_write_kreg_ctxt() 388 static inline void write_6120_creg(const struct qib_devdata *dd, in write_6120_creg() 395 static inline u64 read_6120_creg(const struct qib_devdata *dd, u16 regno) in read_6120_creg() 402 static inline u32 read_6120_creg32(const struct qib_devdata *dd, u16 regno) in read_6120_creg32() 659 static void qib_6120_put_tid_2(struct qib_devdata *, u64 __iomem *, [all …]
|
D | qib_tx.c | 61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() 82 struct qib_devdata *dd = rcd->dd; in qib_disarm_piobufs_ifneeded() 114 static struct qib_pportdata *is_sdma_buf(struct qib_devdata *dd, unsigned i) in is_sdma_buf() 132 static int find_ctxt(struct qib_devdata *dd, unsigned bufn) in find_ctxt() 171 void qib_disarm_piobufs_set(struct qib_devdata *dd, unsigned long *mask, in qib_disarm_piobufs_set() 223 static void update_send_bufs(struct qib_devdata *dd) in update_send_bufs() 269 static noinline void no_send_bufs(struct qib_devdata *dd) in no_send_bufs() 284 u32 __iomem *qib_getsendbuf_range(struct qib_devdata *dd, u32 *pbufnum, in qib_getsendbuf_range() 366 void qib_sendbuf_done(struct qib_devdata *dd, unsigned n) in qib_sendbuf_done() 384 void qib_chg_pioavailkernel(struct qib_devdata *dd, unsigned start, in qib_chg_pioavailkernel() [all …]
|
D | qib_fs.c | 150 struct qib_devdata *dd = private2dd(file); in dev_counters_read() 162 struct qib_devdata *dd = private2dd(file); in dev_names_read() 184 struct qib_devdata *dd = private2dd(file); in portnames_read() 196 struct qib_devdata *dd = private2dd(file); in portcntrs_1_read() 208 struct qib_devdata *dd = private2dd(file); in portcntrs_2_read() 226 struct qib_devdata *dd = private2dd(file); in qsfp_1_read() 247 struct qib_devdata *dd = private2dd(file); in qsfp_2_read() 273 struct qib_devdata *dd; in flash_read() 324 struct qib_devdata *dd; in flash_write() 375 static int add_cntr_files(struct super_block *sb, struct qib_devdata *dd) in add_cntr_files() [all …]
|
D | qib_sysfs.c | 45 struct qib_devdata *dd = ppd->dd; in show_hrtbt_enb() 56 struct qib_devdata *dd = ppd->dd; in store_hrtbt_enb() 80 struct qib_devdata *dd = ppd->dd; in store_loopback() 93 struct qib_devdata *dd = ppd->dd; in store_led_override() 515 struct qib_devdata *dd = dd_from_dev(dev); in show_hca() 537 struct qib_devdata *dd = dd_from_dev(dev); in show_boardversion() 549 struct qib_devdata *dd = dd_from_dev(dev); in show_localbus_info() 561 struct qib_devdata *dd = dd_from_dev(dev); in show_nctxts() 576 struct qib_devdata *dd = dd_from_dev(dev); in show_nfreectxts() 587 struct qib_devdata *dd = dd_from_dev(dev); in show_serial() [all …]
|
D | qib_iba7220.c | 50 static void qib_7220_handle_hwerrors(struct qib_devdata *, char *, size_t); 229 static inline u32 qib_read_ureg32(const struct qib_devdata *dd, in qib_read_ureg32() 255 static inline void qib_write_ureg(const struct qib_devdata *dd, in qib_write_ureg() 281 static inline void qib_write_kreg_ctxt(const struct qib_devdata *dd, in qib_write_kreg_ctxt() 288 static inline void write_7220_creg(const struct qib_devdata *dd, in write_7220_creg() 295 static inline u64 read_7220_creg(const struct qib_devdata *dd, u16 regno) in read_7220_creg() 302 static inline u32 read_7220_creg32(const struct qib_devdata *dd, u16 regno) in read_7220_creg32() 753 struct qib_devdata *dd = ppd->dd; in qib_disarm_7220_senderrbufs() 769 static void qib_7220_txe_recover(struct qib_devdata *dd) in qib_7220_txe_recover() 780 struct qib_devdata *dd = ppd->dd; in qib_7220_sdma_sendctrl() [all …]
|
D | qib_eeprom.c | 53 int qib_eeprom_read(struct qib_devdata *dd, u8 eeprom_offset, in qib_eeprom_read() 77 static int eeprom_write_with_enable(struct qib_devdata *dd, u8 offset, in eeprom_write_with_enable() 100 int qib_eeprom_write(struct qib_devdata *dd, u8 eeprom_offset, in qib_eeprom_write() 144 void qib_get_eeprom_info(struct qib_devdata *dd) in qib_get_eeprom_info() 152 struct qib_devdata *dd0 = qib_lookup(0); in qib_get_eeprom_info() 297 int qib_update_eeprom_log(struct qib_devdata *dd) in qib_update_eeprom_log() 445 void qib_inc_eeprom_err(struct qib_devdata *dd, u32 eidx, u32 incr) in qib_inc_eeprom_err()
|
D | qib_iba7322.c | 59 static void qib_7322_handle_hwerrors(struct qib_devdata *, char *, size_t); 67 static void qib_7322_txchk_change(struct qib_devdata *, u32, u32, u32, 78 static u32 ahb_mod(struct qib_devdata *, int, int, int, u32, u32); 681 static inline void qib_write_kreg(const struct qib_devdata *dd, 683 static inline u32 qib_read_kreg32(const struct qib_devdata *, const u32); 684 static void write_7322_initregs(struct qib_devdata *); 700 static inline u32 qib_read_ureg32(const struct qib_devdata *dd, in qib_read_ureg32() 721 static inline u64 qib_read_ureg(const struct qib_devdata *dd, in qib_read_ureg() 742 static inline void qib_write_ureg(const struct qib_devdata *dd, in qib_write_ureg() 760 static inline u32 qib_read_kreg32(const struct qib_devdata *dd, in qib_read_kreg32() [all …]
|
D | qib_file_ops.c | 98 struct qib_devdata *dd = rcd->dd; in qib_get_base_info() 284 struct qib_devdata *dd = rcd->dd; in qib_tid_update() 477 struct qib_devdata *dd = rcd->dd; in qib_tid_free() 662 struct qib_devdata *dd = rcd->dd; in qib_manage_rcvq() 689 struct qib_devdata *dd) in qib_clean_part_key() 725 struct qib_devdata *dd = rcd->dd; in qib_mmap_mem() 764 static int mmap_ureg(struct vm_area_struct *vma, struct qib_devdata *dd, in mmap_ureg() 796 struct qib_devdata *dd, in mmap_piobufs() 846 struct qib_devdata *dd = rcd->dd; in mmap_rcvegrbufs() 912 struct qib_devdata *dd = rcd->dd; in mmap_kvaddr() [all …]
|
D | qib_intr.c | 75 struct qib_devdata *dd = ppd->dd; in signal_ib_event() 85 struct qib_devdata *dd = ppd->dd; in qib_handle_e_ibstatuschanged() 190 void qib_handle_urcv(struct qib_devdata *dd, u64 ctxtr) in qib_handle_urcv() 217 void qib_bad_intrstatus(struct qib_devdata *dd) in qib_bad_intrstatus()
|
D | qib_driver.c | 98 struct qib_devdata *dd; in qib_count_active_units() 128 struct qib_devdata *dd; in qib_count_units() 201 struct qib_devdata *dd = ppd->dd; in qib_set_linkstate() 447 struct qib_devdata *dd = rcd->dd; in qib_kreceive() 654 struct qib_devdata *dd = ppd->dd; in qib_set_lid() 682 struct qib_devdata *dd = ppd->dd; in qib_run_led_override() 704 struct qib_devdata *dd = ppd->dd; in qib_set_led_override() 756 struct qib_devdata *dd = qib_lookup(unit); in qib_reset_device()
|
D | qib_user_sdma.c | 174 static int qib_user_sdma_coalesce(const struct qib_devdata *dd, in qib_user_sdma_coalesce() 279 static int qib_user_sdma_pin_pages(const struct qib_devdata *dd, in qib_user_sdma_pin_pages() 325 static int qib_user_sdma_pin_pkt(const struct qib_devdata *dd, in qib_user_sdma_pin_pkt() 354 static int qib_user_sdma_init_payload(const struct qib_devdata *dd, in qib_user_sdma_init_payload() 395 static int qib_user_sdma_queue_pkts(const struct qib_devdata *dd, in qib_user_sdma_queue_pkts() 568 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_queue_clean() 629 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_queue_drain() 720 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_push_pkts() 811 struct qib_devdata *dd = rcd->dd; in qib_user_sdma_writev()
|
D | qib_wc_x86_64.c | 53 int qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc() 142 void qib_disable_wc(struct qib_devdata *dd) in qib_disable_wc()
|
D | qib_verbs.h | 50 struct qib_devdata; 907 unsigned qib_free_all_qps(struct qib_devdata *dd); 909 void qib_init_qpn_table(struct qib_devdata *dd, struct qib_qpn_table *qpt); 1080 int qib_register_ib_device(struct qib_devdata *); 1082 void qib_unregister_ib_device(struct qib_devdata *); 1086 void qib_ib_piobufavail(struct qib_devdata *); 1088 unsigned qib_get_npkeys(struct qib_devdata *);
|
D | qib_mad.c | 280 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_nodeinfo() 315 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_guidinfo() 454 struct qib_devdata *dd; in subn_get_portinfo() 578 static int get_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in get_pkeys() 604 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_pkeytable() 620 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_set_guidinfo() 655 struct qib_devdata *dd; in subn_set_portinfo() 986 static int set_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in set_pkeys() 1043 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_set_pkeytable() 1154 struct qib_devdata *dd = dd_from_ibdev(ibdev); in pma_get_classportinfo() [all …]
|
D | qib_verbs.c | 1137 struct qib_devdata *dd = dd_from_dev(dev); in qib_verbs_send_dma() 1239 struct qib_devdata *dd; in no_bufs_available() 1271 struct qib_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qib_verbs_send_pio() 1377 struct qib_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qib_verbs_send() 1409 struct qib_devdata *dd = ppd->dd; in qib_snapshot_counters() 1503 void qib_ib_piobufavail(struct qib_devdata *dd) in qib_ib_piobufavail() 1553 struct qib_devdata *dd = dd_from_ibdev(ibdev); in qib_query_device() 1599 struct qib_devdata *dd = dd_from_ibdev(ibdev); in qib_query_port() 1654 struct qib_devdata *dd = dd_from_ibdev(device); in qib_modify_device() 1709 struct qib_devdata *dd = dd_from_ibdev(ibdev); in qib_query_gid() [all …]
|
D | qib_wc_ppc64.c | 46 int qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc()
|
D | qib_qsfp.c | 49 struct qib_devdata *dd = ppd->dd; in qsfp_read() 159 struct qib_devdata *dd = ppd->dd; in qib_qsfp_write() 463 struct qib_devdata *dd = qd->ppd->dd; in qib_qsfp_init()
|
D | qib_qp.c | 120 static int alloc_qpn(struct qib_devdata *dd, struct qib_qpn_table *qpt, in alloc_qpn() 289 unsigned qib_free_all_qps(struct qib_devdata *dd) in qib_free_all_qps() 639 struct qib_devdata *dd = dd_from_dev(dev); in qib_modify_qp() 978 struct qib_devdata *dd; in qib_create_qp() 1232 void qib_init_qpn_table(struct qib_devdata *dd, struct qib_qpn_table *qpt) in qib_init_qpn_table()
|