/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_target.c | 33 static int target_rw(u32 cpp_id, int pp, int start, int len) in target_rw() argument 35 switch (cpp_id & NFP_CPP_ID(0, ~0, ~0)) { in target_rw() 44 static int nfp6000_nbi_dma(u32 cpp_id) in nfp6000_nbi_dma() argument 46 switch (cpp_id & NFP_CPP_ID(0, ~0, ~0)) { in nfp6000_nbi_dma() 55 static int nfp6000_nbi_stats(u32 cpp_id) in nfp6000_nbi_stats() argument 57 switch (cpp_id & NFP_CPP_ID(0, ~0, ~0)) { in nfp6000_nbi_stats() 66 static int nfp6000_nbi_tm(u32 cpp_id) in nfp6000_nbi_tm() argument 68 switch (cpp_id & NFP_CPP_ID(0, ~0, ~0)) { in nfp6000_nbi_tm() 77 static int nfp6000_nbi_ppc(u32 cpp_id) in nfp6000_nbi_ppc() argument 79 switch (cpp_id in nfp6000_nbi_ppc() 88 nfp6000_nbi(u32 cpp_id,u64 address) nfp6000_nbi() argument 104 nfp6000_mu_common(u32 cpp_id) nfp6000_mu_common() argument 154 nfp6000_mu_ctm(u32 cpp_id) nfp6000_mu_ctm() argument 171 nfp6000_mu_emu(u32 cpp_id) nfp6000_mu_emu() argument 190 nfp6000_mu_imu(u32 cpp_id) nfp6000_mu_imu() argument 195 nfp6000_mu(u32 cpp_id,u64 address) nfp6000_mu() argument 215 nfp6000_ila(u32 cpp_id) nfp6000_ila() argument 226 nfp6000_pci(u32 cpp_id) nfp6000_pci() argument 236 nfp6000_crypto(u32 cpp_id) nfp6000_crypto() argument 245 nfp6000_cap_xpb(u32 cpp_id) nfp6000_cap_xpb() argument 266 nfp6000_cls(u32 cpp_id) nfp6000_cls() argument 297 nfp_target_pushpull(u32 cpp_id,u64 address) nfp_target_pushpull() argument [all...] |
H A D | nfp_rtsym.c | 227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest() argument 243 *cpp_id = NFP_CPP_ISLAND_ID(NFP_CPP_TARGET_MU, action, token, in nfp_rtsym_to_dest() 250 *cpp_id = NFP_CPP_ISLAND_ID(sym->target, action, token, in nfp_rtsym_to_dest() 261 u32 cpp_id; in __nfp_rtsym_read() local 281 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_read() 285 return nfp_cpp_read(cpp, cpp_id, addr, buf, len); in __nfp_rtsym_read() 297 u32 cpp_id; in __nfp_rtsym_readl() local 307 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readl() 311 return nfp_cpp_readl(cpp, cpp_id, addr, value); in __nfp_rtsym_readl() 323 u32 cpp_id; in __nfp_rtsym_readq() local 355 u32 cpp_id; __nfp_rtsym_write() local 382 u32 cpp_id; __nfp_rtsym_writel() local 408 u32 cpp_id; __nfp_rtsym_writeq() local 528 u32 cpp_id; nfp_rtsym_map() local [all...] |
H A D | nfp_cpp.h | 205 u32 cpp_id, 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, 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, 263 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u6 294 u32 cpp_id; global() member [all...] |
H A 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() 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()
|
H A D | nfp_resource.c | 63 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() 266 * nfp_resource_cpp_id() - Return the cpp_id of a resource handle 273 return res->cpp_id; in nfp_resource_cpp_id()
|
H A D | nfp_hwinfo.c | 157 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()
|
H A D | nfp_cppcore.c | 33 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() 1337 * @cpp_id 1344 nfp_cpp_explicit_set_target(struct nfp_cpp_explicit * expl,u32 cpp_id,u8 len,u8 mask) nfp_cpp_explicit_set_target() argument [all...] |
H A D | nfp_nffw.c | 237 * @cpp_id: Pointer to the CPP ID of the MIP 242 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()
|
H A D | nfp_nffw.h | 19 int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, u32 *cpp_id, u64 *off);
|
H A D | nfp6000_pcie.c | 1157 NFP_CPP_ID_TOKEN_of(cmd->cpp_id)) | in nfp6000_explicit_do() 1165 NFP_CPP_ID_TARGET_of(cmd->cpp_id)) | in nfp6000_explicit_do() 1167 NFP_CPP_ID_ACTION_of(cmd->cpp_id)) | in nfp6000_explicit_do()
|
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000/ |
H A D | nfp6000.h | 53 int nfp_target_pushpull(u32 cpp_id, u64 address);
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 440 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()
|