/drivers/net/ethernet/netronome/nfp/ |
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 int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id() 85 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 95 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() 105 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic() 147 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 190 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics() 222 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 234 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs() [all …]
|
D | nfp_main.c | 51 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() 72 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() 84 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() 161 static bool nfp_board_ready(struct nfp_pf *pf) in nfp_board_ready() 178 static int nfp_pf_board_state_wait(struct nfp_pf *pf) in nfp_pf_board_state_wait() 200 static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) in nfp_pcie_sriov_read_nfd_limit() 224 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable() local 267 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable() local 304 int nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw, in nfp_flash_update_common() 333 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) in nfp_net_fw_request() [all …]
|
D | nfp_devlink.c | 29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, unsigned int port_index, in nfp_devlink_fill_eth_port_from_id() 40 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes() 68 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split() local 102 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit() local 136 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get() local 147 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set() local 155 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get() local 163 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set() local 184 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) in nfp_devlink_versions_get_hwinfo() 258 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get() local
|
/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 | 152 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local 196 static enum i40e_can_set_pins_t 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() 347 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq() local 388 static void i40e_ptp_set_1pps_signal_hw(struct i40e_pf *pf) in i40e_ptp_set_1pps_signal_hw() 422 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local 470 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettimex() local 490 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime() local [all …]
|
D | i40e_main.c | 136 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d() local 154 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d() local 206 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump() 295 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id() 312 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 333 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 536 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 707 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 772 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local 857 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats() 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_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() 219 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf() local 260 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id() local 277 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id() local 292 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id() local 310 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id() local 372 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list() local [all …]
|
D | i40e_ethtool.c | 472 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint() 484 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool() 766 struct i40e_pf *pf) in i40e_get_settings_link_up() 1040 struct i40e_pf *pf) in i40e_get_settings_link_down() 1063 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() local 1155 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() local 1390 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg() local 1452 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param() local 1494 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param() local 1538 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 …]
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_pf.c | 68 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() 94 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy() 106 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local 137 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local 166 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local 189 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr() 262 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init() 357 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs() 459 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local 497 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_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) in otx2_dmacflt_add_pfmac() 58 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u8 bit_pos) in otx2_dmacflt_add() 94 static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf) in otx2_dmacflt_remove_pfmac() 112 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove() 127 int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) in otx2_dmacflt_get_max_cnt() 154 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u8 bit_pos) in otx2_dmacflt_update()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 14 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp() 45 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 70 static void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp() 98 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index() 144 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index() 184 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index() 216 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg() 262 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime() 390 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 410 ice_ptp_read_time(struct ice_pf *pf, struct timespec64 *ts, in ice_ptp_read_time() [all …]
|
D | ice_devlink.c | 28 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 38 static int ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 52 static int ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 62 static int ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 72 static int ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 81 static int ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 91 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) in ice_info_pending_orom_ver() 102 static int ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 112 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) in ice_info_pending_nvm_ver() 122 static int 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 130 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() local 145 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() local 157 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() local 192 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() local 225 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() local 251 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() local 288 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() local [all …]
|
D | ice_main.c | 82 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 140 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 267 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local 419 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 442 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 465 ice_prepare_for_reset(struct ice_pf *pf) in ice_prepare_for_reset() 506 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() 546 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask() 808 static void ice_set_dflt_mib(struct ice_pf *pf) in ice_set_dflt_mib() 893 static void ice_check_module_power(struct ice_pf *pf, u8 link_cfg_err) in ice_check_module_power() [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 static struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() 73 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 128 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 157 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset() 189 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 221 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 243 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector() 274 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() [all …]
|
D | ice_virtchnl_pf.c | 264 static int ice_validate_vf_id(struct ice_pf *pf, u16 vf_id) in ice_validate_vf_id() 279 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init() 329 ice_vc_vf_broadcast(struct ice_pf *pf, enum virtchnl_ops v_opcode, in ice_vc_vf_broadcast() 395 struct ice_pf *pf = vf->pf; in ice_is_vf_link_up() local 479 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 519 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 564 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res() 612 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 703 struct ice_pf *pf = vf->pf; in ice_trigger_vf_reset() local 830 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() local [all …]
|
D | ice_dcb_lib.h | 57 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active() 63 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild() 83 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) in ice_init_pf_dcb() 90 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg() 104 static inline bool ice_is_dcb_active(struct ice_pf __always_unused *pf) in ice_is_dcb_active() 110 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q() 116 static inline void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) { } in ice_pf_dcb_recfg() 118 static inline void ice_update_dcb_stats(struct ice_pf *pf) { } in ice_update_dcb_stats() 120 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_dcb_process_lldp_set_mib_change()
|
D | ice_lib.c | 70 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() local 167 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() local 273 struct ice_pf *pf = vsi->back; in ice_vsi_delete() local 301 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() local 344 struct ice_pf *pf = NULL; in ice_vsi_clear() local 425 ice_vsi_alloc(struct ice_pf *pf, enum ice_vsi_type vsi_type, u16 vf_id) in ice_vsi_alloc() 520 struct ice_pf *pf = vsi->back; in ice_alloc_fd_res() local 567 struct ice_pf *pf = vsi->back; in ice_vsi_get_qs() local 609 struct ice_pf *pf = vsi->back; in ice_vsi_put_qs() local 633 bool ice_is_safe_mode(struct ice_pf *pf) in ice_is_safe_mode() [all …]
|
D | ice_dcb_lib.c | 15 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_netdev_tc() local 72 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() 234 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() 272 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() 398 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() 446 void ice_dcb_rebuild(struct ice_pf *pf) in ice_dcb_rebuild() 518 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg() 547 static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) in ice_dcb_sw_dflt_cfg() 622 static int ice_dcb_noncontig_cfg(struct ice_pf *pf) in ice_dcb_noncontig_cfg() 653 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) in ice_pf_dcb_recfg() [all …]
|
D | ice_fw_update.c | 14 struct ice_pf *pf; member 41 struct ice_pf *pf = priv->pf; in ice_send_package_data() local 83 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response() 204 struct ice_pf *pf = priv->pf; in ice_send_component_table() local 272 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block() 362 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module() 440 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module() 521 static int ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks() 580 struct ice_pf *pf = priv->pf; in ice_flash_component() local 636 struct ice_pf *pf = priv->pf; in ice_finalize_update() local [all …]
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 57 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() 63 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() 152 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() 199 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_rx_mode() local 275 static void enetc_sync_vlan_ht_filter(struct enetc_pf *pf, bool rehash) in enetc_sync_vlan_ht_filter() 295 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_vlan_rx_add_vid() local 310 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 …]
|
/drivers/block/paride/ |
D | pf.c | 290 struct pf_unit *pf; in pf_init_units() local 329 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open() local 354 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo() local 372 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl() local 388 struct pf_unit *pf = disk->private_data; in pf_release() local 410 static inline int status_reg(struct pf_unit *pf) in status_reg() 415 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg() 420 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg() 425 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait() 449 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command() [all …]
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cgx.c | 43 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) in is_mac_feature_supported() 105 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, in rvu_map_cgx_nix_block() 122 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 461 int pf = rvu_get_pf(pcifunc); in rvu_cgx_tx_enable() local 486 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries() local 526 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats() local 583 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() local 599 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set() local [all …]
|