/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | qsfp.h | 171 struct hfi1_pportdata *ppd; 183 int refresh_qsfp_cache(struct hfi1_pportdata *ppd, 186 int qsfp_mod_present(struct hfi1_pportdata *ppd); 190 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, 192 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, 194 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 196 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 198 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 200 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
D | platform.c | 61 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields() 163 void get_port_type(struct hfi1_pportdata *ppd) in get_port_type() 178 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on) in set_qsfp_tx() 193 static int qual_power(struct hfi1_pportdata *ppd) in qual_power() 222 static int qual_bitrate(struct hfi1_pportdata *ppd) in qual_bitrate() 248 static int set_qsfp_high_power(struct hfi1_pportdata *ppd) in set_qsfp_high_power() 283 static void apply_rx_cdr(struct hfi1_pportdata *ppd, in apply_rx_cdr() 334 static void apply_tx_cdr(struct hfi1_pportdata *ppd, in apply_tx_cdr() 385 struct hfi1_pportdata *ppd, u32 rx_preset_index, in apply_cdr_settings() 399 static void apply_tx_eq_auto(struct hfi1_pportdata *ppd) in apply_tx_eq_auto() [all …]
|
D | hfi.h | 177 struct hfi1_pportdata *ppd; 699 struct hfi1_pportdata *ppd; /* read-only */ 731 struct hfi1_pportdata { struct 1307 struct hfi1_pportdata *pport; 1427 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, 1430 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, 1638 static inline u32 active_egress_rate(struct hfi1_pportdata *ppd) in active_egress_rate() 1694 void set_link_ipg(struct hfi1_pportdata *ppd); 1695 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn, 1708 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, [all …]
|
D | chip.h | 666 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl, 736 void set_link_down_reason(struct hfi1_pportdata *ppd, u8 lcl_reason, 738 int set_link_state(struct hfi1_pportdata *, u32 state); 748 int reset_qsfp(struct hfi1_pportdata *ppd); 750 void start_freeze_handling(struct hfi1_pportdata *ppd, int flags); 754 int start_link(struct hfi1_pportdata *ppd); 755 int bringup_serdes(struct hfi1_pportdata *ppd); 757 bool apply_link_downgrade_policy(struct hfi1_pportdata *ppd, 765 void get_linkup_link_widths(struct hfi1_pportdata *ppd); 776 u32 driver_pstate(struct hfi1_pportdata *ppd); [all …]
|
D | qsfp.c | 274 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() 293 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() 313 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() 332 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() 355 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_write() 411 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_write() 435 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() 488 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_read() 516 int refresh_qsfp_cache(struct hfi1_pportdata *ppd, struct qsfp_data *cp) in refresh_qsfp_cache() 641 int qsfp_mod_present(struct hfi1_pportdata *ppd) in qsfp_mod_present() [all …]
|
D | intr.c | 16 static void set_mgmt_allowed(struct hfi1_pportdata *ppd) in set_mgmt_allowed() 37 static void add_full_mgmt_pkey(struct hfi1_pportdata *ppd) in add_full_mgmt_pkey() 81 static void signal_ib_event(struct hfi1_pportdata *ppd, enum ib_event_type ev) in signal_ib_event() 112 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_linkup_change()
|
D | debugfs.c | 477 struct hfi1_pportdata *ppd; in portcntrs_debugfs_read() 503 struct hfi1_pportdata *ppd; in asic_flags_read() 552 struct hfi1_pportdata *ppd; in asic_flags_write() 598 struct hfi1_pportdata *ppd = private2ppd(file); in dc8051_memory_read() 638 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_read() 672 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_write() 708 struct hfi1_pportdata *ppd; in qsfp_debugfs_dump() 728 struct hfi1_pportdata *ppd; in __i2c_debugfs_write() 782 struct hfi1_pportdata *ppd; in __i2c_debugfs_read() 842 struct hfi1_pportdata *ppd; in __qsfp_debugfs_write() [all …]
|
D | chip.c | 1034 static void set_partition_keys(struct hfi1_pportdata *ppd); 1036 static const char *link_state_reason_name(struct hfi1_pportdata *ppd, 1043 static void update_statusp(struct hfi1_pportdata *ppd, u32 state); 1044 static int wait_phys_link_offline_substates(struct hfi1_pportdata *ppd, 1046 static int wait_logical_linkstate(struct hfi1_pportdata *ppd, u32 state, 1048 static void log_state_transition(struct hfi1_pportdata *ppd, u32 state); 1049 static void log_physical_state(struct hfi1_pportdata *ppd, u32 state); 1050 static int wait_physical_linkstate(struct hfi1_pportdata *ppd, u32 state, 1052 static int wait_phys_link_out_of_offline(struct hfi1_pportdata *ppd, 1061 static void clear_full_mgmt_pkey(struct hfi1_pportdata *ppd); [all …]
|
D | platform.h | 367 void get_port_type(struct hfi1_pportdata *ppd); 368 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on); 369 void tune_serdes(struct hfi1_pportdata *ppd);
|
D | init.c | 86 struct hfi1_pportdata *ppd) in hfi1_create_kctxt() 304 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, in hfi1_create_ctxtdata() 483 void set_link_ipg(struct hfi1_pportdata *ppd) in set_link_ipg() 538 struct hfi1_pportdata *ppd; in cca_timer_fn() 589 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, in hfi1_init_pportdata() 741 struct hfi1_pportdata *ppd; in create_workqueues() 795 struct hfi1_pportdata *ppd; in destroy_workqueues() 849 struct hfi1_pportdata *ppd; in hfi1_init() 983 struct hfi1_pportdata *ppd; in stop_timers() 1006 struct hfi1_pportdata *ppd; in shutdown_device() [all …]
|
D | mad.c | 61 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_value() 256 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_create_qp0_ah() 635 static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_enabled() 640 static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_downgrade_enabled() 645 static void set_link_speed_enabled(struct hfi1_pportdata *ppd, u32 s) in set_link_speed_enabled() 760 struct hfi1_pportdata *ppd; in __subn_get_opa_portinfo() 972 struct hfi1_pportdata *ppd = dd->pport + port - 1; in get_pkeys() 1150 static int port_states_transition_allowed(struct hfi1_pportdata *ppd, in port_states_transition_allowed() 1198 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states() 1316 struct hfi1_pportdata *ppd; in __subn_set_opa_portinfo() [all …]
|
D | ud.c | 34 struct hfi1_pportdata *ppd; in ud_loopback() 271 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_9B() 338 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_16B() 439 struct hfi1_pportdata *ppd; in hfi1_make_ud_req() 557 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_idx() 603 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp_16B() 665 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp() 729 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in opa_smp_check() 816 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_ud_rcv()
|
D | driver.c | 132 struct hfi1_pportdata *ppd; in hfi1_count_active_units() 207 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 405 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_process_ecn_slowpath() 1174 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in receive_interrupt_work() 1238 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu() 1282 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid() 1295 void shutdown_led_override(struct hfi1_pportdata *ppd) in shutdown_led_override() 1318 struct hfi1_pportdata *ppd = from_timer(ppd, t, led_override_timer); in run_led_override() 1344 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon, in hfi1_start_led_override() 1384 struct hfi1_pportdata *ppd; in hfi1_reset_device() [all …]
|
D | sysfs.c | 13 static struct hfi1_pportdata *hfi1_get_pportdata_kobj(struct kobject *kobj) in hfi1_get_pportdata_kobj() 34 struct hfi1_pportdata *ppd = hfi1_get_pportdata_kobj(kobj); in cc_table_bin_read() 71 struct hfi1_pportdata *ppd = hfi1_get_pportdata_kobj(kobj); in cc_setting_bin_read() 108 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in cc_prescan_show() 118 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in cc_prescan_store()
|
D | verbs.c | 332 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_eager_rcv() 386 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_expected_rcv() 438 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_do_pkey_check() 458 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_handle_packet() 806 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_dma() 946 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_pio() 1116 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check() 1373 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in query_port() 1449 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in shut_down_port() 1481 struct hfi1_pportdata *ppd; in hfi1_check_ah() [all …]
|
D | qp.c | 204 struct hfi1_pportdata *ppd; in qp_set_16b() 267 struct hfi1_pportdata *ppd; in hfi1_setup_wqe() 328 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in _hfi1_schedule_send() 885 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_qp_iter_cb() 921 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_error_port_qps()
|
D | verbs.h | 27 struct hfi1_pportdata; 193 struct hfi1_pportdata *ppd;
|
D | mad.h | 401 u64 get_xmit_wait_counters(struct hfi1_pportdata *ppd, u16 link_width,
|
D | tid_rdma.h | 256 struct hfi1_pportdata *ppd,
|
D | firmware.c | 1729 struct hfi1_pportdata *ppd = dd->pport; in parse_platform_config() 1901 struct hfi1_pportdata *ppd = dd->pport; in get_integrated_platform_config_field() 2038 struct hfi1_pportdata *ppd = dd->pport; in get_platform_config_field()
|
D | rc.c | 1227 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_9B() 1280 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_16B() 1350 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_send_rc_ack() 1846 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in do_rc_completion() 2672 static void log_cca_event(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, in log_cca_event() 2700 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn, in process_becn()
|
D | sdma.h | 273 struct hfi1_pportdata *ppd;
|
D | ruc.c | 239 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_ruc_header_16B()
|
D | file_ops.c | 1488 int hfi1_set_uevent_bits(struct hfi1_pportdata *ppd, const int evtbit) in hfi1_set_uevent_bits() 1595 struct hfi1_pportdata *ppd = uctxt->ppd; in set_ctxt_pkey()
|
D | tid_rdma.c | 615 struct hfi1_pportdata *ppd; in tid_rdma_schedule_tid_wakeup() 2660 struct hfi1_pportdata *ppd = rcd->ppd; in handle_read_kdeth_eflags() 2846 struct hfi1_pportdata *ppd, in hfi1_handle_kdeth_eflags() 3289 struct hfi1_pportdata *ppd = qpriv->rcd->ppd; in setup_tid_rdma_wqe() 5421 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in _hfi1_schedule_tid_send()
|