/linux-master/drivers/net/ethernet/intel/ice/ |
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) { } argument 12 static inline void ice_hwmon_exit(struct ice_pf *pf) { } argument
|
H A D | ice_devlink.h | 9 void ice_devlink_register(struct ice_pf *pf); 10 void ice_devlink_unregister(struct ice_pf *pf); 11 int ice_devlink_register_params(struct ice_pf *pf); 12 void ice_devlink_unregister_params(struct ice_pf *pf); 13 int ice_devlink_create_pf_port(struct ice_pf *pf); 14 void ice_devlink_destroy_pf_port(struct ice_pf *pf); 18 void ice_devlink_init_regions(struct ice_pf *pf); 19 void ice_devlink_destroy_regions(struct ice_pf *pf); 22 void ice_tear_down_devlink_rate_tree(struct ice_pf *pf);
|
H A 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);
|
H A D | ice_irq.c | 10 * @pf: board private structure 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, argument 18 pf->irq_tracker.num_entries = max_vectors; 19 pf->irq_tracker.num_static = num_static; 20 xa_init_flags(&pf->irq_tracker.entries, XA_FLAGS_ALLOC); 25 * @pf: board private structure 27 static void ice_deinit_irq_tracker(struct ice_pf *pf) argument 29 xa_destroy(&pf->irq_tracker.entries); 34 * @pf: board private structure 37 static void ice_free_irq_res(struct ice_pf *pf, u1 argument 56 ice_get_irq_res(struct ice_pf *pf, bool dyn_only) argument 96 ice_reduce_msix_usage(struct ice_pf *pf, int v_remain) argument 137 ice_ena_msix_range(struct ice_pf *pf) argument 242 ice_clear_interrupt_scheme(struct ice_pf *pf) argument 252 ice_init_interrupt_scheme(struct ice_pf *pf) argument 294 ice_alloc_irq(struct ice_pf *pf, bool dyn_only) argument 335 ice_free_irq(struct ice_pf *pf, struct msi_map map) argument 363 ice_get_max_used_msix_vector(struct ice_pf *pf) argument [all...] |
H A D | ice_idc.c | 13 * @pf: pointer to PF struct 16 * pf->adev.dev to avoid race conditions. 18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) argument 22 adev = pf->adev; 32 * @pf: pointer to PF struct 35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) argument 42 mutex_lock(&pf->adev_mutex); 43 if (!pf->adev) 46 device_lock(&pf->adev->dev); 47 iadrv = ice_get_auxiliary_drv(pf); 60 ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) argument 115 ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) argument 144 ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) argument 176 ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) argument 208 ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) argument 235 ice_alloc_rdma_qvectors(struct ice_pf *pf) argument 268 ice_free_rdma_qvector(struct ice_pf *pf) argument 303 ice_plug_aux_dev(struct ice_pf *pf) argument 349 ice_unplug_aux_dev(struct ice_pf *pf) argument 368 ice_init_rdma(struct ice_pf *pf) argument 409 ice_deinit_rdma(struct ice_pf *pf) argument [all...] |
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_dcb_process_lldp_set_mib_change(struct ice_pf *pf, 55 static inline bool ice_is_dcb_active(struct ice_pf *pf) argument 61 ice_get_pfc_mode(struct ice_pf *pf) argument 67 ice_dcb_rebuild(struct ice_pf *pf) argument 93 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) argument 100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, struct ice_dcbx_cfg __always_unused *new_cfg, bool __always_unused locked) argument 114 ice_is_dcb_active(struct ice_pf __always_unused *pf) argument 120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, unsigned int __always_unused txqueue) argument 126 ice_get_pfc_mode(struct ice_pf *pf) argument 131 ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) argument 133 ice_update_dcb_stats(struct ice_pf *pf) argument 135 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, struct ice_rq_event_info *event) argument [all...] |
H A D | ice_gnss.c | 9 * @pf: board private structure 20 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) argument 23 struct ice_hw *hw = &pf->hw; 72 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", 91 struct ice_pf *pf; local 98 pf = gnss->back; 99 if (!pf || !test_bit(ICE_FLAG_GNSS, pf->flags)) 102 hw = &pf->hw; 147 count = gnss_insert_raw(pf 171 ice_gnss_struct_init(struct ice_pf *pf) argument 208 struct ice_pf *pf = gnss_get_drvdata(gdev); local 234 struct ice_pf *pf = gnss_get_drvdata(gdev); local 261 struct ice_pf *pf = gnss_get_drvdata(gdev); local 297 ice_gnss_register(struct ice_pf *pf) argument 331 ice_gnss_deregister(struct ice_pf *pf) argument 344 ice_gnss_init(struct ice_pf *pf) argument 366 ice_gnss_exit(struct ice_pf *pf) argument [all...] |
H A D | ice_eswitch.h | 10 void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf); 12 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf); 13 int ice_eswitch_rebuild(struct ice_pf *pf); 19 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf); 23 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf); 29 void ice_eswitch_reserve_cp_queues(struct ice_pf *pf, int change); 31 static inline void ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf) { } argument 34 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf) argument 39 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } argument 48 static inline int ice_eswitch_configure(struct ice_pf *pf) argument 53 ice_eswitch_rebuild(struct ice_pf *pf) argument 70 ice_is_eswitch_mode_switchdev(struct ice_pf *pf) argument 82 ice_eswitch_reserve_cp_queues(struct ice_pf *pf, int change) argument [all...] |
H A D | ice_eswitch.c | 15 * @pf: pointer to the PF struct 20 static void ice_eswitch_del_sp_rules(struct ice_pf *pf) argument 25 xa_for_each(&pf->eswitch.reprs, id, repr) { 27 ice_rem_adv_rule_by_id(&pf->hw, &repr->sp_rule); 33 * @pf: pointer to PF struct 39 static int ice_eswitch_add_sp_rule(struct ice_pf *pf, struct ice_repr *repr) argument 41 struct ice_vsi *ctrl_vsi = pf->eswitch.control_vsi; 44 struct ice_hw *hw = &pf->hw; 67 dev_err(ice_pf_to_dev(pf), "Unable to add slow-path rule for eswitch for PR %d", 75 ice_eswitch_add_sp_rules(struct ice_pf *pf) argument 99 ice_eswitch_setup_env(struct ice_pf *pf) argument 215 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) argument 237 ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) argument 285 struct ice_pf *pf = vsi->back; local 374 ice_eswitch_release_env(struct ice_pf *pf) argument 398 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) argument 439 ice_eswitch_enable_switchdev(struct ice_pf *pf) argument 483 ice_eswitch_disable_switchdev(struct ice_pf *pf) argument 505 struct ice_pf *pf = devlink_priv(devlink); local 553 struct ice_pf *pf = devlink_priv(devlink); local 566 ice_is_eswitch_mode_switchdev(struct ice_pf *pf) argument 575 ice_eswitch_start_all_tx_queues(struct ice_pf *pf) argument 591 ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) argument 603 ice_eswitch_stop_reprs(struct ice_pf *pf) argument 610 ice_eswitch_start_reprs(struct ice_pf *pf) argument 651 ice_eswitch_attach(struct ice_pf *pf, struct ice_vf *vf) argument 705 ice_eswitch_detach(struct ice_pf *pf, struct ice_vf *vf) argument 741 ice_eswitch_rebuild(struct ice_pf *pf) argument 767 ice_eswitch_reserve_cp_queues(struct ice_pf *pf, int change) argument [all...] |
H A D | ice_sriov.c | 19 * @pf: pointer to the PF structure 24 static void ice_free_vf_entries(struct ice_pf *pf) argument 26 struct ice_vfs *vfs = &pf->vfs; 49 struct ice_pf *pf = vf->pf; local 75 wr32(&pf->hw, GLINT_DYN_CTL(i), GLINT_DYN_CTL_CLEARPBA_M); 76 ice_flush(&pf->hw); 89 struct ice_pf *pf = vf->pf; local 95 hw = &pf 134 ice_sriov_free_msix_res(struct ice_pf *pf) argument 150 ice_free_vfs(struct ice_pf *pf) argument 226 struct ice_pf *pf = vf->pf; local 260 struct ice_pf *pf = vf->pf; local 389 ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) argument 430 ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) argument 518 ice_sriov_get_irqs(struct ice_pf *pf, u16 needed) argument 537 ice_sriov_free_irqs(struct ice_pf *pf, struct ice_vf *vf) argument 555 struct ice_pf *pf = vf->pf; local 582 ice_start_vfs(struct ice_pf *pf) argument 667 struct ice_pf *pf = vf->pf; local 682 struct ice_pf *pf = vf->pf; local 729 struct ice_pf *pf = vf->pf; local 798 ice_create_vf_entries(struct ice_pf *pf, u16 num_vfs) argument 862 ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) argument 938 ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) argument 969 ice_check_sriov_allowed(struct ice_pf *pf) argument 999 struct ice_pf *pf = pci_get_drvdata(pdev); local 1004 ice_sriov_move_base_vector(struct ice_pf *pf, int move) argument 1013 ice_sriov_remap_vectors(struct ice_pf *pf, u16 restricted_id) argument 1067 struct ice_pf *pf = pci_get_drvdata(pdev); local 1177 struct ice_pf *pf = pci_get_drvdata(pdev); local 1209 ice_process_vflr_event(struct ice_pf *pf) argument 1247 ice_get_vf_from_pfq(struct ice_pf *pf, u16 pfq) argument 1283 ice_globalq_to_pfq(struct ice_pf *pf, u32 globalq) argument 1298 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) argument 1328 struct ice_pf *pf = np->vsi->back; local 1388 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1435 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1496 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1543 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1583 ice_calc_all_vfs_min_tx_rate(struct ice_pf *pf) argument 1647 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1716 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1798 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1859 struct ice_pf *pf = vf->pf; local 1877 ice_print_vfs_mdd_events(struct ice_pf *pf) argument 1923 ice_restore_all_vfs_msi_state(struct ice_pf *pf) argument [all...] |
H A D | ice_hwmon.c | 23 struct ice_pf *pf = dev_get_drvdata(dev); local 29 ret = ice_aq_get_sensor_reading(&pf->hw, &resp); 88 static bool ice_is_internal_reading_supported(struct ice_pf *pf) argument 94 if (pf->hw.pf_id) 97 unsigned long sensors = pf->hw.dev_caps.supported_sensors; 102 void ice_hwmon_init(struct ice_pf *pf) argument 104 struct device *dev = ice_pf_to_dev(pf); 107 if (!ice_is_internal_reading_supported(pf)) 110 hdev = hwmon_device_register_with_info(dev, "ice", pf, &ice_chip_info, 118 pf 121 ice_hwmon_exit(struct ice_pf *pf) argument [all...] |
H A D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 18 while (ice_is_reset_in_progress(pf->state)) 35 struct ice_pf *pf; local 37 pf = ice_netdev_to_pf(netdev); 38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 69 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || 70 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) 73 if (pf->lag && pf 134 struct ice_pf *pf = ice_netdev_to_pf(dev); local 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 308 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 331 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 364 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 380 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 396 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 438 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 468 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 504 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 528 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 563 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 595 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 610 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 631 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 644 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 692 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 735 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 869 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 977 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 1044 struct ice_pf *pf; local 1113 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) argument 1138 struct ice_pf *pf; local [all...] |
H A D | ice_main.c | 63 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); local 65 return &pf->pdev->dev; 73 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 75 static void ice_vsi_release_all(struct ice_pf *pf); 77 static int ice_rebuild_channels(struct ice_pf *pf); 110 * @pf: pointer to PF struct 112 static void ice_check_for_hang_subtask(struct ice_pf *pf) argument 120 ice_for_each_vsi(pf, v) 121 if (pf->vsi[v] && pf 180 ice_init_mac_fltr(struct ice_pf *pf) argument 325 struct ice_pf *pf = vsi->back; local 482 ice_sync_fltr_subtask(struct ice_pf *pf) argument 505 ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) argument 530 ice_clear_sw_switch_recipes(struct ice_pf *pf) argument 548 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) argument 634 ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) argument 679 ice_reset_subtask(struct ice_pf *pf) argument 949 ice_set_dflt_mib(struct ice_pf *pf) argument 1033 ice_check_phy_fw_load(struct ice_pf *pf, u8 link_cfg_err) argument 1057 ice_check_module_power(struct ice_pf *pf, u8 link_cfg_err) argument 1089 ice_check_link_cfg_err(struct ice_pf *pf, u8 link_cfg_err) argument 1105 ice_link_event(struct ice_pf *pf, struct ice_port_info *pi, bool link_up, u16 link_speed) argument 1174 ice_watchdog_subtask(struct ice_pf *pf) argument 1234 ice_handle_link_event(struct ice_pf *pf, struct ice_rq_event_info *event) argument 1261 ice_get_fwlog_data(struct ice_pf *pf, struct ice_rq_event_info *event) argument 1297 ice_aq_prep_for_event(struct ice_pf *pf, struct ice_aq_task *task, u16 opcode) argument 1321 ice_aq_wait_for_event(struct ice_pf *pf, struct ice_aq_task *task, unsigned long timeout) argument 1383 ice_aq_check_events(struct ice_pf *pf, u16 opcode, struct ice_rq_event_info *event) argument 1424 ice_aq_cancel_waiting_tasks(struct ice_pf *pf) argument 1443 __ice_clean_ctrlq(struct ice_pf *pf, enum ice_ctl_q q_type) argument 1599 ice_clean_adminq_subtask(struct ice_pf *pf) argument 1626 ice_clean_mailboxq_subtask(struct ice_pf *pf) argument 1648 ice_clean_sbq_subtask(struct ice_pf *pf) argument 1680 ice_service_task_schedule(struct ice_pf *pf) argument 1692 ice_service_task_complete(struct ice_pf *pf) argument 1708 ice_service_task_stop(struct ice_pf *pf) argument 1729 ice_service_task_restart(struct ice_pf *pf) argument 1741 struct ice_pf *pf = from_timer(pf, t, serv_tmr); local 1757 ice_handle_mdd_event(struct ice_pf *pf) argument 1982 struct ice_pf *pf = pi->hw->back; local 2014 struct ice_pf *pf = pi->hw->back; local 2052 struct ice_pf *pf = pi->hw->back; local 2091 struct ice_pf *pf = pi->hw->back; local 2161 struct ice_pf *pf = vsi->back; local 2278 ice_check_media_subtask(struct ice_pf *pf) argument 2327 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); local 2437 ice_schedule_reset(struct ice_pf *pf, enum ice_reset_req reset) argument 2522 struct ice_pf *pf = vsi->back; local 2684 struct ice_pf *pf = vsi->back; local 2815 struct ice_pf *pf = vsi->back; local 3048 ice_ena_misc_vector(struct ice_pf *pf) argument 3095 struct ice_pf *pf = data; local 3130 struct ice_pf *pf = (struct ice_pf *)data; local 3281 struct ice_pf *pf = data; local 3333 ice_free_irq_msix_ll_ts(struct ice_pf *pf) argument 3338 devm_free_irq(ice_pf_to_dev(pf), irq_num, pf); local 3347 ice_free_irq_msix_misc(struct ice_pf *pf) argument 3359 devm_free_irq(ice_pf_to_dev(pf), misc_irq_num, pf); local 3407 ice_req_irq_msix_misc(struct ice_pf *pf) argument 3511 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 3539 struct ice_pf *pf = ice_netdev_to_pf(netdev); local 3646 ice_pf_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) argument 3658 ice_chnl_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi, struct ice_channel *ch) argument 3680 ice_ctrl_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) argument 3700 ice_lb_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) argument 3910 ice_get_avail_txq_count(struct ice_pf *pf) argument 3920 ice_get_avail_rxq_count(struct ice_pf *pf) argument 3930 ice_deinit_pf(struct ice_pf *pf) argument 3958 ice_set_pf_caps(struct ice_pf *pf) argument 4008 ice_init_pf(struct ice_pf *pf) argument 4081 struct ice_pf *pf = vsi->back; local 4122 ice_set_safe_mode_vlan_cfg(struct ice_pf *pf) argument 4175 struct ice_pf *pf = hw->back; local 4258 ice_load_pkg(const struct firmware *firmware, struct ice_pf *pf) argument 4297 ice_verify_cacheline_size(struct ice_pf *pf) argument 4310 ice_send_version(struct ice_pf *pf) argument 4329 ice_init_fdir(struct ice_pf *pf) argument 4370 ice_deinit_fdir(struct ice_pf *pf) argument 4391 ice_get_opt_fw_name(struct ice_pf *pf) argument 4421 ice_request_fw(struct ice_pf *pf) argument 4462 ice_print_wake_reason(struct ice_pf *pf) argument 4491 ice_pf_fwlog_update_module(struct ice_pf *pf, int log_level, int module) argument 4602 ice_init_dev(struct ice_pf *pf) argument 4695 ice_deinit_dev(struct ice_pf *pf) argument 4707 ice_init_features(struct ice_pf *pf) argument 4743 ice_deinit_features(struct ice_pf *pf) argument 4762 ice_init_wakeup(struct ice_pf *pf) argument 4777 ice_init_link(struct ice_pf *pf) argument 4824 ice_init_pf_sw(struct ice_pf *pf) argument 4863 ice_deinit_pf_sw(struct ice_pf *pf) argument 4874 ice_alloc_vsis(struct ice_pf *pf) argument 4904 ice_dealloc_vsis(struct ice_pf *pf) argument 4914 ice_init_devlink(struct ice_pf *pf) argument 4928 ice_deinit_devlink(struct ice_pf *pf) argument 4935 ice_init(struct ice_pf *pf) argument 4987 ice_deinit(struct ice_pf *pf) argument 5003 ice_load(struct ice_pf *pf) argument 5071 ice_unload(struct ice_pf *pf) argument 5096 struct ice_pf *pf; local 5209 ice_set_wake(struct ice_pf *pf) argument 5232 ice_setup_mc_magic_wake(struct ice_pf *pf) argument 5270 struct ice_pf *pf = pci_get_drvdata(pdev); local 5314 struct ice_pf *pf = pci_get_drvdata(pdev); local 5331 ice_prepare_for_shutdown(struct ice_pf *pf) argument 5362 ice_reinit_interrupt_scheme(struct ice_pf *pf) argument 5416 struct ice_pf *pf; local 5484 struct ice_pf *pf; local 5544 struct ice_pf *pf = pci_get_drvdata(pdev); local 5573 struct ice_pf *pf = pci_get_drvdata(pdev); local 5609 struct ice_pf *pf = pci_get_drvdata(pdev); local 5636 struct ice_pf *pf = pci_get_drvdata(pdev); local 5803 struct ice_pf *pf = vsi->back; local 6300 struct ice_pf *pf = vsi->back; local 6566 struct ice_pf *pf = vsi->back; local 6681 struct ice_pf *pf = vsi->back; local 6755 struct ice_pf *pf = vsi->back; local 6791 ice_update_pf_stats(struct ice_pf *pf) argument 7008 struct ice_pf *pf = vsi->back; local 7206 struct ice_pf *pf = vsi->back; local 7262 struct ice_pf *pf = vsi->back; local 7319 ice_vsi_release_all(struct ice_pf *pf) argument 7347 ice_vsi_rebuild_by_type(struct ice_pf *pf, enum ice_vsi_type type) argument 7398 ice_update_pf_netdev_link(struct ice_pf *pf) argument 7430 ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) argument 7626 struct ice_pf *pf = vsi->back; local 7689 struct ice_pf *pf = np->vsi->back; local 7919 struct ice_pf *pf = vsi->back; local 7990 struct ice_pf *pf = np->vsi->back; local 8054 struct ice_pf *pf = vsi->back; local 8186 struct ice_pf *pf = vsi->back; local 8317 ice_add_vsi_to_fdir(struct ice_pf *pf, struct ice_vsi *vsi) argument 8380 ice_add_channel(struct ice_pf *pf, u16 sw_id, struct ice_channel *ch) argument 8498 ice_setup_hw_channel(struct ice_pf *pf, struct ice_vsi *vsi, struct ice_channel *ch, u16 sw_id, u8 type) argument 8536 ice_setup_channel(struct ice_pf *pf, struct ice_vsi *vsi, struct ice_channel *ch) argument 8589 struct ice_pf *pf = vsi->back; local 8637 ice_rem_all_chnl_fltrs(struct ice_pf *pf) argument 8691 struct ice_pf *pf = vsi->back; local 8765 ice_rebuild_channels(struct ice_pf *pf) argument 8881 struct ice_pf *pf = vsi->back; local 8939 struct ice_pf *pf = vsi->back; local 9111 struct ice_pf *pf = np->vsi->back; local 9285 struct ice_pf *pf = np->vsi->back; local 9308 struct ice_pf *pf = vsi->back; local 9376 struct ice_pf *pf = vsi->back; local [all...] |
H A D | ice_dpll.c | 35 * @pf: private board structure 44 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) argument 46 if (ice_is_reset_in_progress(pf->state)) { 55 * @pf: private board structure 63 * Context: Called under pf->dplls.lock 69 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, argument 79 ret = ice_aq_set_input_pin_cfg(&pf->hw, pin->idx, flags, 84 ret = ice_aq_set_output_pin_cfg(&pf->hw, pin->idx, flags, 94 ice_aq_str(pf->hw.adminq.sq_last_status), 115 * Context: Acquires pf 129 struct ice_pf *pf = d->pf; local 217 struct ice_pf *pf = d->pf; local 388 ice_dpll_pin_state_update(struct ice_pf *pf, struct ice_dpll_pin *pin, enum ice_dpll_pin_type pin_type, struct netlink_ext_ack *extack) argument 505 ice_dpll_hw_input_prio_set(struct ice_pf *pf, struct ice_dpll *dpll, struct ice_dpll_pin *pin, const u32 prio, struct netlink_ext_ack *extack) argument 547 struct ice_pf *pf = d->pf; local 575 struct ice_pf *pf = d->pf; local 609 struct ice_pf *pf = d->pf; local 715 struct ice_pf *pf = d->pf; local 810 struct ice_pf *pf = d->pf; local 842 struct ice_pf *pf = d->pf; local 928 struct ice_pf *pf = p->pf; local 964 struct ice_pf *pf = d->pf; local 1089 struct ice_pf *pf = d->pf; local 1126 struct ice_pf *pf = p->pf; local 1183 struct ice_pf *pf = p->pf; local 1251 ice_generate_clock_id(struct ice_pf *pf) argument 1300 ice_dpll_update_state(struct ice_pf *pf, struct ice_dpll *d, bool init) argument 1369 struct ice_pf *pf = container_of(d, struct ice_pf, dplls); local 1433 ice_dpll_get_pins(struct ice_pf *pf, struct ice_dpll_pin *pins, int start_idx, int count, u64 clock_id) argument 1552 ice_dpll_init_direct_pins(struct ice_pf *pf, bool cgu, struct ice_dpll_pin *pins, int start_idx, int count, const struct dpll_pin_ops *ops, struct dpll_device *first, struct dpll_device *second) argument 1586 ice_dpll_deinit_rclk_pin(struct ice_pf *pf) argument 1622 ice_dpll_init_rclk_pins(struct ice_pf *pf, struct ice_dpll_pin *pin, int start_idx, const struct dpll_pin_ops *ops) argument 1668 ice_dpll_deinit_pins(struct ice_pf *pf, bool cgu) argument 1707 ice_dpll_init_pins(struct ice_pf *pf, bool cgu) argument 1757 ice_dpll_deinit_dpll(struct ice_pf *pf, struct ice_dpll *d, bool cgu) argument 1779 ice_dpll_init_dpll(struct ice_pf *pf, struct ice_dpll *d, bool cgu, enum dpll_type type) argument 1811 ice_dpll_deinit_worker(struct ice_pf *pf) argument 1830 ice_dpll_init_worker(struct ice_pf *pf) argument 1860 ice_dpll_init_info_direct_pins(struct ice_pf *pf, enum ice_dpll_pin_type pin_type) argument 1938 ice_dpll_init_info_rclk_pin(struct ice_pf *pf) argument 1962 ice_dpll_init_pins_info(struct ice_pf *pf, enum ice_dpll_pin_type pin_type) argument 1981 ice_dpll_deinit_info(struct ice_pf *pf) argument 2000 ice_dpll_init_info(struct ice_pf *pf, bool cgu) argument 2094 ice_dpll_deinit(struct ice_pf *pf) argument 2119 ice_dpll_init(struct ice_pf *pf) argument [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_devlink.h | 12 void i40e_free_pf(struct i40e_pf *pf); 13 void i40e_devlink_register(struct i40e_pf *pf); 14 void i40e_devlink_unregister(struct i40e_pf *pf); 15 int i40e_devlink_create_port(struct i40e_pf *pf); 16 void i40e_devlink_destroy_port(struct i40e_pf *pf);
|
H A D | i40e_ptp.c | 141 static int i40e_ptp_set_pins(struct i40e_pf *pf, 152 struct i40e_pf *pf = container_of(work, struct i40e_pf, local 154 struct i40e_hw *hw = &pf->hw; 172 ptp_clock_event(pf->ptp_clock, &event); 189 * @pf: board private structure 196 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf) argument 198 if (!i40e_is_ptp_pin_dev(&pf->hw)) { 199 dev_warn(&pf->pdev->dev, 204 if (!pf->ptp_pins) { 205 dev_warn(&pf 225 i40_ptp_reset_timing_events(struct i40e_pf *pf) argument 281 i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 308 i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) argument 349 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 370 i40e_ptp_set_1pps_signal_hw(struct i40e_pf *pf) argument 404 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 452 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 472 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 494 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 536 i40e_ptp_enable_pin(struct i40e_pf *pf, unsigned int chan, enum ptp_pin_function func, int on) argument 599 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); local 635 i40e_ptp_get_rx_events(struct i40e_pf *pf) argument 673 i40e_ptp_rx_hang(struct i40e_pf *pf) argument 732 i40e_ptp_tx_hang(struct i40e_pf *pf) argument 766 i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) argument 812 i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index) argument 858 i40e_ptp_set_increment(struct i40e_pf *pf) argument 923 i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr) argument 940 i40e_ptp_free_pins(struct i40e_pf *pf) argument 1037 i40e_ptp_set_pins_hw(struct i40e_pf *pf) argument 1071 i40e_ptp_set_pins(struct i40e_pf *pf, struct i40e_ptp_pins_settings *pins) argument 1126 i40e_ptp_alloc_pins(struct i40e_pf *pf) argument 1169 i40e_ptp_set_timestamp_mode(struct i40e_pf *pf, struct hwtstamp_config *config) argument 1306 i40e_ptp_set_ts_config(struct i40e_pf *pf, struct ifreq *ifr) argument 1335 i40e_init_pin_config(struct i40e_pf *pf) argument 1377 i40e_ptp_create_clock(struct i40e_pf *pf) argument 1426 i40e_ptp_save_hw_time(struct i40e_pf *pf) argument 1449 i40e_ptp_restore_hw_time(struct i40e_pf *pf) argument 1473 i40e_ptp_init(struct i40e_pf *pf) argument 1537 i40e_ptp_stop(struct i40e_pf *pf) argument [all...] |
H A D | i40e_client.c | 84 struct i40e_pf *pf = vsi->back; local 85 struct i40e_client_instance *cdev = pf->cinst; 90 dev_dbg(&pf->pdev->dev, 95 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); 110 struct i40e_pf *pf = vsi->back; local 111 struct i40e_client_instance *cdev = pf->cinst; 146 struct i40e_pf *pf = ldev->pf; local 152 wr32(&pf->hw, reg_idx, I40E_PFINT_LNKLSTN_FIRSTQ_INDX_MASK); 167 struct i40e_pf *pf local 193 i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) argument 218 i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) argument 245 i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) argument 267 i40e_client_update_msix_info(struct i40e_pf *pf) argument 334 i40e_client_add_instance(struct i40e_pf *pf) argument 390 i40e_client_del_instance(struct i40e_pf *pf) argument 400 i40e_client_subtask(struct i40e_pf *pf) argument 457 i40e_lan_add_device(struct i40e_pf *pf) argument 497 i40e_lan_del_device(struct i40e_pf *pf) argument 539 struct i40e_pf *pf = ldev->pf; local 564 struct i40e_pf *pf = ldev->pf; local 633 struct i40e_pf *pf = ldev->pf; local 668 struct i40e_pf *pf = ldev->pf; local 723 struct i40e_pf *pf = ldev->pf; local 733 struct i40e_pf *pf = ldev->pf; local [all...] |
H A D | i40e_dcb_nl.c | 37 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 40 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) 43 dcbxcfg = &pf->hw.local_dcbx_config; 75 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 77 struct i40e_hw *hw = &pf->hw; 80 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) 91 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; 92 pfc->indications[i] = pf->stats.priority_xoff_rx[i]; 108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 112 if (!(pf 156 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 195 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 247 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 309 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 325 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 369 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 404 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 438 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 455 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 477 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 502 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 533 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 558 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 577 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 607 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 630 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 653 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 693 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 723 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 742 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 757 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 779 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); local 813 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 828 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 878 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 947 i40e_dcbnl_del_app(struct i40e_pf *pf, struct i40e_dcb_app_priority_table *app) argument 993 i40e_dcbnl_flush_apps(struct i40e_pf *pf, struct i40e_dcbx_config *old_cfg, struct i40e_dcbx_config *new_cfg) argument 1021 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local [all...] |
H A D | i40e_debugfs.c | 22 * @pf: the PF structure to search for the vsi 25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) argument 28 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); 33 return i40e_pf_get_vsi_by_seid(pf, seid); 55 struct i40e_pf *pf = filp->private_data; local 72 pf->vsi[pf->lan_vsi]->netdev->name, 95 * @pf: the i40e_pf created in command write 98 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) argument 105 vsi = i40e_dbg_find_vsi(pf, sei 475 i40e_dbg_dump_aq_desc(struct i40e_pf *pf) argument 523 i40e_dbg_dump_desc(int cnt, int vsi_seid, int ring_id, int desc_n, struct i40e_pf *pf, enum ring_type type) argument 636 i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) argument 650 i40e_dbg_dump_eth_stats(struct i40e_pf *pf, struct i40e_eth_stats *estats) argument 676 i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) argument 696 i40e_dbg_dump_veb_all(struct i40e_pf *pf) argument 710 i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) argument 733 i40e_dbg_dump_vf_all(struct i40e_pf *pf) argument 755 struct i40e_pf *pf = filp->private_data; local 1641 struct i40e_pf *pf = filp->private_data; local 1682 struct i40e_pf *pf = filp->private_data; local 1795 i40e_dbg_pf_init(struct i40e_pf *pf) argument 1812 i40e_dbg_pf_exit(struct i40e_pf *pf) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 39 * @pf: NFP PF handle 47 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, argument 74 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) argument 76 return nfp_pf_rtsym_read_optional(pf, "nfd_cfg_pf%u_num_ports", 1); 79 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) argument 82 nfp_app_vnic_free(pf->app, nn); 85 pf->num_vnics--; 89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) argument 93 list_for_each_entry_safe(nn, next, &pf->vnics, vnic_list) 95 nfp_net_pf_free_vnic(pf, n 99 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, void __iomem *ctrl_bar, void __iomem *qc_bar, int stride, unsigned int id) argument 140 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) argument 178 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, void __iomem *qc_bar, int stride) argument 213 nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) argument 223 nfp_net_pf_alloc_irqs(struct nfp_pf *pf) argument 263 nfp_net_pf_free_irqs(struct nfp_pf *pf) argument 269 nfp_net_pf_init_vnics(struct nfp_pf *pf) argument 297 nfp_net_pf_app_init(struct nfp_pf *pf, u8 __iomem *qc_bar, unsigned int stride) argument 345 nfp_net_pf_app_clean(struct nfp_pf *pf) argument 362 nfp_net_pf_app_start_ctrl(struct nfp_pf *pf) argument 383 nfp_net_pf_app_stop_ctrl(struct nfp_pf *pf) argument 391 nfp_net_pf_app_start(struct nfp_pf *pf) argument 418 nfp_net_pf_app_stop(struct nfp_pf *pf) argument 426 nfp_net_pci_unmap_mem(struct nfp_pf *pf) argument 438 nfp_net_pci_map_mem(struct nfp_pf *pf) argument 592 nfp_net_refresh_port_table_sync(struct nfp_pf *pf) argument 647 struct nfp_pf *pf = container_of(work, struct nfp_pf, local 658 struct nfp_pf *pf = port->app->pf; local 690 nfp_net_pci_probe(struct nfp_pf *pf) argument 806 nfp_net_pci_remove(struct nfp_pf *pf) argument [all...] |
H A D | nfp_main.c | 72 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, argument 79 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); 81 val = nfp_rtsym_read_le(pf->rtbl, name, &err); 85 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); 93 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, argument 99 nfp_cppcore_pcie_unit(pf->cpp)); 101 return nfp_rtsym_map(pf->rtbl, pf_symbol, name, min_size, area); 105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, argument 113 if (!pf->mbox) 116 max_data_sz = nfp_rtsym_size(pf 182 nfp_board_ready(struct nfp_pf *pf) argument 199 nfp_pf_board_state_wait(struct nfp_pf *pf) argument 221 nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) argument 245 struct nfp_pf *pf = pci_get_drvdata(pdev); local 290 struct nfp_pf *pf = pci_get_drvdata(pdev); local 329 nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw, struct netlink_ext_ack *extack) argument 358 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) argument 380 nfp_net_fw_find(struct pci_dev *pdev, struct nfp_pf *pf) argument 481 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) argument 587 nfp_nsp_init_ports(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) argument 612 nfp_nsp_init(struct pci_dev *pdev, struct nfp_pf *pf) argument 655 nfp_fw_unload(struct nfp_pf *pf) argument 675 nfp_pf_find_rtsyms(struct nfp_pf *pf) argument 694 nfp_net_pf_get_app_id(struct nfp_pf *pf) argument 700 nfp_net_pf_get_app_cap(struct nfp_pf *pf) argument 719 nfp_pf_cfg_hwinfo(struct nfp_pf *pf) argument 761 struct nfp_pf *pf; local 899 struct nfp_pf *pf; local [all...] |
H A D | nfp_shared_buf.c | 13 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) argument 18 for (i = 0; i < pf->num_shared_bufs; i++) 19 if (pf->shared_bufs[i].id == sb_id) 20 return le32_to_cpu(pf->shared_bufs[i].pool_size_unit); 26 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, argument 37 unit_size = nfp_shared_buf_pool_unit(pf, sb); 41 n = nfp_mbox_cmd(pf, NFP_MBOX_POOL_GET, &id, sizeof(id), 56 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, argument 69 unit_size = nfp_shared_buf_pool_unit(pf, sb); 74 return nfp_mbox_cmd(pf, NFP_MBOX_POOL_SE 78 nfp_shared_buf_register(struct nfp_pf *pf) argument 141 nfp_shared_buf_unregister(struct nfp_pf *pf) argument [all...] |
/linux-master/drivers/iio/ |
H A D | iio_core_trigger.h | 25 struct iio_poll_func *pf); 27 struct iio_poll_func *pf); 49 struct iio_poll_func *pf) 54 struct iio_poll_func *pf) 48 iio_trigger_attach_poll_func(struct iio_trigger *trig, struct iio_poll_func *pf) argument 53 iio_trigger_detach_poll_func(struct iio_trigger *trig, struct iio_poll_func *pf) argument
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, argument 17 mutex_lock(&pf->mbox.lock); 19 req = otx2_mbox_alloc_msg_cgx_mac_addr_add(&pf->mbox); 21 mutex_unlock(&pf->mbox.lock); 26 err = otx2_sync_mbox_msg(&pf->mbox); 30 otx2_mbox_get_rsp(&pf->mbox.mbox, 0, &req->hdr); 34 mutex_unlock(&pf->mbox.lock); 38 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) argument 44 mutex_lock(&pf->mbox.lock); 46 req = otx2_mbox_alloc_msg_cgx_mac_addr_set(&pf 74 otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) argument 110 otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index) argument 129 otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) argument 144 otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) argument 177 otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) argument [all...] |
H A D | otx2_pf.c | 56 struct otx2_nic *pf = netdev_priv(netdev); local 60 if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) { 78 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) argument 80 int irq, vfs = pf->total_vfs; 83 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); 84 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); 85 free_irq(irq, pf); 88 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); 89 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); 90 free_irq(irq, pf); 104 otx2_flr_wq_destroy(struct otx2_nic *pf) argument 116 struct otx2_nic *pf = flrwork->pf; local 147 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; local 176 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; local 199 otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) argument 272 otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) argument 354 otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, struct otx2_mbox *src_mbox, int dir, int vf, int num_msgs) argument 456 struct otx2_nic *pf; local 494 struct otx2_nic *pf = vf_mbox->pfvf; local 545 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); local 572 otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) argument 637 otx2_pfvf_mbox_destroy(struct otx2_nic *pf) argument 655 otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) argument 670 otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) argument 689 otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) argument 734 otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, struct mbox_msghdr *msg) argument 810 struct otx2_nic *pf; local 834 otx2_handle_link_event(struct otx2_nic *pf) argument 851 otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf, struct mcs_intr_info *event, struct msg_rsp *rsp) argument 860 otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf, struct cgx_link_info_msg *msg, struct msg_rsp *rsp) argument 888 otx2_process_mbox_msg_up(struct otx2_nic *pf, struct mbox_msghdr *req) argument 934 struct otx2_nic *pf = af_mbox->pfvf; local 967 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; local 1015 otx2_disable_mbox_intr(struct otx2_nic *pf) argument 1024 otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) argument 1068 otx2_pfaf_mbox_destroy(struct otx2_nic *pf) argument 1084 otx2_pfaf_mbox_init(struct otx2_nic *pf) argument 1132 otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) argument 1153 otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) argument 1255 struct otx2_nic *pf = data; local 1372 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; local 1389 otx2_disable_napi(struct otx2_nic *pf) argument 1403 otx2_free_cq_res(struct otx2_nic *pf) argument 1417 otx2_free_sq_res(struct otx2_nic *pf) argument 1439 otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) argument 1467 otx2_init_hw_resources(struct otx2_nic *pf) argument 1592 otx2_free_hw_resources(struct otx2_nic *pf) argument 1694 otx2_do_set_rx_mode(struct otx2_nic *pf) argument 1762 struct otx2_nic *pf = netdev_priv(netdev); local 1971 struct otx2_nic *pf = netdev_priv(netdev); local 2042 struct otx2_nic *pf = netdev_priv(netdev); local 2078 otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb, u16 htb_maj_id) argument 2097 struct otx2_nic *pf = netdev_priv(netdev); local 2154 struct otx2_nic *pf = netdev_priv(netdev); local 2161 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); local 2170 struct otx2_nic *pf = netdev_priv(netdev); local 2185 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); local 2344 otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) argument 2374 struct otx2_nic *pf = netdev_priv(netdev); local 2399 otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, __be16 proto) argument 2541 struct otx2_nic *pf = netdev_priv(netdev); local 2566 struct otx2_nic *pf = netdev_priv(netdev); local 2585 otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, int qidx) argument 2611 struct otx2_nic *pf = netdev_priv(netdev); local 2640 otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) argument 2681 struct otx2_nic *pf = netdev_priv(netdev); local 2691 otx2_set_vf_permissions(struct otx2_nic *pf, int vf, int req_perm) argument 2722 struct otx2_nic *pf = netdev_priv(netdev); local 2768 otx2_wq_init(struct otx2_nic *pf) argument 2797 otx2_realloc_msix_vectors(struct otx2_nic *pf) argument 2820 otx2_sriov_vfcfg_init(struct otx2_nic *pf) argument 2841 otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) argument 2859 struct otx2_nic *pf; local 3117 struct otx2_nic *pf; local 3161 struct otx2_nic *pf = netdev_priv(netdev); local 3200 struct otx2_nic *pf = netdev_priv(netdev); local 3227 struct otx2_nic *pf; local [all...] |