expl 159 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c void __iomem *expl[4]; expl 173 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c } expl; expl 605 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_init(&nfp->expl.mutex); expl 607 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.master_id = ((NFP_CPP_INTERFACE_UNIT_of(interface) & 3) + 4) expl 609 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.signal_ref = 0x10; expl 625 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.data = bar->iomem + NFP_PCIE_SRAM + 0x1000; expl 675 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[i].bitsize = 0; expl 688 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[i].bitsize = bar->bitsize; expl 689 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[i].addr = bar->iomem; expl 693 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[i].free[j] = true; expl 695 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->iomem.expl[i] = bar->iomem; expl 1062 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static int nfp6000_explicit_acquire(struct nfp_cpp_explicit *expl) expl 1064 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_pcie *nfp = nfp_cpp_priv(nfp_cpp_explicit_cpp(expl)); expl 1065 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_explicit_priv *priv = nfp_cpp_explicit_priv(expl); expl 1068 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_lock(&nfp->expl.mutex); expl 1069 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c for (i = 0; i < ARRAY_SIZE(nfp->expl.group); i++) { expl 1070 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (!nfp->expl.group[i].bitsize) expl 1073 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c for (j = 0; j < ARRAY_SIZE(nfp->expl.group[i].free); j++) { expl 1076 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (!nfp->expl.group[i].free[j]) expl 1082 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->bitsize = nfp->expl.group[i].bitsize - 2; expl 1086 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->data = nfp->expl.data + data_offset; expl 1087 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->addr = nfp->expl.group[i].addr + expl 1089 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[i].free[j] = false; expl 1091 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_unlock(&nfp->expl.mutex); expl 1095 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_unlock(&nfp->expl.mutex); expl 1100 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static void nfp6000_explicit_release(struct nfp_cpp_explicit *expl) expl 1102 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_explicit_priv *priv = nfp_cpp_explicit_priv(expl); expl 1105 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_lock(&nfp->expl.mutex); expl 1106 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.group[priv->bar.group].free[priv->bar.area] = true; expl 1107 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c mutex_unlock(&nfp->expl.mutex); expl 1110 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static int nfp6000_explicit_put(struct nfp_cpp_explicit *expl, expl 1113 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_explicit_priv *priv = nfp_cpp_explicit_priv(expl); expl 1124 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp6000_explicit_do(struct nfp_cpp_explicit *expl, expl 1127 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_explicit_priv *priv = nfp_cpp_explicit_priv(expl); expl 1141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c signal_master = nfp->expl.master_id; expl 1144 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (signal_master == nfp->expl.master_id) expl 1145 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c signal_ref = nfp->expl.signal_ref + expl 1150 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c data_master = nfp->expl.master_id; expl 1153 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (data_master == nfp->expl.master_id) expl 1217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static int nfp6000_explicit_get(struct nfp_cpp_explicit *expl, expl 1220 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c struct nfp6000_explicit_priv *priv = nfp_cpp_explicit_priv(expl); expl 363 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int (*explicit_acquire)(struct nfp_cpp_explicit *expl); expl 364 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void (*explicit_release)(struct nfp_cpp_explicit *expl); expl 365 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int (*explicit_put)(struct nfp_cpp_explicit *expl, expl 367 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int (*explicit_get)(struct nfp_cpp_explicit *expl, expl 369 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int (*explicit_do)(struct nfp_cpp_explicit *expl, expl 405 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_set_target(struct nfp_cpp_explicit *expl, u32 cpp_id, expl 407 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_set_data(struct nfp_cpp_explicit *expl, expl 409 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_set_signal(struct nfp_cpp_explicit *expl, expl 411 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_set_posted(struct nfp_cpp_explicit *expl, int posted, expl 416 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_put(struct nfp_cpp_explicit *expl, expl 418 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_do(struct nfp_cpp_explicit *expl, u64 address); expl 419 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h int nfp_cpp_explicit_get(struct nfp_cpp_explicit *expl, void *buff, size_t len); expl 420 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h void nfp_cpp_explicit_release(struct nfp_cpp_explicit *expl); expl 421 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h struct nfp_cpp *nfp_cpp_explicit_cpp(struct nfp_cpp_explicit *expl); expl 1285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP(func, expl, args...) \ expl 1287 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \ expl 1291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->func(expl, ##args); \ expl 1295 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP_NR(func, expl, args...) \ expl 1297 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \ expl 1300 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->func(expl, ##args); \ expl 1315 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp_explicit *expl; expl 1318 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl = kzalloc(sizeof(*expl) + cpp->op->explicit_priv_size, GFP_KERNEL); expl 1319 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (!expl) expl 1322 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cpp = cpp; expl 1323 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = NFP_EXPL_OP(explicit_acquire, expl); expl 1325 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c kfree(expl); expl 1329 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return expl; expl 1341 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_set_target(struct nfp_cpp_explicit *expl, expl 1344 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.cpp_id = cpp_id; expl 1345 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.len = len; expl 1346 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.byte_mask = mask; expl 1359 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_set_data(struct nfp_cpp_explicit *expl, expl 1362 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.data_master = data_master; expl 1363 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.data_ref = data_ref; expl 1376 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_set_signal(struct nfp_cpp_explicit *expl, expl 1379 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.signal_master = signal_master; expl 1380 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.signal_ref = signal_ref; expl 1396 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_set_posted(struct nfp_cpp_explicit *expl, int posted, expl 1402 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.posted = posted; expl 1403 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.siga = siga; expl 1404 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.sigb = sigb; expl 1405 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.siga_mode = siga_mode; expl 1406 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl->cmd.sigb_mode = sigb_mode; expl 1424 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_put(struct nfp_cpp_explicit *expl, expl 1427 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return NFP_EXPL_OP(explicit_put, expl, buff, len); expl 1440 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_do(struct nfp_cpp_explicit *expl, u64 address) expl 1442 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return NFP_EXPL_OP(explicit_do, expl, &expl->cmd, address); expl 1461 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c int nfp_cpp_explicit_get(struct nfp_cpp_explicit *expl, void *buff, size_t len) expl 1463 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return NFP_EXPL_OP(explicit_get, expl, buff, len); expl 1471 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c void nfp_cpp_explicit_release(struct nfp_cpp_explicit *expl) expl 1473 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c NFP_EXPL_OP_NR(explicit_release, expl); expl 1474 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c kfree(expl); expl 156 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c struct nfp_cpp_explicit *expl; expl 164 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c expl = nfp_cpp_explicit_acquire(cpp); expl 165 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c if (!expl) expl 178 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_target(expl, cpp_id, expl 180 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_posted(expl, 1, 0, NFP_SIGNAL_PUSH, expl 186 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_target(expl, cpp_id, expl 191 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_do(expl, addr); expl 195 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_get(expl, tmp, incr); expl 201 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_release(expl); expl 209 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c struct nfp_cpp_explicit *expl; expl 217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c expl = nfp_cpp_explicit_acquire(cpp); expl 218 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c if (!expl) expl 231 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_target(expl, cpp_id, expl 233 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_posted(expl, 1, 0, NFP_SIGNAL_PULL, expl 239 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_set_target(expl, cpp_id, expl 244 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_put(expl, tmp, incr); expl 248 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_do(expl, addr); expl 254 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c nfp_cpp_explicit_release(expl); expl 1036 include/uapi/sound/asound.h #define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_##direction SNDRV_CTL_NAME_IEC958_##what expl 1036 tools/include/uapi/sound/asound.h #define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_##direction SNDRV_CTL_NAME_IEC958_##what