Home
last modified time | relevance | path

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

/Linux-v5.10/include/sound/
Dsoc.h31 #define SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, xmax, xinvert, xautodisable) \ argument
33 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
36 #define SOC_DOUBLE_S_VALUE(xreg, shift_left, shift_right, xmin, xmax, xsign_bit, xinvert, xautodisa… argument
38 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
41 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \ argument
42 SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable)
43 #define SOC_SINGLE_VALUE_EXT(xreg, xmax, xinvert) \ argument
45 {.reg = xreg, .max = xmax, .platform_max = xmax, .invert = xinvert})
64 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \ argument
69 {.reg = xreg, .rreg = xreg, .shift = xshift, \
[all …]
/Linux-v5.10/sound/soc/tegra/
Dtegra210_ahub.h43 #define SOC_VALUE_ENUM_WIDE(xreg, shift, xmax, xtexts, xvalues) \ argument
45 .reg = xreg, \
54 #define SOC_VALUE_ENUM_WIDE_DECL(name, xreg, shift, xtexts, xvalues) \ argument
56 SOC_VALUE_ENUM_WIDE(xreg, shift, ARRAY_SIZE(xtexts), \
Dtegra210_admaif.c550 #define NV_SOC_ENUM_EXT(xname, xreg, xhandler_get, xhandler_put, xenum_text) \ argument
558 SOC_ENUM_SINGLE(xreg, 0, ARRAY_SIZE(xenum_text), xenum_text) \
/Linux-v5.10/sound/pci/ac97/
Dac97_patch.h40 #define AC97_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts) \ argument
41 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
43 #define AC97_ENUM_SINGLE(xreg, xshift, xmask, xtexts) \ argument
44 AC97_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xtexts)
/Linux-v5.10/sound/soc/codecs/
Dtda7419.c251 #define TDA7419_SINGLE_VALUE(xreg, xmask, xmin, xmax, xthresh, xinvert) \ argument
253 {.reg = xreg, .rreg = xreg, .mask = xmask, .min = xmin, \
262 #define TDA7419_SINGLE_TLV(xname, xreg, xmask, xmin, xmax, xthresh, \ argument
272 .private_value = TDA7419_SINGLE_VALUE(xreg, xmask, xmin, \
/Linux-v5.10/Documentation/sound/soc/
Dcodec.rst105 #define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts)
110 xreg = register
115 #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)
/Linux-v5.10/sound/pci/ice1712/
Dquartet.c650 #define PRIV_SW(xid, xbit, xreg) [xid] = {.bit = xbit,\ argument
651 .set_register = set_##xreg,\
652 .get_register = get_##xreg, }
655 #define PRIV_ENUM2(xid, xbit, xreg, xtext1, xtext2) [xid] = {.bit = xbit,\ argument
656 .set_register = set_##xreg,\
657 .get_register = get_##xreg,\
/Linux-v5.10/sound/soc/intel/atom/
Dsst-atom-controls.h863 #define SST_SSP_MUX_ENUM(xreg, xshift, xtexts) \ argument
864 (struct soc_enum) SOC_ENUM_DOUBLE(xreg, xshift, xshift, ARRAY_SIZE(xtexts), xtexts)
866 #define SST_SSP_MUX_CTL(xpname, xinstance, xreg, xshift, xtexts) \ argument
868 SST_SSP_MUX_ENUM(xreg, xshift, xtexts))
/Linux-v5.10/sound/soc/fsl/
Dfsl_audmix.c17 #define SOC_ENUM_SINGLE_S(xreg, xshift, xtexts) \ argument
18 SOC_ENUM_SINGLE(xreg, xshift, ARRAY_SIZE(xtexts), xtexts)
Dfsl_easrc.c106 #define SOC_SINGLE_REG_RW(xname, xreg) \ argument
112 { .regbase = xreg, .regcount = 1, .nbits = 32, \
115 #define SOC_SINGLE_VAL_RW(xname, xreg) \ argument
121 { .regbase = xreg, .regcount = 1, .nbits = 32, \
/Linux-v5.10/sound/ppc/
Dawacs.c188 #define AWACS_VOLUME(xname, xreg, xshift, xinverted) \ argument
193 .private_value = (xreg) | ((xshift) << 8) | ((xinverted) << 16) }
239 #define AWACS_SWITCH(xname, xreg, xshift, xinvert) \ argument
244 .private_value = (xreg) | ((xshift) << 8) | ((xinvert) << 16) }
/Linux-v5.10/sound/pci/emu10k1/
Dp16v.c768 #define P16V_VOL(xname,xreg,xhl) { \ argument
776 .private_value = ((xreg) | ((xhl) << 8)) \
/Linux-v5.10/sound/pci/
Dcmipci.c2390 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument
2392 .reg = xreg, \
2399 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument
2400 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3)
/Linux-v5.10/arch/x86/events/intel/
Dcore.c3033 struct hw_perf_event_extra *xreg, *breg; in intel_shared_regs_constraints() local
3035 xreg = &event->hw.extra_reg; in intel_shared_regs_constraints()
3036 if (xreg->idx != EXTRA_REG_NONE) { in intel_shared_regs_constraints()
3037 c = __intel_shared_reg_get_constraints(cpuc, event, xreg); in intel_shared_regs_constraints()
3045 __intel_shared_reg_put_constraints(cpuc, xreg); in intel_shared_regs_constraints()