Lines Matching refs:qib_pportdata

205 	struct qib_pportdata *ppd;
519 struct qib_pportdata {
708 * fields related to a physical IB port are in a qib_pportdata struct,
732 /* qib_pportdata, points to array of (physical) port-specific
735 struct qib_pportdata *pport;
767 void (*f_quiet_serdes)(struct qib_pportdata *);
768 int (*f_bringup_serdes)(struct qib_pportdata *);
774 void (*f_setextled)(struct qib_pportdata *, u32);
782 int (*f_get_ib_cfg)(struct qib_pportdata *, int);
783 int (*f_set_ib_cfg)(struct qib_pportdata *, int, u32);
784 int (*f_set_ib_loopback)(struct qib_pportdata *, const char *);
785 int (*f_get_ib_table)(struct qib_pportdata *, int, void *);
786 int (*f_set_ib_table)(struct qib_pportdata *, int, void *);
789 void (*f_xgxs_reset)(struct qib_pportdata *);
791 int (*f_ib_updown)(struct qib_pportdata *, int, u64);
792 u32 __iomem *(*f_getsendbuf)(struct qib_pportdata *, u64, u32 *);
804 void (*f_rcvctrl)(struct qib_pportdata *, unsigned int op,
807 void (*f_sendctrl)(struct qib_pportdata *, u32 op);
812 int (*f_init_sdma_regs)(struct qib_pportdata *);
813 u16 (*f_sdma_gethead)(struct qib_pportdata *);
814 int (*f_sdma_busy)(struct qib_pportdata *);
815 void (*f_sdma_update_tail)(struct qib_pportdata *, u16);
816 void (*f_sdma_set_desc_cnt)(struct qib_pportdata *, unsigned);
817 void (*f_sdma_sendctrl)(struct qib_pportdata *, unsigned);
818 void (*f_sdma_hw_clean_up)(struct qib_pportdata *);
819 void (*f_sdma_hw_start_up)(struct qib_pportdata *);
820 void (*f_sdma_init_early)(struct qib_pportdata *);
821 void (*f_set_cntr_sample)(struct qib_pportdata *, u32, u32);
824 u64 (*f_portcntr)(struct qib_pportdata *, u32);
829 u32 (*f_setpbc_control)(struct qib_pportdata *, u32, u8, u8);
1131 void qib_handle_e_ibstatuschanged(struct qib_pportdata *, u64);
1132 void qib_sdma_update_tail(struct qib_pportdata *, u16); /* hold sdma_lock */
1150 void qib_cancel_sends(struct qib_pportdata *);
1156 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *, u32, int);
1157 int qib_init_pportdata(struct qib_pportdata *, struct qib_devdata *, u8, u8);
1162 int qib_wait_linkstate(struct qib_pportdata *, u32, int);
1163 int qib_set_linkstate(struct qib_pportdata *, u8);
1164 int qib_set_mtu(struct qib_pportdata *, u16);
1165 int qib_set_lid(struct qib_pportdata *, u32, u8);
1166 void qib_hol_down(struct qib_pportdata *);
1167 void qib_hol_init(struct qib_pportdata *);
1168 void qib_hol_up(struct qib_pportdata *);
1171 int qib_set_uevent_bits(struct qib_pportdata *, const int);
1183 static inline struct qib_devdata *dd_from_ppd(struct qib_pportdata *ppd)
1198 static inline struct qib_pportdata *ppd_from_ibp(struct qib_ibport *ibp)
1200 return container_of(ibp, struct qib_pportdata, ibport_data);
1292 void qib_set_led_override(struct qib_pportdata *ppd, unsigned int val);
1295 int qib_setup_sdma(struct qib_pportdata *);
1296 void qib_teardown_sdma(struct qib_pportdata *);
1297 void __qib_sdma_intr(struct qib_pportdata *);
1298 void qib_sdma_intr(struct qib_pportdata *);
1299 void qib_user_sdma_send_desc(struct qib_pportdata *dd,
1301 int qib_sdma_verbs_send(struct qib_pportdata *, struct rvt_sge_state *,
1304 int qib_sdma_make_progress(struct qib_pportdata *dd);
1306 static inline int qib_sdma_empty(const struct qib_pportdata *ppd)
1312 static inline u16 qib_sdma_descq_freecnt(const struct qib_pportdata *ppd)
1318 static inline int __qib_sdma_running(struct qib_pportdata *ppd)
1322 int qib_sdma_running(struct qib_pportdata *);
1323 void dump_sdma_state(struct qib_pportdata *ppd);
1324 void __qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
1325 void qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
1402 extern int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len);