/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
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() 643 struct ice_pf *pf; in ice_ptp_tx_tstamp() local [all …]
|
D | ice_eswitch.c | 22 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, const u8 *mac) in ice_eswitch_add_vf_mac_rule() 114 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 173 static void ice_eswitch_remap_rings_to_vectors(struct ice_pf *pf) in ice_eswitch_remap_rings_to_vectors() 223 ice_eswitch_release_reprs(struct ice_pf *pf, struct ice_vsi *ctrl_vsi) in ice_eswitch_release_reprs() 251 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs() 326 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local 407 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 426 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_eswitch_vsi_setup() 435 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del() 450 static void ice_eswitch_napi_enable(struct ice_pf *pf) in ice_eswitch_napi_enable() [all …]
|
D | ice_devlink.c | 33 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 43 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 55 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 63 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 71 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 78 static void ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 87 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, in ice_info_pending_orom_ver() 97 static void ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 105 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, in ice_info_pending_nvm_ver() 115 static void ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_eetrack() [all …]
|
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 129 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() local 144 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() local 156 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() local 197 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() local 230 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() local 256 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() local 293 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() local [all …]
|
D | ice_sriov.c | 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() 64 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 104 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 151 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res() 174 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 252 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local 281 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx() 298 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() local 413 struct ice_pf *pf; in ice_calc_vf_reg_idx() local 463 static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) in ice_sriov_set_msix_res() [all …]
|
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) { } in ice_pf_dcb_recfg() 133 static inline void ice_update_dcb_stats(struct ice_pf *pf) { } in ice_update_dcb_stats() [all …]
|
D | ice_idc.c | 16 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() 33 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() 58 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 113 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 142 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset() 174 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 206 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 233 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector() 264 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() 310 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() [all …]
|
D | ice_main.c | 61 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 109 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 172 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 307 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_get_devlink_port() local 327 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local 462 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 485 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 510 static void ice_clear_sw_switch_recipes(struct ice_pf *pf) in ice_clear_sw_switch_recipes() 528 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() 614 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() [all …]
|
D | ice_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() local 176 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() local 290 struct ice_pf *pf = vsi->back; in ice_vsi_delete() local 318 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() local 361 struct ice_pf *pf = NULL; in ice_vsi_clear() local 435 struct ice_pf *pf = q_vector->vsi->back; in ice_eswitch_msix_clean_rings() local 464 ice_vsi_alloc(struct ice_pf *pf, enum ice_vsi_type vsi_type, in ice_vsi_alloc() 583 struct ice_pf *pf = vsi->back; in ice_alloc_fd_res() local 673 struct ice_pf *pf = vsi->back; in ice_vsi_get_qs() local 718 struct ice_pf *pf = vsi->back; in ice_vsi_put_qs() local [all …]
|
D | ice_gnss.c | 17 ice_gnss_do_write(struct ice_pf *pf, unsigned char *buf, unsigned int size) in ice_gnss_do_write() 83 struct ice_pf *pf = gnss->back; in ice_gnss_write_pending() local 115 struct ice_pf *pf; in ice_gnss_read() local 202 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf, int index) in ice_gnss_struct_init() 245 struct ice_pf *pf; in ice_gnss_tty_open() local 284 struct ice_pf *pf; in ice_gnss_tty_close() local 329 struct ice_pf *pf; in ice_gnss_tty_write() local 419 static struct tty_driver *ice_gnss_create_tty_driver(struct ice_pf *pf) in ice_gnss_create_tty_driver() 499 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init() 517 void ice_gnss_exit(struct ice_pf *pf) in ice_gnss_exit()
|
D | ice_eswitch.h | 34 static inline void ice_eswitch_release(struct ice_pf *pf) { } in ice_eswitch_release() 36 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues() 41 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, in ice_eswitch_add_vf_mac_rule() 53 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() 58 static inline int ice_eswitch_rebuild(struct ice_pf *pf) in ice_eswitch_rebuild() 75 static inline bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
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 …]
|
D | i40e_ptp.c | 151 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local 195 static enum i40e_can_set_pins_t i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins() 224 static void i40_ptp_reset_timing_events(struct i40e_pf *pf) in i40_ptp_reset_timing_events() 280 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts, in i40e_ptp_read() 307 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() 348 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfine() local 380 static void i40e_ptp_set_1pps_signal_hw(struct i40e_pf *pf) in i40e_ptp_set_1pps_signal_hw() 414 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local 462 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex() local 482 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime() local [all …]
|
D | i40e_client.c | 85 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 111 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local 147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 170 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local 196 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset() 221 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable() 248 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable() 270 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info() 337 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance() 393 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance() [all …]
|
D | i40e_main.c | 132 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d() local 150 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d() local 202 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump() 291 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id() 308 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 329 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 532 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 703 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 768 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local 854 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats() local [all …]
|
D | i40e_virtchnl_pf.c | 18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() 111 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 131 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state() 145 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset() 193 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf() local 234 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id() local 251 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id() local 266 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id() local 284 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id() local 346 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list() local [all …]
|
D | i40e_ethtool.c | 476 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint() 488 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool() 770 struct i40e_pf *pf) in i40e_get_settings_link_up() 1044 struct i40e_pf *pf) in i40e_get_settings_link_down() 1067 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() local 1224 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() local 1484 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg() local 1546 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param() local 1588 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param() local 1632 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset() local [all …]
|
D | i40e_debugfs.c | 24 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() 43 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() 72 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read() local 115 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() 493 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc() 542 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc() 654 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid() 669 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats() 695 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid() 716 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all() [all …]
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_main.c | 48 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() 75 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() 80 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 90 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() 100 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic() 141 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 184 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics() 219 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 231 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs() 271 static void nfp_net_pf_free_irqs(struct nfp_pf *pf) in nfp_net_pf_free_irqs() [all …]
|
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-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 54 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 76 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() 102 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy() 114 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local 145 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local 174 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local 197 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr() 270 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init() 365 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs() 467 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local [all …]
|
D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() 38 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac() 74 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() 110 static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index) in otx2_dmacflt_remove_pfmac() 129 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove() 144 int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) in otx2_dmacflt_get_max_cnt() 177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
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 346 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_mac() local 365 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_vlan() local 384 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_spoofchk() local [all …]
|
/linux-6.1.9/drivers/block/paride/ |
D | pf.c | 289 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open() local 314 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo() local 332 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl() local 348 struct pf_unit *pf = disk->private_data; in pf_release() local 370 static inline int status_reg(struct pf_unit *pf) in status_reg() 375 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg() 380 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg() 385 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait() 409 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command() 440 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cgx.c | 44 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) in is_mac_feature_supported() 106 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, in rvu_map_cgx_nix_block() 123 int pf = PF_CGXMAP_BASE; in rvu_map_cgx_lmac_pf() local 422 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp() 444 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx() local 469 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries() local 514 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats() local 571 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() local 587 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set() local 607 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add() local [all …]
|