Home
last modified time | relevance | path

Searched refs:qib_devdata (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib.h203 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
[all …]
Dqib_7220.h77 struct qib_devdata *dd;
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 *);
Dqib_twsi.c67 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()
121 static void sda_out(struct qib_devdata *dd, u8 bit) in sda_out()
134 static u8 sda_in(struct qib_devdata *dd, int wait) in sda_in()
153 static int i2c_ackrcv(struct qib_devdata *dd) in i2c_ackrcv()
166 static void stop_cmd(struct qib_devdata *dd);
175 static int rd_byte(struct qib_devdata *dd, int last) in rd_byte()
206 static int wr_byte(struct qib_devdata *dd, u8 data) in wr_byte()
224 static void start_seq(struct qib_devdata *dd) in start_seq()
239 static void stop_seq(struct qib_devdata *dd) in stop_seq()
[all …]
Dqib_sd7220.c98 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 …]
Dqib_sysfs.c44 struct qib_devdata *dd = dd_from_ibdev(ibdev); in qib_get_pportdata_kobj()
55 struct qib_devdata *dd = dd_from_ibdev(ibdev); in hrtbt_enable_show()
65 struct qib_devdata *dd = dd_from_ibdev(ibdev); in hrtbt_enable_store()
92 struct qib_devdata *dd = dd_from_ibdev(ibdev); in loopback_store()
108 struct qib_devdata *dd = dd_from_ibdev(ibdev); in led_override_store()
127 struct qib_devdata *dd = dd_from_ibdev(ibdev); in status_show()
158 struct qib_devdata *dd = dd_from_ibdev(ibdev); in status_str_show()
313 struct qib_devdata *dd = dd_from_ibdev(ibdev); in sl2vl_attr_show()
381 struct qib_devdata *dd = dd_from_ibdev(ibdev); in diagc_attr_show()
393 struct qib_devdata *dd = dd_from_ibdev(ibdev); in diagc_attr_store()
[all …]
Dqib_pcie.c54 static void qib_tune_pcie_caps(struct qib_devdata *);
55 static void qib_tune_pcie_coalesce(struct qib_devdata *);
121 int qib_pcie_ddinit(struct qib_devdata *dd, struct pci_dev *pdev, in qib_pcie_ddinit()
157 void qib_pcie_ddcleanup(struct qib_devdata *dd) in qib_pcie_ddcleanup()
181 static void qib_cache_msi_info(struct qib_devdata *dd, int pos) in qib_cache_msi_info()
196 int qib_pcie_params(struct qib_devdata *dd, u32 minw, u32 *nent) in qib_pcie_params()
280 void qib_free_irq(struct qib_devdata *dd) in qib_free_irq()
294 int qib_reinit_intr(struct qib_devdata *dd) in qib_reinit_intr()
343 void qib_pcie_getcmd(struct qib_devdata *dd, u16 *cmd, u8 *iline, u8 *cline) in qib_pcie_getcmd()
350 void qib_pcie_reenable(struct qib_devdata *dd, u16 cmd, u8 iline, u8 cline) in qib_pcie_reenable()
[all …]
Dqib_init.c102 void qib_set_ctxtcnt(struct qib_devdata *dd) in qib_set_ctxtcnt()
121 int qib_create_ctxts(struct qib_devdata *dd) in qib_create_ctxts()
168 struct qib_devdata *dd = ppd->dd; in qib_create_ctxtdata()
220 int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata()
307 static int init_pioavailregs(struct qib_devdata *dd) in init_pioavailregs()
365 static void init_shadow_tids(struct qib_devdata *dd) in init_shadow_tids()
394 static int loadtime_init(struct qib_devdata *dd) in loadtime_init()
443 static int init_after_reset(struct qib_devdata *dd) in init_after_reset()
468 static void enable_chip(struct qib_devdata *dd) in enable_chip()
496 struct qib_devdata *dd = from_timer(dd, t, intrchk_timer); in verify_interrupt()
[all …]
Dqib_fs.c149 struct qib_devdata *dd = private2dd(file); in dev_counters_read()
161 struct qib_devdata *dd = private2dd(file); in dev_names_read()
183 struct qib_devdata *dd = private2dd(file); in portnames_read()
195 struct qib_devdata *dd = private2dd(file); in portcntrs_1_read()
207 struct qib_devdata *dd = private2dd(file); in portcntrs_2_read()
225 struct qib_devdata *dd = private2dd(file); in qsfp_1_read()
246 struct qib_devdata *dd = private2dd(file); in qsfp_2_read()
272 struct qib_devdata *dd; in flash_read()
323 struct qib_devdata *dd; in flash_write()
358 static int add_cntr_files(struct super_block *sb, struct qib_devdata *dd) in add_cntr_files()
[all …]
Dqib_diag.c69 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()
339 static int qib_read_umem64(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem64()
383 static int qib_write_umem64(struct qib_devdata *dd, u32 regoffs, in qib_write_umem64()
428 static int qib_read_umem32(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem32()
[all …]
Dqib_tx.c61 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()
111 static struct qib_pportdata *is_sdma_buf(struct qib_devdata *dd, unsigned i) in is_sdma_buf()
129 static int find_ctxt(struct qib_devdata *dd, unsigned bufn) in find_ctxt()
168 void qib_disarm_piobufs_set(struct qib_devdata *dd, unsigned long *mask, in qib_disarm_piobufs_set()
217 static void update_send_bufs(struct qib_devdata *dd) in update_send_bufs()
263 static noinline void no_send_bufs(struct qib_devdata *dd) in no_send_bufs()
278 u32 __iomem *qib_getsendbuf_range(struct qib_devdata *dd, u32 *pbufnum, in qib_getsendbuf_range()
360 void qib_sendbuf_done(struct qib_devdata *dd, unsigned n) in qib_sendbuf_done()
379 void qib_chg_pioavailkernel(struct qib_devdata *dd, unsigned start, in qib_chg_pioavailkernel()
[all …]
Dqib_iba6120.c306 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()
351 static inline u32 qib_read_kreg32(const struct qib_devdata *dd, in qib_read_kreg32()
359 static inline u64 qib_read_kreg64(const struct qib_devdata *dd, in qib_read_kreg64()
368 static inline void qib_write_kreg(const struct qib_devdata *dd, in qib_write_kreg()
382 static inline void qib_write_kreg_ctxt(const struct qib_devdata *dd, in qib_write_kreg_ctxt()
389 static inline void write_6120_creg(const struct qib_devdata *dd, in write_6120_creg()
396 static inline u64 read_6120_creg(const struct qib_devdata *dd, u16 regno) in read_6120_creg()
403 static inline u32 read_6120_creg32(const struct qib_devdata *dd, u16 regno) in read_6120_creg32()
660 static void qib_6120_put_tid_2(struct qib_devdata *, u64 __iomem *,
[all …]
Dqib_eeprom.c53 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()
Dqib_iba7220.c51 static void qib_7220_handle_hwerrors(struct qib_devdata *, char *, size_t);
230 static inline u32 qib_read_ureg32(const struct qib_devdata *dd, in qib_read_ureg32()
256 static inline void qib_write_ureg(const struct qib_devdata *dd, in qib_write_ureg()
282 static inline void qib_write_kreg_ctxt(const struct qib_devdata *dd, in qib_write_kreg_ctxt()
289 static inline void write_7220_creg(const struct qib_devdata *dd, in write_7220_creg()
296 static inline u64 read_7220_creg(const struct qib_devdata *dd, u16 regno) in read_7220_creg()
303 static inline u32 read_7220_creg32(const struct qib_devdata *dd, u16 regno) in read_7220_creg32()
754 struct qib_devdata *dd = ppd->dd; in qib_disarm_7220_senderrbufs()
770 static void qib_7220_txe_recover(struct qib_devdata *dd) in qib_7220_txe_recover()
781 struct qib_devdata *dd = ppd->dd; in qib_7220_sdma_sendctrl()
[all …]
Dqib_driver.c86 struct qib_devdata *dd = container_of(ibdev, in qib_get_pci_dev()
87 struct qib_devdata, verbs_dev); in qib_get_pci_dev()
96 struct qib_devdata *dd; in qib_count_active_units()
126 struct qib_devdata *dd; in qib_count_units()
197 struct qib_devdata *dd = ppd->dd; in qib_set_linkstate()
305 struct qib_devdata *dd = ppd->dd; in qib_rcv_hdrerr()
443 struct qib_devdata *dd = rcd->dd; in qib_kreceive()
640 struct qib_devdata *dd = ppd->dd; in qib_set_lid()
670 struct qib_devdata *dd = ppd->dd; in qib_run_led_override()
692 struct qib_devdata *dd = ppd->dd; in qib_set_led_override()
[all …]
Dqib_file_ops.c104 struct qib_devdata *dd = rcd->dd; in qib_get_base_info()
290 struct qib_devdata *dd = rcd->dd; in qib_tid_update()
488 struct qib_devdata *dd = rcd->dd; in qib_tid_free()
655 struct qib_devdata *dd = rcd->dd; in qib_manage_rcvq()
682 struct qib_devdata *dd) in qib_clean_part_key()
711 struct qib_devdata *dd = rcd->dd; in qib_mmap_mem()
750 static int mmap_ureg(struct vm_area_struct *vma, struct qib_devdata *dd, in mmap_ureg()
782 struct qib_devdata *dd, in mmap_piobufs()
829 struct qib_devdata *dd = rcd->dd; in mmap_rcvegrbufs()
895 struct qib_devdata *dd = rcd->dd; in mmap_kvaddr()
[all …]
Dqib_iba7322.c62 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()
[all …]
Dqib_intr.c75 struct qib_devdata *dd = ppd->dd; in signal_ib_event()
85 struct qib_devdata *dd = ppd->dd; in qib_handle_e_ibstatuschanged()
189 void qib_handle_urcv(struct qib_devdata *dd, u64 ctxtr) in qib_handle_urcv()
216 void qib_bad_intrstatus(struct qib_devdata *dd) in qib_bad_intrstatus()
Dqib_qp.c134 struct qib_devdata *dd = container_of(verbs_dev, struct qib_devdata, in qib_alloc_qpn()
216 struct qib_devdata *dd = container_of(verbs_dev, struct qib_devdata, in qib_free_all_qps()
296 struct qib_devdata *dd = container_of(verbs_dev, struct qib_devdata, in qib_get_pmtu_from_attr()
Dqib_debugfs.c100 struct qib_devdata *dd = dd_from_dev(ibd); in _opcode_stats_seq_show()
122 struct qib_devdata *dd = dd_from_dev(ibd); in DEBUGFS_FILE()
134 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_next()
156 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_show()
Dqib_verbs.h54 struct qib_devdata;
340 int qib_register_ib_device(struct qib_devdata *);
342 void qib_unregister_ib_device(struct qib_devdata *);
346 void qib_ib_piobufavail(struct qib_devdata *);
348 unsigned qib_get_npkeys(struct qib_devdata *);
Dqib_wc_x86_64.c53 int qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc()
132 void qib_disable_wc(struct qib_devdata *dd) in qib_disable_wc()
Dqib_mad.c209 struct qib_devdata *dd = dd_from_dev(ibdev); in qib_cap_mask_chg()
282 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_nodeinfo()
316 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_guidinfo()
457 struct qib_devdata *dd; in subn_get_portinfo()
581 static int get_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in get_pkeys()
607 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_get_pkeytable()
623 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_set_guidinfo()
658 struct qib_devdata *dd; in subn_set_portinfo()
988 static int set_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys) in set_pkeys()
1045 struct qib_devdata *dd = dd_from_ibdev(ibdev); in subn_set_pkeytable()
[all …]
Dqib_verbs.c276 struct qib_devdata *dd = ppd->dd; in qib_ib_rcv()
776 struct qib_devdata *dd = dd_from_dev(dev); in qib_verbs_send_dma()
878 struct qib_devdata *dd; in no_bufs_available()
910 struct qib_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qib_verbs_send_pio()
1017 struct qib_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qib_verbs_send()
1049 struct qib_devdata *dd = ppd->dd; in qib_snapshot_counters()
1143 void qib_ib_piobufavail(struct qib_devdata *dd) in qib_ib_piobufavail()
1195 struct qib_devdata *dd = dd_from_dev(ibdev); in qib_query_port()
1240 struct qib_devdata *dd = dd_from_ibdev(device); in qib_modify_device()
1279 struct qib_devdata *dd = dd_from_dev(ibdev); in qib_shut_down_port()
[all …]
Dqib_wc_ppc64.c46 int qib_enable_wc(struct qib_devdata *dd) in qib_enable_wc()
Dqib_user_sdma.c295 static int qib_user_sdma_page_to_frags(const struct qib_devdata *dd, in qib_user_sdma_page_to_frags()
556 static int qib_user_sdma_coalesce(const struct qib_devdata *dd, in qib_user_sdma_coalesce()
653 static int qib_user_sdma_pin_pages(const struct qib_devdata *dd, in qib_user_sdma_pin_pages()
710 static int qib_user_sdma_pin_pkt(const struct qib_devdata *dd, in qib_user_sdma_pin_pkt()
752 static int qib_user_sdma_init_payload(const struct qib_devdata *dd, in qib_user_sdma_init_payload()
797 static int qib_user_sdma_queue_pkts(const struct qib_devdata *dd, in qib_user_sdma_queue_pkts()
1058 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_queue_clean()
1136 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_queue_drain()
1246 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_send_desc()
1386 struct qib_devdata *dd = rcd->dd; in qib_user_sdma_writev()

12