Home
last modified time | relevance | path

Searched refs:cpp_id (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_target.c97 return nfp6000_nbi_tm(cpp_id); in nfp6000_nbi()
98 return nfp6000_nbi_ppc(cpp_id); in nfp6000_nbi()
200 pp = nfp6000_mu_ctm(cpp_id); in nfp6000_mu()
202 pp = nfp6000_mu_emu(cpp_id); in nfp6000_mu()
204 pp = nfp6000_mu_ctm(cpp_id); in nfp6000_mu()
206 pp = nfp6000_mu_emu(cpp_id); in nfp6000_mu()
208 pp = nfp6000_mu_imu(cpp_id); in nfp6000_mu()
210 pp = nfp6000_mu_ctm(cpp_id); in nfp6000_mu()
305 return nfp6000_ila(cpp_id); in nfp_target_pushpull()
309 return nfp6000_pci(cpp_id); in nfp_target_pushpull()
[all …]
A Dnfp_cpplib.c41 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl() argument
64 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel() argument
85 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq() argument
178 cpp_id = NFP_CPP_ID(NFP_CPP_ID_TARGET_of(cpp_id), 0, in nfp_cpp_explicit_read()
179 NFP_CPP_ID_TOKEN_of(cpp_id)); in nfp_cpp_explicit_read()
183 nfp_cpp_explicit_set_target(expl, cpp_id, in nfp_cpp_explicit_read()
191 nfp_cpp_explicit_set_target(expl, cpp_id, in nfp_cpp_explicit_read()
231 cpp_id = NFP_CPP_ID(NFP_CPP_ID_TARGET_of(cpp_id), 1, in nfp_cpp_explicit_write()
232 NFP_CPP_ID_TOKEN_of(cpp_id)); in nfp_cpp_explicit_write()
236 nfp_cpp_explicit_set_target(expl, cpp_id, in nfp_cpp_explicit_write()
[all …]
A Dnfp_rtsym.c261 u32 cpp_id; in __nfp_rtsym_read() local
297 u32 cpp_id; in __nfp_rtsym_readl() local
311 return nfp_cpp_readl(cpp, cpp_id, addr, value); in __nfp_rtsym_readl()
323 u32 cpp_id; in __nfp_rtsym_readq() local
342 return nfp_cpp_readq(cpp, cpp_id, addr, value); in __nfp_rtsym_readq()
355 u32 cpp_id; in __nfp_rtsym_write() local
382 u32 cpp_id; in __nfp_rtsym_writel() local
396 return nfp_cpp_writel(cpp, cpp_id, addr, value); in __nfp_rtsym_writel()
408 u32 cpp_id; in __nfp_rtsym_writeq() local
528 u32 cpp_id; in nfp_rtsym_map() local
[all …]
A Dnfp_cpp.h205 u32 cpp_id,
209 struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id,
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,
255 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id,
257 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id,
259 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id,
294 u32 cpp_id; member
424 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id,
[all …]
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() argument
47 ret = nfp_cpp_read(cpp, cpp_id, addr, mip, sizeof(*mip)); in nfp_mip_try_read()
71 u32 cpp_id; in nfp_mip_read_resource() local
79 err = nfp_nffw_info_mip_first(nffw_info, &cpp_id, &addr); in nfp_mip_read_resource()
83 err = nfp_mip_try_read(cpp, cpp_id, addr, mip); in nfp_mip_read_resource()
A Dnfp_resource.c63 u32 cpp_id; member
72 u32 cpp_id, key; in nfp_cpp_resource_find() local
75 cpp_id = NFP_CPP_ID(NFP_RESOURCE_TBL_TARGET, 3, 0); /* Atomic read */ in nfp_cpp_resource_find()
88 ret = nfp_cpp_read(cpp, cpp_id, addr, &entry, sizeof(entry)); in nfp_cpp_resource_find()
99 res->cpp_id = NFP_CPP_ID(entry.region.cpp_target, in nfp_cpp_resource_find()
273 return res->cpp_id; in nfp_resource_cpp_id()
A Dnfp_hwinfo.c157 u32 cpp_id; in hwinfo_try_fetch() local
163 cpp_id = nfp_resource_cpp_id(res); in hwinfo_try_fetch()
173 cpp_id = NFP_CPP_ISLAND_ID(NFP_CPP_TARGET_MU, in hwinfo_try_fetch()
185 err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); in hwinfo_try_fetch()
A Dnfp_cppcore.c33 u32 cpp_id; member
115 if (tmp->cpp_id > res->cpp_id) in __resource_add()
118 if (tmp->cpp_id == res->cpp_id && tmp->start > res->start) in __resource_add()
185 NFP_CPP_ID_TARGET_of(res->cpp_id), in nfp_cpp_free()
186 NFP_CPP_ID_ACTION_of(res->cpp_id), in nfp_cpp_free()
187 NFP_CPP_ID_TOKEN_of(res->cpp_id), in nfp_cpp_free()
313 area->resource.cpp_id = dest; in nfp_cpp_area_alloc_with_name()
1344 u32 cpp_id, u8 len, u8 mask) in nfp_cpp_explicit_set_target() argument
1346 expl->cmd.cpp_id = cpp_id; in nfp_cpp_explicit_set_target()
A Dnfp_nffw.c242 int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, u32 *cpp_id, u64 *off) in nfp_nffw_info_mip_first() argument
250 *cpp_id = nffw_fwinfo_mip_cppid_get(fwinfo); in nfp_nffw_info_mip_first()
A Dnfp_nsp.c444 u32 cpp_id; in nfp_nsp_command_buf_def() local
453 cpp_id = FIELD_GET(NSP_DFLT_BUFFER_CPP, reg) << 8; in nfp_nsp_command_buf_def()
457 err = nfp_cpp_write(cpp, cpp_id, cpp_buf, in nfp_nsp_command_buf_def()
464 err = nfp_cpp_write(cpp, cpp_id, cpp_buf + arg->in_size, in nfp_nsp_command_buf_def()
470 if (!FIELD_FIT(NSP_BUFFER_CPP, cpp_id >> 8) || in nfp_nsp_command_buf_def()
473 cpp_id, cpp_buf); in nfp_nsp_command_buf_def()
477 arg->arg.buf = FIELD_PREP(NSP_BUFFER_CPP, cpp_id >> 8) | in nfp_nsp_command_buf_def()
484 err = nfp_cpp_read(cpp, cpp_id, cpp_buf, in nfp_nsp_command_buf_def()
A Dnfp_nffw.h19 int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, u32 *cpp_id, u64 *off);
A Dnfp6000_pcie.c1155 NFP_CPP_ID_TOKEN_of(cmd->cpp_id)) | in nfp6000_explicit_do()
1163 NFP_CPP_ID_TARGET_of(cmd->cpp_id)) | in nfp6000_explicit_do()
1165 NFP_CPP_ID_ACTION_of(cmd->cpp_id)) | in nfp6000_explicit_do()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_debugdump.c51 struct nfp_dumpspec_cpp_isl_id cpp_id; member
151 return NFP_CPP_ISLAND_ID(cpp_id->target, cpp_id->action, cpp_id->token, in nfp_get_numeric_cpp_id()
152 cpp_id->island); in nfp_get_numeric_cpp_id()
445 cpp_id->action == 0 && cpp_id->token == 0; in is_xpb_read()
457 u32 cpp_id; in nfp_dump_csr_range() local
476 cpp_id = nfp_get_numeric_cpp_id(&spec_csr->cpp.cpp_id); in nfp_dump_csr_range()
481 if (is_xpb_read(&spec_csr->cpp.cpp_id)) { in nfp_dump_csr_range()
509 u32 cpp_id; in nfp_read_indirect_csr() local
513 cpp_id = NFP_CPP_ISLAND_ID(cpp_params.target, in nfp_read_indirect_csr()
520 cpp_id = nfp_get_numeric_cpp_id(&cpp_params); in nfp_read_indirect_csr()
[all …]
A Dnfp_net_main.c440 u32 min_size, cpp_id; in nfp_net_pci_map_mem() local
489 cpp_id = NFP_CPP_ISLAND_ID(0, NFP_CPP_ACTION_RW, 0, 0); in nfp_net_pci_map_mem()
490 mem = nfp_cpp_map_area(pf->cpp, "net.qc", cpp_id, in nfp_net_pci_map_mem()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000/
A Dnfp6000.h53 int nfp_target_pushpull(u32 cpp_id, u64 address);

Completed in 30 milliseconds