Lines Matching refs:ice_pf
60 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf()
65 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp()
67 struct ice_pf *ctrl_pf = ice_get_ctrl_pf(pf); in ice_get_ctrl_ptp()
80 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx()
101 static void ice_ptp_update_sma_data(struct ice_pf *pf, unsigned int sma_pins[], in ice_ptp_update_sma_data()
156 static int ice_ptp_set_sma_cfg(struct ice_pf *pf) in ice_ptp_set_sma_cfg()
197 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt()
234 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp()
259 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode()
278 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode()
302 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg()
427 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts()
471 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp()
523 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp()
647 struct ice_pf *pf; in ice_ptp_process_tx_tstamp()
758 static enum ice_tx_tstamp_work ice_ptp_tx_tstamp_owner(struct ice_pf *pf) in ice_ptp_tx_tstamp_owner()
862 ice_ptp_flush_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_flush_tx_tracker()
933 ice_ptp_flush_all_tx_tracker(struct ice_pf *pf) in ice_ptp_flush_all_tx_tracker()
949 ice_ptp_release_tx_tracker(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_release_tx_tracker()
985 static int ice_ptp_init_tx_eth56g(struct ice_pf *pf, struct ice_ptp_tx *tx, in ice_ptp_init_tx_eth56g()
1008 ice_ptp_init_tx_e82x(struct ice_pf *pf, struct ice_ptp_tx *tx, u8 port) in ice_ptp_init_tx_e82x()
1027 ice_ptp_init_tx_e810(struct ice_pf *pf, struct ice_ptp_tx *tx) in ice_ptp_init_tx_e810()
1058 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime()
1119 static void ice_ptp_reset_cached_phctime(struct ice_pf *pf) in ice_ptp_reset_cached_phctime()
1156 static int ice_ptp_write_init(struct ice_pf *pf, struct timespec64 *ts) in ice_ptp_write_init()
1172 static int ice_ptp_write_adj(struct ice_pf *pf, s32 adj) in ice_ptp_write_adj()
1188 static u64 ice_base_incval(struct ice_pf *pf) in ice_base_incval()
1209 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1279 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
1316 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_stop()
1358 struct ice_pf *pf = ptp_port_to_pf(ptp_port); in ice_ptp_port_phy_restart()
1419 void ice_ptp_link_change(struct ice_pf *pf, bool linkup) in ice_ptp_link_change()
1461 static int ice_ptp_cfg_phy_interrupt(struct ice_pf *pf, bool ena, u32 threshold) in ice_ptp_cfg_phy_interrupt()
1516 static void ice_ptp_reset_phy_timestamping(struct ice_pf *pf) in ice_ptp_reset_phy_timestamping()
1525 static void ice_ptp_restart_all_phy(struct ice_pf *pf) in ice_ptp_restart_all_phy()
1549 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine()
1569 void ice_ptp_extts_event(struct ice_pf *pf) in ice_ptp_extts_event()
1623 static int ice_ptp_cfg_extts(struct ice_pf *pf, struct ptp_extts_request *rq, in ice_ptp_cfg_extts()
1699 static void ice_ptp_disable_all_extts(struct ice_pf *pf) in ice_ptp_disable_all_extts()
1715 static void ice_ptp_enable_all_extts(struct ice_pf *pf) in ice_ptp_enable_all_extts()
1801 static int ice_ptp_cfg_perout(struct ice_pf *pf, struct ptp_perout_request *rq, in ice_ptp_cfg_perout()
1866 static void ice_ptp_disable_all_perout(struct ice_pf *pf) in ice_ptp_disable_all_perout()
1883 static void ice_ptp_enable_all_perout(struct ice_pf *pf) in ice_ptp_enable_all_perout()
1900 static int ice_ptp_disable_shared_pin(struct ice_pf *pf, unsigned int pin, in ice_ptp_disable_shared_pin()
1961 struct ice_pf *pf = ptp_info_to_pf(info); in ice_verify_pin()
2005 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable()
2054 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64()
2073 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64()
2142 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime()
2198 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime()
2287 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_getcrosststamp_e82x()
2301 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
2320 ice_ptp_set_timestamp_mode(struct ice_pf *pf, struct hwtstamp_config *config) in ice_ptp_set_timestamp_mode()
2370 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
2430 static void ice_ptp_setup_pin_cfg(struct ice_pf *pf) in ice_ptp_setup_pin_cfg()
2457 static void ice_ptp_disable_pins(struct ice_pf *pf) in ice_ptp_disable_pins()
2479 static int ice_ptp_parse_sdp_entries(struct ice_pf *pf, __le16 *entries, in ice_ptp_parse_sdp_entries()
2551 static void ice_ptp_set_funcs_e82x(struct ice_pf *pf) in ice_ptp_set_funcs_e82x()
2578 static void ice_ptp_set_funcs_e810(struct ice_pf *pf) in ice_ptp_set_funcs_e810()
2629 static void ice_ptp_set_caps(struct ice_pf *pf) in ice_ptp_set_caps()
2662 static long ice_ptp_create_clock(struct ice_pf *pf) in ice_ptp_create_clock()
2741 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
2773 static void ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf *pf) in ice_ptp_maybe_trigger_tx_interrupt()
2811 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work()
2831 void ice_ptp_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_prepare_for_reset()
2870 static int ice_ptp_rebuild_owner(struct ice_pf *pf) in ice_ptp_rebuild_owner()
2940 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_ptp_rebuild()
2978 static int ice_ptp_setup_adapter(struct ice_pf *pf) in ice_ptp_setup_adapter()
2988 static int ice_ptp_setup_pf(struct ice_pf *pf) in ice_ptp_setup_pf()
3006 static void ice_ptp_cleanup_pf(struct ice_pf *pf) in ice_ptp_cleanup_pf()
3024 int ice_ptp_clock_index(struct ice_pf *pf) in ice_ptp_clock_index()
3044 static int ice_ptp_init_owner(struct ice_pf *pf) in ice_ptp_init_owner()
3103 static int ice_ptp_init_work(struct ice_pf *pf, struct ice_ptp *ptp) in ice_ptp_init_work()
3131 static int ice_ptp_init_port(struct ice_pf *pf, struct ice_ptp_port *ptp_port) in ice_ptp_init_port()
3163 static void ice_ptp_init_tx_interrupt_mode(struct ice_pf *pf) in ice_ptp_init_tx_interrupt_mode()
3193 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init()
3264 void ice_ptp_release(struct ice_pf *pf) in ice_ptp_release()