Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/atmel/
Dmchp-spdiftx.c186 unsigned char ch_stat[SPDIFTX_CS_BITS / 8]; member
216 for (i = 0; i < ARRAY_SIZE(ctrl->ch_stat) / 4; i++) { in mchp_spdiftx_channel_status_write()
217 val = (ctrl->ch_stat[(i * 4) + 0] << 0) | in mchp_spdiftx_channel_status_write()
218 (ctrl->ch_stat[(i * 4) + 1] << 8) | in mchp_spdiftx_channel_status_write()
219 (ctrl->ch_stat[(i * 4) + 2] << 16) | in mchp_spdiftx_channel_status_write()
220 (ctrl->ch_stat[(i * 4) + 3] << 24); in mchp_spdiftx_channel_status_write()
444 ctrl->ch_stat[3] &= ~IEC958_AES3_CON_FS; in mchp_spdiftx_hw_params()
447 ctrl->ch_stat[3] |= IEC958_AES3_CON_FS_22050; in mchp_spdiftx_hw_params()
450 ctrl->ch_stat[3] |= IEC958_AES3_CON_FS_24000; in mchp_spdiftx_hw_params()
453 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()
336 complete(&ctrl->ch_stat[ch].done); in mchp_spdif_interrupt()
517 struct mchp_spdifrx_ch_stat *ch_stat = &ctrl->ch_stat[channel]; in mchp_spdifrx_cs_get() local
522 ret = wait_for_completion_interruptible_timeout(&ch_stat->done, in mchp_spdifrx_cs_get()
[all …]
/linux-6.1.9/drivers/gpu/host1x/hw/
Ddebug_hw_1x06.c22 u32 ch_stat; in host1x_debug_show_channel_cdma() local
41 ch_stat = host1x_ch_readl(ch, HOST1X_CHANNEL_CHANNELSTAT); in host1x_debug_show_channel_cdma()
60 host1x_debug_output(o, "CHANNELSTAT %02x\n", ch_stat); in host1x_debug_show_channel_cdma()
/linux-6.1.9/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()
/linux-6.1.9/drivers/power/supply/
Dab8500_charger.c3321 int ch_stat; in ab8500_charger_bind() local
3332 ch_stat = ab8500_charger_detect_chargers(di, false); in ab8500_charger_bind()
3334 if (ch_stat & AC_PW_CONN) { in ab8500_charger_bind()
3340 if (ch_stat & USB_PW_CONN) { in ab8500_charger_bind()