nfp_pf
nfp_abm_ctrl_find_rtsym(struct nfp_pf *pf, const char *name, unsigned int size)
struct nfp_pf *pf = abm->app->pf;
struct nfp_pf *pf = abm->app->pf;
struct nfp_pf *pf = app->pf;
nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn,
struct nfp_pf *pf = app->pf;
struct nfp_pf *pf = app->pf;
struct nfp_pf *pf = devlink_priv(devlink);
static int nfp_devlink_supports_params(struct nfp_pf *pf)
int nfp_devlink_params_register(struct nfp_pf *pf)
void nfp_devlink_params_unregister(struct nfp_pf *pf)
struct nfp_pf *pf = devlink_priv(devlink);
const struct nfp_pf *pf = app->pf;
struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id)
struct nfp_pf *pf;
struct nfp_pf;
struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id);
int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
struct nfp_pf *pf = devlink_priv(devlink);
struct nfp_pf *pf = devlink_priv(devlink);
struct nfp_pf *pf = devlink_priv(devlink);
struct nfp_pf *pf = devlink_priv(devlink);
nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req)
struct nfp_pf *pf = devlink_priv(devlink);
nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf,
nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes)
struct nfp_pf *pf = devlink_priv(devlink);
struct nfp_pf *pf = devlink_priv(devlink);
int nfp_hwmon_register(struct nfp_pf *pf)
void nfp_hwmon_unregister(struct nfp_pf *pf)
struct nfp_pf *pf = dev_get_drvdata(dev);
int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
static bool nfp_board_ready(struct nfp_pf *pf)
static int nfp_pf_board_state_wait(struct nfp_pf *pf)
static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf)
struct nfp_pf *pf = pci_get_drvdata(pdev);
struct nfp_pf *pf = pci_get_drvdata(pdev);
int nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw,
nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name)
nfp_net_fw_find(struct pci_dev *pdev, struct nfp_pf *pf)
nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp)
nfp_nsp_init_ports(struct pci_dev *pdev, struct nfp_pf *pf,
static int nfp_nsp_init(struct pci_dev *pdev, struct nfp_pf *pf)
static void nfp_fw_unload(struct nfp_pf *pf)
static int nfp_pf_find_rtsyms(struct nfp_pf *pf)
int nfp_net_pf_get_app_id(struct nfp_pf *pf)
static u64 nfp_net_pf_get_app_cap(struct nfp_pf *pf)
static void nfp_pf_cfg_hwinfo(struct nfp_pf *pf)
int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format,
struct nfp_pf *pf;
struct nfp_pf *pf;
nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt,
int nfp_net_pci_probe(struct nfp_pf *pf);
void nfp_net_pci_remove(struct nfp_pf *pf);
int nfp_hwmon_register(struct nfp_pf *pf);
void nfp_hwmon_unregister(struct nfp_pf *pf);
nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev,
int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format,
int nfp_net_pf_get_app_id(struct nfp_pf *pf);
nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt,
int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
int nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw,
s64 nfp_net_dump_calculate_size(struct nfp_pf *pf, struct nfp_dumpspec *spec,
int nfp_net_dump_populate_buffer(struct nfp_pf *pf, struct nfp_dumpspec *spec,
int nfp_shared_buf_register(struct nfp_pf *pf);
void nfp_shared_buf_unregister(struct nfp_pf *pf);
int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index,
int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb,
int nfp_devlink_params_register(struct nfp_pf *pf);
void nfp_devlink_params_unregister(struct nfp_pf *pf);
typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl,
nfp_traverse_tlvs(struct nfp_pf *pf, void *data, u32 data_length, void *param,
static int nfp_calc_fwname_tlv_size(struct nfp_pf *pf)
static int nfp_calc_hwinfo_field_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec)
nfp_calc_rtsym_dump_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec)
nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param)
nfp_calc_specific_level_size(struct nfp_pf *pf, struct nfp_dump_tl *dump_level,
s64 nfp_net_dump_calculate_size(struct nfp_pf *pf, struct nfp_dumpspec *spec,
static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump)
nfp_dump_hwinfo(struct nfp_pf *pf, struct nfp_dump_tl *spec,
static int nfp_dump_hwinfo_field(struct nfp_pf *pf, struct nfp_dump_tl *spec,
nfp_dump_csr_range(struct nfp_pf *pf, struct nfp_dumpspec_csr *spec_csr,
nfp_dump_indirect_csr_range(struct nfp_pf *pf,
nfp_dump_single_rtsym(struct nfp_pf *pf, struct nfp_dumpspec_rtsym *spec,
nfp_dump_for_tlv(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param)
nfp_dump_specific_level(struct nfp_pf *pf, struct nfp_dump_tl *dump_level,
int nfp_net_dump_populate_buffer(struct nfp_pf *pf, struct nfp_dumpspec *spec,
nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id)
nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar,
static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn)
static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf)
static void nfp_net_pf_free_irqs(struct nfp_pf *pf)
static int nfp_net_pf_init_vnics(struct nfp_pf *pf)
nfp_net_pf_app_init(struct nfp_pf *pf, u8 __iomem *qc_bar, unsigned int stride)
static void nfp_net_pf_app_clean(struct nfp_pf *pf)
static int nfp_net_pf_app_start_ctrl(struct nfp_pf *pf)
static void nfp_net_pf_app_stop_ctrl(struct nfp_pf *pf)
static int nfp_net_pf_app_start(struct nfp_pf *pf)
static void nfp_net_pf_app_stop(struct nfp_pf *pf)
static void nfp_net_pci_unmap_mem(struct nfp_pf *pf)
static int nfp_net_pci_map_mem(struct nfp_pf *pf)
nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev,
int nfp_net_refresh_port_table_sync(struct nfp_pf *pf)
struct nfp_pf *pf = container_of(work, struct nfp_pf,
struct nfp_pf *pf = port->app->pf;
int nfp_net_pci_probe(struct nfp_pf *pf)
static int nfp_net_pf_get_num_ports(struct nfp_pf *pf)
static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn)
void nfp_net_pci_remove(struct nfp_pf *pf)
static void nfp_net_pf_free_vnics(struct nfp_pf *pf)
nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev,
int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
struct nfp_pf;
int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb)
void nfp_shared_buf_unregister(struct nfp_pf *pf)
int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index,
int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb,
int nfp_shared_buf_register(struct nfp_pf *pf)
struct nfp_pf *pf = app->pf;