Home
last modified time | relevance | path

Searched refs:nfp_nsp (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.h12 struct nfp_nsp;
14 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
15 void nfp_nsp_close(struct nfp_nsp *state);
16 u16 nfp_nsp_get_abi_ver_major(struct nfp_nsp *state);
17 u16 nfp_nsp_get_abi_ver_minor(struct nfp_nsp *state);
18 int nfp_nsp_wait(struct nfp_nsp *state);
19 int nfp_nsp_device_soft_reset(struct nfp_nsp *state);
20 int nfp_nsp_load_fw(struct nfp_nsp *state, const struct firmware *fw);
21 int nfp_nsp_write_flash(struct nfp_nsp *state, const struct firmware *fw);
22 int nfp_nsp_mac_reinit(struct nfp_nsp *state);
[all …]
Dnfp.h27 struct nfp_nsp;
29 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state);
30 bool nfp_nsp_config_modified(struct nfp_nsp *state);
31 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified);
32 void *nfp_nsp_config_entries(struct nfp_nsp *state);
33 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state);
34 void nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries,
36 void nfp_nsp_config_clear_state(struct nfp_nsp *state);
37 int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size);
38 int nfp_nsp_write_eth_table(struct nfp_nsp *state,
[all …]
Dnfp_nsp.c127 struct nfp_nsp { struct
158 void (*error_cb)(struct nfp_nsp *state, u32 ret_val); argument
178 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp()
183 bool nfp_nsp_config_modified(struct nfp_nsp *state) in nfp_nsp_config_modified()
188 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified) in nfp_nsp_config_set_modified()
193 void *nfp_nsp_config_entries(struct nfp_nsp *state) in nfp_nsp_config_entries()
198 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state) in nfp_nsp_config_idx()
204 nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, unsigned int idx) in nfp_nsp_config_set_state()
210 void nfp_nsp_config_clear_state(struct nfp_nsp *state) in nfp_nsp_config_clear_state()
216 static void nfp_nsp_print_extended_error(struct nfp_nsp *state, u32 ret_val) in nfp_nsp_print_extended_error()
[all …]
Dnfp_nsp_eth.c128 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate()
231 nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry) in nfp_eth_read_media()
266 struct nfp_nsp *nsp; in nfp_eth_read_ports()
279 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
334 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
337 struct nfp_nsp *nsp; in nfp_eth_config_start()
371 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp) in nfp_eth_config_cleanup_end()
395 int nfp_eth_config_commit_end(struct nfp_nsp *nsp) in nfp_eth_config_commit_end()
427 struct nfp_nsp *nsp; in nfp_eth_set_mod_enable()
466 struct nfp_nsp *nsp; in nfp_eth_set_configured()
[all …]
Dnfp_nsp_cmds.c23 struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp) in __nfp_nsp_identify()
74 struct nfp_nsp *nsp; in nfp_hwmon_read_sensor()
/drivers/net/ethernet/netronome/nfp/
Ddevlink_param.c88 struct nfp_nsp *nsp; in nfp_devlink_param_u8_get()
139 struct nfp_nsp *nsp; in nfp_devlink_param_u8_set()
209 struct nfp_nsp *nsp; in nfp_devlink_supports_params()
Dnfp_main.c333 struct nfp_nsp *nsp; in nfp_flash_update_common()
446 nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp, in nfp_get_fw_policy_value()
481 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) in nfp_fw_load()
588 struct nfp_nsp *nsp) in nfp_nsp_init_ports()
614 struct nfp_nsp *nsp; in nfp_nsp_init()
657 struct nfp_nsp *nsp; in nfp_fw_unload()
721 struct nfp_nsp *nsp; in nfp_pf_cfg_hwinfo()
Dnfp_net_ethtool.c186 struct nfp_nsp *nsp; in nfp_net_get_nspinfo()
552 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings()
694 struct nfp_nsp *nsp; in nfp_test_nsp()
1629 struct nfp_nsp *nsp; in nfp_port_get_module_info()
1709 struct nfp_nsp *nsp; in nfp_port_get_module_eeprom()
1936 struct nfp_nsp **nspptr, in nfp_net_get_nsp_hwindex()
1941 struct nfp_nsp *nsp; in nfp_net_get_nsp_hwindex()
1973 struct nfp_nsp *nsp; in nfp_net_get_port_mac_by_hwinfo()
2006 struct nfp_nsp *nsp; in nfp_net_set_port_mac_by_hwinfo()
Dnfp_devlink.c41 struct nfp_nsp *nsp; in nfp_devlink_set_lanes()
238 struct nfp_nsp *nsp; in nfp_devlink_info_get()
DMakefile13 nfpcore/nfp_nsp.o \
/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c262 struct nfp_nsp *nsp; in nfp_abm_vnic_set_mac()