| /linux/drivers/net/ethernet/intel/ice/ |
| H A 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_setup_dcb_qos_info(struct ice_pf *pf, 37 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, [all …]
|
| H A D | ice.h | 267 struct ice_pf *pf; 337 struct ice_pf *back; /* back pointer to PF */ 556 struct ice_pf { struct 707 static inline bool ice_ptp_pf_handles_tx_interrupt(struct ice_pf *pf) in ice_ptp_pf_handles_tx_interrupt() 723 ((struct ice_pf *)hw->back)->oicr_irq.index; in ice_irq_dynamic_ena() 742 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() 768 struct ice_pf *pf = vsi->back; in ice_is_txtime_ena() 848 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi() 873 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi() 887 static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() [all …]
|
| H A D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() 24 ice_init_virt_irq_tracker(struct ice_pf *pf, u32 base, u32 num_entries) in ice_init_virt_irq_tracker() 40 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() 45 static void ice_deinit_virt_irq_tracker(struct ice_pf *pf) in ice_deinit_virt_irq_tracker() 55 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() 74 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, in ice_get_irq_res() 107 static int ice_get_default_msix_amount(struct ice_pf *pf) in ice_get_default_msix_amount() 118 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 129 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 182 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_allowed) in ice_alloc_irq() [all …]
|
| H A D | ice_lib.h | 23 bool ice_pf_state_is_nominal(struct ice_pf *pf); 40 void ice_cfg_sw_rx_lldp(struct ice_pf *pf, bool enable); 53 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params); 71 struct ice_vsi *ice_vsi_alloc(struct ice_pf *pf); 75 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 99 bool ice_is_safe_mode(struct ice_pf *pf); 100 bool ice_is_rdma_ena(struct ice_pf *pf); 121 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f); 122 void ice_set_feature_support(struct ice_pf *pf, enum ice_feature f); 123 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f); [all …]
|
| H A D | ice_irq.h | 28 int ice_init_interrupt_scheme(struct ice_pf *pf); 29 void ice_clear_interrupt_scheme(struct ice_pf *pf); 31 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only); 32 void ice_free_irq(struct ice_pf *pf, struct msi_map map); 34 int ice_virt_get_irqs(struct ice_pf *pf, u32 needed); 35 void ice_virt_free_irqs(struct ice_pf *pf, u32 index, u32 irqs);
|
| H A D | ice_eswitch.c | 20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 89 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() 109 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() 178 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() 270 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 293 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev() 328 static void ice_eswitch_disable_switchdev(struct ice_pf *pf) in ice_eswitch_disable_switchdev() 346 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() 394 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() 407 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() [all …]
|
| H A 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()
|
| H A D | ice_arfs.h | 49 void ice_sync_arfs_fltrs(struct ice_pf *pf); 51 void ice_remove_arfs(struct ice_pf *pf); 52 void ice_rebuild_arfs(struct ice_pf *pf); 59 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } in ice_sync_arfs_fltrs() 60 static inline void ice_remove_arfs(struct ice_pf *pf) { } in ice_remove_arfs() 61 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } in ice_rebuild_arfs()
|
| H A D | ice_dpll.h | 39 struct ice_pf *pf; 78 struct ice_pf *pf; 138 void ice_dpll_init(struct ice_pf *pf); 139 void ice_dpll_deinit(struct ice_pf *pf); 141 static inline void ice_dpll_init(struct ice_pf *pf) { } in ice_dpll_init() 142 static inline void ice_dpll_deinit(struct ice_pf *pf) { } in ice_dpll_deinit()
|
| H A 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()
|
| H A 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 …]
|
| H A D | ice_idc.c | 38 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_rdma_event *event) in ice_send_event_to_aux() 76 struct ice_pf *pf; in ice_add_rdma_qset() 133 struct ice_pf *pf; in ice_del_rdma_qset() 165 struct ice_pf *pf; in ice_rdma_request_reset() 199 struct ice_pf *pf; in ice_rdma_update_vsi_filter() 236 struct ice_pf *pf; in ice_alloc_rdma_qvector() 262 struct ice_pf *pf; in ice_free_rdma_qvector() 294 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() 347 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() 367 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma() [all …]
|
| H A 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()
|
| H A D | ice_dpll.c | 98 static bool ice_dpll_is_sw_pin(struct ice_pf *pf, u8 index, bool input) in ice_dpll_is_sw_pin() 123 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() 148 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() 208 struct ice_pf *pf = d->pf; in ice_dpll_frequency_set() 296 struct ice_pf *pf = d->pf; in ice_dpll_frequency_get() 544 ice_dpll_sw_pins_update(struct ice_pf *pf) in ice_dpll_sw_pins_update() 609 ice_dpll_pin_state_update(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_state_update() 731 ice_dpll_hw_input_prio_set(struct ice_pf *pf, struct ice_dpll *dpll, in ice_dpll_hw_input_prio_set() 773 struct ice_pf *pf = d->pf; in ice_dpll_lock_status_get() 801 struct ice_pf *pf = d->pf; in ice_dpll_mode_get() [all …]
|
| H A D | ice_hwmon.c | 23 struct ice_pf *pf = dev_get_drvdata(dev); in ice_hwmon_read() 88 static bool ice_is_internal_reading_supported(struct ice_pf *pf) in ice_is_internal_reading_supported() 102 void ice_hwmon_init(struct ice_pf *pf) in ice_hwmon_init() 121 void ice_hwmon_exit(struct ice_pf *pf) in ice_hwmon_exit()
|
| H A D | ice_main.c | 69 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() 79 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 81 static void ice_vsi_release_all(struct ice_pf *pf); 83 static int ice_rebuild_channels(struct ice_pf *pf); 119 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 187 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 332 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() 489 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 512 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 536 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() [all …]
|
| H A D | ice_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 160 static u16 ice_get_rxq_count(struct ice_pf *pf) in ice_get_rxq_count() 165 static u16 ice_get_txq_count(struct ice_pf *pf) in ice_get_txq_count() 179 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() 286 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw() 315 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() 340 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats() 381 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats() 446 struct ice_pf *pf = NULL; in ice_vsi_free() 523 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_stat_arrays() [all …]
|
| H A D | ice_eswitch_br.h | 70 struct ice_pf *pf; 117 ice_eswitch_br_offloads_deinit(struct ice_pf *pf); 119 ice_eswitch_br_offloads_init(struct ice_pf *pf);
|
| H A D | ice_idc_int.h | 10 struct ice_pf; 12 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_rdma_event *event);
|
| H A D | ice_dcb_nl.h | 11 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, 17 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps()
|
| H A D | ice_adapter.h | 12 struct ice_pf; 45 struct ice_pf *ctrl_pf;
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | 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);
|
| H A D | port.c | 51 static void ice_devlink_port_options_print(struct ice_pf *pf) in ice_devlink_port_options_print() 126 ice_devlink_aq_set_port_option(struct ice_pf *pf, u8 option_idx, in ice_devlink_aq_set_port_option() 187 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_port_split() 269 ice_devlink_set_port_split_options(struct ice_pf *pf, in ice_devlink_set_port_split_options() 305 ice_devlink_set_switch_id(struct ice_pf *pf, struct netdev_phys_item_id *ppid) in ice_devlink_set_switch_id() 325 int ice_devlink_create_pf_port(struct ice_pf *pf) in ice_devlink_create_pf_port() 375 void ice_devlink_destroy_pf_port(struct ice_pf *pf) in ice_devlink_destroy_pf_port() 421 struct ice_pf *pf; in ice_devlink_port_set_vf_fn_mac() 451 struct ice_pf *pf; in ice_devlink_create_vf_port() 587 struct ice_pf *pf = dyn_port->pf; in ice_dealloc_dynamic_port() [all …]
|