Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dnfp_nsp_eth.c132 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate()
244 nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry) in nfp_eth_read_media()
279 struct nfp_nsp *nsp; in nfp_eth_read_ports()
292 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
347 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
350 struct nfp_nsp *nsp; in nfp_eth_config_start()
384 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp) in nfp_eth_config_cleanup_end()
408 int nfp_eth_config_commit_end(struct nfp_nsp *nsp) in nfp_eth_config_commit_end()
440 struct nfp_nsp *nsp; in nfp_eth_set_mod_enable()
479 struct nfp_nsp *nsp; in nfp_eth_set_configured()
[all …]
H A 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/drivers/net/ethernet/netronome/nfp/
H A Ddevlink_param.c88 struct nfp_nsp *nsp; in nfp_devlink_param_u8_get()
140 struct nfp_nsp *nsp; in nfp_devlink_param_u8_set()
210 struct nfp_nsp *nsp; in nfp_devlink_supports_params()
H A 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()
H A Dnfp_devlink.c41 struct nfp_nsp *nsp; in nfp_devlink_set_lanes()
243 struct nfp_nsp *nsp; in nfp_devlink_info_get()
H A DMakefile13 nfpcore/nfp_nsp.o \
H A Dnfp_net_ethtool.c186 struct nfp_nsp *nsp; in nfp_net_get_nspinfo()
552 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings()
701 struct nfp_nsp *nsp; in nfp_test_nsp()
2005 struct nfp_nsp *nsp; in nfp_port_get_module_info()
2085 struct nfp_nsp *nsp; in nfp_port_get_module_eeprom()
2354 struct nfp_nsp **nspptr, in nfp_net_get_nsp_hwindex()
2359 struct nfp_nsp *nsp; in nfp_net_get_nsp_hwindex()
2391 struct nfp_nsp *nsp; in nfp_net_get_port_mac_by_hwinfo()
2424 struct nfp_nsp *nsp; in nfp_net_set_port_mac_by_hwinfo()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c262 struct nfp_nsp *nsp; in nfp_abm_vnic_set_mac()