Home
last modified time | relevance | path

Searched refs:nfp_pf (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.h48 * struct nfp_pf - NFP PF-specific device structure
90 struct nfp_pf { struct
150 int nfp_net_pci_probe(struct nfp_pf *pf);
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,
164 int nfp_net_pf_get_app_id(struct nfp_pf *pf);
166 nfp_pf_map_rtsym(struct nfp_pf *p
[all...]
H A Dnfp_net_main.c47 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 *p
[all...]
H A Dnfp_devlink.c29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, in nfp_devlink_fill_eth_port_from_id()
39 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes()
67 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
93 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
119 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
130 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
146 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
162 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) in nfp_devlink_versions_get_hwinfo()
236 struct nfp_pf *p in nfp_devlink_info_get()
[all...]
H A Dnfp_main.c72 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()
290 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable()
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 *p
[all...]
H A Ddevlink_param.c87 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()
240 void nfp_devlink_params_unregister(struct nfp_pf *pf) in nfp_devlink_params_unregister()
H A Dnfp_shared_buf.c13 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()
H A Dnfp_net_debugdump.c112 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 *p
[all...]
H A Dnfp_hwmon.c39 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()
H A Dnfp_port.h12 struct nfp_pf;
135 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
140 int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
H A Dnfp_app.h23 struct nfp_pf;
163 struct nfp_pf *pf;
436 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id);
445 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
H A Dnfp_app_nic.c11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.h49 * struct nfp_pf - NFP PF-specific device structure
89 struct nfp_pf { struct
150 int nfp_net_pci_probe(struct nfp_pf *pf);
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 *p
[all...]
H A Dnfp_net_main.c47 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 *p
[all...]
H A Dnfp_devlink.c29 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 *p in nfp_devlink_info_get()
[all...]
H A Dnfp_main.c51 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 *p
[all...]
H A Dnfp_shared_buf.c13 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()
H A Dnfp_net_debugdump.c112 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 *p
[all...]
H A Ddevlink_param.c87 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()
H A Dnfp_port.h12 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);
H A Dnfp_hwmon.c39 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()
H A Dnfp_app.h24 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,
H A Dnfp_app_nic.c11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c175 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c175 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nic/
H A Dmain.c11 struct nfp_pf *pf = app->pf; in nfp_nic_init()

Completed in 14 milliseconds

12