Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/atmel/
Dmchp-spdiftx.c186 unsigned char ch_stat[SPDIFTX_CS_BITS / 8]; member
217 for (i = 0; i < ARRAY_SIZE(ctrl->ch_stat) / 4; i++) { in mchp_spdiftx_channel_status_write()
218 val = (ctrl->ch_stat[(i * 4) + 0] << 0) | in mchp_spdiftx_channel_status_write()
219 (ctrl->ch_stat[(i * 4) + 1] << 8) | in mchp_spdiftx_channel_status_write()
220 (ctrl->ch_stat[(i * 4) + 2] << 16) | in mchp_spdiftx_channel_status_write()
221 (ctrl->ch_stat[(i * 4) + 3] << 24); in mchp_spdiftx_channel_status_write()
447 ctrl->ch_stat[3] &= ~IEC958_AES3_CON_FS; in mchp_spdiftx_hw_params()
450 ctrl->ch_stat[3] |= IEC958_AES3_CON_FS_22050; in mchp_spdiftx_hw_params()
453 ctrl->ch_stat[3] |= IEC958_AES3_CON_FS_24000; in mchp_spdiftx_hw_params()
456 ctrl->ch_stat[3] |= IEC958_AES3_CON_FS_32000; in mchp_spdiftx_hw_params()
[all …]
Dmchp-spdifrx.c224 struct mchp_spdifrx_ch_stat ch_stat[SPDIFRX_CHANNELS]; member
248 u8 *ch_stat = &ctrl->ch_stat[channel].data[0]; in mchp_spdifrx_channel_status_read() local
252 for (i = 0; i < ARRAY_SIZE(ctrl->ch_stat[channel].data) / 4; i++) { in mchp_spdifrx_channel_status_read()
254 *ch_stat++ = val & 0xFF; in mchp_spdifrx_channel_status_read()
255 *ch_stat++ = (val >> 8) & 0xFF; in mchp_spdifrx_channel_status_read()
256 *ch_stat++ = (val >> 16) & 0xFF; in mchp_spdifrx_channel_status_read()
257 *ch_stat++ = (val >> 24) & 0xFF; in mchp_spdifrx_channel_status_read()
334 complete(&ctrl->ch_stat[ch].done); in mchp_spdif_interrupt()
515 struct mchp_spdifrx_ch_stat *ch_stat = &ctrl->ch_stat[channel]; in mchp_spdifrx_cs_get() local
520 ret = wait_for_completion_interruptible_timeout(&ch_stat->done, in mchp_spdifrx_cs_get()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/
Ddebug_hw_1x06.c21 u32 ch_stat; in host1x_debug_show_channel_cdma() local
28 ch_stat = host1x_ch_readl(ch, HOST1X_CHANNEL_CHANNELSTAT); in host1x_debug_show_channel_cdma()
46 host1x_debug_output(o, "CHANNELSTAT %02x\n", ch_stat); in host1x_debug_show_channel_cdma()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Dtsi721.c115 u32 rd_count, swr_ptr, ch_stat; in tsi721_maint_dma() local
147 while ((ch_stat = ioread32(regs + TSI721_DMAC_STS)) in tsi721_maint_dma()
153 priv->mdma.ch_id, ch_stat); in tsi721_maint_dma()
161 if (ch_stat & TSI721_DMAC_STS_ABORT) { in tsi721_maint_dma()
166 ch_stat); in tsi721_maint_dma()
1507 u32 ch_stat; in tsi721_bdma_maint_free() local
1515 ch_stat = ioread32(regs + TSI721_DMAC_STS); in tsi721_bdma_maint_free()
1516 if (ch_stat & TSI721_DMAC_STS_RUN) in tsi721_bdma_maint_free()
Dtsi721_dma.c208 u32 ch_stat; in tsi721_bdma_ch_free() local
217 ch_stat = ioread32(bdma_chan->regs + TSI721_DMAC_STS); in tsi721_bdma_ch_free()
218 if (ch_stat & TSI721_DMAC_STS_RUN) in tsi721_bdma_ch_free()
/kernel/linux/linux-5.10/drivers/power/supply/
Dab8500_charger.c3372 int irq, i, charger_status, ret = 0, ch_stat; in ab8500_charger_probe() local
3638 ch_stat = ab8500_charger_detect_chargers(di, false); in ab8500_charger_probe()
3640 if ((ch_stat & AC_PW_CONN) == AC_PW_CONN) { in ab8500_charger_probe()
3646 if ((ch_stat & USB_PW_CONN) == USB_PW_CONN) { in ab8500_charger_probe()