Lines Matching defs:nfp_nsp

5  * nfp_nsp.c
20 #define NFP_SUBSYS "nfp_nsp"
24 #include "nfp_nsp.h"
127 struct nfp_nsp {
158 void (*error_cb)(struct nfp_nsp *state, u32 ret_val);
178 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state)
183 bool nfp_nsp_config_modified(struct nfp_nsp *state)
188 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified)
193 void *nfp_nsp_config_entries(struct nfp_nsp *state)
198 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state)
204 nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, unsigned int idx)
210 void nfp_nsp_config_clear_state(struct nfp_nsp *state)
216 static void nfp_nsp_print_extended_error(struct nfp_nsp *state, u32 ret_val)
228 static int nfp_nsp_check(struct nfp_nsp *state)
273 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp)
276 struct nfp_nsp *state;
304 void nfp_nsp_close(struct nfp_nsp *state)
310 u16 nfp_nsp_get_abi_ver_major(struct nfp_nsp *state)
315 u16 nfp_nsp_get_abi_ver_minor(struct nfp_nsp *state)
360 __nfp_nsp_command(struct nfp_nsp *state, const struct nfp_nsp_command_arg *arg)
428 static int nfp_nsp_command(struct nfp_nsp *state, u16 code)
438 nfp_nsp_command_buf_def(struct nfp_nsp *nsp,
494 nfp_nsp_command_buf_dma_sg(struct nfp_nsp *nsp,
623 nfp_nsp_command_buf_dma(struct nfp_nsp *nsp,
658 nfp_nsp_command_buf(struct nfp_nsp *nsp, struct nfp_nsp_command_buf_arg *arg)
697 int nfp_nsp_wait(struct nfp_nsp *state)
728 int nfp_nsp_device_soft_reset(struct nfp_nsp *state)
733 int nfp_nsp_mac_reinit(struct nfp_nsp *state)
738 static void nfp_nsp_load_fw_extended_msg(struct nfp_nsp *state, u32 ret_val)
791 int nfp_nsp_load_fw(struct nfp_nsp *state, const struct firmware *fw)
812 int nfp_nsp_write_flash(struct nfp_nsp *state, const struct firmware *fw)
827 int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size)
841 int nfp_nsp_write_eth_table(struct nfp_nsp *state,
856 int nfp_nsp_read_identify(struct nfp_nsp *state, void *buf, unsigned int size)
870 int nfp_nsp_read_sensors(struct nfp_nsp *state, unsigned int sensor_mask,
885 int nfp_nsp_load_stored_fw(struct nfp_nsp *state)
902 __nfp_nsp_hwinfo_lookup(struct nfp_nsp *state, void *buf, unsigned int size,
920 int nfp_nsp_hwinfo_lookup(struct nfp_nsp *state, void *buf, unsigned int size)
938 int nfp_nsp_hwinfo_lookup_optional(struct nfp_nsp *state, void *buf,
975 int nfp_nsp_hwinfo_set(struct nfp_nsp *state, void *buf, unsigned int size)
989 int nfp_nsp_fw_loaded(struct nfp_nsp *state)
998 int nfp_nsp_versions(struct nfp_nsp *state, void *buf, unsigned int size)
1048 __nfp_nsp_module_eeprom(struct nfp_nsp *state, void *buf, unsigned int size)
1064 int nfp_nsp_read_module_eeprom(struct nfp_nsp *state, int eth_index,
1106 int nfp_nsp_read_media(struct nfp_nsp *state, void *buf, unsigned int size)