/linux-6.6.21/sound/soc/tegra/ |
D | tegra210_ahub.h | 43 #define SOC_VALUE_ENUM_WIDE(xreg, shift, xmax, xtexts, xvalues) \ argument 49 .texts = xtexts, \ 54 #define SOC_VALUE_ENUM_WIDE_DECL(name, xreg, shift, xtexts, xvalues) \ argument 56 SOC_VALUE_ENUM_WIDE(xreg, shift, ARRAY_SIZE(xtexts), \ 57 xtexts, xvalues)
|
/linux-6.6.21/include/sound/ |
D | soc.h | 212 #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xitems, xtexts) \ argument 214 .items = xitems, .texts = xtexts, \ 216 #define SOC_ENUM_SINGLE(xreg, xshift, xitems, xtexts) \ argument 217 SOC_ENUM_DOUBLE(xreg, xshift, xshift, xitems, xtexts) 218 #define SOC_ENUM_SINGLE_EXT(xitems, xtexts) \ argument 219 { .items = xitems, .texts = xtexts } 220 #define SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xitems, xtexts, xvalues) \ argument 222 .mask = xmask, .items = xitems, .texts = xtexts, .values = xvalues} 223 #define SOC_VALUE_ENUM_SINGLE(xreg, xshift, xmask, xitems, xtexts, xvalues) \ argument 224 SOC_VALUE_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xitems, xtexts, xvalues) [all …]
|
/linux-6.6.21/sound/pci/ac97/ |
D | ac97_patch.h | 40 #define AC97_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts) \ argument 42 .mask = xmask, .texts = xtexts } 43 #define AC97_ENUM_SINGLE(xreg, xshift, xmask, xtexts) \ argument 44 AC97_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xtexts)
|
/linux-6.6.21/sound/soc/intel/atom/ |
D | sst-atom-controls.h | 846 #define SST_SSP_SLOT_ENUM(s_ch_no, is_tx, xtexts) \ argument 847 (struct sst_enum){ .reg = s_ch_no, .tx = is_tx, .max = 4+1, .texts = xtexts, } 852 #define SST_SSP_SLOT_CTL(xpname, xmname, s_ch_name, s_ch_no, is_tx, xtexts, xget, xput) \ argument 857 .private_value = (unsigned long)&SST_SSP_SLOT_ENUM(s_ch_no, is_tx, xtexts), \ 863 #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-6.6.21/Documentation/sound/soc/ |
D | codec.rst | 105 #define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts) 113 xtexts = pointer to array of strings that describe each setting 115 #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)
|
/linux-6.6.21/sound/soc/fsl/ |
D | fsl_audmix.c | 17 #define SOC_ENUM_SINGLE_S(xreg, xshift, xtexts) \ argument 18 SOC_ENUM_SINGLE(xreg, xshift, ARRAY_SIZE(xtexts), xtexts)
|