• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/ipath/

Lines Matching defs:ipath_devdata

169 	struct ipath_devdata *port_dd;
259 struct ipath_devdata {
293 int (*ipath_f_intrsetup)(struct ipath_devdata *);
295 int (*ipath_f_intr_fallback)(struct ipath_devdata *);
297 int (*ipath_f_bus)(struct ipath_devdata *, struct pci_dev *);
299 int (*ipath_f_reset)(struct ipath_devdata *);
300 int (*ipath_f_get_boardname)(struct ipath_devdata *, char *,
302 void (*ipath_f_init_hwerrors)(struct ipath_devdata *);
303 void (*ipath_f_handle_hwerrors)(struct ipath_devdata *, char *,
305 void (*ipath_f_quiet_serdes)(struct ipath_devdata *);
306 int (*ipath_f_bringup_serdes)(struct ipath_devdata *);
307 int (*ipath_f_early_init)(struct ipath_devdata *);
308 void (*ipath_f_clear_tids)(struct ipath_devdata *, unsigned);
309 void (*ipath_f_put_tid)(struct ipath_devdata *, u64 __iomem*,
311 void (*ipath_f_tidtemplate)(struct ipath_devdata *);
312 void (*ipath_f_cleanup)(struct ipath_devdata *);
313 void (*ipath_f_setextled)(struct ipath_devdata *, u64, u64);
317 void (*ipath_f_free_irq)(struct ipath_devdata *);
319 (struct ipath_devdata *, __le32 *);
320 void (*ipath_f_config_ports)(struct ipath_devdata *, ushort);
321 int (*ipath_f_get_ib_cfg)(struct ipath_devdata *, int);
322 int (*ipath_f_set_ib_cfg)(struct ipath_devdata *, int, u32);
323 void (*ipath_f_config_jint)(struct ipath_devdata *, u16 , u16);
324 void (*ipath_f_read_counters)(struct ipath_devdata *,
326 void (*ipath_f_xgxs_reset)(struct ipath_devdata *);
328 int (*ipath_f_ib_updown)(struct ipath_devdata *, int, u64);
871 extern struct ipath_devdata *ipath_lookup(int unit);
873 int ipath_init_chip(struct ipath_devdata *, int);
874 int ipath_enable_wc(struct ipath_devdata *dd);
875 void ipath_disable_wc(struct ipath_devdata *dd);
877 void ipath_shutdown_device(struct ipath_devdata *);
878 void ipath_clear_freeze(struct ipath_devdata *);
886 int ipath_diag_add(struct ipath_devdata *);
887 void ipath_diag_remove(struct ipath_devdata *);
891 int ipath_user_add(struct ipath_devdata *dd);
892 void ipath_user_remove(struct ipath_devdata *dd);
894 struct sk_buff *ipath_alloc_skb(struct ipath_devdata *dd, gfp_t);
899 int ipath_decode_err(struct ipath_devdata *dd, char *buf, size_t blen,
906 void ipath_chip_cleanup(struct ipath_devdata *);
913 void ipath_disarm_piobufs(struct ipath_devdata *, unsigned first,
915 void ipath_cancel_sends(struct ipath_devdata *, int);
917 int ipath_create_rcvhdrq(struct ipath_devdata *, struct ipath_portdata *);
918 void ipath_free_pddata(struct ipath_devdata *, struct ipath_portdata *);
923 int ipath_setrcvhdrsize(struct ipath_devdata *, unsigned);
926 int ipath_wait_linkstate(struct ipath_devdata *, u32, int);
927 int ipath_set_linkstate(struct ipath_devdata *, u8);
928 int ipath_set_mtu(struct ipath_devdata *, u16);
929 int ipath_set_lid(struct ipath_devdata *, u32, u8);
930 int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv);
931 void ipath_enable_armlaunch(struct ipath_devdata *);
932 void ipath_disable_armlaunch(struct ipath_devdata *);
933 void ipath_hol_down(struct ipath_devdata *);
934 void ipath_hol_up(struct ipath_devdata *);
936 void ipath_toggle_rclkrls(struct ipath_devdata *);
937 void ipath_sd7220_clr_ibpar(struct ipath_devdata *);
938 void ipath_set_relock_poll(struct ipath_devdata *, int);
939 void ipath_shutdown_relock_poll(struct ipath_devdata *);
1029 u32 __iomem *ipath_getpiobuf(struct ipath_devdata *, u32, u32 *);
1030 void ipath_chg_pioavailkernel(struct ipath_devdata *dd, unsigned start,
1032 void ipath_init_iba6110_funcs(struct ipath_devdata *);
1033 void ipath_get_eeprom_info(struct ipath_devdata *);
1034 int ipath_update_eeprom_log(struct ipath_devdata *dd);
1035 void ipath_inc_eeprom_err(struct ipath_devdata *dd, u32 eidx, u32 incr);
1036 u64 ipath_snap_cntr(struct ipath_devdata *, ipath_creg);
1037 void ipath_disarm_senderrbufs(struct ipath_devdata *);
1038 void ipath_force_pio_avail_update(struct ipath_devdata *);
1039 void signal_ib_event(struct ipath_devdata *dd, enum ib_event_type ev);
1048 void ipath_set_led_override(struct ipath_devdata *dd, unsigned int val);
1051 int setup_sdma(struct ipath_devdata *);
1052 void teardown_sdma(struct ipath_devdata *);
1053 void ipath_restart_sdma(struct ipath_devdata *);
1054 void ipath_sdma_intr(struct ipath_devdata *);
1055 int ipath_sdma_verbs_send(struct ipath_devdata *, struct ipath_sge_state *,
1058 int ipath_sdma_make_progress(struct ipath_devdata *dd);
1061 static inline u16 ipath_sdma_descq_freecnt(const struct ipath_devdata *dd)
1068 static inline void ipath_sdma_desc_reserve(struct ipath_devdata *dd, u16 cnt)
1073 static inline void ipath_sdma_desc_unreserve(struct ipath_devdata *dd, u16 cnt)
1086 int ipath_eeprom_read(struct ipath_devdata *, u8, void *, int);
1087 int ipath_eeprom_write(struct ipath_devdata *, u8, const void *, int);
1088 int ipath_tempsense_read(struct ipath_devdata *, u8 regnum);
1089 int ipath_tempsense_write(struct ipath_devdata *, u8 regnum, u8 data);
1092 void ipath_write_kreg_port(const struct ipath_devdata *, ipath_kreg,
1119 static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd,
1140 static inline void ipath_write_ureg(const struct ipath_devdata *dd,
1150 static inline u32 ipath_read_kreg32(const struct ipath_devdata *dd,
1158 static inline u64 ipath_read_kreg64(const struct ipath_devdata *dd,
1167 static inline void ipath_write_kreg(const struct ipath_devdata *dd,
1174 static inline u64 ipath_read_creg(const struct ipath_devdata *dd,
1185 static inline u32 ipath_read_creg32(const struct ipath_devdata *dd,
1195 static inline void ipath_write_creg(const struct ipath_devdata *dd,
1217 const struct ipath_devdata *dd = pd->port_dd;
1236 static inline u64 ipath_read_ireg(const struct ipath_devdata *dd, ipath_kreg r)
1247 static inline u32 ipath_ib_linkstate(struct ipath_devdata *dd, u64 ibcs)
1257 static inline u32 ipath_ib_linktrstate(struct ipath_devdata *dd, u64 ibcs)
1268 static inline u32 ipath_ib_state(struct ipath_devdata *dd, u64 ibcs)
1288 int ipath_device_create_group(struct device *, struct ipath_devdata *);
1289 void ipath_device_remove_group(struct device *, struct ipath_devdata *);
1294 int ipathfs_add_device(struct ipath_devdata *);
1295 int ipathfs_remove_device(struct ipath_devdata *);
1329 const struct ipath_devdata *__dd = (dd); \