Home
last modified time | relevance | path

Searched refs:qib_pportdata (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib.h205 struct qib_pportdata *ppd;
519 struct qib_pportdata { struct
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 *, in
[all...]
H A Dqib_sysfs.c43 static ssize_t show_hrtbt_enb(struct qib_pportdata *ppd, char *buf) in show_hrtbt_enb()
53 static ssize_t store_hrtbt_enb(struct qib_pportdata *ppd, const char *buf, in store_hrtbt_enb()
77 static ssize_t store_loopback(struct qib_pportdata *ppd, const char *buf, in store_loopback()
90 static ssize_t store_led_override(struct qib_pportdata *ppd, const char *buf, in store_led_override()
107 static ssize_t show_status(struct qib_pportdata *ppd, char *buf) in show_status()
137 static ssize_t show_status_str(struct qib_pportdata *ppd, char *buf) in show_status_str()
184 ssize_t (*show)(struct qib_pportdata *, char *);
185 ssize_t (*store)(struct qib_pportdata *, const char *, size_t);
216 struct qib_pportdata *ppd = in read_cc_table_bin()
217 container_of(kobj, struct qib_pportdata, pport_cc_kob in read_cc_table_bin()
[all...]
H A Dqib_sdma.c58 static int alloc_sdma(struct qib_pportdata *);
63 static void sdma_set_state(struct qib_pportdata *, enum qib_sdma_states);
64 static void sdma_start_sw_clean_up(struct qib_pportdata *);
66 static void unmap_desc(struct qib_pportdata *, unsigned);
101 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist()
124 struct qib_pportdata *ppd = from_tasklet(ppd, t, in sdma_sw_clean_up_task()
170 static void sdma_hw_start_up(struct qib_pportdata *ppd) in sdma_hw_start_up()
181 static void sdma_sw_tear_down(struct qib_pportdata *ppd) in sdma_sw_tear_down()
189 static void sdma_start_sw_clean_up(struct qib_pportdata *ppd) in sdma_start_sw_clean_up()
194 static void sdma_set_state(struct qib_pportdata *pp
[all...]
H A Dqib_qsfp.h177 struct qib_pportdata *ppd;
184 extern int qib_refresh_qsfp_cache(struct qib_pportdata *ppd,
186 extern int qib_qsfp_mod_present(struct qib_pportdata *ppd);
H A Dqib_mad.c326 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo()
346 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled()
351 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled()
356 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold()
368 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold()
375 static int get_phyerrthreshold(struct qib_pportdata *ppd) in get_phyerrthreshold()
387 static int set_phyerrthreshold(struct qib_pportdata *ppd, unsigned n) in set_phyerrthreshold()
400 static int get_linkdowndefaultstate(struct qib_pportdata *ppd) in get_linkdowndefaultstate()
458 struct qib_pportdata *ppd; in subn_get_portinfo()
583 struct qib_pportdata *pp in get_pkeys()
[all...]
H A Dqib_driver.c96 struct qib_pportdata *ppd; in qib_count_active_units()
128 struct qib_pportdata *ppd; in qib_count_units()
164 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate()
192 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate()
291 static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, in qib_rcv_hdrerr()
443 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive()
598 int qib_set_mtu(struct qib_pportdata *ppd, u16 arg) in qib_set_mtu()
637 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid()
667 struct qib_pportdata *ppd = from_timer(ppd, t, in qib_run_led_override()
689 void qib_set_led_override(struct qib_pportdata *pp
[all...]
H A Dqib_iba7322.c61 static void qib_setup_7322_setextled(struct qib_pportdata *, u32);
63 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op);
74 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd,
76 static void force_h1(struct qib_pportdata *);
77 static void adj_tx_serdes(struct qib_pportdata *);
78 static u32 qib_7322_setpbc_control(struct qib_pportdata *, u32, u8, u8);
79 static void qib_7322_mini_pcs_reset(struct qib_pportdata *);
82 static void ibsd_wr_allchans(struct qib_pportdata *, int, unsigned, unsigned);
83 static void serdes_7322_los_enable(struct qib_pportdata *, int);
84 static int serdes_7322_init_old(struct qib_pportdata *);
[all...]
H A Dqib_tx.c114 static struct qib_pportdata *is_sdma_buf(struct qib_devdata *dd, unsigned i) in is_sdma_buf()
116 struct qib_pportdata *ppd; in is_sdma_buf()
174 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set()
453 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends()
514 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down()
529 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init()
543 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up()
553 struct qib_pportdata *ppd = from_timer(ppd, t, hol_timer); in qib_hol_event()
H A Dqib_qsfp.c47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read()
157 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, in qib_qsfp_write()
253 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) in qsfp_cks()
273 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) in qib_refresh_qsfp_cache()
444 int qib_qsfp_mod_present(struct qib_pportdata *ppd) in qib_qsfp_mod_present()
488 int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) in qib_qsfp_dump()
H A Dqib_iba6120.c48 static void qib_6120_setup_setextled(struct qib_pportdata *, u32);
49 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op);
268 struct qib_pportdata *ppd;
962 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs()
1002 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors()
1190 static void qib_set_ib_6120_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_6120_lstate()
1228 static int qib_6120_bringup_serdes(struct qib_pportdata *ppd) in qib_6120_bringup_serdes()
1368 static void qib_6120_quiet_serdes(struct qib_pportdata *ppd) in qib_6120_quiet_serdes()
1435 static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on) in qib_6120_setup_setextled()
2093 static void rcvctrl_6120_mod(struct qib_pportdata *pp
[all...]
H A Dqib_verbs.h53 struct qib_pportdata;
261 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords,
265 int qib_get_counters(struct qib_pportdata *ppd,
286 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail);
H A Dqib_iba7220.c50 static void qib_setup_7220_setextled(struct qib_pportdata *, u32);
52 static void sendctrl_7220_mod(struct qib_pportdata *ppd, u32 op);
55 static void qib_sdma_update_7220_tail(struct qib_pportdata *, u16);
56 static void qib_set_ib_7220_lstate(struct qib_pportdata *, u16, u16);
744 static u32 __iomem *qib_7220_getsendbuf(struct qib_pportdata *, u64, u32 *);
751 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs()
779 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl()
811 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs()
857 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up()
865 static void qib_sdma_7220_setlengen(struct qib_pportdata *pp
[all...]
H A Dqib_intr.c72 static void signal_ib_event(struct qib_pportdata *ppd, enum ib_event_type ev) in signal_ib_event()
83 void qib_handle_e_ibstatuschanged(struct qib_pportdata *ppd, u64 ibcs) in qib_handle_e_ibstatuschanged()
175 struct qib_pportdata *ppd = from_timer(ppd, t, symerr_clear_timer); in qib_clear_symerror_on_linkup()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib.h205 struct qib_pportdata *ppd;
519 struct qib_pportdata { struct
704 * fields related to a physical IB port are in a qib_pportdata struct,
728 /* qib_pportdata, points to array of (physical) port-specific
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 *, in
[all...]
H A Dqib_sdma.c58 static int alloc_sdma(struct qib_pportdata *);
63 static void sdma_set_state(struct qib_pportdata *, enum qib_sdma_states);
64 static void sdma_start_sw_clean_up(struct qib_pportdata *);
66 static void unmap_desc(struct qib_pportdata *, unsigned);
101 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist()
124 struct qib_pportdata *ppd = from_tasklet(ppd, t, in sdma_sw_clean_up_task()
170 static void sdma_hw_start_up(struct qib_pportdata *ppd) in sdma_hw_start_up()
181 static void sdma_sw_tear_down(struct qib_pportdata *ppd) in sdma_sw_tear_down()
189 static void sdma_start_sw_clean_up(struct qib_pportdata *ppd) in sdma_start_sw_clean_up()
194 static void sdma_set_state(struct qib_pportdata *pp
[all...]
H A Dqib_qsfp.h177 struct qib_pportdata *ppd;
184 extern int qib_refresh_qsfp_cache(struct qib_pportdata *ppd,
186 extern int qib_qsfp_mod_present(struct qib_pportdata *ppd);
H A Dqib_mad.c326 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo()
346 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled()
351 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled()
356 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold()
368 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold()
375 static int get_phyerrthreshold(struct qib_pportdata *ppd) in get_phyerrthreshold()
387 static int set_phyerrthreshold(struct qib_pportdata *ppd, unsigned n) in set_phyerrthreshold()
400 static int get_linkdowndefaultstate(struct qib_pportdata *ppd) in get_linkdowndefaultstate()
458 struct qib_pportdata *ppd; in subn_get_portinfo()
583 struct qib_pportdata *pp in get_pkeys()
[all...]
H A Dqib_driver.c97 struct qib_pportdata *ppd; in qib_count_active_units()
129 struct qib_pportdata *ppd; in qib_count_units()
165 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate()
193 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate()
292 static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, in qib_rcv_hdrerr()
444 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive()
599 int qib_set_mtu(struct qib_pportdata *ppd, u16 arg) in qib_set_mtu()
638 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid()
668 struct qib_pportdata *ppd = from_timer(ppd, t, in qib_run_led_override()
690 void qib_set_led_override(struct qib_pportdata *pp
[all...]
H A Dqib_iba7322.c61 static void qib_setup_7322_setextled(struct qib_pportdata *, u32);
63 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op);
74 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd,
76 static void force_h1(struct qib_pportdata *);
77 static void adj_tx_serdes(struct qib_pportdata *);
78 static u32 qib_7322_setpbc_control(struct qib_pportdata *, u32, u8, u8);
79 static void qib_7322_mini_pcs_reset(struct qib_pportdata *);
82 static void ibsd_wr_allchans(struct qib_pportdata *, int, unsigned, unsigned);
83 static void serdes_7322_los_enable(struct qib_pportdata *, int);
84 static int serdes_7322_init_old(struct qib_pportdata *);
[all...]
H A Dqib_sysfs.c40 static struct qib_pportdata *qib_get_pportdata_kobj(struct kobject *kobj) in qib_get_pportdata_kobj()
56 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in hrtbt_enable_show()
66 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in hrtbt_enable_store()
93 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in loopback_store()
109 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in led_override_store()
128 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in status_show()
159 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in status_str_show()
220 struct qib_pportdata *ppd = qib_get_pportdata_kobj(kobj); in cc_table_bin_read()
255 struct qib_pportdata *ppd = qib_get_pportdata_kobj(kobj); in cc_setting_bin_read()
288 struct qib_pportdata *pp in qib_ccmgta_is_bin_visible()
[all...]
H A Dqib_tx.c111 static struct qib_pportdata *is_sdma_buf(struct qib_devdata *dd, unsigned i) in is_sdma_buf()
113 struct qib_pportdata *ppd; in is_sdma_buf()
171 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set()
451 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends()
512 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down()
527 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init()
541 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up()
551 struct qib_pportdata *ppd = from_timer(ppd, t, hol_timer); in qib_hol_event()
H A Dqib_qsfp.c47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read()
157 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, in qib_qsfp_write()
253 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) in qsfp_cks()
273 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) in qib_refresh_qsfp_cache()
444 int qib_qsfp_mod_present(struct qib_pportdata *ppd) in qib_qsfp_mod_present()
488 int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) in qib_qsfp_dump()
H A Dqib_iba6120.c48 static void qib_6120_setup_setextled(struct qib_pportdata *, u32);
49 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op);
268 struct qib_pportdata *ppd;
959 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs()
999 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors()
1187 static void qib_set_ib_6120_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_6120_lstate()
1225 static int qib_6120_bringup_serdes(struct qib_pportdata *ppd) in qib_6120_bringup_serdes()
1365 static void qib_6120_quiet_serdes(struct qib_pportdata *ppd) in qib_6120_quiet_serdes()
1432 static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on) in qib_6120_setup_setextled()
2090 static void rcvctrl_6120_mod(struct qib_pportdata *pp
[all...]
H A Dqib_verbs.h53 struct qib_pportdata;
261 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords,
265 int qib_get_counters(struct qib_pportdata *ppd,
286 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail);
H A Dqib_iba7220.c50 static void qib_setup_7220_setextled(struct qib_pportdata *, u32);
52 static void sendctrl_7220_mod(struct qib_pportdata *ppd, u32 op);
55 static void qib_sdma_update_7220_tail(struct qib_pportdata *, u16);
56 static void qib_set_ib_7220_lstate(struct qib_pportdata *, u16, u16);
744 static u32 __iomem *qib_7220_getsendbuf(struct qib_pportdata *, u64, u32 *);
751 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs()
779 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl()
811 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs()
857 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up()
865 static void qib_sdma_7220_setlengen(struct qib_pportdata *pp
[all...]

Completed in 48 milliseconds

12