Lines Matching refs:ch_status
54 unsigned char ch_status[4]; member
328 ctrl->ch_status[3] &= ~mask; in spdif_set_cstatus()
329 ctrl->ch_status[3] |= cstatus & mask; in spdif_set_cstatus()
337 u32 ch_status; in spdif_write_channel_status() local
339 ch_status = (bitrev8(ctrl->ch_status[0]) << 16) | in spdif_write_channel_status()
340 (bitrev8(ctrl->ch_status[1]) << 8) | in spdif_write_channel_status()
341 bitrev8(ctrl->ch_status[2]); in spdif_write_channel_status()
342 regmap_write(regmap, REG_SPDIF_STCSCH, ch_status); in spdif_write_channel_status()
344 dev_dbg(&pdev->dev, "STCSCH: 0x%06x\n", ch_status); in spdif_write_channel_status()
346 ch_status = bitrev8(ctrl->ch_status[3]) << 16; in spdif_write_channel_status()
347 regmap_write(regmap, REG_SPDIF_STCSCL, ch_status); in spdif_write_channel_status()
349 dev_dbg(&pdev->dev, "STCSCL: 0x%06x\n", ch_status); in spdif_write_channel_status()
660 uvalue->value.iec958.status[0] = ctrl->ch_status[0]; in fsl_spdif_pb_get()
661 uvalue->value.iec958.status[1] = ctrl->ch_status[1]; in fsl_spdif_pb_get()
662 uvalue->value.iec958.status[2] = ctrl->ch_status[2]; in fsl_spdif_pb_get()
663 uvalue->value.iec958.status[3] = ctrl->ch_status[3]; in fsl_spdif_pb_get()
675 ctrl->ch_status[0] = uvalue->value.iec958.status[0]; in fsl_spdif_pb_put()
676 ctrl->ch_status[1] = uvalue->value.iec958.status[1]; in fsl_spdif_pb_put()
677 ctrl->ch_status[2] = uvalue->value.iec958.status[2]; in fsl_spdif_pb_put()
678 ctrl->ch_status[3] = uvalue->value.iec958.status[3]; in fsl_spdif_pb_put()
1298 ctrl->ch_status[0] = IEC958_AES0_CON_NOT_COPYRIGHT | in fsl_spdif_probe()
1300 ctrl->ch_status[1] = IEC958_AES1_CON_DIGDIGCONV_ID; in fsl_spdif_probe()
1301 ctrl->ch_status[2] = 0x00; in fsl_spdif_probe()
1302 ctrl->ch_status[3] = IEC958_AES3_CON_FS_44100 | in fsl_spdif_probe()