Home
last modified time | relevance | path

Searched refs:aif (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_hdmirx.c206 static void rk628_hdmirx_audio_fifo_init(struct rk628_audioinfo *aif) in rk628_hdmirx_audio_fifo_init() argument
209 dev_dbg(aif->dev, "%s initial fifo\n", __func__); in rk628_hdmirx_audio_fifo_init()
210 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_ICLR, 0x1f); in rk628_hdmirx_audio_fifo_init()
211 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_CTRL, 0x10001); in rk628_hdmirx_audio_fifo_init()
212 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_CTRL, 0x10000); in rk628_hdmirx_audio_fifo_init()
213 aif->audio_state.pre_state = aif->audio_state.init_state = INIT_FIFO_STATE*4; in rk628_hdmirx_audio_fifo_init()
216 static void rk628_hdmirx_audio_fifo_initd(struct rk628_audioinfo *aif) in rk628_hdmirx_audio_fifo_initd() argument
219 dev_dbg(aif->dev, "%s double initial fifo\n", __func__); in rk628_hdmirx_audio_fifo_initd()
220 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_ICLR, 0x1f); in rk628_hdmirx_audio_fifo_initd()
221 rk628_i2c_update_bits(aif->rk628, HDMI_RX_AUD_FIFO_TH, in rk628_hdmirx_audio_fifo_initd()
[all …]
/OK3568_Linux_fs/u-boot/drivers/sound/
H A Dwm8994.c165 int aif = 0; in wm8994_set_fmt() local
198 aif |= WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
200 aif |= 0x18; in wm8994_set_fmt()
203 aif |= 0x10; in wm8994_set_fmt()
208 aif |= 0x8; in wm8994_set_fmt()
223 aif |= WM8994_AIF1_BCLK_INV; in wm8994_set_fmt()
239 aif |= WM8994_AIF1_BCLK_INV | WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
242 aif |= WM8994_AIF1_BCLK_INV; in wm8994_set_fmt()
245 aif |= WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
259 WM8994_AIF1_LRCLK_INV_MASK | WM8994_AIF1_FMT_MASK, aif); in wm8994_set_fmt()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtscs454.c58 struct aif { struct
64 static inline void aif_init(struct aif *aif, unsigned int id) in aif_init() argument
66 aif->id = id; in aif_init()
126 struct aif aifs[TSCS454_DAI_COUNT];
791 int aif_prepare(struct snd_soc_component *component, struct aif *aif) in aif_prepare() argument
795 ret = aif_set_master(component, aif->id, aif->master); in aif_prepare()
803 struct aif *aif, bool playback) in aif_free() argument
809 dev_dbg(component->dev, "%s(): aif %d\n", __func__, aif->id); in aif_free()
811 set_aif_status_inactive(&tscs454->aifs_status, aif->id, playback); in aif_free()
814 aif->id, tscs454->aifs_status.streams); in aif_free()
[all …]
H A Dwm8955.c671 u16 aif = 0; in wm8955_set_fmt() local
677 aif |= WM8955_MS; in wm8955_set_fmt()
685 aif |= WM8955_LRP; in wm8955_set_fmt()
688 aif |= 0x3; in wm8955_set_fmt()
691 aif |= 0x2; in wm8955_set_fmt()
696 aif |= 0x1; in wm8955_set_fmt()
710 aif |= WM8955_BCLKINV; in wm8955_set_fmt()
724 aif |= WM8955_BCLKINV | WM8955_LRP; in wm8955_set_fmt()
727 aif |= WM8955_BCLKINV; in wm8955_set_fmt()
730 aif |= WM8955_LRP; in wm8955_set_fmt()
[all …]
H A Dwm8961.c624 u16 aif = snd_soc_component_read(component, WM8961_AUDIO_INTERFACE_0); in wm8961_set_fmt() local
626 aif &= ~(WM8961_BCLKINV | WM8961_LRP | in wm8961_set_fmt()
631 aif |= WM8961_MS; in wm8961_set_fmt()
644 aif |= 1; in wm8961_set_fmt()
648 aif |= 2; in wm8961_set_fmt()
652 aif |= WM8961_LRP; in wm8961_set_fmt()
655 aif |= 3; in wm8961_set_fmt()
673 aif |= WM8961_LRP; in wm8961_set_fmt()
676 aif |= WM8961_BCLKINV; in wm8961_set_fmt()
679 aif |= WM8961_BCLKINV | WM8961_LRP; in wm8961_set_fmt()
[all …]
H A Dwm8995.c669 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
678 if (aif) in configure_aif_clock()
683 switch (wm8995->sysclk[aif]) { in configure_aif_clock()
708 aif + 1, rate); in configure_aif_clock()
711 wm8995->aifclk[aif] = rate; in configure_aif_clock()
1445 int aif; in wm8995_set_dai_fmt() local
1461 aif = 0; in wm8995_set_dai_fmt()
1464 aif |= WM8995_AIF1_LRCLK_INV; in wm8995_set_dai_fmt()
1467 aif |= (0x3 << WM8995_AIF1_FMT_SHIFT); in wm8995_set_dai_fmt()
1470 aif |= (0x2 << WM8995_AIF1_FMT_SHIFT); in wm8995_set_dai_fmt()
[all …]
H A Dwm8958-dsp2.c328 int ena, reg, aif; in wm8958_dsp_apply() local
333 aif = 0; in wm8958_dsp_apply()
337 aif = 0; in wm8958_dsp_apply()
341 aif = 1; in wm8958_dsp_apply()
375 aif << WM8958_DSP2CLK_SRC_SHIFT | in wm8958_dsp_apply()
438 static int wm8958_dsp2_busy(struct wm8994_priv *wm8994, int aif) in wm8958_dsp2_busy() argument
443 if (i == aif) in wm8958_dsp2_busy()
H A Disabelle.c915 u16 aif = 0; in isabelle_hw_params() local
956 aif |= ISABELLE_AIF_LENGTH_20; in isabelle_hw_params()
959 aif |= ISABELLE_AIF_LENGTH_32; in isabelle_hw_params()
966 ISABELLE_AIF_LENGTH_MASK, aif); in isabelle_hw_params()
H A Dda732x.c950 u32 aif = 0; in da732x_hw_params() local
958 aif |= DA732X_AIF_WORD_16; in da732x_hw_params()
961 aif |= DA732X_AIF_WORD_20; in da732x_hw_params()
964 aif |= DA732X_AIF_WORD_24; in da732x_hw_params()
967 aif |= DA732X_AIF_WORD_32; in da732x_hw_params()
1011 snd_soc_component_update_bits(component, reg_aif, DA732X_AIF_WORD_MASK, aif); in da732x_hw_params()
H A Dwm8996.c1534 int aif, best, cur_val, bclk_rate, bclk_reg, i; in wm8996_update_bclk() local
1542 for (aif = 0; aif < WM8996_AIFS; aif++) { in wm8996_update_bclk()
1543 switch (aif) { in wm8996_update_bclk()
1552 bclk_rate = wm8996->bclk_rate[aif]; in wm8996_update_bclk()
H A Dwm8994.c162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
169 if (aif) in configure_aif_clock()
174 switch (wm8994->sysclk[aif]) { in configure_aif_clock()
203 aif + 1, rate); in configure_aif_clock()
206 wm8994->aifclk[aif] = rate; in configure_aif_clock()
1059 static int aif_mclk_set(struct snd_soc_component *component, int aif, bool enable) in aif_mclk_set() argument
1065 if (aif) in aif_mclk_set()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dtests.bat62 .\sox %noise% ub2.sf ub2.aif
63 .\sox %noise% ub2.aif ub3.sf
77 del ub2.aif
/OK3568_Linux_fs/u-boot/include/
H A Datf_common.h92 #define SPSR_32(mode, isa, endian, aif) \ argument
97 ((aif) & SPSR_AIF_MASK) << SPSR_AIF_SHIFT)
/OK3568_Linux_fs/kernel/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c867 const struct lochnagar_aif *aif = group->priv; in lochnagar_aif_set_mux() local
871 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux()
878 ret = regmap_update_bits(regmap, aif->ctrl_reg, in lochnagar_aif_set_mux()
879 aif->ena_mask, aif->ena_mask); in lochnagar_aif_set_mux()
990 const struct lochnagar_aif *aif = group->priv; in lochnagar_aif_set_master() local
998 val = aif->master_mask; in lochnagar_aif_set_master()
1003 ret = regmap_update_bits(regmap, aif->ctrl_reg, aif->master_mask, val); in lochnagar_aif_set_master()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dcss_chars.h13 u64 aif : 1; /* bit 41 */ member
/OK3568_Linux_fs/kernel/drivers/scsi/aacraid/
H A Dcommsup.c1771 struct aac_aifcmd * aif; in aac_check_health() local
1779 aif = (struct aac_aifcmd *)hw_fib->data; in aac_check_health()
1780 aif->command = cpu_to_le32(AifCmdEventNotify); in aac_check_health()
1781 aif->seqnum = cpu_to_le32(0xFFFFFFFF); in aac_check_health()
1782 ((__le32 *)aif->data)[0] = cpu_to_le32(AifEnExpEvent); in aac_check_health()
1783 ((__le32 *)aif->data)[1] = cpu_to_le32(AifExeFirmwarePanic); in aac_check_health()
1784 ((__le32 *)aif->data)[2] = cpu_to_le32(AifHighPriority); in aac_check_health()
1785 ((__le32 *)aif->data)[3] = cpu_to_le32(BlinkLED); in aac_check_health()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/arno-iptables-firewall/
H A Darno-iptables-firewall_2.1.1.bb8 SRC_URI = "git://github.com/arno-iptables-firewall/aif;branch=master;protocol=https"
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/
H A Dsleep.S104 cpsid aif
/OK3568_Linux_fs/kernel/arch/arm/mach-tegra/
H A Dreset-handler.S140 cpsid aif, 0x13 @ SVC mode, interrupts disabled
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dkeystone-k2hk-clocks.dtsi257 clock-output-names = "aif";
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dkeystone-k2hk-clocks.dtsi260 clock-output-names = "aif";