Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.h42 struct nfp_nsp;
44 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
45 void nfp_nsp_close(struct nfp_nsp *state);
46 u16 nfp_nsp_get_abi_ver_major(struct nfp_nsp *state);
47 u16 nfp_nsp_get_abi_ver_minor(struct nfp_nsp *state);
48 int nfp_nsp_wait(struct nfp_nsp *state);
49 int nfp_nsp_device_soft_reset(struct nfp_nsp *state);
50 int nfp_nsp_load_fw(struct nfp_nsp *state, const struct firmware *fw);
51 int nfp_nsp_write_flash(struct nfp_nsp *state, const struct firmware *fw);
52 int nfp_nsp_mac_reinit(struct nfp_nsp *state);
[all …]
Dnfp.h57 struct nfp_nsp;
59 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state);
60 bool nfp_nsp_config_modified(struct nfp_nsp *state);
61 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified);
62 void *nfp_nsp_config_entries(struct nfp_nsp *state);
63 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state);
64 void nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries,
66 void nfp_nsp_config_clear_state(struct nfp_nsp *state);
67 int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size);
68 int nfp_nsp_write_eth_table(struct nfp_nsp *state,
[all …]
Dnfp_nsp.c116 struct nfp_nsp { struct
130 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp() argument
135 bool nfp_nsp_config_modified(struct nfp_nsp *state) in nfp_nsp_config_modified()
140 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified) in nfp_nsp_config_set_modified()
145 void *nfp_nsp_config_entries(struct nfp_nsp *state) in nfp_nsp_config_entries()
150 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state) in nfp_nsp_config_idx()
156 nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, unsigned int idx) in nfp_nsp_config_set_state()
162 void nfp_nsp_config_clear_state(struct nfp_nsp *state) in nfp_nsp_config_clear_state()
168 static void nfp_nsp_print_extended_error(struct nfp_nsp *state, u32 ret_val) in nfp_nsp_print_extended_error()
180 static int nfp_nsp_check(struct nfp_nsp *state) in nfp_nsp_check()
[all …]
Dnfp_nsp_eth.c155 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate()
259 struct nfp_nsp *nsp; in nfp_eth_read_ports()
272 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
326 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
329 struct nfp_nsp *nsp; in nfp_eth_config_start()
363 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp) in nfp_eth_config_cleanup_end()
387 int nfp_eth_config_commit_end(struct nfp_nsp *nsp) in nfp_eth_config_commit_end()
419 struct nfp_nsp *nsp; in nfp_eth_set_mod_enable()
458 struct nfp_nsp *nsp; in nfp_eth_set_configured()
490 nfp_eth_set_bit_config(struct nfp_nsp *nsp, unsigned int raw_idx, in nfp_eth_set_bit_config()
[all …]
Dnfp_nsp_cmds.c53 struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp) in __nfp_nsp_identify()
104 struct nfp_nsp *nsp; in nfp_hwmon_read_sensor()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c430 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) in nfp_fw_load()
472 struct nfp_nsp *nsp) in nfp_nsp_init_ports()
498 struct nfp_nsp *nsp; in nfp_nsp_init()
541 struct nfp_nsp *nsp; in nfp_fw_unload()
DMakefile12 nfpcore/nfp_nsp.o \
Dnfp_devlink.c71 struct nfp_nsp *nsp; in nfp_devlink_set_lanes()
Dnfp_net_ethtool.c187 struct nfp_nsp *nsp; in nfp_net_get_nspinfo()
344 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings()
1272 struct nfp_nsp *nsp; in nfp_net_flash_device()