Home
last modified time | relevance | path

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

/sound/soc/sti/
Duniperif.h19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ argument
20 ((readl_relaxed(ip->base + offset) >> shift) & mask)
21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ argument
22 writel_relaxed(((readl_relaxed(ip->base + offset) & \
23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset)
24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ argument
25 writel_relaxed((((value) & mask) << shift), ip->base + offset)
31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 argument
32 #define GET_UNIPERIF_SOFT_RST(ip) \ argument
33 ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
[all …]
/sound/soc/stm/
Dstm32_sai.h257 #define STM_SAI_IS_F4(ip) ((ip)->conf.version == STM_SAI_STM32F4) argument
258 #define STM_SAI_HAS_SPDIF_PDM(ip)\ argument
259 ((ip)->pdata->conf.has_spdif_pdm)
Dstm32_sai_sub.c41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK) argument
42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE) argument
53 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) argument
/sound/usb/
Dendpoint.c598 struct snd_usb_iface_ref *ip; in iface_ref_find() local
600 list_for_each_entry(ip, &chip->iface_ref_list, list) in iface_ref_find()
601 if (ip->iface == iface) in iface_ref_find()
602 return ip; in iface_ref_find()
604 ip = kzalloc(sizeof(*ip), GFP_KERNEL); in iface_ref_find()
605 if (!ip) in iface_ref_find()
607 ip->iface = iface; in iface_ref_find()
608 list_add_tail(&ip->list, &chip->iface_ref_list); in iface_ref_find()
609 return ip; in iface_ref_find()
1722 struct snd_usb_iface_ref *ip, *in; in snd_usb_endpoint_free_all() local
[all …]
/sound/soc/sh/rcar/
Drsnd.h423 #define rsnd_mod_get(ip) (&(ip)->mod) argument
/sound/core/
Dcontrol.c1924 int __user *ip = argp; in snd_ctl_ioctl() local
1933 return put_user(SNDRV_CTL_VERSION, ip) ? -EFAULT : 0; in snd_ctl_ioctl()
1955 return snd_ctl_subscribe_events(ctl, ip); in snd_ctl_ioctl()
1974 return put_user(SNDRV_CTL_POWER_D0, ip) ? -EFAULT : 0; in snd_ctl_ioctl()