/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.h | 89 struct nfp_pf { struct 150 int nfp_net_pci_probe(struct nfp_pf *pf); argument 151 void nfp_net_pci_remove(struct nfp_pf *pf); 153 int nfp_hwmon_register(struct nfp_pf *pf); 154 void nfp_hwmon_unregister(struct nfp_pf *pf); 157 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, 162 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, 165 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, 167 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, 169 int nfp_flash_update_common(struct nfp_pf *pf, const char *path, [all …]
|
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_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() 102 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit() 136 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get() 147 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set() 155 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get() 163 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set() 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()
|
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() 267 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable() 304 int nfp_flash_update_common(struct nfp_pf *pf, const char *path, in nfp_flash_update_common() 346 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) in nfp_net_fw_request() [all …]
|
D | nfp_net_debugdump.c | 112 typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl, 116 nfp_traverse_tlvs(struct nfp_pf *pf, void *data, u32 data_length, void *param, in nfp_traverse_tlvs() 190 static int nfp_calc_fwname_tlv_size(struct nfp_pf *pf) in nfp_calc_fwname_tlv_size() 197 static int nfp_calc_hwinfo_field_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_hwinfo_field_sz() 229 nfp_calc_rtsym_dump_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_rtsym_dump_sz() 251 nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param) in nfp_add_tlv_size() 299 nfp_calc_specific_level_size(struct nfp_pf *pf, struct nfp_dump_tl *dump_level, in nfp_calc_specific_level_size() 312 s64 nfp_net_dump_calculate_size(struct nfp_pf *pf, struct nfp_dumpspec *spec, in nfp_net_dump_calculate_size() 369 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname() 390 nfp_dump_hwinfo(struct nfp_pf *pf, struct nfp_dump_tl *spec, in nfp_dump_hwinfo() [all …]
|
D | nfp_shared_buf.c | 13 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) in nfp_shared_buf_pool_unit() 26 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, in nfp_shared_buf_pool_get() 56 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, in nfp_shared_buf_pool_set() 78 int nfp_shared_buf_register(struct nfp_pf *pf) in nfp_shared_buf_register() 141 void nfp_shared_buf_unregister(struct nfp_pf *pf) in nfp_shared_buf_unregister()
|
D | devlink_param.c | 87 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_get() 138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_set() 207 static int nfp_devlink_supports_params(struct nfp_pf *pf) in nfp_devlink_supports_params() 227 int nfp_devlink_params_register(struct nfp_pf *pf) in nfp_devlink_params_register() 245 void nfp_devlink_params_unregister(struct nfp_pf *pf) in nfp_devlink_params_unregister()
|
D | nfp_port.h | 12 struct nfp_pf; 112 nfp_port_from_id(struct nfp_pf *pf, enum nfp_port_type type, unsigned int id); 125 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, 130 int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
|
D | nfp_hwmon.c | 39 struct nfp_pf *pf = dev_get_drvdata(dev); in nfp_hwmon_read() 135 int nfp_hwmon_register(struct nfp_pf *pf) in nfp_hwmon_register() 156 void nfp_hwmon_unregister(struct nfp_pf *pf) in nfp_hwmon_unregister()
|
D | nfp_app.h | 24 struct nfp_pf; 164 struct nfp_pf *pf; 427 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id); 436 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
|
D | nfp_port.c | 79 nfp_port_from_id(struct nfp_pf *pf, enum nfp_port_type type, unsigned int id) in nfp_port_from_id() 189 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_port_init_phy_port()
|
D | nfp_app_nic.c | 11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port()
|
D | nfp_app.c | 228 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id) in nfp_app_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nic/ |
D | main.c | 11 struct nfp_pf *pf = app->pf; in nfp_nic_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 175 struct nfp_pf *pf = abm->app->pf; in nfp_abm_kill_reprs_all() 207 struct nfp_pf *pf = app->pf; in nfp_abm_eswitch_set_switchdev() 257 nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn, in nfp_abm_vnic_set_mac() 445 struct nfp_pf *pf = app->pf; in nfp_abm_init()
|
D | ctrl.c | 327 nfp_abm_ctrl_find_rtsym(struct nfp_pf *pf, const char *name, unsigned int size) in nfp_abm_ctrl_find_rtsym() 361 struct nfp_pf *pf = abm->app->pf; in nfp_abm_ctrl_find_addrs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | main.c | 742 const struct nfp_pf *pf = app->pf; in nfp_flower_init()
|