Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
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);
201 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial);
202 unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp);
204 struct nfp_cpp_area *nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp,
209 struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id,
213 nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 cpp_id,
227 struct nfp_cpp *nfp_cpp_area_cpp(struct nfp_cpp_area *cpp_area);
[all …]
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,
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 …]
Dnfp_nsp.h11 struct nfp_cpp;
14 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
251 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp);
253 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
255 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable);
256 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx,
259 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode);
261 int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state);
262 int nfp_eth_set_pauseparam(struct nfp_cpp *cpp, unsigned int idx,
276 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx);
[all …]
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()
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 …]
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);
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()
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 …]
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()
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()
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()
Dnfp_nsp_eth.c199 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry()
227 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type()
244 nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry) in nfp_eth_read_media()
276 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports()
292 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
347 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
437 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable()
476 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured()
544 int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state) in nfp_eth_set_idmode()
627 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
[all …]
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()
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()
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()
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()
Dnfp6000_pcie.h14 struct nfp_cpp *
Dnfp_nsp_cmds.c70 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id, in nfp_hwmon_read_sensor()
Dnfp6000_pcie.c1228 static int nfp6000_init(struct nfp_cpp *cpp) in nfp6000_init()
1237 static void nfp6000_free(struct nfp_cpp *cpp) in nfp6000_free()
1311 struct nfp_cpp *
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
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);
Dnfp_app.h22 struct nfp_cpp;
164 struct nfp_cpp *cpp;
Dnfp_net_debugdump.c161 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) in nfp_net_dump_load_dumpspec()
511 nfp_read_indirect_csr(struct nfp_cpp *cpp, in nfp_read_indirect_csr()
540 nfp_read_all_indirect_csr_ctx(struct nfp_cpp *cpp, in nfp_read_all_indirect_csr_ctx()
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()
Dnfp_net.h102 struct nfp_cpp;
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
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()
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.12.1/drivers/net/ethernet/netronome/nfp/bpf/
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()

12