/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.h | 17 void ice_dcb_rebuild(struct ice_pf *pf); 18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked); 21 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue); 24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked); 25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg); 26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked); 28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked); 29 void ice_update_dcb_stats(struct ice_pf *pf); 34 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, 55 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active() [all …]
|
D | ice_ptp.h | 276 container_of(__ptp_port_to_ptp((p)), struct ice_pf, ptp) 281 container_of(__ptp_info_to_ptp((i)), struct ice_pf, ptp) 315 int ice_ptp_clock_index(struct ice_pf *pf); 316 struct ice_pf; 317 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr); 318 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr); 319 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf); 321 void ice_ptp_extts_event(struct ice_pf *pf); 325 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf); 329 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); [all …]
|
D | ice_eswitch.h | 11 void ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf); 12 void ice_eswitch_detach_sf(struct ice_pf *pf, struct ice_dynamic_port *sf); 13 int ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf); 14 int ice_eswitch_attach_sf(struct ice_pf *pf, struct ice_dynamic_port *sf); 20 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf); 24 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf); 37 ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf) { } in ice_eswitch_detach_vf() 40 ice_eswitch_detach_sf(struct ice_pf *pf, struct ice_dynamic_port *sf) { } in ice_eswitch_detach_sf() 43 ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_attach_vf() 49 ice_eswitch_attach_sf(struct ice_pf *pf, struct ice_dynamic_port *sf) in ice_eswitch_attach_sf() [all …]
|
D | ice_sriov.h | 29 void ice_process_vflr_event(struct ice_pf *pf); 31 int __ice_set_vf_mac(struct ice_pf *pf, u16 vf_id, const u8 *mac); 36 void ice_free_vfs(struct ice_pf *pf); 37 void ice_restore_all_vfs_msi_state(struct ice_pf *pf); 59 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event); 60 void ice_print_vfs_mdd_events(struct ice_pf *pf); 68 static inline void ice_process_vflr_event(struct ice_pf *pf) { } in ice_process_vflr_event() 69 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs() 71 void ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_vf_lan_overflow_event() 72 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events() [all …]
|
D | ice_vf_lib.h | 24 struct ice_pf; 90 struct ice_pf *pf; 218 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id); 220 bool ice_has_vfs(struct ice_pf *pf); 221 u16 ice_get_num_vfs(struct ice_pf *pf); 226 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf); 235 void ice_reset_all_vfs(struct ice_pf *pf); 236 struct ice_vsi *ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi); 238 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id() 247 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs() [all …]
|
D | ice.h | 264 struct ice_pf *pf; 334 struct ice_pf *back; /* back pointer to PF */ 548 struct ice_pf { struct 706 static inline bool ice_ptp_pf_handles_tx_interrupt(struct ice_pf *pf) in ice_ptp_pf_handles_tx_interrupt() 722 ((struct ice_pf *)hw->back)->oicr_irq.index; in ice_irq_dynamic_ena() 741 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() 822 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi() 847 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi() 861 static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() 878 static inline bool ice_is_switchdev_running(struct ice_pf *pf) in ice_is_switchdev_running() [all …]
|
D | ice_lib.h | 16 bool ice_pf_state_is_nominal(struct ice_pf *pf); 45 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params); 63 struct ice_vsi *ice_vsi_alloc(struct ice_pf *pf); 67 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 93 bool ice_is_safe_mode(struct ice_pf *pf); 94 bool ice_is_rdma_ena(struct ice_pf *pf); 118 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f); 119 void ice_set_feature_support(struct ice_pf *pf, enum ice_feature f); 120 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f); 121 void ice_init_feature_support(struct ice_pf *pf);
|
D | ice_ptp.c | 190 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() 263 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt() 300 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 325 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode() 344 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode() 368 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg() 493 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 535 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp() 577 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp() 687 struct ice_pf *pf; in ice_ptp_process_tx_tstamp() [all …]
|
D | ice_eswitch.c | 20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 94 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() 114 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() 183 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() 271 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 294 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev() 329 static void ice_eswitch_disable_switchdev(struct ice_pf *pf) in ice_eswitch_disable_switchdev() 347 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() 395 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() 408 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() [all …]
|
D | ice_irq.h | 18 int ice_init_interrupt_scheme(struct ice_pf *pf); 19 void ice_clear_interrupt_scheme(struct ice_pf *pf); 21 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only); 22 void ice_free_irq(struct ice_pf *pf, struct msi_map map); 23 int ice_get_max_used_msix_vector(struct ice_pf *pf);
|
D | ice_lag.h | 24 struct ice_pf; 34 struct ice_pf *pf; /* backlink to PF struct */ 68 int ice_init_lag(struct ice_pf *pf); 69 void ice_deinit_lag(struct ice_pf *pf); 70 void ice_lag_rebuild(struct ice_pf *pf); 71 bool ice_lag_is_switchdev_running(struct ice_pf *pf);
|
D | ice_gnss.h | 32 struct ice_pf *back; 38 void ice_gnss_init(struct ice_pf *pf); 39 void ice_gnss_exit(struct ice_pf *pf); 42 static inline void ice_gnss_init(struct ice_pf *pf) { } in ice_gnss_init() 43 static inline void ice_gnss_exit(struct ice_pf *pf) { } in ice_gnss_exit()
|
D | ice_dpll.h | 25 struct ice_pf *pf; 55 struct ice_pf *pf; 107 void ice_dpll_init(struct ice_pf *pf); 108 void ice_dpll_deinit(struct ice_pf *pf); 110 static inline void ice_dpll_init(struct ice_pf *pf) { } in ice_dpll_init() 111 static inline void ice_dpll_deinit(struct ice_pf *pf) { } in ice_dpll_deinit()
|
D | ice_arfs.h | 50 void ice_sync_arfs_fltrs(struct ice_pf *pf); 52 void ice_remove_arfs(struct ice_pf *pf); 53 void ice_rebuild_arfs(struct ice_pf *pf); 61 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } in ice_sync_arfs_fltrs() 62 static inline void ice_remove_arfs(struct ice_pf *pf) { } in ice_remove_arfs() 63 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } in ice_rebuild_arfs()
|
D | ice_idc.c | 18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() 35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() 60 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 115 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 144 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset() 176 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 208 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 235 static int ice_alloc_rdma_qvectors(struct ice_pf *pf) in ice_alloc_rdma_qvectors() 268 static void ice_free_rdma_qvector(struct ice_pf *pf) in ice_free_rdma_qvector() 303 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() [all …]
|
D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() 27 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() 37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() 56 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, bool dyn_only) in ice_get_irq_res() 96 static void ice_reduce_msix_usage(struct ice_pf *pf, int v_remain) in ice_reduce_msix_usage() 137 static int ice_ena_msix_range(struct ice_pf *pf) in ice_ena_msix_range() 242 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 252 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 294 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only) in ice_alloc_irq() 335 void ice_free_irq(struct ice_pf *pf, struct msi_map map) in ice_free_irq() [all …]
|
D | ice_hwmon.h | 8 void ice_hwmon_init(struct ice_pf *pf); 9 void ice_hwmon_exit(struct ice_pf *pf); 11 static inline void ice_hwmon_init(struct ice_pf *pf) { } in ice_hwmon_init() 12 static inline void ice_hwmon_exit(struct ice_pf *pf) { } in ice_hwmon_exit()
|
D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() 35 struct ice_pf *pf; in ice_dcbnl_getets() 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() 134 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() 308 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() [all …]
|
D | ice_sriov.c | 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() 49 struct ice_pf *pf = vf->pf; in ice_free_vf_res() 89 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() 134 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res() 150 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 224 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() 258 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() 388 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res() 429 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res() 517 static int ice_sriov_get_irqs(struct ice_pf *pf, u16 needed) in ice_sriov_get_irqs() [all …]
|
D | ice_gnss.c | 20 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write() 91 struct ice_pf *pf; in ice_gnss_read() 171 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf) in ice_gnss_struct_init() 208 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_open() 234 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close() 261 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write() 297 static int ice_gnss_register(struct ice_pf *pf) in ice_gnss_register() 331 static void ice_gnss_deregister(struct ice_pf *pf) in ice_gnss_deregister() 344 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init() 366 void ice_gnss_exit(struct ice_pf *pf) in ice_gnss_exit()
|
D | ice_dpll.c | 50 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() 75 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() 135 struct ice_pf *pf = d->pf; in ice_dpll_frequency_set() 223 struct ice_pf *pf = d->pf; in ice_dpll_frequency_get() 394 ice_dpll_pin_state_update(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_state_update() 511 ice_dpll_hw_input_prio_set(struct ice_pf *pf, struct ice_dpll *dpll, in ice_dpll_hw_input_prio_set() 553 struct ice_pf *pf = d->pf; in ice_dpll_lock_status_get() 581 struct ice_pf *pf = d->pf; in ice_dpll_mode_get() 615 struct ice_pf *pf = d->pf; in ice_dpll_pin_state_set() 723 struct ice_pf *pf = d->pf; in ice_dpll_pin_state_get() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/ |
D | devlink.h | 7 struct ice_pf *ice_allocate_pf(struct device *dev); 8 struct ice_sf_priv *ice_allocate_sf(struct device *dev, struct ice_pf *pf); 10 void ice_devlink_register(struct ice_pf *pf); 11 void ice_devlink_unregister(struct ice_pf *pf); 12 int ice_devlink_register_params(struct ice_pf *pf); 13 void ice_devlink_unregister_params(struct ice_pf *pf); 14 int ice_devlink_create_pf_port(struct ice_pf *pf); 15 void ice_devlink_destroy_pf_port(struct ice_pf *pf); 19 void ice_devlink_init_regions(struct ice_pf *pf); 20 void ice_devlink_destroy_regions(struct ice_pf *pf); [all …]
|
D | devlink.c | 34 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 44 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 56 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 64 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 72 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 79 static void ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 88 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, in ice_info_pending_orom_ver() 98 static void ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 106 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, in ice_info_pending_nvm_ver() 116 static void ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_eetrack() [all …]
|
D | devlink_port.h | 29 struct ice_pf *pf; 39 void ice_dealloc_all_dynamic_ports(struct ice_pf *pf); 41 int ice_devlink_create_pf_port(struct ice_pf *pf); 42 void ice_devlink_destroy_pf_port(struct ice_pf *pf);
|
/linux-6.12.1/include/linux/net/intel/ |
D | iidc.h | 74 struct ice_pf; 76 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 77 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 78 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type); 79 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable); 80 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos); 89 struct ice_pf *pf; 104 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);
|