Lines Matching defs:ppd

1476 	struct hfi1_pportdata *ppd = context;  in port_access_u32_csr()  local
1486 struct hfi1_pportdata *ppd = context; in port_access_u64_csr() local
1526 struct hfi1_pportdata *ppd = context; in access_sw_link_dn_cnt() local
1536 struct hfi1_pportdata *ppd = context; in access_sw_link_up_cnt() local
1547 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_unknown_frame_cnt() local
1557 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_xmit_discards() local
1575 struct hfi1_pportdata *ppd = context; in access_xmit_constraint_errs() local
1587 struct hfi1_pportdata *ppd = context; in access_rcv_constraint_errs() local
5551 struct hfi1_pportdata *ppd = dd->pport; in update_rcverr_timer() local
5655 static inline void __count_port_discards(struct hfi1_pportdata *ppd) in __count_port_discards()
5677 struct hfi1_pportdata *ppd = dd->pport; in handle_send_egress_err_info() local
6073 struct hfi1_pportdata *ppd = dd->pport; in handle_qsfp_int() local
6217 struct hfi1_pportdata *ppd = dd->pport; in acquire_lcb_access() local
6334 static void handle_8051_request(struct hfi1_pportdata *ppd) in handle_8051_request()
6465 static void set_linkup_defaults(struct hfi1_pportdata *ppd) in set_linkup_defaults()
6657 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_sma_message() local
6737 void start_freeze_handling(struct hfi1_pportdata *ppd, int flags) in start_freeze_handling()
6870 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_freeze() local
6943 static void update_xmit_counters(struct hfi1_pportdata *ppd, u16 link_width) in update_xmit_counters()
6967 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_up() local
7011 static void reset_neighbor_info(struct hfi1_pportdata *ppd) in reset_neighbor_info()
7097 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_down() local
7184 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_bounce() local
7253 static void clear_full_mgmt_pkey(struct hfi1_pportdata *ppd) in clear_full_mgmt_pkey()
7396 void get_linkup_link_widths(struct hfi1_pportdata *ppd) in get_linkup_link_widths()
7421 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_verify_cap() local
7597 bool apply_link_downgrade_policy(struct hfi1_pportdata *ppd, in apply_link_downgrade_policy()
7690 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_link_downgrade() local
7730 struct hfi1_pportdata *ppd = dd->pport; in handle_8051_interrupt() local
7928 struct hfi1_pportdata *ppd = dd->pport; in handle_dcc_err() local
7943 struct hfi1_pportdata *ppd = dd->pport; in handle_dcc_err() local
8643 struct hfi1_pportdata *ppd = dd->pport; in read_lcb_csr() local
8692 struct hfi1_pportdata *ppd = dd->pport; in write_lcb_csr() local
9341 static int set_local_link_attributes(struct hfi1_pportdata *ppd) in set_local_link_attributes()
9440 int start_link(struct hfi1_pportdata *ppd) in start_link()
9465 static void wait_for_qsfp_init(struct hfi1_pportdata *ppd) in wait_for_qsfp_init()
9499 static void set_qsfp_int_n(struct hfi1_pportdata *ppd, u8 enable) in set_qsfp_int_n()
9519 int reset_qsfp(struct hfi1_pportdata *ppd) in reset_qsfp()
9558 static int handle_qsfp_error_conditions(struct hfi1_pportdata *ppd, in handle_qsfp_error_conditions()
9661 struct hfi1_pportdata *ppd; in qsfp_event() local
9722 struct hfi1_pportdata *ppd = dd->pport; in init_qsfp_int() local
9773 static int test_qsfp_read(struct hfi1_pportdata *ppd) in test_qsfp_read()
9808 static void try_start_link(struct hfi1_pportdata *ppd) in try_start_link()
9834 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in handle_start_link() local
9839 int bringup_serdes(struct hfi1_pportdata *ppd) in bringup_serdes()
9878 void hfi1_quiet_serdes(struct hfi1_pportdata *ppd) in hfi1_quiet_serdes()
9909 struct hfi1_pportdata *ppd; in init_cpu_counters() local
10016 int hfi1_get_ib_cfg(struct hfi1_pportdata *ppd, int which) in hfi1_get_ib_cfg()
10115 static void set_send_length(struct hfi1_pportdata *ppd) in set_send_length()
10168 static void set_lidlmc(struct hfi1_pportdata *ppd) in set_lidlmc()
10265 static const char *state_complete_reason_code_string(struct hfi1_pportdata *ppd, in state_complete_reason_code_string()
10279 static void decode_state_complete(struct hfi1_pportdata *ppd, u32 frame, in decode_state_complete()
10317 static void check_lni_states(struct hfi1_pportdata *ppd) in check_lni_states()
10360 static void force_logical_link_state_down(struct hfi1_pportdata *ppd) in force_logical_link_state_down()
10402 static int goto_offline(struct hfi1_pportdata *ppd, u8 rem_reason) in goto_offline()
10543 static const char *link_state_reason_name(struct hfi1_pportdata *ppd, u32 state) in link_state_reason_name()
10569 u32 driver_pstate(struct hfi1_pportdata *ppd) in driver_pstate()
10603 u32 driver_lstate(struct hfi1_pportdata *ppd) in driver_lstate()
10622 void set_link_down_reason(struct hfi1_pportdata *ppd, u8 lcl_reason, in set_link_down_reason()
10640 static inline bool data_vls_operational(struct hfi1_pportdata *ppd) in data_vls_operational()
10666 int set_link_state(struct hfi1_pportdata *ppd, u32 state) in set_link_state()
10967 int hfi1_set_ib_cfg(struct hfi1_pportdata *ppd, int which, u32 val) in hfi1_set_ib_cfg()
11051 static void init_vl_arb_caches(struct hfi1_pportdata *ppd) in init_vl_arb_caches()
11081 vl_arb_lock_cache(struct hfi1_pportdata *ppd, int idx) in vl_arb_lock_cache()
11089 static inline void vl_arb_unlock_cache(struct hfi1_pportdata *ppd, int idx) in vl_arb_unlock_cache()
11114 static int set_vl_weights(struct hfi1_pportdata *ppd, u32 target, in set_vl_weights()
11407 int set_buffer_control(struct hfi1_pportdata *ppd, in set_buffer_control()
11600 int fm_get_table(struct hfi1_pportdata *ppd, int which, void *t) in fm_get_table()
11654 int fm_set_table(struct hfi1_pportdata *ppd, int which, void *t) in fm_set_table()
12254 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs()
12305 struct hfi1_pportdata *ppd; in free_cntrs() local
12450 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl) in read_port_cntr()
12470 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data) in write_port_cntr()
12497 struct hfi1_pportdata *ppd; in do_update_synth_timer() local
12600 struct hfi1_pportdata *ppd; in init_cntrs() local
12931 static void update_statusp(struct hfi1_pportdata *ppd, u32 state) in update_statusp()
12970 static int wait_logical_linkstate(struct hfi1_pportdata *ppd, u32 state, in wait_logical_linkstate()
12994 static void log_state_transition(struct hfi1_pportdata *ppd, u32 state) in log_state_transition()
13007 static void log_physical_state(struct hfi1_pportdata *ppd, u32 state) in log_physical_state()
13029 static int wait_physical_linkstate(struct hfi1_pportdata *ppd, u32 state, in wait_physical_linkstate()
13062 static int wait_phys_link_offline_substates(struct hfi1_pportdata *ppd, in wait_phys_link_offline_substates()
13095 static int wait_phys_link_out_of_offline(struct hfi1_pportdata *ppd, in wait_phys_link_out_of_offline()
13518 static void set_partition_keys(struct hfi1_pportdata *ppd) in set_partition_keys()
14131 struct hfi1_pportdata *ppd = &dd->pport[i]; in init_early_variables() local
14994 struct hfi1_pportdata *ppd; in hfi1_init_dd() local
15320 static u16 delay_cycles(struct hfi1_pportdata *ppd, u32 desired_egress_rate, in delay_cycles()
15354 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl, in create_pbc()
15463 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_temp_err() local