id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_ptp_init_phc_e810(9)
NAME ice_ptp_init_phc_e810 - Perform E810 specific PHC initialization SYNOPSIS int ice_ptp_init_phc_e810 (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct DESCRIPTION Perform E810-specific PTP hardware clock initialization steps. RETURN 0 on success, other error codes when failed to initialize TimeSy...
ice_ptp_init_phc_e82x(9)
NAME ice_ptp_init_phc_e82x - Perform E822 specific PHC initialization SYNOPSIS int ice_ptp_init_phc_e82x (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct DESCRIPTION Perform PHC initialization steps specific to E822 devices. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ...
ice_ptp_init_phc_e830(9)
NAME ice_ptp_init_phc_e830 - Perform E830 specific PHC initialization SYNOPSIS void ice_ptp_init_phc_e830 (const struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct DESCRIPTION Perform E830-specific PTP hardware clock initialization steps. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_ptp_init_phy_e810(9)
NAME ice_ptp_init_phy_e810 - initialize PHY parameters SYNOPSIS void ice_ptp_init_phy_e810 (struct ice_ptp_hw *ptp ); ARGUMENTS ptp pointer to the PTP HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src_incval(9), ice_pt...
ice_ptp_init_phy_e825(9)
NAME ice_ptp_init_phy_e825 - initialize PHY parameters SYNOPSIS void ice_ptp_init_phy_e825 (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src_incval(9), ice_ptp_tmr_cmd...
ice_ptp_init_phy_e82x(9)
NAME ice_ptp_init_phy_e82x - initialize PHY parameters SYNOPSIS void ice_ptp_init_phy_e82x (struct ice_ptp_hw *ptp ); ARGUMENTS ptp pointer to the PTP HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src_incval(9), ice_pt...
ice_ptp_init_phy_e830(9)
NAME ice_ptp_init_phy_e830 - initialize PHY parameters SYNOPSIS void ice_ptp_init_phy_e830 (struct ice_ptp_hw *ptp ); ARGUMENTS ptp pointer to the PTP HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src_incval(9), ice_pt...
ice_ptp_init_port(9)
NAME ice_ptp_init_port - Initialize PTP port structure SYNOPSIS int ice_ptp_init_port (struct ice_pf *pf , struct ice_ptp_port *ptp_port ); ARGUMENTS pf Board private structure ptp_port PTP port structure RETURN 0 on success, -ENODEV on invalid MAC type, -ENOMEM on failed alloc. SEE ALSO Kernel ...
ice_ptp_init_time(9)
NAME ice_ptp_init_time - Initialize device time to provided value SYNOPSIS int ice_ptp_init_time (struct ice_hw *hw , u64 time ); ARGUMENTS hw pointer to HW struct time 64bits of time (GLTSYN_TIME_L and GLTSYN_TIME_H) DESCRIPTION Initialize the device to the specified time provided. This requ...
ice_ptp_init_tx(9)
NAME ice_ptp_init_tx - Initialize tracking for Tx timestamps SYNOPSIS int ice_ptp_init_tx (struct ice_pf *pf , struct ice_ptp_tx *tx , u8 port ); ARGUMENTS pf Board private structure tx the Tx tracking structure to initialize port the port this structure tracks DESCRIPTION In...
ice_ptp_init_tx_e82x(9)
NAME ice_ptp_init_tx_e82x - Initialize tracking for Tx timestamps SYNOPSIS int ice_ptp_init_tx_e82x (struct ice_pf *pf , struct ice_ptp_tx *tx , u8 port ); ARGUMENTS pf Board private structure tx the Tx tracking structure to initialize port the port this structure tracks DESC...
ice_ptp_init_tx_interrupt_mode(9)
NAME ice_ptp_init_tx_interrupt_mode - Initialize device Tx interrupt mode SYNOPSIS void ice_ptp_init_tx_interrupt_mode (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Initialize the Tx timestamp interrupt mode for this device. For most device types, each PF processes the interrupt...
ice_ptp_init_work(9)
NAME ice_ptp_init_work - Initialize PTP work threads SYNOPSIS int ice_ptp_init_work (struct ice_pf *pf , struct ice_ptp *ptp ); ARGUMENTS pf Board private structure ptp PF PTP structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_p...
ice_ptp_is_tx_tracker_up(9)
NAME ice_ptp_is_tx_tracker_up - Check if Tx tracker is ready for new timestamps SYNOPSIS bool ice_ptp_is_tx_tracker_up (struct ice_ptp_tx *tx ); ARGUMENTS tx the PTP Tx timestamp tracker to check DESCRIPTION Check that a given PTP Tx timestamp tracker is up, i.e. that it is ready to accept new timestamp req...
ice_ptp_link_change(9)
NAME ice_ptp_link_change - Reconfigure PTP after link status change SYNOPSIS void ice_ptp_link_change (struct ice_pf *pf , bool linkup ); ARGUMENTS pf Board private structure linkup Link is up or down SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(...
ice_ptp_lock(9)
NAME ice_ptp_lock - Acquire PTP global semaphore register lock SYNOPSIS bool ice_ptp_lock (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Acquire the global PTP hardware semaphore lock. Returns true if the lock was acquired, false otherwise. The PFTSYN_SEM register sets the bu...
ice_ptp_mark_tx_tracker_stale(9)
NAME ice_ptp_mark_tx_tracker_stale - Mark unfinished timestamps as stale SYNOPSIS void ice_ptp_mark_tx_tracker_stale (struct ice_ptp_tx *tx ); ARGUMENTS tx the tracker to mark DESCRIPTION Mark currently outstanding Tx timestamps as stale. This prevents sending their timestamp value to the stack. This is re...
ice_ptp_maybe_trigger_tx_interrupt(9)
NAME ice_ptp_maybe_trigger_tx_interrupt - Trigger Tx timstamp interrupt SYNOPSIS void ice_ptp_maybe_trigger_tx_interrupt (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION The device PHY issues Tx timestamp interrupts to the driver for processing timestamp data from the PHY. It will not...
ice_ptp_one_port_cmd(9)
NAME ice_ptp_one_port_cmd - Program one PHY port for a timer command SYNOPSIS int ice_ptp_one_port_cmd (struct ice_hw *hw , u8 configured_port , enum ice_ptp_tmr_cmd configured_cmd ); ARGUMENTS hw pointer to HW struct configured_port the port that should execute the command ...
ice_ptp_parse_sdp_entries(9)
NAME ice_ptp_parse_sdp_entries - update ice_ptp_pin_desc structure from NVM SYNOPSIS int ice_ptp_parse_sdp_entries (struct ice_pf *pf , __le16 *entries , unsigned int num_entries , struct ice_ptp_pin_desc *pins ); ARGUMENTS pf pointer to the PF structure entries SDP connection section from NVM ...
ice_ptp_pf_handles_tx_interrupt(9)
NAME ice_ptp_pf_handles_tx_interrupt - Check if PF handles Tx interrupt SYNOPSIS bool ice_ptp_pf_handles_tx_interrupt (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Return true if this PF should respond to the Tx timestamp interrupt indication in the miscellaneous OICR interrupt hand...
ice_ptp_port_cmd(9)
NAME ice_ptp_port_cmd - Prepare PHY ports for a timer sync command SYNOPSIS int ice_ptp_port_cmd (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd the timer command to setup DESCRIPTION Prepare all PHY ports on this device for the requested timer command....
ice_ptp_port_cmd_e810(9)
NAME ice_ptp_port_cmd_e810 - Prepare all external PHYs for a timer command SYNOPSIS int ice_ptp_port_cmd_e810 (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd Command to be sent to the port DESCRIPTION Prepare the external PHYs connected to this device f...
ice_ptp_port_cmd_e830(9)
NAME ice_ptp_port_cmd_e830 - Prepare all external PHYs for a timer command SYNOPSIS int ice_ptp_port_cmd_e830 (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd Command to be sent to the port DESCRIPTION Prepare the external PHYs connected to this device f...
ice_ptp_port_phy_restart(9)
NAME ice_ptp_port_phy_restart - (Re)start and calibrate PHY timestamping SYNOPSIS int ice_ptp_port_phy_restart (struct ice_ptp_port *ptp_port ); ARGUMENTS ptp_port PTP port for which the PHY start is set DESCRIPTION Start the PHY timestamping block, and initiate Vernier timestamping calibration. If timestamping c...
ice_ptp_port_phy_stop(9)
NAME ice_ptp_port_phy_stop - Stop timestamping for a PHY port SYNOPSIS int ice_ptp_port_phy_stop (struct ice_ptp_port *ptp_port ); ARGUMENTS ptp_port PTP port to stop SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_set_rx_tst...
ice_ptp_prep_phy_adj_e810(9)
NAME ice_ptp_prep_phy_adj_e810 - Prep PHY port for a time adjustment SYNOPSIS int ice_ptp_prep_phy_adj_e810 (struct ice_hw *hw , s32 adj ); ARGUMENTS hw pointer to HW struct adj adjustment value to program DESCRIPTION Prepare the PHY port for an atomic adjustment by programming the PHY E...
ice_ptp_prep_phy_adj_e82x(9)
NAME ice_ptp_prep_phy_adj_e82x - Prep PHY ports for a time adjustment SYNOPSIS int ice_ptp_prep_phy_adj_e82x (struct ice_hw *hw , s32 adj ); ARGUMENTS hw pointer to HW struct adj adjustment in nanoseconds DESCRIPTION Prepare the PHY ports for an atomic time adjustment by programming the PHY ...
ice_ptp_prep_phy_adj_eth56g(9)
NAME ice_ptp_prep_phy_adj_eth56g - Prep PHY ports for a time adjustment SYNOPSIS int ice_ptp_prep_phy_adj_eth56g (struct ice_hw *hw , s32 adj ); ARGUMENTS hw pointer to HW struct adj adjustment in nanoseconds DESCRIPTION Prepare the PHY ports for an atomic time adjustment by programming the ...
ice_ptp_prep_phy_adj_ll_e810(9)
NAME ice_ptp_prep_phy_adj_ll_e810 - Prep PHY ports for a time adjustment SYNOPSIS int ice_ptp_prep_phy_adj_ll_e810 (struct ice_hw *hw , s32 adj ); ARGUMENTS hw pointer to HW struct adj adjustment value to program DESCRIPTION Use the low latency firmware interface to program PHY time adjustme...
ice_ptp_prep_phy_incval_e810(9)
NAME ice_ptp_prep_phy_incval_e810 - Prep PHY port increment value change SYNOPSIS int ice_ptp_prep_phy_incval_e810 (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval The new 40bit increment value to prepare DESCRIPTION Prepare the PHY port for a new increment value by p...
ice_ptp_prep_phy_incval_e82x(9)
NAME ice_ptp_prep_phy_incval_e82x - Prepare PHY ports for time adjustment SYNOPSIS int ice_ptp_prep_phy_incval_e82x (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval new increment value to prepare DESCRIPTION Prepare each of the PHY ports for a new increment value by p...
ice_ptp_prep_phy_incval_eth56g(9)
NAME ice_ptp_prep_phy_incval_eth56g - Prepare PHY ports for time adjustment SYNOPSIS int ice_ptp_prep_phy_incval_eth56g (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval new increment value to prepare DESCRIPTION Prepare each of the PHY ports for a new increment value ...
ice_ptp_prep_phy_incval_ll_e810(9)
NAME ice_ptp_prep_phy_incval_ll_e810 - Prep PHY ports increment value change SYNOPSIS int ice_ptp_prep_phy_incval_ll_e810 (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval The new 40bit increment value to prepare DESCRIPTION Use the low latency firmware interface to pr...
ice_ptp_prep_phy_time_e810(9)
NAME ice_ptp_prep_phy_time_e810 - Prepare PHY port with initial time SYNOPSIS int ice_ptp_prep_phy_time_e810 (struct ice_hw *hw , u32 time ); ARGUMENTS hw Board private structure time Time to initialize the PHY port clock to DESCRIPTION Program the PHY port ETH_GLTSYN_SHTIME registers in pr...
ice_ptp_prep_phy_time_e82x(9)
NAME ice_ptp_prep_phy_time_e82x - Prepare PHY port with initial time SYNOPSIS int ice_ptp_prep_phy_time_e82x (struct ice_hw *hw , u32 time ); ARGUMENTS hw pointer to the HW struct time Time to initialize the PHY port clocks to DESCRIPTION Program the PHY port registers with a new initial ti...
ice_ptp_prep_phy_time_eth56g(9)
NAME ice_ptp_prep_phy_time_eth56g - Prepare PHY port with initial time SYNOPSIS int ice_ptp_prep_phy_time_eth56g (struct ice_hw *hw , u32 time ); ARGUMENTS hw pointer to the HW struct time Time to initialize the PHY port clocks to DESCRIPTION Program the PHY port registers with a new initia...
ice_ptp_prep_port_adj_e82x(9)
NAME ice_ptp_prep_port_adj_e82x - Prepare a single port for time adjust SYNOPSIS int ice_ptp_prep_port_adj_e82x (struct ice_hw *hw , u8 port , s64 time ); ARGUMENTS hw pointer to HW struct port Port number to be programmed time time in cycles to adjust the port Tx and Rx clocks ...
ice_ptp_prep_port_adj_eth56g(9)
NAME ice_ptp_prep_port_adj_eth56g - Prepare a single port for time adjust SYNOPSIS int ice_ptp_prep_port_adj_eth56g (struct ice_hw *hw , u8 port , s64 time ); ARGUMENTS hw pointer to HW struct port Port number to be programmed time time in cycles to adjust the port clocks DESCR...
ice_ptp_prep_port_time_eth56g(9)
NAME ice_ptp_prep_port_time_eth56g - Prepare one PHY port with initial time SYNOPSIS int ice_ptp_prep_port_time_eth56g (struct ice_hw *hw , u8 port , u64 time ); ARGUMENTS hw pointer to the HW struct port port number time time to initialize the PHY port clocks to DESCRIPTION Wr...
ice_ptp_prepare_for_reset(9)
NAME ice_ptp_prepare_for_reset - Prepare PTP for reset SYNOPSIS void ice_ptp_prepare_for_reset (struct ice_pf *pf , enum ice_reset_req reset_type ); ARGUMENTS pf Board private structure reset_type the reset type being performed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ...
ice_ptp_prepare_rebuild_sec(9)
NAME ice_ptp_prepare_rebuild_sec - Prepare second NAC for PTP reset or rebuild SYNOPSIS void ice_ptp_prepare_rebuild_sec (struct ice_pf *pf , bool rebuild , enum ice_reset_req reset_type ); ARGUMENTS pf Board private structure rebuild rebuild if true, prepare if false reset_type the rese...
ice_ptp_process_tx_tstamp(9)
NAME ice_ptp_process_tx_tstamp - Process Tx timestamps for a port SYNOPSIS void ice_ptp_process_tx_tstamp (struct ice_ptp_tx *tx ); ARGUMENTS tx the PTP Tx timestamp tracker DESCRIPTION Process timestamps captured by the PHY associated with this port. To do this, loop over each index with a waiting skb. I...
ice_ptp_queue_work(9)
NAME ice_ptp_queue_work - Queue PTP periodic work for a PF SYNOPSIS void ice_ptp_queue_work (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Helper function to queue PTP periodic work after VSI rebuild completes. This ensures that PTP work only runs when VSI structures are ready. SEE...
ice_ptp_read_port_capture(9)
NAME ice_ptp_read_port_capture - Read a port's local time capture SYNOPSIS int ice_ptp_read_port_capture (struct ice_hw *hw , u8 port , u64 *tx_ts , u64 *rx_ts ); ARGUMENTS hw pointer to HW struct port Port number to read tx_ts on return, the Tx port time capture rx_ts ...
ice_ptp_read_port_capture_eth56g(9)
NAME ice_ptp_read_port_capture_eth56g - Read a port's local time capture SYNOPSIS int ice_ptp_read_port_capture_eth56g (struct ice_hw *hw , u8 port , u64 *tx_ts , u64 *rx_ts ); ARGUMENTS hw pointer to HW struct port Port number to read tx_ts on return, the Tx port time capture ...
ice_ptp_read_sdp_ac(9)
NAME ice_ptp_read_sdp_ac - read SDP available connections section from NVM SYNOPSIS int ice_ptp_read_sdp_ac (struct ice_hw *hw , __le16 *entries , uint *num_entries ); ARGUMENTS hw pointer to the HW struct entries returns the SDP available connections section from NVM num_entries returns ...
ice_ptp_read_src_clk_reg(9)
NAME ice_ptp_read_src_clk_reg - Read the source clock register SYNOPSIS u64 ice_ptp_read_src_clk_reg (struct ice_pf *pf , struct ptp_system_timestamp *sts ); ARGUMENTS pf Board private structure sts Optional parameter for holding a pair of system timestamps from the system clock. Will be igno...
ice_ptp_read_src_incval(9)
NAME ice_ptp_read_src_incval - Read source timer increment value SYNOPSIS u64 ice_ptp_read_src_incval (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct DESCRIPTION Read the increment value of the source timer and return it. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get...
ice_ptp_read_tx_hwtstamp_status_eth56g(9)
NAME ice_ptp_read_tx_hwtstamp_status_eth56g - Get TX timestamp status SYNOPSIS int ice_ptp_read_tx_hwtstamp_status_eth56g (struct ice_hw *hw , u32 *ts_status ); ARGUMENTS hw pointer to the HW struct ts_status the timestamp mask pointer DESCRIPTION Read the PHY Tx timestamp status mask indicating w...
ice_ptp_rebuild(9)
NAME ice_ptp_rebuild - Initialize PTP hardware clock support after reset SYNOPSIS void ice_ptp_rebuild (struct ice_pf *pf , enum ice_reset_req reset_type ); ARGUMENTS pf Board private structure reset_type the reset type being performed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_ptp_rebuild_owner(9)
NAME ice_ptp_rebuild_owner - Initialize PTP clock owner after reset SYNOPSIS int ice_ptp_rebuild_owner (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Companion function for ice_ptp_rebuild which handles tasks that only the PTP clock owner instance should perform. SEE ALSO Kernel ...
ice_ptp_release(9)
NAME ice_ptp_release - Disable the driver/HW support and unregister the clock SYNOPSIS void ice_ptp_release (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION This function handles the cleanup work required from the initialization by clearing out the important information and unregisteri...
ice_ptp_release_tx_tracker(9)
NAME ice_ptp_release_tx_tracker - Release allocated memory for Tx tracker SYNOPSIS void ice_ptp_release_tx_tracker (struct ice_pf *pf , struct ice_ptp_tx *tx ); ARGUMENTS pf Board private structure tx Tx tracking structure to release DESCRIPTION Free memory associated with the Tx timestamp ...
ice_ptp_req_tx_single_tstamp(9)
NAME ice_ptp_req_tx_single_tstamp - Request Tx timestamp for a port from FW SYNOPSIS void ice_ptp_req_tx_single_tstamp (struct ice_ptp_tx *tx , u8 idx ); ARGUMENTS tx the PTP Tx timestamp tracker idx index of the timestamp to request SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_ptp_request_ts(9)
NAME ice_ptp_request_ts - Request an available Tx timestamp index SYNOPSIS s8 ice_ptp_request_ts (struct ice_ptp_tx *tx , struct sk_buff *skb ); ARGUMENTS tx the PTP Tx timestamp tracker to request from skb the SKB to associate with this timestamp request SEE ALSO Kernel file ./drivers...
ice_ptp_reset_cached_phctime(9)
NAME ice_ptp_reset_cached_phctime - Reset cached PHC time after an update SYNOPSIS void ice_ptp_reset_cached_phctime (struct ice_pf *pf ); ARGUMENTS pf Board specific private structure DESCRIPTION This function must be called when the cached PHC time is no longer valid, such as after a time adjustment. It...
ice_ptp_reset_phy_timestamping(9)
NAME ice_ptp_reset_phy_timestamping - Reset PHY timestamping block SYNOPSIS void ice_ptp_reset_phy_timestamping (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_...
ice_ptp_reset_ts_memory(9)
NAME ice_ptp_reset_ts_memory - Reset timestamp memory for all blocks SYNOPSIS void ice_ptp_reset_ts_memory (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src_incval(9), ...
ice_ptp_reset_ts_memory_e82x(9)
NAME ice_ptp_reset_ts_memory_e82x - Clear all timestamps from all quad blocks SYNOPSIS void ice_ptp_reset_ts_memory_e82x (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_src...
ice_ptp_reset_ts_memory_eth56g(9)
NAME ice_ptp_reset_ts_memory_eth56g - Clear all timestamps from the port block SYNOPSIS void ice_ptp_reset_ts_memory_eth56g (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_ptp_src_clock_index(9), ice_ptp_read_...
ice_ptp_reset_ts_memory_quad_e82x(9)
NAME ice_ptp_reset_ts_memory_quad_e82x - Clear all timestamps from the quad block SYNOPSIS void ice_ptp_reset_ts_memory_quad_e82x (struct ice_hw *hw , u8 quad ); ARGUMENTS hw pointer to the HW struct quad the quad to read from DESCRIPTION Clear all timestamps from the PHY quad block that is s...
ice_ptp_restart_all_phy(9)
NAME ice_ptp_restart_all_phy - Restart all PHYs to recalibrate timestamping SYNOPSIS void ice_ptp_restart_all_phy (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ic...
ice_ptp_restore_timestamp_mode(9)
NAME ice_ptp_restore_timestamp_mode - Restore timestamp configuration SYNOPSIS void ice_ptp_restore_timestamp_mode (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Called at the end of rebuild to restore timestamp configuration after a device reset. SEE ALSO Kernel file ./drivers/net...
ice_ptp_rx_hwts_to_skb(9)
NAME ice_ptp_rx_hwts_to_skb - Put RX timestamp into skb SYNOPSIS void ice_ptp_rx_hwts_to_skb (struct ice_rx_ring *rx_ring , const union ice_32b_rx_flex_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS rx_ring Ring to get the VSI info rx_desc Receive descriptor skb Particular skb to sen...
ice_ptp_set_caps(9)
NAME ice_ptp_set_caps - Set PTP capabilities SYNOPSIS void ice_ptp_set_caps (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_set_rx_tstamp(9), ice_ptp_disable...
ice_ptp_set_funcs_e810(9)
NAME ice_ptp_set_funcs_e810 - Set specialized functions for E810 support SYNOPSIS void ice_ptp_set_funcs_e810 (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Assign functions to the PTP capabiltiies structure for E810 devices. Functions which operate across all device families shoul...
ice_ptp_set_funcs_e82x(9)
NAME ice_ptp_set_funcs_e82x - Set specialized functions for E82X support SYNOPSIS void ice_ptp_set_funcs_e82x (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Assign functions to the PTP capabilities structure for E82X devices. Functions which operate across all device families shoul...
ice_ptp_set_funcs_e830(9)
NAME ice_ptp_set_funcs_e830 - Set specialized functions for E830 support SYNOPSIS void ice_ptp_set_funcs_e830 (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Assign functions to the PTP capabiltiies structure for E830 devices. Functions which operate across all device families shoul...
ice_ptp_set_timestamp_mode(9)
NAME ice_ptp_set_timestamp_mode - Setup driver for requested timestamp mode SYNOPSIS int ice_ptp_set_timestamp_mode (struct ice_pf *pf , struct kernel_hwtstamp_config *config ); ARGUMENTS pf Board private structure config hwtstamp settings requested or saved SEE ALSO Kernel file ./drivers...
ice_ptp_set_vernier_wl(9)
NAME ice_ptp_set_vernier_wl - Set the window length for vernier calibration SYNOPSIS int ice_ptp_set_vernier_wl (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Set the window length used for the vernier port calibration process. SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_ptp_settime64(9)
NAME ice_ptp_settime64 - Set the time of the clock SYNOPSIS int ice_ptp_settime64 (struct ptp_clock_info *info , const struct timespec64 *ts ); ARGUMENTS info the driver's PTP info structure ts timespec64 structure that holds the new time value DESCRIPTION Set the device clock to the user inp...
ice_ptp_setup_pin_cfg(9)
NAME ice_ptp_setup_pin_cfg - setup PTP pin_config structure SYNOPSIS void ice_ptp_setup_pin_cfg (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_set_rx_tstamp(9)...
ice_ptp_src_cmd(9)
NAME ice_ptp_src_cmd - Prepare source timer for a timer command SYNOPSIS void ice_ptp_src_cmd (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW structure cmd Timer command DESCRIPTION Prepare the source timer for an upcoming timer sync command. SEE ALSO Kernel f...
ice_ptp_tmr_cmd(9)
NAME ice_ptp_tmr_cmd - Prepare and trigger a timer sync command SYNOPSIS int ice_ptp_tmr_cmd (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd the command to issue DESCRIPTION Prepare the source timer and PHY timers and then trigger the requested comm...
ice_ptp_tmr_cmd_to_port_reg(9)
NAME ice_ptp_tmr_cmd_to_port_reg - Convert to port timer command value SYNOPSIS u32 ice_ptp_tmr_cmd_to_port_reg (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd Timer command DESCRIPTION Note that some hardware families use a different command register v...
ice_ptp_tmr_cmd_to_src_reg(9)
NAME ice_ptp_tmr_cmd_to_src_reg - Convert to source timer command value SYNOPSIS u32 ice_ptp_tmr_cmd_to_src_reg (struct ice_hw *hw , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct cmd Timer command RETURN the source timer command register value for the given PTP timer command....
ice_ptp_ts_irq(9)
NAME ice_ptp_ts_irq - Process the PTP Tx timestamps in IRQ context SYNOPSIS irqreturn_t ice_ptp_ts_irq (struct ice_pf *pf ); ARGUMENTS pf Board private structure RETURN IRQ_WAKE_THREAD if Tx timestamp read has to be handled in the bottom half of the interrupt and IRQ_HANDLED otherwise. SEE ALSO Kernel f...
ice_ptp_unlock(9)
NAME ice_ptp_unlock - Release PTP global semaphore register lock SYNOPSIS void ice_ptp_unlock (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Release the global PTP hardware semaphore lock. This is done by writing to the PFTSYN_SEM register. SEE ALSO Kernel file ./drivers/net/...
ice_ptp_update_cached_phctime(9)
NAME ice_ptp_update_cached_phctime - Update the cached PHC time values SYNOPSIS int ice_ptp_update_cached_phctime (struct ice_pf *pf ); ARGUMENTS pf Board specific private structure DESCRIPTION This function updates the system time values which are cached in the PF structure and the Rx rings. This functi...
ice_ptp_wait_for_offsets(9)
NAME ice_ptp_wait_for_offsets - Check for valid Tx and Rx offsets SYNOPSIS void ice_ptp_wait_for_offsets (struct kthread_work *work ); ARGUMENTS work Pointer to the kthread_work structure for this task DESCRIPTION Check whether hardware has completed measuring the Tx and Rx offset values used to configure a...
ice_ptp_write_adj(9)
NAME ice_ptp_write_adj - Adjust PHC clock time atomically SYNOPSIS int ice_ptp_write_adj (struct ice_pf *pf , s32 adj ); ARGUMENTS pf Board private structure adj Adjustment in nanoseconds DESCRIPTION Perform an atomic adjustment of the PHC time by the specified number of nanoseconds. SEE AL...
ice_ptp_write_direct_incval_e830(9)
NAME ice_ptp_write_direct_incval_e830 - Prep PHY port increment value change SYNOPSIS void ice_ptp_write_direct_incval_e830 (const struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval The new 40bit increment value to prepare DESCRIPTION Prepare the PHY port for a new incre...
ice_ptp_write_direct_phc_time_e830(9)
NAME ice_ptp_write_direct_phc_time_e830 - Prepare PHY port with initial time SYNOPSIS void ice_ptp_write_direct_phc_time_e830 (const struct ice_hw *hw , u64 time ); ARGUMENTS hw Board private structure time Time to initialize the PHY port clock to DESCRIPTION Program the PHY port ETH_GLTSYN...
ice_ptp_write_incval(9)
NAME ice_ptp_write_incval - Program PHC with new increment value SYNOPSIS int ice_ptp_write_incval (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval Source timer increment value per clock cycle DESCRIPTION Program the PHC with a new increment value. This requires a th...
ice_ptp_write_incval_locked(9)
NAME ice_ptp_write_incval_locked - Program new incval while holding semaphore SYNOPSIS int ice_ptp_write_incval_locked (struct ice_hw *hw , u64 incval ); ARGUMENTS hw pointer to HW struct incval Source timer increment value per clock cycle DESCRIPTION Program a new PHC incval while holding the ...
ice_ptp_write_init(9)
NAME ice_ptp_write_init - Set PHC time to provided value SYNOPSIS int ice_ptp_write_init (struct ice_pf *pf , struct timespec64 *ts ); ARGUMENTS pf Board private structure ts timespec structure that holds the new time value DESCRIPTION Set the PHC time to the specified time provided in the ...
ice_ptp_write_perout(9)
NAME ice_ptp_write_perout - Write periodic wave parameters to HW SYNOPSIS int ice_ptp_write_perout (struct ice_hw *hw , unsigned int chan , unsigned int gpio_pin , u64 start , u64 period ); ARGUMENTS hw pointer to the HW struct chan target channel gpio_pin target GPIO pin st...
ice_ptp_write_port_cmd(9)
NAME ice_ptp_write_port_cmd - Prepare a single PHY port for a timer command SYNOPSIS int ice_ptp_write_port_cmd (struct ice_hw *hw , u8 port , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct port Port to which cmd has to be sent cmd Command to be sent to the port ...
ice_ptp_write_port_cmd_e82x(9)
NAME ice_ptp_write_port_cmd_e82x - Prepare a single PHY port for a timer command SYNOPSIS int ice_ptp_write_port_cmd_e82x (struct ice_hw *hw , u8 port , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct port Port to which cmd has to be sent cmd Command to be sent to...
ice_ptp_write_port_cmd_eth56g(9)
NAME ice_ptp_write_port_cmd_eth56g - Prepare a single PHY port for a timer command SYNOPSIS int ice_ptp_write_port_cmd_eth56g (struct ice_hw *hw , u8 port , enum ice_ptp_tmr_cmd cmd ); ARGUMENTS hw pointer to HW struct port Port to which cmd has to be sent cmd Command to be sen...
ice_ptype_mk_tcam_dump(9)
NAME ice_ptype_mk_tcam_dump - dump an ptype marker tcam info SYNOPSIS void ice_ptype_mk_tcam_dump (struct ice_hw *hw , struct ice_ptype_mk_tcam_item *item ); ARGUMENTS hw pointer to the hardware structure item ptype marker tcam to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_ptype_mk_tcam_match(9)
NAME ice_ptype_mk_tcam_match - match a pattern on a ptype marker tcam table SYNOPSIS struct ice_ptype_mk_tcam_item * ice_ptype_mk_tcam_match (struct ice_ptype_mk_tcam_item *table , u8 *pat , int len ); ARGUMENTS table ptype marker tcam table to search pat pattern to match len len...
ice_ptype_mk_tcam_table_get(9)
NAME ice_ptype_mk_tcam_table_get - create a ptype marker tcam table SYNOPSIS struct ice_ptype_mk_tcam_item * ice_ptype_mk_tcam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Marker PType TCAM table. SEE ALSO Kernel file ./drivers/net/etherne...
ice_put_vf(9)
NAME ice_put_vf - Release a reference to a VF SYNOPSIS void ice_put_vf (struct ice_vf *vf ); ARGUMENTS vf the VF structure to decrease reference count on DESCRIPTION Decrease the reference count for a VF, and free the entry if it is no longer in use. This must be called after ice_get_vf_by_id once the re...
ice_qp_clean_rings(9)
NAME ice_qp_clean_rings - Cleans all the rings of a given index SYNOPSIS void ice_qp_clean_rings (struct ice_vsi *vsi , u16 q_idx ); ARGUMENTS vsi VSI that contains rings of interest q_idx ring index in array SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_cont...
ice_qp_dis(9)
NAME ice_qp_dis - Disables a queue pair SYNOPSIS int ice_qp_dis (struct ice_vsi *vsi , u16 q_idx ); ARGUMENTS vsi VSI of interest q_idx ring index in array DESCRIPTION Returns 0 on success, negative on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_c...
ice_qp_ena(9)
NAME ice_qp_ena - Enables a queue pair SYNOPSIS int ice_qp_ena (struct ice_vsi *vsi , u16 q_idx ); ARGUMENTS vsi VSI of interest q_idx ring index in array DESCRIPTION Returns 0 on success, negative on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_co...
ice_qp_reset_stats(9)
NAME ice_qp_reset_stats - Resets all stats for rings of given index SYNOPSIS void ice_qp_reset_stats (struct ice_vsi *vsi , u16 q_idx ); ARGUMENTS vsi VSI that contains rings of interest q_idx ring index in array SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_g...
ice_query_port_ets(9)
NAME ice_query_port_ets - query port ETS configuration SYNOPSIS int ice_query_port_ets (struct ice_port_info *pi , struct ice_aqc_port_ets_elem *buf , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS pi port information structure buf pointer to buffer buf_size buffer size in bytes ...