Lines Matching defs:ppd
1477 struct hfi1_pportdata *ppd = context; in port_access_u32_csr() local
1487 struct hfi1_pportdata *ppd = context; in port_access_u64_csr() local
1527 struct hfi1_pportdata *ppd = context; in access_sw_link_dn_cnt() local
1537 struct hfi1_pportdata *ppd = context; in access_sw_link_up_cnt() local
1548 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_unknown_frame_cnt() local
1558 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_xmit_discards() local
1576 struct hfi1_pportdata *ppd = context; in access_xmit_constraint_errs() local
1588 struct hfi1_pportdata *ppd = context; in access_rcv_constraint_errs() local
5552 struct hfi1_pportdata *ppd = dd->pport; in update_rcverr_timer() local
5656 static inline void __count_port_discards(struct hfi1_pportdata *ppd) in __count_port_discards()
5678 struct hfi1_pportdata *ppd = dd->pport; in handle_send_egress_err_info() local
6074 struct hfi1_pportdata *ppd = dd->pport; in handle_qsfp_int() local
6218 struct hfi1_pportdata *ppd = dd->pport; in acquire_lcb_access() local
6336 static void handle_8051_request(struct hfi1_pportdata *ppd) in handle_8051_request()
6467 static void set_linkup_defaults(struct hfi1_pportdata *ppd) in set_linkup_defaults()
6659 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_sma_message() local
6739 void start_freeze_handling(struct hfi1_pportdata *ppd, int flags) in start_freeze_handling()
6872 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_freeze() local
6945 static void update_xmit_counters(struct hfi1_pportdata *ppd, u16 link_width) in update_xmit_counters()
6969 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_up() local
7013 static void reset_neighbor_info(struct hfi1_pportdata *ppd) in reset_neighbor_info()
7099 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_down() local
7186 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_bounce() local
7255 static void clear_full_mgmt_pkey(struct hfi1_pportdata *ppd) in clear_full_mgmt_pkey()
7398 void get_linkup_link_widths(struct hfi1_pportdata *ppd) in get_linkup_link_widths()
7423 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_verify_cap() local
7599 bool apply_link_downgrade_policy(struct hfi1_pportdata *ppd, in apply_link_downgrade_policy()
7692 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_downgrade() local
7732 struct hfi1_pportdata *ppd = dd->pport; in handle_8051_interrupt() local
7930 struct hfi1_pportdata *ppd = dd->pport; in handle_dcc_err() local
7945 struct hfi1_pportdata *ppd = dd->pport; in handle_dcc_err() local
8645 struct hfi1_pportdata *ppd = dd->pport; in read_lcb_csr() local
8694 struct hfi1_pportdata *ppd = dd->pport; in write_lcb_csr() local
9343 static int set_local_link_attributes(struct hfi1_pportdata *ppd) in set_local_link_attributes()
9442 int start_link(struct hfi1_pportdata *ppd) in start_link()
9467 static void wait_for_qsfp_init(struct hfi1_pportdata *ppd) in wait_for_qsfp_init()
9501 static void set_qsfp_int_n(struct hfi1_pportdata *ppd, u8 enable) in set_qsfp_int_n()
9521 int reset_qsfp(struct hfi1_pportdata *ppd) in reset_qsfp()
9560 static int handle_qsfp_error_conditions(struct hfi1_pportdata *ppd, in handle_qsfp_error_conditions()
9663 struct hfi1_pportdata *ppd; in qsfp_event() local
9724 struct hfi1_pportdata *ppd = dd->pport; in init_qsfp_int() local
9775 static int test_qsfp_read(struct hfi1_pportdata *ppd) in test_qsfp_read()
9810 static void try_start_link(struct hfi1_pportdata *ppd) in try_start_link()
9836 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_start_link() local
9841 int bringup_serdes(struct hfi1_pportdata *ppd) in bringup_serdes()
9880 void hfi1_quiet_serdes(struct hfi1_pportdata *ppd) in hfi1_quiet_serdes()
9911 struct hfi1_pportdata *ppd; in init_cpu_counters() local
10018 int hfi1_get_ib_cfg(struct hfi1_pportdata *ppd, int which) in hfi1_get_ib_cfg()
10117 static void set_send_length(struct hfi1_pportdata *ppd) in set_send_length()
10170 static void set_lidlmc(struct hfi1_pportdata *ppd) in set_lidlmc()
10267 static const char *state_complete_reason_code_string(struct hfi1_pportdata *ppd, in state_complete_reason_code_string()
10281 static void decode_state_complete(struct hfi1_pportdata *ppd, u32 frame, in decode_state_complete()
10319 static void check_lni_states(struct hfi1_pportdata *ppd) in check_lni_states()
10362 static void force_logical_link_state_down(struct hfi1_pportdata *ppd) in force_logical_link_state_down()
10404 static int goto_offline(struct hfi1_pportdata *ppd, u8 rem_reason) in goto_offline()
10545 static const char *link_state_reason_name(struct hfi1_pportdata *ppd, u32 state) in link_state_reason_name()
10571 u32 driver_pstate(struct hfi1_pportdata *ppd) in driver_pstate()
10605 u32 driver_lstate(struct hfi1_pportdata *ppd) in driver_lstate()
10624 void set_link_down_reason(struct hfi1_pportdata *ppd, u8 lcl_reason, in set_link_down_reason()
10642 static inline bool data_vls_operational(struct hfi1_pportdata *ppd) in data_vls_operational()
10668 int set_link_state(struct hfi1_pportdata *ppd, u32 state) in set_link_state()
10969 int hfi1_set_ib_cfg(struct hfi1_pportdata *ppd, int which, u32 val) in hfi1_set_ib_cfg()
11053 static void init_vl_arb_caches(struct hfi1_pportdata *ppd) in init_vl_arb_caches()
11083 vl_arb_lock_cache(struct hfi1_pportdata *ppd, int idx) in vl_arb_lock_cache()
11091 static inline void vl_arb_unlock_cache(struct hfi1_pportdata *ppd, int idx) in vl_arb_unlock_cache()
11116 static int set_vl_weights(struct hfi1_pportdata *ppd, u32 target, in set_vl_weights()
11409 int set_buffer_control(struct hfi1_pportdata *ppd, in set_buffer_control()
11602 int fm_get_table(struct hfi1_pportdata *ppd, int which, void *t) in fm_get_table()
11656 int fm_set_table(struct hfi1_pportdata *ppd, int which, void *t) in fm_set_table()
12256 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs()
12307 struct hfi1_pportdata *ppd; in free_cntrs() local
12453 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl) in read_port_cntr()
12473 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data) in write_port_cntr()
12500 struct hfi1_pportdata *ppd; in do_update_synth_timer() local
12603 struct hfi1_pportdata *ppd; in init_cntrs() local
12934 static void update_statusp(struct hfi1_pportdata *ppd, u32 state) in update_statusp()
12973 static int wait_logical_linkstate(struct hfi1_pportdata *ppd, u32 state, in wait_logical_linkstate()
12997 static void log_state_transition(struct hfi1_pportdata *ppd, u32 state) in log_state_transition()
13010 static void log_physical_state(struct hfi1_pportdata *ppd, u32 state) in log_physical_state()
13032 static int wait_physical_linkstate(struct hfi1_pportdata *ppd, u32 state, in wait_physical_linkstate()
13065 static int wait_phys_link_offline_substates(struct hfi1_pportdata *ppd, in wait_phys_link_offline_substates()
13098 static int wait_phys_link_out_of_offline(struct hfi1_pportdata *ppd, in wait_phys_link_out_of_offline()
13527 static void set_partition_keys(struct hfi1_pportdata *ppd) in set_partition_keys()
14140 struct hfi1_pportdata *ppd = &dd->pport[i]; in init_early_variables() local
15003 struct hfi1_pportdata *ppd; in hfi1_init_dd() local
15329 static u16 delay_cycles(struct hfi1_pportdata *ppd, u32 desired_egress_rate, in delay_cycles()
15363 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl, in create_pbc()
15472 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_temp_err() local