/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cpp.h | 51 struct nfp_cpp; 202 void nfp_cpp_free(struct nfp_cpp *cpp); 203 u32 nfp_cpp_model(struct nfp_cpp *cpp); 204 u16 nfp_cpp_interface(struct nfp_cpp *cpp); 205 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial); 206 unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp); 208 struct nfp_cpp_area *nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, 213 struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id, 217 nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 cpp_id, 231 struct nfp_cpp *nfp_cpp_area_cpp(struct nfp_cpp_area *cpp_area); [all …]
|
D | nfp_nffw.h | 17 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp); 25 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp); 65 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp); 67 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip); 74 int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 76 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 78 int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 80 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 82 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 84 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, [all …]
|
D | nfp_cppcore.c | 59 struct nfp_cpp { struct 90 struct nfp_cpp *cpp; argument 102 struct nfp_cpp *cpp; 134 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area() 161 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free() 212 u32 nfp_cpp_model(struct nfp_cpp *cpp) in nfp_cpp_model() 223 u16 nfp_cpp_interface(struct nfp_cpp *cpp) in nfp_cpp_interface() 235 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial) in nfp_cpp_serial() 246 static int nfp_cpp_set_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_cpp_set_mu_locality_lsb() 264 unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_cpp_mu_locality_lsb() [all …]
|
D | nfp_nsp.h | 11 struct nfp_cpp; 14 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp); 189 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp); 191 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp); 193 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable); 194 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, 197 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode); 210 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx); 251 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
|
D | nfp_rtsym.c | 41 struct nfp_cpp *cpp; 82 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) in nfp_rtsym_table_read() 95 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) in __nfp_rtsym_table_read() 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in nfp_rtsym_to_dest() 257 int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_read() 288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read() 294 int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_readl() 314 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readl() 320 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_readq() 345 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readq() [all …]
|
D | nfp.h | 20 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp); 29 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state); 67 int nfp_resource_table_init(struct nfp_cpp *cpp); 70 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name); 74 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs);
|
D | nfp_cpplib.c | 40 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl() 63 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel() 84 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq() 107 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq() 122 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect() 153 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_explicit_read() 206 int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, in nfp_cpp_explicit_write() 274 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, in nfp_cpp_map_area()
|
D | nfp_mutex.c | 15 struct nfp_cpp *cpp; 86 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, in nfp_cpp_mutex_init() 123 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc() 221 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_unlock() 267 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_trylock() 341 int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_reclaim()
|
D | nfp_hwinfo.c | 106 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk() 129 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate() 152 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch() 208 static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size) in hwinfo_fetch() 229 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp) in nfp_hwinfo_read()
|
D | nfp_resource.c | 69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find() 112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire() 150 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire() 231 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) in nfp_resource_wait() 318 int nfp_resource_table_init(struct nfp_cpp *cpp) in nfp_resource_table_init()
|
D | nfp_nsp_eth.c | 176 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry() 204 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type() 229 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) 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() 388 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable() 427 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured() 548 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
|
D | nfp_mip.c | 43 nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) in nfp_mip_try_read() 68 static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) in nfp_mip_read_resource() 99 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open()
|
D | nfp_nsp.c | 127 struct nfp_cpp *cpp; 177 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp() 229 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check() 272 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open() 320 nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, in nfp_nsp_wait_reg() 362 struct nfp_cpp *cpp = state->cpp; in __nfp_nsp_command() 440 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_def() 498 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma_sg() 627 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma() 660 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf()
|
D | nfp_nffw.c | 79 struct nfp_cpp *cpp; 159 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open()
|
D | nfp6000_pcie.h | 14 struct nfp_cpp *nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev);
|
D | nfp_nsp_cmds.c | 70 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, in nfp_hwmon_read_sensor()
|
D | nfp6000_pcie.c | 1232 static int nfp6000_init(struct nfp_cpp *cpp) in nfp6000_init() 1241 static void nfp6000_free(struct nfp_cpp *cpp) in nfp6000_free() 1314 struct nfp_cpp *nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev) in nfp_cpp_from_nfp6000_pcie()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.h | 25 struct nfp_cpp; 92 struct nfp_cpp *cpp; 177 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl);
|
D | nfp_app.h | 23 struct nfp_cpp; 165 struct nfp_cpp *cpp;
|
D | nfp_net_debugdump.c | 156 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) in nfp_net_dump_load_dumpspec() 504 nfp_read_indirect_csr(struct nfp_cpp *cpp, in nfp_read_indirect_csr() 533 nfp_read_all_indirect_csr_ctx(struct nfp_cpp *cpp, in nfp_read_all_indirect_csr_ctx()
|
D | nfp_net_main.c | 523 nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, in nfp_net_eth_port_update() 620 struct nfp_cpp *cpp = port->app->cpp; in nfp_net_refresh_eth_port()
|
D | nfp_net.h | 106 struct nfp_cpp;
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | ctrl.c | 52 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_stat() 77 struct nfp_cpp *cpp = abm->app->cpp; in __nfp_abm_ctrl_set_q_lvl() 111 struct nfp_cpp *cpp = abm->app->cpp; in __nfp_abm_ctrl_set_q_act()
|
D | qdisc.c | 48 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_stats_update_red() 519 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_gred_check_params() 664 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_red_check_params()
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 210 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head() 338 struct nfp_cpp *cpp = app->pf->cpp; in nfp_bpf_parse_capabilities()
|