Home
last modified time | relevance | path

Searched refs:hfi1_pportdata (Results 1 – 25 of 28) sorted by relevance

12

/drivers/infiniband/hw/hfi1/
Dqsfp.h213 struct hfi1_pportdata *ppd;
225 int refresh_qsfp_cache(struct hfi1_pportdata *ppd,
228 int qsfp_mod_present(struct hfi1_pportdata *ppd);
232 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
234 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
236 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
238 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
240 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
242 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
Dsysfs.c65 struct hfi1_pportdata *ppd = in read_cc_table_bin()
66 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); in read_cc_table_bin()
114 struct hfi1_pportdata *ppd = in read_cc_setting_bin()
115 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); in read_cc_setting_bin()
148 ssize_t (*show)(struct hfi1_pportdata *, char *);
149 ssize_t (*store)(struct hfi1_pportdata *, const char *, size_t);
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()
177 container_of(kobj, struct hfi1_pportdata, pport_cc_kobj); in cc_attr_show()
[all …]
Dplatform.c103 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields()
205 void get_port_type(struct hfi1_pportdata *ppd) in get_port_type()
220 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on) in set_qsfp_tx()
235 static int qual_power(struct hfi1_pportdata *ppd) in qual_power()
264 static int qual_bitrate(struct hfi1_pportdata *ppd) in qual_bitrate()
290 static int set_qsfp_high_power(struct hfi1_pportdata *ppd) in set_qsfp_high_power()
325 static void apply_rx_cdr(struct hfi1_pportdata *ppd, in apply_rx_cdr()
376 static void apply_tx_cdr(struct hfi1_pportdata *ppd, in apply_tx_cdr()
427 struct hfi1_pportdata *ppd, u32 rx_preset_index, in apply_cdr_settings()
441 static void apply_tx_eq_auto(struct hfi1_pportdata *ppd) in apply_tx_eq_auto()
[all …]
Dhfi.h218 struct hfi1_pportdata *ppd;
746 struct hfi1_pportdata *ppd; /* read-only */
778 struct hfi1_pportdata { struct
1357 struct hfi1_pportdata *pport;
1479 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa,
1482 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd,
1690 static inline u32 active_egress_rate(struct hfi1_pportdata *ppd) in active_egress_rate()
1746 void set_link_ipg(struct hfi1_pportdata *ppd);
1747 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn,
1760 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey,
[all …]
Dchip.h708 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl,
778 void set_link_down_reason(struct hfi1_pportdata *ppd, u8 lcl_reason,
780 int set_link_state(struct hfi1_pportdata *, u32 state);
790 int reset_qsfp(struct hfi1_pportdata *ppd);
792 void start_freeze_handling(struct hfi1_pportdata *ppd, int flags);
796 int start_link(struct hfi1_pportdata *ppd);
797 int bringup_serdes(struct hfi1_pportdata *ppd);
799 bool apply_link_downgrade_policy(struct hfi1_pportdata *ppd,
807 void get_linkup_link_widths(struct hfi1_pportdata *ppd);
818 u32 driver_pstate(struct hfi1_pportdata *ppd);
[all …]
Dqsfp.c316 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write()
335 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write()
355 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read()
374 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read()
397 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_write()
453 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_write()
477 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read()
530 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_read()
558 int refresh_qsfp_cache(struct hfi1_pportdata *ppd, struct qsfp_data *cp) in refresh_qsfp_cache()
683 int qsfp_mod_present(struct hfi1_pportdata *ppd) in qsfp_mod_present()
[all …]
Ddebugfs.c519 struct hfi1_pportdata *ppd; in portcntrs_debugfs_read()
545 struct hfi1_pportdata *ppd; in asic_flags_read()
594 struct hfi1_pportdata *ppd; in asic_flags_write()
640 struct hfi1_pportdata *ppd = private2ppd(file); in dc8051_memory_read()
680 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_read()
714 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_write()
750 struct hfi1_pportdata *ppd; in qsfp_debugfs_dump()
770 struct hfi1_pportdata *ppd; in __i2c_debugfs_write()
824 struct hfi1_pportdata *ppd; in __i2c_debugfs_read()
884 struct hfi1_pportdata *ppd; in __qsfp_debugfs_write()
[all …]
Dintr.c58 static void set_mgmt_allowed(struct hfi1_pportdata *ppd) in set_mgmt_allowed()
79 static void add_full_mgmt_pkey(struct hfi1_pportdata *ppd) in add_full_mgmt_pkey()
123 static void signal_ib_event(struct hfi1_pportdata *ppd, enum ib_event_type ev) in signal_ib_event()
154 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_linkup_change()
Dchip.c1075 static void set_partition_keys(struct hfi1_pportdata *ppd);
1077 static const char *link_state_reason_name(struct hfi1_pportdata *ppd,
1084 static void update_statusp(struct hfi1_pportdata *ppd, u32 state);
1085 static int wait_phys_link_offline_substates(struct hfi1_pportdata *ppd,
1087 static int wait_logical_linkstate(struct hfi1_pportdata *ppd, u32 state,
1089 static void log_state_transition(struct hfi1_pportdata *ppd, u32 state);
1090 static void log_physical_state(struct hfi1_pportdata *ppd, u32 state);
1091 static int wait_physical_linkstate(struct hfi1_pportdata *ppd, u32 state,
1093 static int wait_phys_link_out_of_offline(struct hfi1_pportdata *ppd,
1102 static void clear_full_mgmt_pkey(struct hfi1_pportdata *ppd);
[all …]
Dinit.c127 struct hfi1_pportdata *ppd) in hfi1_create_kctxt()
345 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, in hfi1_create_ctxtdata()
524 void set_link_ipg(struct hfi1_pportdata *ppd) in set_link_ipg()
579 struct hfi1_pportdata *ppd; in cca_timer_fn()
630 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, in hfi1_init_pportdata()
782 struct hfi1_pportdata *ppd; in create_workqueues()
836 struct hfi1_pportdata *ppd; in destroy_workqueues()
890 struct hfi1_pportdata *ppd; in hfi1_init()
1024 struct hfi1_pportdata *ppd; in stop_timers()
1047 struct hfi1_pportdata *ppd; in shutdown_device()
[all …]
Dplatform.h408 void get_port_type(struct hfi1_pportdata *ppd);
409 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on);
410 void tune_serdes(struct hfi1_pportdata *ppd);
Dmad.c103 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_value()
298 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_create_qp0_ah()
677 static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_enabled()
682 static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_downgrade_enabled()
687 static void set_link_speed_enabled(struct hfi1_pportdata *ppd, u32 s) in set_link_speed_enabled()
802 struct hfi1_pportdata *ppd; in __subn_get_opa_portinfo()
1014 struct hfi1_pportdata *ppd = dd->pport + port - 1; in get_pkeys()
1192 static int port_states_transition_allowed(struct hfi1_pportdata *ppd, in port_states_transition_allowed()
1240 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states()
1358 struct hfi1_pportdata *ppd; in __subn_set_opa_portinfo()
[all …]
Dud.c76 struct hfi1_pportdata *ppd; in ud_loopback()
313 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_9B()
380 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_16B()
480 struct hfi1_pportdata *ppd; in hfi1_make_ud_req()
598 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_idx()
644 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp_16B()
706 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp()
770 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in opa_smp_check()
862 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_ud_rcv()
Ddriver.c179 struct hfi1_pportdata *ppd; in hfi1_count_active_units()
254 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr()
452 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_process_ecn_slowpath()
1221 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in receive_interrupt_work()
1285 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu()
1329 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid()
1342 void shutdown_led_override(struct hfi1_pportdata *ppd) in shutdown_led_override()
1365 struct hfi1_pportdata *ppd = from_timer(ppd, t, led_override_timer); in run_led_override()
1391 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon, in hfi1_start_led_override()
1431 struct hfi1_pportdata *ppd; in hfi1_reset_device()
[all …]
Dverbs.c374 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_eager_rcv()
428 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_expected_rcv()
480 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_do_pkey_check()
500 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_handle_packet()
848 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_dma()
988 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_pio()
1158 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check()
1415 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in query_port()
1491 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in shut_down_port()
1525 struct hfi1_pportdata *ppd; in hfi1_check_ah()
[all …]
Dqp.c246 struct hfi1_pportdata *ppd; in qp_set_16b()
309 struct hfi1_pportdata *ppd; in hfi1_setup_wqe()
369 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in _hfi1_schedule_send()
926 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_qp_iter_cb()
962 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_error_port_qps()
Dverbs.h69 struct hfi1_pportdata;
235 struct hfi1_pportdata *ppd;
Dsdma.h314 struct hfi1_pportdata *ppd;
946 struct hfi1_pportdata *ppd = sde->dd->pport; in sdma_iowait_schedule()
Dtid_rdma.h256 struct hfi1_pportdata *ppd,
Dmad.h442 u64 get_xmit_wait_counters(struct hfi1_pportdata *ppd, u16 link_width,
Dfirmware.c1772 struct hfi1_pportdata *ppd = dd->pport; in parse_platform_config()
1944 struct hfi1_pportdata *ppd = dd->pport; in get_integrated_platform_config_field()
2081 struct hfi1_pportdata *ppd = dd->pport; in get_platform_config_field()
Drc.c1268 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_9B()
1321 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_16B()
1392 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_send_rc_ack()
1888 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in do_rc_completion()
2713 static void log_cca_event(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, in log_cca_event()
2741 void process_becn(struct hfi1_pportdata *ppd, u8 sl, u32 rlid, u32 lqpn, in process_becn()
Druc.c280 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_ruc_header_16B()
Dfile_ops.c1498 int hfi1_set_uevent_bits(struct hfi1_pportdata *ppd, const int evtbit) in hfi1_set_uevent_bits()
1605 struct hfi1_pportdata *ppd = uctxt->ppd; in set_ctxt_pkey()
Dipoib_tx.c298 struct hfi1_pportdata *ppd = ppd_from_ibp(txp->ibp); in hfi1_ipoib_build_ib_tx_headers()

12