/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib.h | 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 *); [all …]
|
D | qib_sdma.c | 58 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 *ppd, in sdma_set_state() [all …]
|
D | qib_qsfp.h | 177 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);
|
D | qib_driver.c | 97 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 *ppd, unsigned int val) in qib_set_led_override() [all …]
|
D | qib_tx.c | 114 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() 454 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends() 515 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down() 530 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init() 544 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up() 554 struct qib_pportdata *ppd = from_timer(ppd, t, hol_timer); in qib_hol_event()
|
D | qib_iba7322.c | 61 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 …]
|
D | qib_mad.c | 326 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 *ppd = dd->pport + port - 1; in get_pkeys() [all …]
|
D | qib_user_sdma.h | 45 int qib_user_sdma_make_progress(struct qib_pportdata *ppd, 48 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd,
|
D | qib_sysfs.c | 40 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 *ppd = qib_get_pportdata_kobj(kobj); in qib_ccmgta_is_bin_visible()
|
D | qib_iba7220.c | 50 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 *ppd) in qib_sdma_7220_setlengen() [all …]
|
D | qib_iba6120.c | 48 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 *ppd, unsigned int op, in rcvctrl_6120_mod() [all …]
|
D | qib_qsfp.c | 47 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()
|
D | qib_intr.c | 72 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()
|
D | qib_verbs.h | 53 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);
|
D | qib_verbs.c | 273 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() 667 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail) in qib_verbs_sdma_desc_avail() 778 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_verbs_send_dma() 911 struct qib_pportdata *ppd = dd->pport + qp->port_num - 1; in qib_verbs_send_pio() 1044 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords, in qib_snapshot_counters() 1075 int qib_get_counters(struct qib_pportdata *ppd, in qib_get_counters() 1196 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_query_port() 1280 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_shut_down_port() 1291 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_get_guid_be() 1325 struct qib_pportdata *ppd; in qib_notify_new_ah() [all …]
|
D | qib_user_sdma.c | 803 struct qib_pportdata *ppd, in qib_user_sdma_queue_pkts() 1060 static int qib_user_sdma_queue_clean(struct qib_pportdata *ppd, in qib_user_sdma_queue_clean() 1125 static int qib_user_sdma_hwqueue_clean(struct qib_pportdata *ppd) in qib_user_sdma_hwqueue_clean() 1138 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd, in qib_user_sdma_queue_drain() 1221 static void qib_user_sdma_send_frag(struct qib_pportdata *ppd, in qib_user_sdma_send_frag() 1248 void qib_user_sdma_send_desc(struct qib_pportdata *ppd, in qib_user_sdma_send_desc() 1334 static int qib_user_sdma_push_pkts(struct qib_pportdata *ppd, in qib_user_sdma_push_pkts() 1392 struct qib_pportdata *ppd = rcd->ppd; in qib_user_sdma_writev() 1454 int qib_user_sdma_make_progress(struct qib_pportdata *ppd, in qib_user_sdma_make_progress()
|
D | qib_init.c | 140 struct qib_pportdata *ppd; in qib_create_ctxts() 165 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt, in qib_create_ctxtdata() 220 int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() 579 struct qib_pportdata *ppd; in qib_create_workqueues() 608 static void qib_free_pportdata(struct qib_pportdata *ppd) in qib_free_pportdata() 638 struct qib_pportdata *ppd; in qib_init() 798 struct qib_pportdata *ppd; in qib_stop_timers() 829 struct qib_pportdata *ppd; in qib_shutdown_device() 1083 nports = extra / sizeof(struct qib_pportdata); in qib_alloc_devdata() 1137 struct qib_pportdata *ppd; in qib_disable_after_error()
|
D | qib_7220.h | 81 struct qib_pportdata pportdata;
|
D | qib_ruc.c | 62 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in get_sguid() 267 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_do_send()
|
D | qib_ud.c | 54 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_ud_loopback() 236 struct qib_pportdata *ppd; in qib_make_ud_req() 396 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_lookup_pkey()
|
D | qib_file_ops.c | 105 struct qib_pportdata *ppd = rcd->ppd; in qib_get_base_info() 574 struct qib_pportdata *ppd = rcd->ppd; in qib_set_part_key() 685 struct qib_pportdata *ppd = rcd->ppd; in qib_clean_part_key() 1284 static int setup_ctxt(struct qib_pportdata *ppd, int ctxt, in setup_ctxt() 1342 static inline int usable(struct qib_pportdata *ppd) in usable() 1357 struct qib_pportdata *ppd = NULL; in choose_port_ctxt() 1921 static int qib_sdma_get_complete(struct qib_pportdata *ppd, in qib_sdma_get_complete() 1977 int qib_set_uevent_bits(struct qib_pportdata *ppd, const int evtbit) in qib_set_uevent_bits()
|
D | qib_sd7220.c | 123 static int qib_ibsd_ucode_loaded(struct qib_pportdata *ppd, in qib_ibsd_ucode_loaded() 1390 struct qib_pportdata *ppd = dd->pport; in qib_run_relock()
|
D | qib_diag.c | 556 struct qib_pportdata *ppd; in qib_diagpkt_write()
|
D | qib_rc.c | 602 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_send_rc_ack() 1278 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_rc_rcv_resp()
|