Home
last modified time | relevance | path

Searched refs:nfp_cpp (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cpp.h74 struct nfp_cpp;
225 void nfp_cpp_free(struct nfp_cpp *cpp);
226 u32 nfp_cpp_model(struct nfp_cpp *cpp);
227 u16 nfp_cpp_interface(struct nfp_cpp *cpp);
228 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial);
230 struct nfp_cpp_area *nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp,
235 struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id,
239 nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 cpp_id,
253 struct nfp_cpp *nfp_cpp_area_cpp(struct nfp_cpp_area *cpp_area);
269 int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_tgt, u32 *value);
[all …]
Dnfp_nsp.h41 struct nfp_cpp;
44 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
164 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp);
166 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
168 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable);
169 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx,
172 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode);
185 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx);
226 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
Dnfp_cppcore.c88 struct nfp_cpp { struct
118 struct nfp_cpp *cpp; argument
130 struct nfp_cpp *cpp;
162 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area()
189 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free()
240 u32 nfp_cpp_model(struct nfp_cpp *cpp) in nfp_cpp_model()
251 u16 nfp_cpp_interface(struct nfp_cpp *cpp) in nfp_cpp_interface()
263 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial) in nfp_cpp_serial()
285 nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, u32 dest, const char *name, in nfp_cpp_area_alloc_with_name()
357 nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 dest, in nfp_cpp_area_alloc()
[all …]
Dnfp.h50 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp);
59 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state);
97 int nfp_resource_table_init(struct nfp_cpp *cpp);
100 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name);
104 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs);
Dnfp_cpplib.c69 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl()
92 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel()
113 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq()
136 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq()
151 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect()
187 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_explicit_read()
240 int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, in nfp_cpp_explicit_write()
309 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, int domain, int target, in nfp_cpp_map_area()
Dnfp_nffw.h47 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp);
55 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp);
93 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp);
95 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip);
Dnfp_mutex.c45 struct nfp_cpp *cpp;
116 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, in nfp_cpp_mutex_init()
153 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc()
251 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_unlock()
297 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_trylock()
371 int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_reclaim()
Dnfp_hwinfo.c136 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk()
159 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate()
182 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch()
238 static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size) in hwinfo_fetch()
259 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp) in nfp_hwinfo_read()
Dnfp_resource.c99 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find()
142 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire()
180 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire()
261 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) in nfp_resource_wait()
348 int nfp_resource_table_init(struct nfp_cpp *cpp) in nfp_resource_table_init()
Dnfp_nsp_eth.c206 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry()
234 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type()
256 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) 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()
416 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable()
455 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured()
576 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
Dnfp_mip.c73 nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) in nfp_mip_try_read()
98 static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) in nfp_mip_read_resource()
129 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open()
Dnfp_nsp.c117 struct nfp_cpp *cpp;
130 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp()
182 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check()
220 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open()
268 nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, in nfp_nsp_wait_reg()
315 struct nfp_cpp *cpp = state->cpp; in __nfp_nsp_command()
396 struct nfp_cpp *cpp = nsp->cpp; in __nfp_nsp_command_buf()
Dnfp_nffw.c109 struct nfp_cpp *cpp;
164 static int nfp_mip_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_mip_mu_locality_lsb()
212 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open()
Dnfp6000_pcie.h44 struct nfp_cpp *nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev);
Dnfp_rtsym.c69 struct nfp_cpp *cpp;
110 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) in nfp_rtsym_table_read()
123 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) in __nfp_rtsym_table_read()
Dnfp_nsp_cmds.c100 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, in nfp_hwmon_read_sensor()
Dnfp6000_pcie.c1234 static int nfp6000_init(struct nfp_cpp *cpp) in nfp6000_init()
1243 static void nfp6000_free(struct nfp_cpp *cpp) in nfp6000_free()
1322 struct nfp_cpp *nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev) in nfp_cpp_from_nfp6000_pcie()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_main.h55 struct nfp_cpp;
121 struct nfp_cpp *cpp;
203 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl);
Dnfp_app.h51 struct nfp_cpp;
186 struct nfp_cpp *cpp;
Dnfp_net_debugdump.c186 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) in nfp_net_dump_load_dumpspec()
544 nfp_read_indirect_csr(struct nfp_cpp *cpp, in nfp_read_indirect_csr()
573 nfp_read_all_indirect_csr_ctx(struct nfp_cpp *cpp, in nfp_read_all_indirect_csr_ctx()
Dnfp_net_main.c548 nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, in nfp_net_eth_port_update()
645 struct nfp_cpp *cpp = port->app->cpp; in nfp_net_refresh_eth_port()
Dnfp_net.h133 struct nfp_cpp;
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c70 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_stat()
116 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_set_q_lvl()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c247 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head()
347 struct nfp_cpp *cpp = app->pf->cpp; in nfp_bpf_parse_capabilities()