Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/intel/ice/
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_setup_dcb_qos_info(struct ice_pf *pf,
37 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf,
58 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active()
64 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode()
70 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild()
103 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg()
[all …]
A Dice_ptp.h292 int ice_ptp_clock_index(struct ice_pf *pf);
293 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);
369 static inline void ice_ptp_rebuild(struct ice_pf *pf, in ice_ptp_rebuild()
[all …]
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 …]
A Dice.h261 struct ice_pf *pf;
547 struct ice_pf { struct
928 void ice_update_pf_stats(struct ice_pf *pf);
959 int ice_plug_aux_dev(struct ice_pf *pf);
960 void ice_unplug_aux_dev(struct ice_pf *pf);
961 int ice_init_rdma(struct ice_pf *pf);
962 void ice_deinit_rdma(struct ice_pf *pf);
1003 int ice_load(struct ice_pf *pf);
1004 void ice_unload(struct ice_pf *pf);
1006 int ice_init_dev(struct ice_pf *pf);
[all …]
A Dice_vf_lib.h24 struct ice_pf;
97 struct ice_pf *pf;
241 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
255 bool ice_has_vfs(struct ice_pf *pf);
256 u16 ice_get_num_vfs(struct ice_pf *pf);
261 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf);
270 void ice_reset_all_vfs(struct ice_pf *pf);
290 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs()
295 static inline u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs()
341 static inline void ice_reset_all_vfs(struct ice_pf *pf) in ice_reset_all_vfs()
[all …]
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);
69 static inline void ice_process_vflr_event(struct ice_pf *pf) { } in ice_process_vflr_event()
70 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs()
73 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events()
76 static inline void ice_restore_all_vfs_msi_state(struct ice_pf *pf) { } in ice_restore_all_vfs_msi_state()
[all …]
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 …]
A Dice_ptp.c57 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf()
385 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp()
437 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp()
561 struct ice_pf *pf; in ice_ptp_process_tx_tstamp()
1106 struct ice_pf *pf; in ice_ptp_check_tx_fifo()
1176 struct ice_pf *pf; in ice_ptp_wait_for_offsets()
2072 struct ice_pf *pf;
2094 struct ice_pf *pf; in ice_capture_crosststamp()
2210 struct ice_pf *pf = np->vsi->back; in ice_ptp_hwtstamp_get()
2282 struct ice_pf *pf = np->vsi->back; in ice_ptp_hwtstamp_set()
[all …]
A Dice_lib.h23 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 …]
A Dice_eswitch.c20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env()
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()
432 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) in ice_eswitch_stop_all_tx_queues()
444 static void ice_eswitch_stop_reprs(struct ice_pf *pf) in ice_eswitch_stop_reprs()
[all …]
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);
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 …]
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);
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()
A Dice_sriov.c50 struct ice_pf *pf = vf->pf; in ice_free_vf_res()
91 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings()
131 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs()
200 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup()
234 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings()
440 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res()
552 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register()
567 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register()
614 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status()
1744 struct ice_pf *pf = vf->pf; in ice_print_vf_rx_mdd_event()
[all …]
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()
A Dice_dpll.h39 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()
A Dice_idc.c38 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()
346 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev()
365 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma()
[all …]
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()
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()
A Dice_debugfs.c131 struct ice_pf *pf; in ice_debugfs_module_show()
228 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_read()
249 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_write()
303 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_read()
325 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_write()
398 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_read()
420 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_write()
487 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_read()
536 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_write()
584 void ice_debugfs_fwlog_init(struct ice_pf *pf) in ice_debugfs_fwlog_init()
[all …]
/drivers/net/ethernet/intel/ice/devlink/
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 …]
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);
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()
1357 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_set()
1385 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_validate()
1407 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_iw_get()
[all …]
A Dhealth.c158 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_diagnose()
168 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_port_reporter_dump()
178 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_diagnose()
188 struct ice_pf *pf = devlink_health_reporter_priv(reporter); in ice_fw_reporter_dump()
194 static void ice_config_health_events(struct ice_pf *pf, bool enable) in ice_config_health_events()
418 void ice_prep_tx_hang_report(struct ice_pf *pf, struct ice_tx_ring *tx_ring, in ice_prep_tx_hang_report()
429 void ice_report_tx_hang(struct ice_pf *pf) in ice_report_tx_hang()
448 ice_init_devlink_rep(struct ice_pf *pf, in ice_init_devlink_rep()
493 void ice_health_init(struct ice_pf *pf) in ice_health_init()
523 void ice_health_deinit(struct ice_pf *pf) in ice_health_deinit()
[all …]

Completed in 59 milliseconds

123