Home
last modified time | relevance | path

Searched refs:ipath_devdata (Results 1 – 21 of 21) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_kernel.h170 struct ipath_devdata *port_dd;
260 struct ipath_devdata { struct
294 int (*ipath_f_intrsetup)(struct ipath_devdata *); argument
296 int (*ipath_f_intr_fallback)(struct ipath_devdata *); argument
298 int (*ipath_f_bus)(struct ipath_devdata *, struct pci_dev *); argument
300 int (*ipath_f_reset)(struct ipath_devdata *); argument
301 int (*ipath_f_get_boardname)(struct ipath_devdata *, char *, argument
303 void (*ipath_f_init_hwerrors)(struct ipath_devdata *); argument
304 void (*ipath_f_handle_hwerrors)(struct ipath_devdata *, char *, argument
306 void (*ipath_f_quiet_serdes)(struct ipath_devdata *); argument
[all …]
Dipath_sysfs.c92 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_status()
125 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_status_str()
163 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_boardversion()
172 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_localbus_info()
181 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_lmc()
191 struct ipath_devdata *dd = dev_get_drvdata(dev); in store_lmc()
217 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_lid()
227 struct ipath_devdata *dd = dev_get_drvdata(dev); in store_lid()
253 struct ipath_devdata *dd = dev_get_drvdata(dev); in show_mlid()
263 struct ipath_devdata *dd = dev_get_drvdata(dev); in store_mlid()
[all …]
Dipath_eeprom.c114 static int i2c_gpio_set(struct ipath_devdata *dd, in i2c_gpio_set()
162 static int i2c_gpio_get(struct ipath_devdata *dd, in i2c_gpio_get()
212 static void i2c_wait_for_writes(struct ipath_devdata *dd) in i2c_wait_for_writes()
218 static void scl_out(struct ipath_devdata *dd, u8 bit) in scl_out()
226 static void sda_out(struct ipath_devdata *dd, u8 bit) in sda_out()
233 static u8 sda_in(struct ipath_devdata *dd, int wait) in sda_in()
250 static int i2c_ackrcv(struct ipath_devdata *dd) in i2c_ackrcv()
269 static int rd_byte(struct ipath_devdata *dd) in rd_byte()
291 static int wr_byte(struct ipath_devdata *dd, u8 data) in wr_byte()
305 static void send_ack(struct ipath_devdata *dd) in send_ack()
[all …]
Dipath_driver.c53 static void ipath_update_pio_bufs(struct ipath_devdata *);
161 static inline void read_bars(struct ipath_devdata *dd, struct pci_dev *dev, in read_bars()
180 struct ipath_devdata *dd) in ipath_free_devdata()
195 static struct ipath_devdata *ipath_alloc_devdata(struct pci_dev *pdev) in ipath_alloc_devdata()
198 struct ipath_devdata *dd; in ipath_alloc_devdata()
233 static inline struct ipath_devdata *__ipath_lookup(int unit) in __ipath_lookup()
238 struct ipath_devdata *ipath_lookup(int unit) in ipath_lookup()
240 struct ipath_devdata *dd; in ipath_lookup()
253 struct ipath_devdata *dd; in ipath_count_units()
291 int __attribute__((weak)) ipath_enable_wc(struct ipath_devdata *dd) in ipath_enable_wc()
[all …]
Dipath_sdma.c42 static void vl15_watchdog_enq(struct ipath_devdata *dd) in vl15_watchdog_enq()
52 static void vl15_watchdog_deq(struct ipath_devdata *dd) in vl15_watchdog_deq()
65 struct ipath_devdata *dd = (struct ipath_devdata *)opaque; in vl15_watchdog_timeout()
77 static void unmap_desc(struct ipath_devdata *dd, unsigned head) in unmap_desc()
95 int ipath_sdma_make_progress(struct ipath_devdata *dd) in ipath_sdma_make_progress()
159 static void ipath_sdma_notify(struct ipath_devdata *dd, struct list_head *list) in ipath_sdma_notify()
172 static void sdma_notify_taskbody(struct ipath_devdata *dd) in sdma_notify_taskbody()
199 struct ipath_devdata *dd = (struct ipath_devdata *)opaque; in sdma_notify_task()
205 static void dump_sdma_state(struct ipath_devdata *dd) in dump_sdma_state()
233 struct ipath_devdata *dd = (struct ipath_devdata *) opaque; in sdma_abort_task()
[all …]
Dipath_user_sdma.h40 int ipath_user_sdma_writev(struct ipath_devdata *dd,
45 int ipath_user_sdma_make_progress(struct ipath_devdata *dd,
48 void ipath_user_sdma_queue_drain(struct ipath_devdata *dd,
Dipath_iba6110.c48 static void ipath_setup_ht_setextled(struct ipath_devdata *, u64, u64);
394 static void hwerr_crcbits(struct ipath_devdata *dd, ipath_err_t hwerrs, in hwerr_crcbits()
482 static void ipath_ht_txe_recover(struct ipath_devdata *dd) in ipath_ht_txe_recover()
501 static void ipath_ht_handle_hwerrors(struct ipath_devdata *dd, char *msg, in ipath_ht_handle_hwerrors()
693 static int ipath_ht_boardname(struct ipath_devdata *dd, char *name, in ipath_ht_boardname()
762 static void ipath_check_htlink(struct ipath_devdata *dd) in ipath_check_htlink()
797 static int ipath_setup_ht_reset(struct ipath_devdata *dd) in ipath_setup_ht_reset()
814 static void slave_or_pri_blk(struct ipath_devdata *dd, struct pci_dev *pdev, in slave_or_pri_blk()
971 static int ipath_ht_intconfig(struct ipath_devdata *dd) in ipath_ht_intconfig()
991 struct ipath_devdata *dd = pci_get_drvdata(dev); in ipath_ht_irq_update()
[all …]
Dipath_fs.c113 struct ipath_devdata *dd; in atomic_counters_read()
130 struct ipath_devdata *dd; in flash_read()
181 struct ipath_devdata *dd; in flash_write()
226 struct ipath_devdata *dd) in create_device_files()
291 struct ipath_devdata *dd) in remove_device_files()
322 struct ipath_devdata *dd, *tmp; in ipathfs_fill_super()
369 int ipathfs_add_device(struct ipath_devdata *dd) in ipathfs_add_device()
384 int ipathfs_remove_device(struct ipath_devdata *dd) in ipathfs_remove_device()
Dipath_diag.c87 int ipath_diag_add(struct ipath_devdata *dd) in ipath_diag_add()
117 void ipath_diag_remove(struct ipath_devdata *dd) in ipath_diag_remove()
138 static int ipath_read_umem64(struct ipath_devdata *dd, void __user *uaddr, in ipath_read_umem64()
175 static int ipath_write_umem64(struct ipath_devdata *dd, void __iomem *caddr, in ipath_write_umem64()
213 static int ipath_read_umem32(struct ipath_devdata *dd, void __user *uaddr, in ipath_read_umem32()
253 static int ipath_write_umem32(struct ipath_devdata *dd, void __iomem *caddr, in ipath_write_umem32()
284 struct ipath_devdata *dd; in ipath_diag_open()
333 struct ipath_devdata *dd; in ipath_diagpkt_write()
491 struct ipath_devdata *dd = fp->private_data; in ipath_diag_read()
523 struct ipath_devdata *dd = fp->private_data; in ipath_diag_write()
Dipath_intr.c46 void ipath_disarm_senderrbufs(struct ipath_devdata *dd) in ipath_disarm_senderrbufs()
130 static u64 handle_e_sum_errs(struct ipath_devdata *dd, ipath_err_t errs) in handle_e_sum_errs()
228 static char *ib_linkstate(struct ipath_devdata *dd, u64 ibcs) in ib_linkstate()
245 void signal_ib_event(struct ipath_devdata *dd, enum ib_event_type ev) in signal_ib_event()
255 static void handle_e_ibstatuschanged(struct ipath_devdata *dd, in handle_e_ibstatuschanged()
451 static void handle_supp_msgs(struct ipath_devdata *dd, in handle_supp_msgs()
497 static unsigned handle_frequent_errors(struct ipath_devdata *dd, in handle_frequent_errors()
528 static void handle_sdma_errors(struct ipath_devdata *dd, ipath_err_t errs) in handle_sdma_errors()
559 static void handle_sdma_intr(struct ipath_devdata *dd, u64 istat) in handle_sdma_intr()
583 static int handle_hdrq_full(struct ipath_devdata *dd) in handle_hdrq_full()
[all …]
Dipath_user_sdma.c174 static int ipath_user_sdma_coalesce(const struct ipath_devdata *dd, in ipath_user_sdma_coalesce()
274 static int ipath_user_sdma_pin_pages(const struct ipath_devdata *dd, in ipath_user_sdma_pin_pages()
320 static int ipath_user_sdma_pin_pkt(const struct ipath_devdata *dd, in ipath_user_sdma_pin_pkt()
350 static int ipath_user_sdma_init_payload(const struct ipath_devdata *dd, in ipath_user_sdma_init_payload()
390 static int ipath_user_sdma_queue_pkts(const struct ipath_devdata *dd, in ipath_user_sdma_queue_pkts()
561 static int ipath_user_sdma_queue_clean(const struct ipath_devdata *dd, in ipath_user_sdma_queue_clean()
608 static int ipath_user_sdma_hwqueue_clean(struct ipath_devdata *dd) in ipath_user_sdma_hwqueue_clean()
621 void ipath_user_sdma_queue_drain(struct ipath_devdata *dd, in ipath_user_sdma_queue_drain()
653 static inline __le64 ipath_sdma_make_desc0(struct ipath_devdata *dd, in ipath_sdma_make_desc0()
683 static void ipath_user_sdma_send_frag(struct ipath_devdata *dd, in ipath_user_sdma_send_frag()
[all …]
Dipath_init_chip.c87 static int create_port0_egr(struct ipath_devdata *dd) in create_port0_egr()
146 static int bringup_link(struct ipath_devdata *dd) in bringup_link()
211 static struct ipath_portdata *create_portdata0(struct ipath_devdata *dd) in create_portdata0()
226 static int init_chip_first(struct ipath_devdata *dd) in init_chip_first()
343 static int init_chip_reset(struct ipath_devdata *dd) in init_chip_reset()
395 static int init_pioavailregs(struct ipath_devdata *dd) in init_pioavailregs()
442 static void init_shadow_tids(struct ipath_devdata *dd) in init_shadow_tids()
470 static void enable_chip(struct ipath_devdata *dd, int reinit) in enable_chip()
557 static int init_housekeeping(struct ipath_devdata *dd, int reinit) in init_housekeeping()
673 struct ipath_devdata *dd = (struct ipath_devdata *) opaque; in verify_interrupt()
[all …]
Dipath_stats.c52 u64 ipath_snap_cntr(struct ipath_devdata *dd, ipath_creg creg) in ipath_snap_cntr()
141 static void ipath_qcheck(struct ipath_devdata *dd) in ipath_qcheck()
203 static void ipath_chk_errormask(struct ipath_devdata *dd) in ipath_chk_errormask()
250 struct ipath_devdata *dd = (struct ipath_devdata *) opaque; in ipath_get_faststats()
Dipath_file_ops.c100 struct ipath_devdata *dd = pd->port_dd; in ipath_get_base_info()
301 struct ipath_devdata *dd = pd->port_dd; in ipath_tid_update()
518 struct ipath_devdata *dd = pd->port_dd; in ipath_tid_free()
612 struct ipath_devdata *dd = pd->port_dd; in ipath_set_part_key()
751 struct ipath_devdata *dd = pd->port_dd; in ipath_manage_rcvq()
799 struct ipath_devdata *dd) in ipath_clean_part_key()
860 struct ipath_devdata *dd = pd->port_dd; in init_user_egr_sizes()
896 struct ipath_devdata *dd = pd->port_dd; in ipath_create_user_egr()
989 struct ipath_devdata *dd = pd->port_dd; in ipath_mmap_mem()
1028 static int mmap_ureg(struct vm_area_struct *vma, struct ipath_devdata *dd, in mmap_ureg()
[all …]
Dipath_wc_x86_64.c51 int ipath_enable_wc(struct ipath_devdata *dd) in ipath_enable_wc()
141 void ipath_disable_wc(struct ipath_devdata *dd) in ipath_disable_wc()
Dipath_mad.c88 struct ipath_devdata *dd = to_idev(ibdev)->dd; in recv_subn_get_nodeinfo()
150 static void set_link_width_enabled(struct ipath_devdata *dd, u32 w) in set_link_width_enabled()
155 static void set_link_speed_enabled(struct ipath_devdata *dd, u32 s) in set_link_speed_enabled()
160 static int get_overrunthreshold(struct ipath_devdata *dd) in get_overrunthreshold()
174 static int set_overrunthreshold(struct ipath_devdata *dd, unsigned n) in set_overrunthreshold()
192 static int get_phyerrthreshold(struct ipath_devdata *dd) in get_phyerrthreshold()
206 static int set_phyerrthreshold(struct ipath_devdata *dd, unsigned n) in set_phyerrthreshold()
230 static int get_linkdowndefaultstate(struct ipath_devdata *dd) in get_linkdowndefaultstate()
239 struct ipath_devdata *dd; in recv_subn_get_portinfo()
350 static int get_pkeys(struct ipath_devdata *dd, u16 * pkeys) in get_pkeys()
[all …]
Dipath_verbs.h543 struct ipath_devdata *dd;
727 int ipath_snapshot_counters(struct ipath_devdata *dd, u64 *swords,
731 int ipath_get_counters(struct ipath_devdata *dd,
889 int ipath_register_ib_device(struct ipath_devdata *);
897 unsigned ipath_get_npkeys(struct ipath_devdata *);
899 u32 ipath_get_cr_errpkey(struct ipath_devdata *);
901 unsigned ipath_get_pkey(struct ipath_devdata *, unsigned);
Dipath_wc_ppc64.c46 int ipath_enable_wc(struct ipath_devdata *dd) in ipath_enable_wc()
Dipath_verbs.c345 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_post_one_send()
1116 struct ipath_devdata *dd = dev->dd; in ipath_verbs_send_dma()
1240 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_verbs_send_pio()
1338 struct ipath_devdata *dd = to_idev(qp->ibqp.device)->dd; in ipath_verbs_send()
1365 int ipath_snapshot_counters(struct ipath_devdata *dd, u64 *swords, in ipath_snapshot_counters()
1395 int ipath_get_counters(struct ipath_devdata *dd, in ipath_get_counters()
1592 u32 ipath_get_cr_errpkey(struct ipath_devdata *dd) in ipath_get_cr_errpkey()
1601 struct ipath_devdata *dd = dev->dd; in ipath_query_port()
1868 unsigned ipath_get_npkeys(struct ipath_devdata *dd) in ipath_get_npkeys()
1878 unsigned ipath_get_pkey(struct ipath_devdata *dd, unsigned index) in ipath_get_pkey()
[all …]
Dipath_ruc.c516 static void want_buffer(struct ipath_devdata *dd, struct ipath_qp *qp) in want_buffer()
Dipath_rc.c615 struct ipath_devdata *dd; in send_rc_ack()