Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_cpp.h47 struct nfp_cpp;
198 void nfp_cpp_free(struct nfp_cpp *cpp);
199 u32 nfp_cpp_model(struct nfp_cpp *cpp);
200 u16 nfp_cpp_interface(struct nfp_cpp *cpp);
248 int nfp_cpp_read(struct nfp_cpp *cpp, u32 cpp_id,
250 int nfp_cpp_write(struct nfp_cpp *cpp, u32 cpp_id,
253 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id,
338 int (*init)(struct nfp_cpp *cpp);
339 void (*free)(struct nfp_cpp *cpp);
370 struct nfp_cpp *
[all …]
A Dnfp_nffw.h17 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,
82 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
86 int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
90 int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
[all …]
A Dnfp_nsp.h11 struct nfp_cpp;
14 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
241 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp);
243 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
245 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable);
246 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx,
249 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode);
251 int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state);
264 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx);
305 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
[all …]
A Dnfp_cppcore.c59 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()
823 area_cache_get(struct nfp_cpp *cpp, u32 id, in area_cache_get()
1162 struct nfp_cpp *
1167 struct nfp_cpp *cpp; in nfp_cpp_from_operations()
[all …]
A Dnfp.h20 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);
A Dnfp_rtsym.c41 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()
320 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_readq()
351 int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_write()
379 int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_writel()
[all …]
A Dnfp_cpplib.c41 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl()
64 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel()
85 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq()
108 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq()
123 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect()
158 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_explicit_read()
211 int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, in nfp_cpp_explicit_write()
279 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, in nfp_cpp_map_area()
A Dnfp_mutex.c15 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()
A Dnfp_hwinfo.c106 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()
A Dnfp_nsp_eth.c186 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry()
214 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type()
239 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports()
255 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
308 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
398 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable()
437 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured()
505 int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state) in nfp_eth_set_idmode()
588 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
651 int nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_eth_media_buf *ethm) in nfp_eth_read_media()
A Dnfp_resource.c69 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()
A Dnfp_mip.c43 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()
A Dnfp_nsp.c128 struct nfp_cpp *cpp;
178 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp()
230 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check()
273 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open()
321 nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, in nfp_nsp_wait_reg()
363 struct nfp_cpp *cpp = state->cpp; in __nfp_nsp_command()
441 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_def()
499 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma_sg()
628 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma()
661 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf()
A Dnfp6000_pcie.h14 struct nfp_cpp *
A Dnfp_nffw.c79 struct nfp_cpp *cpp;
159 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open()
A Dnfp_nsp_cmds.c70 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, in nfp_hwmon_read_sensor()
A Dnfp6000_pcie.c1226 static int nfp6000_init(struct nfp_cpp *cpp) in nfp6000_init()
1235 static void nfp6000_free(struct nfp_cpp *cpp) in nfp6000_free()
1309 struct nfp_cpp *
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_main.h23 struct nfp_cpp;
94 struct nfp_cpp *cpp;
178 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl);
A Dnfp_app.h22 struct nfp_cpp;
164 struct nfp_cpp *cpp;
A Dnfp_net_debugdump.c156 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()
A Dnfp_net_main.c567 nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, in nfp_net_eth_port_update()
667 struct nfp_cpp *cpp = port->app->cpp; in nfp_net_refresh_eth_port()
A Dnfp_net.h102 struct nfp_cpp;
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/
A Dctrl.c52 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()
A Dqdisc.c48 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()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.c210 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()

Completed in 42 milliseconds

12