/linux/include/sound/ |
H A D | soc.h | 70 #define SOC_SINGLE(xname, reg, shift, max, invert) \ argument 71 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 75 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \ argument 76 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname),\ 83 #define SOC_SINGLE_TLV(xname, reg, shift, max, invert, tlv_array) \ argument 84 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 91 #define SOC_SINGLE_SX_TLV(xname, xreg, xshift, xmin, xmax, tlv_array) \ argument 92 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 103 #define SOC_SINGLE_RANGE_TLV(xname, xreg, xshift, xmin, xmax, xinvert, tlv_array) \ argument 104 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname),\ [all …]
|
H A D | wss.h | 162 #define WSS_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 164 .name = xname, \ 178 #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 180 .name = xname, \ 188 #define WSS_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 191 .name = xname, \ 199 #define WSS_DOUBLE_TLV(xname, xindex, left_reg, right_reg, \ argument 203 .name = xname, \
|
H A D | soc-dapm.h | 328 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \ argument 329 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 333 #define SOC_DAPM_DOUBLE_R(xname, lreg, rreg, shift, max, invert) \ argument 334 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 338 #define SOC_DAPM_SINGLE(xname, reg, shift, max, invert) \ argument 339 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 343 #define SOC_DAPM_SINGLE_AUTODISABLE(xname, reg, shift, max, invert) \ argument 344 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 348 #define SOC_DAPM_SINGLE_VIRT(xname, max) \ argument 349 SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0) [all …]
|
H A D | core.h | 403 #define SND_PCI_QUIRK(vend,dev,xname,val) \ argument 404 {_SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname)} 405 #define SND_PCI_QUIRK_VENDOR(vend, xname, val) \ argument 406 {_SND_PCI_QUIRK_ID_MASK(vend, 0, 0), .value = (val), .name = (xname)} 407 #define SND_PCI_QUIRK_MASK(vend, mask, dev, xname, val) \ argument 409 .value = (val), .name = (xname)} 412 #define SND_PCI_QUIRK(vend,dev,xname,val) \ argument 414 #define SND_PCI_QUIRK_MASK(vend, mask, dev, xname, val) \ argument 416 #define SND_PCI_QUIRK_VENDOR(vend, xname, val) \ argument
|
H A D | sb.h | 343 #define SB_SINGLE(xname, reg, shift, mask) \ argument 344 { .name = xname, \ 348 #define SB_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask) \ argument 349 { .name = xname, \ 353 #define SB16_INPUT_SW(xname, reg1, reg2, left_shift, right_shift) \ argument 354 { .name = xname, \
|
/linux/sound/soc/meson/ |
H A D | aiu-codec-ctrl.c | 93 #define AIU_CODEC_CTRL_STREAM(xname, xsuffix) \ argument 95 .stream_name = xname " " xsuffix, \ 103 #define AIU_CODEC_CTRL_INPUT(xname) { \ argument 104 .name = "CODEC CTRL " xname, \ 105 .playback = AIU_CODEC_CTRL_STREAM(xname, "Playback"), \ 109 #define AIU_CODEC_CTRL_OUTPUT(xname) { \ argument 110 .name = "CODEC CTRL " xname, \ 111 .capture = AIU_CODEC_CTRL_STREAM(xname, "Capture"), \
|
H A D | aiu-acodec-ctrl.c | 121 #define AIU_ACODEC_STREAM(xname, xsuffix, xchmax) \ argument 123 .stream_name = xname " " xsuffix, \ 131 #define AIU_ACODEC_INPUT(xname) { \ argument 132 .name = "ACODEC CTRL " xname, \ 133 .playback = AIU_ACODEC_STREAM(xname, "Playback", 8), \ 137 #define AIU_ACODEC_OUTPUT(xname) { \ argument 138 .name = "ACODEC CTRL " xname, \ 139 .capture = AIU_ACODEC_STREAM(xname, "Capture", AIU_ACODEC_OUT_CHMAX), \
|
H A D | g12a-tohdmitx.c | 168 #define TOHDMITX_STREAM(xname, xsuffix, xfmt, xchmax) \ argument 170 .stream_name = xname " " xsuffix, \ 178 #define TOHDMITX_IN(xname, xid, xfmt, xchmax) { \ argument 179 .name = xname, \ 181 .playback = TOHDMITX_STREAM(xname, "Playback", xfmt, xchmax), \ 185 #define TOHDMITX_OUT(xname, xid, xfmt, xchmax) { \ argument 186 .name = xname, \ 188 .capture = TOHDMITX_STREAM(xname, "Capture", xfmt, xchmax), \
|
H A D | g12a-toacodec.c | 178 #define TOACODEC_STREAM(xname, xsuffix, xchmax) \ argument 180 .stream_name = xname " " xsuffix, \ 188 #define TOACODEC_INPUT(xname, xid) { \ argument 189 .name = xname, \ 191 .playback = TOACODEC_STREAM(xname, "Playback", 8), \ 195 #define TOACODEC_OUTPUT(xname, xid) { \ argument 196 .name = xname, \ 198 .capture = TOACODEC_STREAM(xname, "Capture", TOACODEC_OUT_CHMAX), \
|
/linux/sound/pci/hda/ |
H A D | hda_local.h | 32 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument 33 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xcidx, \ 44 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument 45 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0) 47 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument 48 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, channel, xindex, direction, 0) 50 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument 51 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction) 53 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument 54 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \ [all …]
|
/linux/sound/pci/ac97/ |
H A D | ac97_patch.h | 15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument 16 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument 21 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 26 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \ 45 #define AC97_ENUM(xname, xenum) \ argument 46 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
|
/linux/fs/xfs/scrub/ |
H A D | parent.c | 251 struct xfs_name xname; member 367 const struct xfs_name *xname, in xchk_parent_dirent() argument 378 error = xchk_dir_lookup(sc, dp, xname, &child_ino); in xchk_parent_dirent() 457 struct xfs_name xname = { in xchk_parent_scan_attr() local 501 trace_xchk_parent_defer(sc->ip, &xname, dp->i_ino); in xchk_parent_scan_attr() 504 &xname); in xchk_parent_scan_attr() 517 error = xchk_parent_dirent(pp, &xname, dp); in xchk_parent_scan_attr() 536 const struct xfs_name *xname, in xchk_parent_revalidate_pptr() argument 542 error = xfs_parent_lookup(sc->tp, sc->ip, xname, pptr, &pp->pptr_args); in xchk_parent_revalidate_pptr() 558 const struct xfs_name *xname, in xchk_parent_slow_pptr() argument [all …]
|
/linux/fs/jffs2/ |
H A D | xattr.c | 64 static uint32_t xattr_datum_hashkey(int xprefix, const char *xname, const char *xvalue, int xsize) in xattr_datum_hashkey() argument 66 int name_len = strlen(xname); in xattr_datum_hashkey() 68 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); in xattr_datum_hashkey() 91 if (xd->xname) { in unload_xattr_datum() 93 kfree(xd->xname); in unload_xattr_datum() 98 xd->xname = NULL; in unload_xattr_datum() 242 xd->xname = data; in do_load_xattr_datum() 247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum() 253 if (!xd->xname) in do_load_xattr_datum() 258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum() [all …]
|
H A D | xattr.h | 38 char *xname; /* XATTR name without prefix */ member 92 extern int do_jffs2_getxattr(struct inode *inode, int xprefix, const char *xname, 94 extern int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname,
|
/linux/fs/xfs/ |
H A D | xfs_dahash_test.c | 651 struct xfs_name xname = { }; in xfs_dahash_test() local 659 xname.name = test_buf + test[i].start; in xfs_dahash_test() 660 xname.len = test[i].length; in xfs_dahash_test() 661 hash = xfs_ascii_ci_hashname(&xname); in xfs_dahash_test()
|
/linux/sound/isa/cs423x/ |
H A D | cs4236_lib.c | 378 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 379 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 384 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 385 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 443 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument 444 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 489 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument 490 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 495 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument 497 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ [all …]
|
/linux/sound/i2c/ |
H A D | tea6330t.c | 63 #define TEA6330T_MASTER_VOLUME(xname, xindex) \ argument 64 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 123 #define TEA6330T_MASTER_SWITCH(xname, xindex) \ argument 124 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 168 #define TEA6330T_BASS(xname, xindex) \ argument 169 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 216 #define TEA6330T_TREBLE(xname, xindex) \ argument 217 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
|
/linux/sound/pci/ |
H A D | ak4531_codec.c | 46 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 47 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 51 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 54 .name = xname, .index = xindex, \ 113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument 114 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 118 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument 121 .name = xname, .index = xindex, \ 198 #define AK4531_INPUT_SW(xname, xindex, reg1, reg2, left_shift, right_shift) \ argument 199 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
|
/linux/sound/soc/codecs/aw88395/ |
H A D | aw88395.h | 30 #define AW88395_PROFILE_EXT(xname, profile_info, profile_get, profile_set) \ argument 33 .name = xname, \
|
/linux/sound/isa/gus/ |
H A D | gus_mixer.c | 17 #define GF1_SINGLE(xname, xindex, shift, invert) \ argument 18 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 60 #define ICS_DOUBLE(xname, xindex, addr) \ argument 61 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
|
/linux/sound/soc/codecs/ |
H A D | aw87390.h | 55 #define AW87390_PROFILE_EXT(xname, profile_info, profile_get, profile_set) \ argument 58 .name = xname, \
|
H A D | madera.h | 291 #define MADERA_RATE_ENUM(xname, xenum) \ argument 292 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname,\ 297 #define MADERA_EQ_CONTROL(xname, xbase) \ argument 298 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 304 #define MADERA_LHPF_CONTROL(xname, xbase) \ argument 305 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
|
/linux/sound/ppc/ |
H A D | burgundy.c | 198 #define BURGUNDY_VOLUME_W(xname, xindex, addr, shift) \ argument 199 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ 274 #define BURGUNDY_VOLUME_2B(xname, xindex, addr, off) \ argument 275 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ 336 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atten) \ argument 337 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ 391 #define BURGUNDY_SWITCH_W(xname, xindex, addr, lbit, rbit, stereo) \ argument 392 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ 447 #define BURGUNDY_SWITCH_B(xname, xindex, addr, lmask, rmask, stereo) \ argument 448 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\
|
/linux/sound/soc/tegra/ |
H A D | tegra210_ope.h | 73 #define TEGRA_SOC_BYTES_EXT(xname, xbase, xregs, xshift, xmask, \ argument 77 .name = xname, \
|
/linux/sound/pci/rme9652/ |
H A D | hdspm.c | 2231 #define HDSPM_SYSTEM_SAMPLE_RATE(xname, xindex) \ argument 2233 .name = xname, \ 2396 #define HDSPM_AUTOSYNC_SAMPLE_RATE(xname, xindex) \ argument 2398 .name = xname, \ 2504 #define HDSPM_SYSTEM_CLOCK_MODE(xname, xindex) \ argument 2506 .name = xname, \ 2589 #define HDSPM_INTERNAL_CLOCK(xname, xindex) \ argument 2591 .name = xname, \ 2684 #define HDSPM_PREF_SYNC_REF(xname, xindex) \ argument 2686 .name = xname, \ [all …]
|