Home
last modified time | relevance | path

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

/Linux-v5.4/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.c126 struct nfp_nsp { struct
157 void (*error_cb)(struct nfp_nsp *state, u32 ret_val); argument
177 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp()
182 bool nfp_nsp_config_modified(struct nfp_nsp *state) in nfp_nsp_config_modified()
187 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified) in nfp_nsp_config_set_modified()
192 void *nfp_nsp_config_entries(struct nfp_nsp *state) in nfp_nsp_config_entries()
197 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state) in nfp_nsp_config_idx()
203 nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, unsigned int idx) in nfp_nsp_config_set_state()
209 void nfp_nsp_config_clear_state(struct nfp_nsp *state) in nfp_nsp_config_clear_state()
215 static void nfp_nsp_print_extended_error(struct nfp_nsp *state, u32 ret_val) in nfp_nsp_print_extended_error()
[all …]
Dnfp_nsp_eth.c125 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate()
232 struct nfp_nsp *nsp; in nfp_eth_read_ports()
245 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
298 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
301 struct nfp_nsp *nsp; in nfp_eth_config_start()
335 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp) in nfp_eth_config_cleanup_end()
359 int nfp_eth_config_commit_end(struct nfp_nsp *nsp) in nfp_eth_config_commit_end()
391 struct nfp_nsp *nsp; in nfp_eth_set_mod_enable()
430 struct nfp_nsp *nsp; in nfp_eth_set_configured()
462 nfp_eth_set_bit_config(struct nfp_nsp *nsp, unsigned int raw_idx, in nfp_eth_set_bit_config()
[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()
/Linux-v5.4/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.c311 struct nfp_nsp *nsp; in nfp_flash_update_common()
434 nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp, in nfp_get_fw_policy_value()
469 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) in nfp_fw_load()
576 struct nfp_nsp *nsp) in nfp_nsp_init_ports()
602 struct nfp_nsp *nsp; in nfp_nsp_init()
645 struct nfp_nsp *nsp; in nfp_fw_unload()
Dnfp_devlink.c42 struct nfp_nsp *nsp; in nfp_devlink_set_lanes()
263 struct nfp_nsp *nsp; in nfp_devlink_info_get()
DMakefile12 nfpcore/nfp_nsp.o \
Dnfp_net_ethtool.c161 struct nfp_nsp *nsp; in nfp_net_get_nspinfo()
318 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings()
1123 struct nfp_nsp *nsp; in nfp_port_get_module_info()
1198 struct nfp_nsp *nsp; in nfp_port_get_module_eeprom()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c262 struct nfp_nsp *nsp; in nfp_abm_vnic_set_mac()