/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 125 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist() 148 struct qib_pportdata *ppd = (struct qib_pportdata *) opaque; in sdma_sw_clean_up_task() local 193 static void sdma_hw_start_up(struct qib_pportdata *ppd) in sdma_hw_start_up() 204 static void sdma_sw_tear_down(struct qib_pportdata *ppd) in sdma_sw_tear_down() 212 static void sdma_start_sw_clean_up(struct qib_pportdata *ppd) in sdma_start_sw_clean_up() 217 static void sdma_set_state(struct qib_pportdata *ppd, in sdma_set_state() 253 static void unmap_desc(struct qib_pportdata *ppd, unsigned head) in unmap_desc() 268 static int alloc_sdma(struct qib_pportdata *ppd) in alloc_sdma() 307 static void free_sdma(struct qib_pportdata *ppd) in free_sdma() 328 static inline void make_sdma_desc(struct qib_pportdata *ppd, in make_sdma_desc() [all …]
|
D | qib_mad.c | 330 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo() local 350 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled() 355 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled() 360 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold() 372 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold() 379 static int get_phyerrthreshold(struct qib_pportdata *ppd) in get_phyerrthreshold() 391 static int set_phyerrthreshold(struct qib_pportdata *ppd, unsigned n) in set_phyerrthreshold() 404 static int get_linkdowndefaultstate(struct qib_pportdata *ppd) in get_linkdowndefaultstate() 461 struct qib_pportdata *ppd; in subn_get_portinfo() local 586 struct qib_pportdata *ppd = dd->pport + port - 1; in get_pkeys() local [all …]
|
D | qib_driver.c | 115 struct qib_pportdata *ppd; in qib_count_active_units() local 147 struct qib_pportdata *ppd; in qib_count_units() local 185 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() 213 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() 312 static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, in qib_rcv_hdrerr() 465 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive() local 620 int qib_set_mtu(struct qib_pportdata *ppd, u16 arg) in qib_set_mtu() 659 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() 689 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in qib_run_led_override() local 710 void qib_set_led_override(struct qib_pportdata *ppd, unsigned int val) in qib_set_led_override() [all …]
|
D | qib_sysfs.c | 43 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() 216 struct qib_pportdata *ppd = in read_cc_table_bin() local 266 struct qib_pportdata *ppd = in read_cc_setting_bin() local 301 struct qib_pportdata *ppd = in qib_portattr_show() local 312 struct qib_pportdata *ppd = in qib_portattr_store() local [all …]
|
D | qib_iba7322.c | 617 struct qib_pportdata *ppd; member 863 static inline u64 qib_read_kreg_port(const struct qib_pportdata *ppd, in qib_read_kreg_port() 871 static inline void qib_write_kreg_port(const struct qib_pportdata *ppd, in qib_write_kreg_port() 911 static inline void write_7322_creg_port(const struct qib_pportdata *ppd, in write_7322_creg_port() 919 static inline u64 read_7322_creg_port(const struct qib_pportdata *ppd, in read_7322_creg_port() 928 static inline u32 read_7322_creg32_port(const struct qib_pportdata *ppd, in read_7322_creg32_port() 1332 static void qib_disarm_7322_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7322_senderrbufs() 1410 static void flush_fifo(struct qib_pportdata *ppd) in flush_fifo() 1457 static void qib_7322_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7322_sdma_sendctrl() 1519 static void qib_7322_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_clean_up() [all …]
|
D | qib_iba7220.c | 750 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs() 778 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl() 810 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs() 856 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up() 864 static void qib_sdma_7220_setlengen(struct qib_pportdata *ppd) in qib_sdma_7220_setlengen() 877 static void qib_7220_sdma_hw_start_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_start_up() 896 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7220_errors() 1046 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in reenable_7220_chase() local 1053 static void handle_7220_chase(struct qib_pportdata *ppd, u64 ibcst) in handle_7220_chase() 1097 struct qib_pportdata *ppd = dd->pport; in handle_7220_errors() local [all …]
|
D | qib_tx.c | 116 struct qib_pportdata *ppd; in is_sdma_buf() local 174 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set() local 457 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends() 518 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down() 533 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init() 547 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up() 557 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in qib_hol_event() local
|
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() 498 int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) in qib_qsfp_dump()
|
D | qib_iba6120.c | 968 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs() 1009 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors() local 1201 static void qib_set_ib_6120_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_6120_lstate() 1239 static int qib_6120_bringup_serdes(struct qib_pportdata *ppd) in qib_6120_bringup_serdes() 1379 static void qib_6120_quiet_serdes(struct qib_pportdata *ppd) in qib_6120_quiet_serdes() 1447 static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on) in qib_6120_setup_setextled() 2133 static void rcvctrl_6120_mod(struct qib_pportdata *ppd, unsigned int op, in rcvctrl_6120_mod() 2235 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op) in sendctrl_6120_mod() 2316 static u64 qib_portcntr_6120(struct qib_pportdata *ppd, u32 reg) in qib_portcntr_6120() 2595 struct qib_pportdata *ppd = &dd->pport[port]; in qib_read_6120portcntrs() local [all …]
|
D | qib_verbs.c | 367 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() local 787 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail) in qib_verbs_sdma_desc_avail() 900 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_verbs_send_dma() local 1033 struct qib_pportdata *ppd = dd->pport + qp->port_num - 1; in qib_verbs_send_pio() local 1166 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords, in qib_snapshot_counters() 1197 int qib_get_counters(struct qib_pportdata *ppd, in qib_get_counters() 1319 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_query_port() local 1402 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_shut_down_port() local 1413 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_get_guid_be() local 1438 struct qib_pportdata *ppd; in qib_notify_new_ah() local [all …]
|
D | qib_init.c | 144 struct qib_pportdata *ppd; in qib_create_ctxts() local 169 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt, in qib_create_ctxtdata() 225 int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() 608 struct qib_pportdata *ppd; in qib_create_workqueues() local 637 static void qib_free_pportdata(struct qib_pportdata *ppd) in qib_free_pportdata() 667 struct qib_pportdata *ppd; in qib_init() local 843 struct qib_pportdata *ppd; in qib_stop_timers() local 878 struct qib_pportdata *ppd; in qib_shutdown_device() local 1203 struct qib_pportdata *ppd; in qib_disable_after_error() local
|
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 = (struct qib_pportdata *)opaque; in qib_clear_symerror_on_linkup() local
|
D | qib_ud.c | 53 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_ud_loopback() local 250 struct qib_pportdata *ppd; in qib_make_ud_req() local 407 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_lookup_pkey() local
|
D | qib_user_sdma.c | 807 struct qib_pportdata *ppd, in qib_user_sdma_queue_pkts() 1050 static int qib_user_sdma_queue_clean(struct qib_pportdata *ppd, in qib_user_sdma_queue_clean() 1115 static int qib_user_sdma_hwqueue_clean(struct qib_pportdata *ppd) in qib_user_sdma_hwqueue_clean() 1128 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd, in qib_user_sdma_queue_drain() 1211 static void qib_user_sdma_send_frag(struct qib_pportdata *ppd, in qib_user_sdma_send_frag() 1238 void qib_user_sdma_send_desc(struct qib_pportdata *ppd, in qib_user_sdma_send_desc() 1324 static int qib_user_sdma_push_pkts(struct qib_pportdata *ppd, in qib_user_sdma_push_pkts() 1382 struct qib_pportdata *ppd = rcd->ppd; in qib_user_sdma_writev() local 1444 int qib_user_sdma_make_progress(struct qib_pportdata *ppd, in qib_user_sdma_make_progress()
|
/drivers/infiniband/hw/hfi1/ |
D | platform.c | 100 void get_port_type(struct hfi1_pportdata *ppd) in get_port_type() 111 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on) in set_qsfp_tx() 126 static int qual_power(struct hfi1_pportdata *ppd) in qual_power() 155 static int qual_bitrate(struct hfi1_pportdata *ppd) in qual_bitrate() 181 static int set_qsfp_high_power(struct hfi1_pportdata *ppd) in set_qsfp_high_power() 216 static void apply_rx_cdr(struct hfi1_pportdata *ppd, in apply_rx_cdr() 267 static void apply_tx_cdr(struct hfi1_pportdata *ppd, in apply_tx_cdr() 318 struct hfi1_pportdata *ppd, u32 rx_preset_index, in apply_cdr_settings() 332 static void apply_tx_eq_auto(struct hfi1_pportdata *ppd) in apply_tx_eq_auto() 345 static void apply_tx_eq_prog(struct hfi1_pportdata *ppd, u32 tx_preset_index) in apply_tx_eq_prog() [all …]
|
D | qsfp.c | 314 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() 333 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() 353 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() 372 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() 395 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_write() 451 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_write() 475 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() 528 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_read() 556 int refresh_qsfp_cache(struct hfi1_pportdata *ppd, struct qsfp_data *cp) in refresh_qsfp_cache() 681 int qsfp_mod_present(struct hfi1_pportdata *ppd) in qsfp_mod_present() [all …]
|
D | init.c | 143 struct hfi1_pportdata *ppd; in hfi1_create_ctxts() local 208 struct hfi1_ctxtdata *hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, u32 ctxt, in hfi1_create_ctxtdata() 365 void set_link_ipg(struct hfi1_pportdata *ppd) in set_link_ipg() 420 struct hfi1_pportdata *ppd; in cca_timer_fn() local 471 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, in hfi1_init_pportdata() 610 struct hfi1_pportdata *ppd; in create_workqueues() local 658 struct hfi1_pportdata *ppd; in hfi1_init() local 833 struct hfi1_pportdata *ppd; in stop_timers() local 856 struct hfi1_pportdata *ppd; in shutdown_device() local 1147 struct hfi1_pportdata *ppd; in hfi1_disable_after_error() local [all …]
|
D | sysfs.c | 65 struct hfi1_pportdata *ppd = in read_cc_table_bin() local 114 struct hfi1_pportdata *ppd = in read_cc_setting_bin() local 152 static ssize_t cc_prescan_show(struct hfi1_pportdata *ppd, char *buf) in cc_prescan_show() 157 static ssize_t cc_prescan_store(struct hfi1_pportdata *ppd, const char *buf, in cc_prescan_store() 176 struct hfi1_pportdata *ppd = in cc_attr_show() local 187 struct hfi1_pportdata *ppd = in cc_attr_store() local 295 struct hfi1_pportdata *ppd = in sc2vl_attr_show() local 400 struct hfi1_pportdata *ppd = in sl2sc_attr_show() local 474 struct hfi1_pportdata *ppd = in vl2mtu_attr_show() local 655 struct hfi1_pportdata *ppd; in hfi1_create_port_files() local [all …]
|
D | ud.c | 69 struct hfi1_pportdata *ppd; in ud_loopback() local 276 struct hfi1_pportdata *ppd; in hfi1_make_ud_req() local 471 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_idx() local 517 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp() local 581 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in opa_smp_check() local 676 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_ud_rcv() local
|
D | driver.c | 186 struct hfi1_pportdata *ppd; in hfi1_count_active_units() local 217 struct hfi1_pportdata *ppd; in hfi1_count_units() local 276 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 499 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_process_ecn_slowpath() local 1058 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in receive_interrupt_work() local 1117 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu() 1161 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid() 1174 void shutdown_led_override(struct hfi1_pportdata *ppd) in shutdown_led_override() 1197 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)opaque; in run_led_override() local 1223 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon, in hfi1_start_led_override() [all …]
|
D | verbs.c | 594 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_ib_rcv() local 899 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_dma() local 1015 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_pio() local 1158 int egress_pkey_check(struct hfi1_pportdata *ppd, __be16 *lrh, __be32 *bth, in egress_pkey_check() 1399 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in query_port() local 1473 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in shut_down_port() local 1486 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_get_guid_be() local 1511 struct hfi1_pportdata *ppd; in hfi1_check_ah() local 1530 struct hfi1_pportdata *ppd; in hfi1_notify_new_ah() local 1574 static void init_ibport(struct hfi1_pportdata *ppd) in init_ibport() [all …]
|
D | debugfs.c | 420 struct hfi1_pportdata *ppd; in portcntrs_debugfs_read() local 446 struct hfi1_pportdata *ppd; in asic_flags_read() local 495 struct hfi1_pportdata *ppd; in asic_flags_write() local 550 struct hfi1_pportdata *ppd; in qsfp_debugfs_dump() local 570 struct hfi1_pportdata *ppd; in __i2c_debugfs_write() local 630 struct hfi1_pportdata *ppd; in __i2c_debugfs_read() local 690 struct hfi1_pportdata *ppd; in __qsfp_debugfs_write() local 742 struct hfi1_pportdata *ppd; in __qsfp_debugfs_read() local 798 struct hfi1_pportdata *ppd; in __i2c_debugfs_open() local 825 struct hfi1_pportdata *ppd; in __i2c_debugfs_release() local [all …]
|
D | mad.c | 400 static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_enabled() 405 static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_downgrade_enabled() 410 static void set_link_speed_enabled(struct hfi1_pportdata *ppd, u32 s) in set_link_speed_enabled() 524 struct hfi1_pportdata *ppd; in __subn_get_opa_portinfo() local 732 struct hfi1_pportdata *ppd = dd->pport + port - 1; in get_pkeys() local 905 static int port_states_transition_allowed(struct hfi1_pportdata *ppd, in port_states_transition_allowed() 953 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states() 1072 struct hfi1_pportdata *ppd; in __subn_set_opa_portinfo() local 1377 struct hfi1_pportdata *ppd; in set_pkeys() local 1636 struct hfi1_pportdata *ppd; in __subn_set_opa_sc_to_vlt() local [all …]
|
D | intr.c | 86 static void signal_ib_event(struct hfi1_pportdata *ppd, enum ib_event_type ev) in signal_ib_event() 110 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_linkup_change() local
|
D | chip.c | 1413 struct hfi1_pportdata *ppd = context; in port_access_u32_csr() local 1423 struct hfi1_pportdata *ppd = context; in port_access_u64_csr() local 1463 struct hfi1_pportdata *ppd = context; in access_sw_link_dn_cnt() local 1473 struct hfi1_pportdata *ppd = context; in access_sw_link_up_cnt() local 1484 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_unknown_frame_cnt() local 1494 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_xmit_discards() local 1512 struct hfi1_pportdata *ppd = context; in access_xmit_constraint_errs() local 1524 struct hfi1_pportdata *ppd = context; in access_rcv_constraint_errs() local 5459 struct hfi1_pportdata *ppd = dd->pport; in update_rcverr_timer() local 5564 static inline void __count_port_discards(struct hfi1_pportdata *ppd) in __count_port_discards() [all …]
|