Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1055 static u32 nfp_xpb_to_cpp(struct nfp_cpp *cpp, u32 *xpb_addr) in nfp_xpb_to_cpp() argument
1064 island = (*xpb_addr >> 24) & 0x3f; in nfp_xpb_to_cpp()
1069 *xpb_addr |= 1 << 30; in nfp_xpb_to_cpp()
1074 *xpb_addr &= ~0x7f000000; in nfp_xpb_to_cpp()
1075 if (*xpb_addr < 0x60000) { in nfp_xpb_to_cpp()
1076 *xpb_addr |= 1 << 30; in nfp_xpb_to_cpp()
1081 *xpb_addr |= 1 << 24; in nfp_xpb_to_cpp()
1095 int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_addr, u32 *value) in nfp_xpb_readl() argument
1097 u32 cpp_dest = nfp_xpb_to_cpp(cpp, &xpb_addr); in nfp_xpb_readl()
1099 return nfp_cpp_readl(cpp, cpp_dest, xpb_addr, value); in nfp_xpb_readl()
[all …]