Home
last modified time | relevance | path

Searched refs:ice_pf (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ptp.h295 int ice_ptp_clock_index(struct ice_pf *pf);
296 struct ice_pf;
299 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf);
301 void ice_ptp_extts_event(struct ice_pf *pf);
306 irqreturn_t ice_ptp_ts_irq(struct ice_pf *pf);
307 u64 ice_ptp_read_src_clk_reg(struct ice_pf *pf,
313 void ice_ptp_prepare_for_reset(struct ice_pf *pf,
315 void ice_ptp_init(struct ice_pf *pf);
316 void ice_ptp_release(struct ice_pf *pf);
365 static inline void ice_ptp_rebuild(struct ice_pf *pf, in ice_ptp_rebuild()
[all …]
H A Dice_dcb_lib.h17 void ice_dcb_rebuild(struct ice_pf *pf);
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()
61 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode()
67 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild()
100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg()
120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q()
[all …]
H A Dice_eswitch.h11 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()
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()
54 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues()
[all …]
H A Dice_sriov.h29 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()
72 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events()
75 static inline void ice_restore_all_vfs_msi_state(struct ice_pf *pf) { } in ice_restore_all_vfs_msi_state()
[all …]
H A Dice_vf_lib.h24 struct ice_pf;
97 struct ice_pf *pf;
229 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
231 bool ice_has_vfs(struct ice_pf *pf);
232 u16 ice_get_num_vfs(struct ice_pf *pf);
237 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf);
246 void ice_reset_all_vfs(struct ice_pf *pf);
258 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs()
263 static inline u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs()
309 static inline void ice_reset_all_vfs(struct ice_pf *pf) in ice_reset_all_vfs()
[all …]
H A Dice.h262 struct ice_pf *pf;
548 struct ice_pf { struct
931 void ice_update_pf_stats(struct ice_pf *pf);
962 int ice_plug_aux_dev(struct ice_pf *pf);
963 void ice_unplug_aux_dev(struct ice_pf *pf);
964 int ice_init_rdma(struct ice_pf *pf);
965 void ice_deinit_rdma(struct ice_pf *pf);
1007 int ice_load(struct ice_pf *pf);
1008 void ice_unload(struct ice_pf *pf);
1010 int ice_init_dev(struct ice_pf *pf);
[all …]
H A Dice_irq.c15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_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()
218 void ice_free_irq(struct ice_pf *pf, struct msi_map map) in ice_free_irq()
250 int ice_virt_get_irqs(struct ice_pf *pf, u32 needed) in ice_virt_get_irqs()
[all …]
H A Dice_irq.h28 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 Dice_lib.h16 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);
91 bool ice_is_safe_mode(struct ice_pf *pf);
92 bool ice_is_rdma_ena(struct ice_pf *pf);
113 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f);
114 void ice_set_feature_support(struct ice_pf *pf, enum ice_feature f);
115 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f);
116 void ice_init_feature_support(struct ice_pf *pf);
H A Dice_eswitch.c20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env()
177 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr()
265 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env()
287 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev()
322 static void ice_eswitch_disable_switchdev(struct ice_pf *pf) in ice_eswitch_disable_switchdev()
340 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set()
388 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get()
401 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev()
426 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) in ice_eswitch_stop_all_tx_queues()
438 static void ice_eswitch_stop_reprs(struct ice_pf *pf) in ice_eswitch_stop_reprs()
[all …]
H A Dice_lag.h24 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);
H A Dice_ptp.c60 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf()
67 struct ice_pf *ctrl_pf = ice_get_ctrl_pf(pf); in ice_get_ctrl_ptp()
480 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp()
532 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp()
656 struct ice_pf *pf; in ice_ptp_process_tx_tstamp()
1201 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1271 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
2243 struct ice_pf *pf;
2265 struct ice_pf *pf; in ice_capture_crosststamp()
2973 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work()
[all …]
H A Dice_gnss.h32 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 Dice_dpll.h25 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()
H A Dice_arfs.h49 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 Dice_idc.c18 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()
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()
231 int ice_alloc_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry) in ice_alloc_rdma_qvector()
250 void ice_free_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry) in ice_free_rdma_qvector()
276 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev()
322 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev()
341 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma()
[all …]
H A Dice_hwmon.h8 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 Dice_dcb_nl.c16 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()
1044 struct ice_pf *pf; in ice_dcbnl_set_all()
[all …]
H A Dice_sriov.c50 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
90 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings()
130 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
199 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup()
233 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings()
439 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res()
551 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register()
566 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register()
613 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status()
1743 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event()
[all …]
H A Dice_gnss.c20 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()
/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.h7 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 Dhealth.h17 struct ice_pf;
58 void ice_process_health_status_event(struct ice_pf *pf,
61 void ice_health_init(struct ice_pf *pf);
62 void ice_health_deinit(struct ice_pf *pf);
63 void ice_health_clear(struct ice_pf *pf);
65 void ice_prep_tx_hang_report(struct ice_pf *pf, struct ice_tx_ring *tx_ring,
67 void ice_report_mdd_event(struct ice_pf *pf, enum ice_mdd_src src, u8 pf_num,
69 void ice_report_tx_hang(struct ice_pf *pf);
H A Ddevlink.c275 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_info_get()
479 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_down()
618 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_get()
641 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_tx_sched_layers_set()
810 struct ice_pf *pf = vsi->back; in ice_devlink_rate_init_tx_topology()
1290 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_up()
1341 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_get()
1352 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_set()
1375 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_validate()
1392 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_iw_get()
[all …]
H A Dport.h29 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.15/include/linux/net/intel/
H A Diidc.h74 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);
81 int ice_alloc_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry);
82 void ice_free_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry);
91 struct ice_pf *pf;
106 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);

123