/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 38 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local 76 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local 109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local 157 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc() local 196 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp() local 248 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp() local 310 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate() local 326 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate() local 370 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx() local 405 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx() local [all …]
|
H A D | i40e_ptp.c | 152 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local 196 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins() 225 static void i40_ptp_reset_timing_events(struct i40e_pf *pf) in i40_ptp_reset_timing_events() 281 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read() 308 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() 349 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfine() local 370 static void i40e_ptp_set_1pps_signal_hw(struct i40e_pf *pf) in i40e_ptp_set_1pps_signal_hw() 404 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local 452 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex() local 472 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime() local [all …]
|
H A D | i40e_client.c | 84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 110 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local 146 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 169 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local 195 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset() 220 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable() 247 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable() 269 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info() 336 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance() 392 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance() [all …]
|
H A D | i40e_main.c | 137 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_hw_to_dev() local 152 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_allocate_dma_mem() local 170 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_free_dma_mem() local 222 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump() 311 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id() 328 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 349 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 552 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 723 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 788 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local [all …]
|
H A D | i40e_virtchnl_pf.c | 20 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() 113 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 133 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state() 147 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset() 221 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf() local 262 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id() local 279 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id() local 294 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id() local 312 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id() local 374 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list() local [all …]
|
H A D | i40e_debugfs.c | 25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() 44 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() 73 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read() local 117 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() 495 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc() 544 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc() 656 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid() 671 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats() 697 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid() 718 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all() [all …]
|
H A D | i40e_ethtool.c | 477 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint() 489 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool() 771 struct i40e_pf *pf) in i40e_get_settings_link_up() 1045 struct i40e_pf *pf) in i40e_get_settings_link_down() 1068 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() local 1225 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() local 1487 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg() local 1549 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param() local 1591 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param() local 1635 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() local 263 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp() 296 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 324 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp() 344 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index() 390 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index() 430 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index() 462 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg() 586 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 670 struct ice_pf *pf; in ice_ptp_process_tx_tstamp() local [all …]
|
H A D | ice_eswitch.c | 22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule() 79 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 145 static void ice_eswitch_remap_rings_to_vectors(struct ice_pf *pf) in ice_eswitch_remap_rings_to_vectors() 195 ice_eswitch_release_reprs(struct ice_pf *pf, struct ice_vsi *ctrl_vsi) in ice_eswitch_release_reprs() 224 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs() 304 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local 391 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 415 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_eswitch_vsi_setup() 430 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del() 445 static void ice_eswitch_napi_enable(struct ice_pf *pf) in ice_eswitch_napi_enable() [all …]
|
H A D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() local 35 struct ice_pf *pf; in ice_dcbnl_getets() local 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() local 134 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() local 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() local 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() local 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() local 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() local 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() local 308 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() local [all …]
|
H A 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 …]
|
H A D | ice_sriov.c | 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() argument 49 struct ice_pf *pf = vf->pf; ice_free_vf_res() local 89 struct ice_pf *pf = vf->pf; ice_dis_vf_mappings() local 136 ice_sriov_free_msix_res(struct ice_pf * pf) ice_sriov_free_msix_res() argument 150 ice_free_vfs(struct ice_pf * pf) ice_free_vfs() argument 225 struct ice_pf *pf = vf->pf; ice_vf_vsi_setup() local 259 ice_calc_vf_first_vector_idx(struct ice_pf * pf,struct ice_vf * vf) ice_calc_vf_first_vector_idx() argument 276 struct ice_pf *pf = vf->pf; ice_ena_vf_msix_mappings() local 391 struct ice_pf *pf; ice_calc_vf_reg_idx() local 418 ice_sriov_set_msix_res(struct ice_pf * pf,u16 num_msix_needed) ice_sriov_set_msix_res() argument 459 ice_set_per_vf_res(struct ice_pf * pf,u16 num_vfs) ice_set_per_vf_res() argument 538 struct ice_pf *pf = vf->pf; ice_init_vf_vsi_res() local 563 ice_start_vfs(struct ice_pf * pf) ice_start_vfs() argument 640 struct ice_pf *pf = vf->pf; ice_sriov_clear_mbx_register() local 655 struct ice_pf *pf = vf->pf; ice_sriov_trigger_reset_register() local 702 struct ice_pf *pf = vf->pf; ice_sriov_poll_reset_status() local 790 ice_create_vf_entries(struct ice_pf * pf,u16 num_vfs) ice_create_vf_entries() argument 832 ice_ena_vfs(struct ice_pf * pf,u16 num_vfs) ice_ena_vfs() argument 906 ice_pci_sriov_ena(struct ice_pf * pf,int num_vfs) ice_pci_sriov_ena() argument 937 ice_check_sriov_allowed(struct ice_pf * pf) ice_check_sriov_allowed() argument 970 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_configure() local 1002 ice_process_vflr_event(struct ice_pf * pf) ice_process_vflr_event() argument 1040 ice_get_vf_from_pfq(struct ice_pf * pf,u16 pfq) ice_get_vf_from_pfq() argument 1076 ice_globalq_to_pfq(struct ice_pf * pf,u32 globalq) ice_globalq_to_pfq() argument 1091 ice_vf_lan_overflow_event(struct ice_pf * pf,struct ice_rq_event_info * event) ice_vf_lan_overflow_event() argument 1122 struct ice_pf *pf = np->vsi->back; ice_set_vf_spoofchk() local 1182 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_cfg() local 1229 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_mac() local 1290 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_trust() local 1337 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_link_state() local 1377 ice_calc_all_vfs_min_tx_rate(struct ice_pf * pf) ice_calc_all_vfs_min_tx_rate() argument 1441 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_bw() local 1510 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_stats() local 1592 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_port_vlan() local 1653 struct ice_pf *pf = vf->pf; ice_print_vf_rx_mdd_event() local 1671 ice_print_vfs_mdd_events(struct ice_pf * pf) ice_print_vfs_mdd_events() argument [all...] |
H A D | ice_main.c | 62 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 112 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 180 ice_init_mac_fltr(struct ice_pf * pf) ice_init_mac_fltr() argument 325 struct ice_pf *pf = vsi->back; ice_vsi_sync_fltr() local 482 ice_sync_fltr_subtask(struct ice_pf * pf) ice_sync_fltr_subtask() argument 505 ice_pf_dis_all_vsi(struct ice_pf * pf,bool locked) ice_pf_dis_all_vsi() argument 529 ice_prepare_for_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_prepare_for_reset() argument 622 ice_do_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_do_reset() argument 667 ice_reset_subtask(struct ice_pf * pf) ice_reset_subtask() argument 937 ice_set_dflt_mib(struct ice_pf * pf) ice_set_dflt_mib() argument 1021 ice_check_phy_fw_load(struct ice_pf * pf,u8 link_cfg_err) ice_check_phy_fw_load() argument 1045 ice_check_module_power(struct ice_pf * pf,u8 link_cfg_err) ice_check_module_power() argument 1077 ice_check_link_cfg_err(struct ice_pf * pf,u8 link_cfg_err) ice_check_link_cfg_err() argument 1093 ice_link_event(struct ice_pf * pf,struct ice_port_info * pi,bool link_up,u16 link_speed) ice_link_event() argument 1162 ice_watchdog_subtask(struct ice_pf * pf) ice_watchdog_subtask() argument 1222 ice_handle_link_event(struct ice_pf * pf,struct ice_rq_event_info * event) ice_handle_link_event() argument 1259 ice_aq_prep_for_event(struct ice_pf * pf,struct ice_aq_task * task,u16 opcode) ice_aq_prep_for_event() argument 1283 ice_aq_wait_for_event(struct ice_pf * pf,struct ice_aq_task * task,unsigned long timeout) ice_aq_wait_for_event() argument 1345 ice_aq_check_events(struct ice_pf * pf,u16 opcode,struct ice_rq_event_info * event) ice_aq_check_events() argument 1386 ice_aq_cancel_waiting_tasks(struct ice_pf * pf) ice_aq_cancel_waiting_tasks() argument 1405 __ice_clean_ctrlq(struct ice_pf * pf,enum ice_ctl_q q_type) __ice_clean_ctrlq() argument 1561 ice_clean_adminq_subtask(struct ice_pf * pf) ice_clean_adminq_subtask() argument 1588 ice_clean_mailboxq_subtask(struct ice_pf * pf) ice_clean_mailboxq_subtask() argument 1610 ice_clean_sbq_subtask(struct ice_pf * pf) ice_clean_sbq_subtask() argument 1640 ice_service_task_schedule(struct ice_pf * pf) ice_service_task_schedule() argument 1652 ice_service_task_complete(struct ice_pf * pf) ice_service_task_complete() argument 1668 ice_service_task_stop(struct ice_pf * pf) ice_service_task_stop() argument 1689 ice_service_task_restart(struct ice_pf * pf) ice_service_task_restart() argument 1701 struct ice_pf *pf = from_timer(pf, t, serv_tmr); ice_service_timer() local 1717 ice_handle_mdd_event(struct ice_pf * pf) ice_handle_mdd_event() argument 1954 struct ice_pf *pf = pi->hw->back; ice_init_nvm_phy_type() local 1986 struct ice_pf *pf = pi->hw->back; ice_init_link_dflt_override() local 2024 struct ice_pf *pf = pi->hw->back; ice_init_phy_cfg_dflt_override() local 2063 struct ice_pf *pf = pi->hw->back; ice_init_phy_user_cfg() local 2133 struct ice_pf *pf = vsi->back; ice_configure_phy() local 2250 ice_check_media_subtask(struct ice_pf * pf) ice_check_media_subtask() argument 2299 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); ice_service_task() local 2409 ice_schedule_reset(struct ice_pf * pf,enum ice_reset_req reset) ice_schedule_reset() argument 2494 struct ice_pf *pf = vsi->back; ice_vsi_req_irq_msix() local 2658 struct ice_pf *pf = vsi->back; ice_prepare_xdp_rings() local 2790 struct ice_pf *pf = vsi->back; ice_destroy_xdp_rings() local 3033 ice_ena_misc_vector(struct ice_pf * pf) ice_ena_misc_vector() argument 3073 struct ice_pf *pf = (struct ice_pf *)data; ice_misc_intr() local 3206 struct ice_pf *pf = data; ice_misc_intr_thread_fn() local 3262 ice_free_irq_msix_misc(struct ice_pf * pf) ice_free_irq_msix_misc() argument 3318 ice_req_irq_msix_misc(struct ice_pf * pf) ice_req_irq_msix_misc() argument 3392 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_ops() local 3419 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_netdev_features() local 3526 ice_pf_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_pf_vsi_setup() argument 3538 ice_chnl_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi,struct ice_channel * ch) ice_chnl_vsi_setup() argument 3560 ice_ctrl_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_ctrl_vsi_setup() argument 3580 ice_lb_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_lb_vsi_setup() argument 3790 ice_get_avail_txq_count(struct ice_pf * pf) ice_get_avail_txq_count() argument 3800 ice_get_avail_rxq_count(struct ice_pf * pf) ice_get_avail_rxq_count() argument 3810 ice_deinit_pf(struct ice_pf * pf) ice_deinit_pf() argument 3838 ice_set_pf_caps(struct ice_pf * pf) ice_set_pf_caps() argument 3887 ice_init_pf(struct ice_pf * pf) ice_init_pf() argument 3960 struct ice_pf *pf = vsi->back; ice_vsi_recfg_qs() local 4018 ice_set_safe_mode_vlan_cfg(struct ice_pf * pf) ice_set_safe_mode_vlan_cfg() argument 4071 struct ice_pf *pf = hw->back; ice_log_pkg_init() local 4154 ice_load_pkg(const struct firmware * firmware,struct ice_pf * pf) ice_load_pkg() argument 4193 ice_verify_cacheline_size(struct ice_pf * pf) ice_verify_cacheline_size() argument 4206 ice_send_version(struct ice_pf * pf) ice_send_version() argument 4225 ice_init_fdir(struct ice_pf * pf) ice_init_fdir() argument 4266 ice_deinit_fdir(struct ice_pf * pf) ice_deinit_fdir() argument 4287 ice_get_opt_fw_name(struct ice_pf * pf) ice_get_opt_fw_name() argument 4317 ice_request_fw(struct ice_pf * pf) ice_request_fw() argument 4358 ice_print_wake_reason(struct ice_pf * pf) ice_print_wake_reason() argument 4481 ice_init_eth(struct ice_pf * pf) ice_init_eth() argument 4530 ice_deinit_eth(struct ice_pf * pf) ice_deinit_eth() argument 4569 ice_init_dev(struct ice_pf * pf) ice_init_dev() argument 4662 ice_deinit_dev(struct ice_pf * pf) ice_deinit_dev() argument 4674 ice_init_features(struct ice_pf * pf) ice_init_features() argument 4704 ice_deinit_features(struct ice_pf * pf) ice_deinit_features() argument 4719 ice_init_wakeup(struct ice_pf * pf) ice_init_wakeup() argument 4734 ice_init_link(struct ice_pf * pf) ice_init_link() argument 4781 ice_init_pf_sw(struct ice_pf * pf) ice_init_pf_sw() argument 4820 ice_deinit_pf_sw(struct ice_pf * pf) ice_deinit_pf_sw() argument 4831 ice_alloc_vsis(struct ice_pf * pf) ice_alloc_vsis() argument 4861 ice_dealloc_vsis(struct ice_pf * pf) ice_dealloc_vsis() argument 4871 ice_init_devlink(struct ice_pf * pf) ice_init_devlink() argument 4885 ice_deinit_devlink(struct ice_pf * pf) ice_deinit_devlink() argument 4892 ice_init(struct ice_pf * pf) ice_init() argument 4944 ice_deinit(struct ice_pf * pf) ice_deinit() argument 4958 ice_load(struct ice_pf * pf) ice_load() argument 5009 ice_unload(struct ice_pf * pf) ice_unload() argument 5031 struct ice_pf *pf; ice_probe() local 5148 ice_set_wake(struct ice_pf * pf) ice_set_wake() argument 5171 ice_setup_mc_magic_wake(struct ice_pf * pf) ice_setup_mc_magic_wake() argument 5209 struct ice_pf *pf = pci_get_drvdata(pdev); ice_remove() local 5249 struct ice_pf *pf = pci_get_drvdata(pdev); ice_shutdown() local 5266 ice_prepare_for_shutdown(struct ice_pf * pf) ice_prepare_for_shutdown() argument 5297 ice_reinit_interrupt_scheme(struct ice_pf * pf) ice_reinit_interrupt_scheme() argument 5350 struct ice_pf *pf; ice_suspend() local 5418 struct ice_pf *pf; ice_resume() local 5483 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_detected() local 5512 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_slot_reset() local 5548 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_resume() local 5575 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_reset_prepare() local 5726 struct ice_pf *pf = vsi->back; ice_set_mac_address() local 6203 struct ice_pf *pf = vsi->back; ice_set_features() local 6469 struct ice_pf *pf = vsi->back; ice_up_complete() local 6584 struct ice_pf *pf = vsi->back; ice_update_vsi_ring_stats() local 6658 struct ice_pf *pf = vsi->back; ice_update_vsi_stats() local 6696 ice_update_pf_stats(struct ice_pf * pf) ice_update_pf_stats() argument 7070 struct ice_pf *pf = vsi->back; ice_vsi_open_ctrl() local 7126 struct ice_pf *pf = vsi->back; ice_vsi_open() local 7183 ice_vsi_release_all(struct ice_pf * pf) ice_vsi_release_all() argument 7211 ice_vsi_rebuild_by_type(struct ice_pf * pf,enum ice_vsi_type type) ice_vsi_rebuild_by_type() argument 7262 ice_update_pf_netdev_link(struct ice_pf * pf) ice_update_pf_netdev_link() argument 7294 ice_rebuild(struct ice_pf * pf,enum ice_reset_req reset_type) ice_rebuild() argument 7495 struct ice_pf *pf = vsi->back; ice_change_mtu() local 7558 struct ice_pf *pf = np->vsi->back; ice_eth_ioctl() local 7735 struct ice_pf *pf = vsi->back; ice_bridge_getlink() local 7806 struct ice_pf *pf = np->vsi->back; ice_bridge_setlink() local 7870 struct ice_pf *pf = vsi->back; ice_tx_timeout() local 8002 struct ice_pf *pf = vsi->back; ice_validate_mqprio_qopt() local 8133 ice_add_vsi_to_fdir(struct ice_pf * pf,struct ice_vsi * vsi) ice_add_vsi_to_fdir() argument 8197 ice_add_channel(struct ice_pf * pf,u16 sw_id,struct ice_channel * ch) ice_add_channel() argument 8315 ice_setup_hw_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch,u16 sw_id,u8 type) ice_setup_hw_channel() argument 8353 ice_setup_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch) ice_setup_channel() argument 8406 struct ice_pf *pf = vsi->back; ice_create_q_channel() local 8454 ice_rem_all_chnl_fltrs(struct ice_pf * pf) ice_rem_all_chnl_fltrs() argument 8508 struct ice_pf *pf = vsi->back; ice_remove_q_channels() local 8582 ice_rebuild_channels(struct ice_pf * pf) ice_rebuild_channels() argument 8698 struct ice_pf *pf = vsi->back; ice_create_q_channels() local 8756 struct ice_pf *pf = vsi->back; ice_setup_tc_mqprio_qdisc() local 8928 struct ice_pf *pf = np->vsi->back; ice_setup_tc() local 9102 struct ice_pf *pf = np->vsi->back; ice_open() local 9125 struct ice_pf *pf = vsi->back; ice_open_internal() local 9193 struct ice_pf *pf = vsi->back; ice_stop() local [all...] |
H A D | ice_dcb_lib.h | 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() 93 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) in ice_init_pf_dcb() 100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg() 114 static inline bool ice_is_dcb_active(struct ice_pf __always_unused *pf) in ice_is_dcb_active() 120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q() 126 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode() 131 static inline void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) { } in ice_pf_dcb_recfg() 133 static inline void ice_update_dcb_stats(struct ice_pf *pf) { } in ice_update_dcb_stats() [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() 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 …]
|
H A D | ice_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 | 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() local 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() local 234 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close() local 261 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write() local 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_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() local 169 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() local 284 struct ice_pf *pf = vsi->back; ice_vsi_delete_from_hw() local 313 struct ice_pf *pf = vsi->back; ice_vsi_free_arrays() local 338 struct ice_pf *pf = vsi->back; ice_vsi_free_stats() local 379 struct ice_pf *pf = vsi->back; ice_vsi_alloc_ring_stats() local 440 struct ice_pf *pf = NULL; ice_vsi_free() local 514 struct ice_pf *pf = q_vector->vsi->back; ice_eswitch_msix_clean_rings() local 536 struct ice_pf *pf = vsi->back; ice_vsi_alloc_stat_arrays() local 632 ice_vsi_alloc(struct ice_pf * pf) ice_vsi_alloc() argument 681 struct ice_pf *pf = vsi->back; ice_alloc_fd_res() local 771 struct ice_pf *pf = vsi->back; ice_vsi_get_qs() local 816 struct ice_pf *pf = vsi->back; ice_vsi_put_qs() local 840 ice_is_safe_mode(struct ice_pf * pf) ice_is_safe_mode() argument 851 ice_is_rdma_ena(struct ice_pf * pf) ice_is_rdma_ena() argument 865 struct ice_pf *pf = vsi->back; ice_vsi_clean_rss_flow_fld() local 883 struct ice_pf *pf = vsi->back; ice_rss_clean() local 904 struct ice_pf *pf = vsi->back; ice_vsi_set_rss_params() local 1175 struct ice_pf *pf; ice_set_rss_vsi_ctx() local 1206 struct ice_pf *pf = vsi->back; ice_chnl_vsi_setup_q_map() local 1249 struct ice_pf *pf = vsi->back; ice_vsi_init() local 1410 struct ice_pf *pf = vsi->back; ice_vsi_alloc_rings() local 1516 struct ice_pf *pf = vsi->back; ice_vsi_cfg_rss_lut_key() local 1588 struct ice_pf *pf = vsi->back; ice_vsi_set_vf_rss_flow_fld() local 1619 struct ice_pf *pf = vsi->back; ice_vsi_set_rss_flow_fld() local 1724 ice_pf_state_is_nominal(struct ice_pf * pf) ice_pf_state_is_nominal() argument 1746 struct ice_pf *pf = vsi->back; ice_update_eth_stats() local 2054 struct ice_pf *pf = vsi->back; ice_vsi_cfg_msix() local 2177 struct ice_pf *pf = vsi->back; ice_vsi_is_rx_queue_active() local 2216 struct ice_pf *pf = vsi->back; ice_cfg_sw_lldp() local 2257 struct ice_pf *pf = vsi->back; ice_set_agg_vsi() local 2364 ice_vsi_cfg_tc_lan(struct ice_pf * pf,struct ice_vsi * vsi) ice_vsi_cfg_tc_lan() argument 2409 struct ice_pf *pf = vsi->back; ice_vsi_cfg_def() local 2561 struct ice_pf *pf = vsi->back; ice_vsi_cfg() local 2600 struct ice_pf *pf = vsi->back; ice_vsi_decfg() local 2642 ice_vsi_setup(struct ice_pf * pf,struct ice_vsi_cfg_params * params) ice_vsi_setup() argument 2697 struct ice_pf *pf = vsi->back; ice_vsi_release_msix() local 2734 struct ice_pf *pf = vsi->back; ice_vsi_free_irq() local 2882 struct ice_pf *pf = vsi->back; ice_vsi_dis_irq() local 2939 struct ice_pf *pf; ice_vsi_release() local 3095 struct ice_pf *pf = vsi->back; ice_vsi_realloc_stat_arrays() local 3158 struct ice_pf *pf; ice_vsi_rebuild() local 3240 ice_wait_for_reset(struct ice_pf * pf,unsigned long timeout) ice_wait_for_reset() argument 3277 struct ice_pf *pf = vsi->back; ice_vsi_cfg_netdev_tc() local 3436 struct ice_pf *pf = vsi->back; ice_vsi_cfg_tc() local 3696 struct ice_pf *pf = vsi->back; ice_set_min_bw_limit() local 3757 struct ice_pf *pf = vsi->back; ice_set_max_bw_limit() local 3969 ice_is_feature_supported(struct ice_pf * pf,enum ice_feature f) ice_is_feature_supported() argument 3982 ice_set_feature_support(struct ice_pf * pf,enum ice_feature f) ice_set_feature_support() argument 3995 ice_clear_feature_support(struct ice_pf * pf,enum ice_feature f) ice_clear_feature_support() argument 4009 ice_init_feature_support(struct ice_pf * pf) ice_init_feature_support() argument [all...] |
H A D | ice_vf_lib.c | 25 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id() argument 87 bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs() argument 103 u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs() argument 143 struct ice_pf *pf = vf->pf; ice_is_vf_disabled() local 259 struct ice_pf *pf = vf->pf; ice_vf_recreate_vsi() local 287 struct ice_pf *pf = vf->pf; ice_vf_rebuild_vsi() local 450 struct ice_pf *pf = vsi->back; ice_vf_rebuild_aggregator_node_cfg() local 560 ice_is_any_vf_in_unicast_promisc(struct ice_pf * pf) ice_is_any_vf_in_unicast_promisc() argument 613 struct ice_pf *pf = vf->pf; ice_vf_clear_all_promisc_modes() local 715 ice_reset_all_vfs(struct ice_pf * pf) ice_reset_all_vfs() argument 829 struct ice_pf *pf = vf->pf; ice_reset_vf() local 979 struct ice_pf *pf = vf->pf; ice_initialize_vf_entry() local 1048 struct ice_pf *pf = vf->pf; ice_check_vf_init() local 1230 struct ice_pf *pf = vf->pf; ice_vf_ctrl_vsi_setup() local 1259 struct ice_pf *pf = vf->pf; ice_vf_init_host_cfg() local 1343 ice_get_vf_ctrl_vsi(struct ice_pf * pf,struct ice_vsi * vsi) ice_get_vf_ctrl_vsi() argument [all...] |
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 47 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() 74 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() 79 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() 99 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic() 140 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 178 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics() 213 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 223 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs() 263 static void nfp_net_pf_free_irqs(struct nfp_pf *pf) in nfp_net_pf_free_irqs() [all …]
|
H A D | nfp_main.c | 72 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() 93 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() 105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() 182 static bool nfp_board_ready(struct nfp_pf *pf) in nfp_board_ready() 199 static int nfp_pf_board_state_wait(struct nfp_pf *pf) in nfp_pf_board_state_wait() 221 static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) in nfp_pcie_sriov_read_nfd_limit() 245 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable() local 290 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable() local 329 int nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw, in nfp_flash_update_common() 358 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) in nfp_net_fw_request() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 56 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 78 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() 104 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy() 116 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local 147 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local 176 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local 199 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr() 272 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init() 354 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs() 456 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local [all …]
|
H A D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() 43 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac() 79 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() 115 static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index) in otx2_dmacflt_remove_pfmac() 134 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove() 149 int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) in otx2_dmacflt_get_max_cnt() 182 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 58 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() 64 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() 153 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() 200 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_rx_mode() local 276 static void enetc_sync_vlan_ht_filter(struct enetc_pf *pf, bool rehash) in enetc_sync_vlan_ht_filter() 296 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_vlan_rx_add_vid() local 311 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_vlan_rx_del_vid() local 345 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_mac() local 364 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_vlan() local 383 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_spoofchk() local [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 44 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) in is_mac_feature_supported() 108 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, in rvu_map_cgx_nix_block() 125 int pf = PF_CGXMAP_BASE; in rvu_map_cgx_lmac_pf() local 463 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp() 485 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx() local 502 int pf = rvu_get_pf(pcifunc); in rvu_cgx_tx_enable() local 527 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries() local 578 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats() local 634 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_stats_rst() local 664 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() local [all …]
|