Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1056 static u32 nfp_xpb_to_cpp(struct nfp_cpp *cpp, u32 *xpb_addr) in nfp_xpb_to_cpp() argument
1065 island = (*xpb_addr >> 24) & 0x3f; in nfp_xpb_to_cpp()
1070 *xpb_addr |= 1 << 30; in nfp_xpb_to_cpp()
1075 *xpb_addr &= ~0x7f000000; in nfp_xpb_to_cpp()
1076 if (*xpb_addr < 0x60000) { in nfp_xpb_to_cpp()
1077 *xpb_addr |= 1 << 30; in nfp_xpb_to_cpp()
1082 *xpb_addr |= 1 << 24; in nfp_xpb_to_cpp()
1096 int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_addr, u32 *value) in nfp_xpb_readl() argument
1098 u32 cpp_dest = nfp_xpb_to_cpp(cpp, &xpb_addr); in nfp_xpb_readl()
1100 return nfp_cpp_readl(cpp, cpp_dest, xpb_addr, value); in nfp_xpb_readl()
[all …]