/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 60 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf() 65 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp() 80 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx() 101 static void ice_ptp_update_sma_data(struct ice_pf *pf, unsigned int sma_pins[], in ice_ptp_update_sma_data() 156 static int ice_ptp_set_sma_cfg(struct ice_pf *pf) in ice_ptp_set_sma_cfg() 197 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt() 234 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 259 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode() 278 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode() 301 u64 ice_ptp_read_src_clk_reg(struct ice_pf *pf, in ice_ptp_read_src_clk_reg() [all …]
|
H A D | ice_eswitch.c | 20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 88 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() 108 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() 177 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local 265 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 287 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev() 322 static void ice_eswitch_disable_switchdev(struct ice_pf *pf) in ice_eswitch_disable_switchdev() 340 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() local 388 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() local 401 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() [all …]
|
H A D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() 24 ice_init_virt_irq_tracker(struct ice_pf *pf, u32 base, u32 num_entries) in ice_init_virt_irq_tracker() 40 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() 45 static void ice_deinit_virt_irq_tracker(struct ice_pf *pf) in ice_deinit_virt_irq_tracker() 55 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() 74 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, in ice_get_irq_res() 107 static int ice_get_default_msix_amount(struct ice_pf *pf) in ice_get_default_msix_amount() 118 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 129 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 182 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_allowed) in ice_alloc_irq() [all …]
|
H A D | ice_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_main.c | 65 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 115 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 183 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 328 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local 485 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 508 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 532 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() 625 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() 670 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask() 943 static void ice_set_dflt_mib(struct ice_pf *pf) in ice_set_dflt_mib() [all …]
|
H A D | ice_sriov.c | 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() 50 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 90 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 130 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 199 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local 233 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() local 370 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res() 439 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res() local 466 static int ice_start_vfs(struct ice_pf *pf) in ice_start_vfs() 551 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register() 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() 231 int ice_alloc_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry) in ice_alloc_rdma_qvector() 250 void ice_free_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry) in ice_free_rdma_qvector() 276 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() [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_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 160 static u16 ice_get_rxq_count(struct ice_pf *pf) in ice_get_rxq_count() 165 static u16 ice_get_txq_count(struct ice_pf *pf) in ice_get_txq_count() 179 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() local 286 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw() local 315 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() local 340 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats() local 381 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats() local 442 struct ice_pf *pf = NULL; in ice_vsi_free() local 520 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_stat_arrays() local [all …]
|
H A D | ice_dpll.c | 50 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() 75 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() 135 struct ice_pf *pf = d->pf; in ice_dpll_frequency_set() local 223 struct ice_pf *pf = d->pf; in ice_dpll_frequency_get() local 394 ice_dpll_pin_state_update(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_state_update() 511 ice_dpll_hw_input_prio_set(struct ice_pf *pf, struct ice_dpll *dpll, in ice_dpll_hw_input_prio_set() 553 struct ice_pf *pf = d->pf; in ice_dpll_lock_status_get() local 581 struct ice_pf *pf = d->pf; in ice_dpll_mode_get() local 615 struct ice_pf *pf = d->pf; in ice_dpll_pin_state_set() local 723 struct ice_pf *pf = d->pf; in ice_dpll_pin_state_get() local [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() 89 bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs() 105 u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs() 145 struct ice_pf *pf = vf->pf; in ice_is_vf_disabled() local 262 struct ice_pf *pf = vf->pf; in ice_vf_reconfig_vsi() local 296 struct ice_pf *pf = vf->pf; in ice_vf_rebuild_vsi() local 465 struct ice_pf *pf = vsi->back; in ice_vf_rebuild_aggregator_node_cfg() local 575 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) in ice_is_any_vf_in_unicast_promisc() 628 struct ice_pf *pf = vf->pf; in ice_vf_clear_all_promisc_modes() local 728 struct ice_pf *pf = vf->pf; in ice_reset_vf_mbx_cnt() local [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 37 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local 75 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local 108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local 156 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc() local 195 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp() local 247 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp() local 309 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate() local 325 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate() local 369 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx() local 404 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 108 void i40e_notify_client_of_l2_param_changes(struct i40e_pf *pf) in i40e_notify_client_of_l2_param_changes() 147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 166 void i40e_notify_client_of_netdev_close(struct i40e_pf *pf, bool reset) in i40e_notify_client_of_netdev_close() 193 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset() 218 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable() 245 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable() 267 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info() 334 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance() 390 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() 329 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 350 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 554 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 716 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 778 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local [all …]
|
H A D | i40e_devlink.c | 8 static void i40e_info_get_dsn(struct i40e_pf *pf, char *buf, size_t len) in i40e_info_get_dsn() 70 struct i40e_pf *pf = devlink_priv(dl); in i40e_devlink_info_get() local 153 void i40e_free_pf(struct i40e_pf *pf) in i40e_free_pf() 166 void i40e_devlink_register(struct i40e_pf *pf) in i40e_devlink_register() 177 void i40e_devlink_unregister(struct i40e_pf *pf) in i40e_devlink_unregister() 187 static void i40e_devlink_set_switch_id(struct i40e_pf *pf, in i40e_devlink_set_switch_id() 206 int i40e_devlink_create_port(struct i40e_pf *pf) in i40e_devlink_create_port() 232 void i40e_devlink_destroy_port(struct i40e_pf *pf) in i40e_devlink_destroy_port()
|
/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 …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 58 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 80 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() 106 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy() 118 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local 149 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local 178 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local 201 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr() 274 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init() 356 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs() 457 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local [all …]
|
H A D | cn10k_ipsec.c | 22 static bool cn10k_cpt_device_set_inuse(struct otx2_nic *pf) in cn10k_cpt_device_set_inuse() 39 static void cn10k_cpt_device_set_available(struct otx2_nic *pf) in cn10k_cpt_device_set_available() 44 static void cn10k_cpt_device_set_unavailable(struct otx2_nic *pf) in cn10k_cpt_device_set_unavailable() 49 static int cn10k_outb_cptlf_attach(struct otx2_nic *pf) in cn10k_outb_cptlf_attach() 71 static int cn10k_outb_cptlf_detach(struct otx2_nic *pf) in cn10k_outb_cptlf_detach() 92 static int cn10k_outb_cptlf_alloc(struct otx2_nic *pf) in cn10k_outb_cptlf_alloc() 114 static void cn10k_outb_cptlf_free(struct otx2_nic *pf) in cn10k_outb_cptlf_free() 122 static int cn10k_outb_cptlf_config(struct otx2_nic *pf) in cn10k_outb_cptlf_config() 141 static void cn10k_outb_cptlf_iq_enable(struct otx2_nic *pf) in cn10k_outb_cptlf_iq_enable() 156 static void cn10k_outb_cptlf_iq_disable(struct otx2_nic *pf) in cn10k_outb_cptlf_iq_disable() [all …]
|
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink.c | 34 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 44 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 56 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 64 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 72 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 79 static void ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 88 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, in ice_info_pending_orom_ver() 98 static void ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 106 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, in ice_info_pending_nvm_ver() 116 static void ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_eetrack() [all …]
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc4_pf.c | 14 static void enetc4_get_port_caps(struct enetc_pf *pf) in enetc4_get_port_caps() 66 struct enetc_pf *pf = enetc_si_priv(si); in enetc4_pf_struct_init() local 91 static void enetc4_default_rings_allocation(struct enetc_pf *pf) in enetc4_default_rings_allocation() 127 static void enetc4_allocate_si_rings(struct enetc_pf *pf) in enetc4_allocate_si_rings() 144 static void enetc4_set_default_si_vlan_promisc(struct enetc_pf *pf) in enetc4_set_default_si_vlan_promisc() 156 static void enetc4_set_si_msix_num(struct enetc_pf *pf) in enetc4_set_si_msix_num() 175 static void enetc4_enable_all_si(struct enetc_pf *pf) in enetc4_enable_all_si() 189 static void enetc4_configure_port_si(struct enetc_pf *pf) in enetc4_configure_port_si() 219 static void enetc4_set_trx_frame_size(struct enetc_pf *pf) in enetc4_set_trx_frame_size() 237 static void enetc4_set_default_rss_key(struct enetc_pf *pf) in enetc4_set_default_rss_key() [all …]
|
H A D | enetc_pf.c | 34 static struct phylink_pcs *enetc_pf_create_pcs(struct enetc_pf *pf, in enetc_pf_create_pcs() 53 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() 59 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() 148 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() 195 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_rx_mode() local 271 static void enetc_sync_vlan_ht_filter(struct enetc_pf *pf, bool rehash) in enetc_sync_vlan_ht_filter() 291 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_vlan_rx_add_vid() local 306 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_vlan_rx_del_vid() local 340 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_mac() local 359 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_vlan() local [all …]
|
/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 …]
|