Lines Matching refs:qib_pportdata
205 struct qib_pportdata *ppd;
519 struct qib_pportdata { struct
731 struct qib_pportdata *pport;
763 void (*f_quiet_serdes)(struct qib_pportdata *);
764 int (*f_bringup_serdes)(struct qib_pportdata *);
770 void (*f_setextled)(struct qib_pportdata *, u32);
778 int (*f_get_ib_cfg)(struct qib_pportdata *, int);
779 int (*f_set_ib_cfg)(struct qib_pportdata *, int, u32);
780 int (*f_set_ib_loopback)(struct qib_pportdata *, const char *);
781 int (*f_get_ib_table)(struct qib_pportdata *, int, void *);
782 int (*f_set_ib_table)(struct qib_pportdata *, int, void *);
785 void (*f_xgxs_reset)(struct qib_pportdata *);
787 int (*f_ib_updown)(struct qib_pportdata *, int, u64);
788 u32 __iomem *(*f_getsendbuf)(struct qib_pportdata *, u64, u32 *);
800 void (*f_rcvctrl)(struct qib_pportdata *, unsigned int op,
803 void (*f_sendctrl)(struct qib_pportdata *, u32 op);
808 int (*f_init_sdma_regs)(struct qib_pportdata *);
809 u16 (*f_sdma_gethead)(struct qib_pportdata *);
810 int (*f_sdma_busy)(struct qib_pportdata *);
811 void (*f_sdma_update_tail)(struct qib_pportdata *, u16);
812 void (*f_sdma_set_desc_cnt)(struct qib_pportdata *, unsigned);
813 void (*f_sdma_sendctrl)(struct qib_pportdata *, unsigned);
814 void (*f_sdma_hw_clean_up)(struct qib_pportdata *);
815 void (*f_sdma_hw_start_up)(struct qib_pportdata *);
816 void (*f_sdma_init_early)(struct qib_pportdata *);
817 void (*f_set_cntr_sample)(struct qib_pportdata *, u32, u32);
820 u64 (*f_portcntr)(struct qib_pportdata *, u32);
825 u32 (*f_setpbc_control)(struct qib_pportdata *, u32, u8, u8);
1127 void qib_handle_e_ibstatuschanged(struct qib_pportdata *, u64);
1128 void qib_sdma_update_tail(struct qib_pportdata *, u16); /* hold sdma_lock */
1146 void qib_cancel_sends(struct qib_pportdata *);
1152 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *, u32, int);
1153 int qib_init_pportdata(struct qib_pportdata *, struct qib_devdata *, u8, u8);
1158 int qib_wait_linkstate(struct qib_pportdata *, u32, int);
1159 int qib_set_linkstate(struct qib_pportdata *, u8);
1160 int qib_set_mtu(struct qib_pportdata *, u16);
1161 int qib_set_lid(struct qib_pportdata *, u32, u8);
1162 void qib_hol_down(struct qib_pportdata *);
1163 void qib_hol_init(struct qib_pportdata *);
1164 void qib_hol_up(struct qib_pportdata *);
1167 int qib_set_uevent_bits(struct qib_pportdata *, const int);
1179 static inline struct qib_devdata *dd_from_ppd(struct qib_pportdata *ppd) in dd_from_ppd()
1194 static inline struct qib_pportdata *ppd_from_ibp(struct qib_ibport *ibp) in ppd_from_ibp()
1196 return container_of(ibp, struct qib_pportdata, ibport_data); in ppd_from_ibp()
1288 void qib_set_led_override(struct qib_pportdata *ppd, unsigned int val);
1291 int qib_setup_sdma(struct qib_pportdata *);
1292 void qib_teardown_sdma(struct qib_pportdata *);
1293 void __qib_sdma_intr(struct qib_pportdata *);
1294 void qib_sdma_intr(struct qib_pportdata *);
1295 void qib_user_sdma_send_desc(struct qib_pportdata *dd,
1297 int qib_sdma_verbs_send(struct qib_pportdata *, struct rvt_sge_state *,
1300 int qib_sdma_make_progress(struct qib_pportdata *dd);
1303 static inline u16 qib_sdma_descq_freecnt(const struct qib_pportdata *ppd) in qib_sdma_descq_freecnt()
1309 static inline int __qib_sdma_running(struct qib_pportdata *ppd) in __qib_sdma_running()
1313 int qib_sdma_running(struct qib_pportdata *);
1314 void dump_sdma_state(struct qib_pportdata *ppd);
1315 void __qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
1316 void qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
1370 extern int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len);