Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/aw88395/
H A Daw88395_device.c418 u32 crc_value, crc_data_len; in aw_dev_dsp_set_crc32() local
421 crc_data_len = (AW88395_DSP_REG_CRC_ADDR - AW88395_DSP_CFG_ADDR) * 2; in aw_dev_dsp_set_crc32()
422 if (crc_data_len > crc_dsp_cfg->len) { in aw_dev_dsp_set_crc32()
424 crc_data_len, crc_dsp_cfg->len); in aw_dev_dsp_set_crc32()
428 if (crc_data_len & 0x11) { in aw_dev_dsp_set_crc32()
429 dev_err(aw_dev->dev, "The crc data len :%d unsupport", crc_data_len); in aw_dev_dsp_set_crc32()
433 crc_value = __crc32c_le(0xFFFFFFFF, crc_dsp_cfg->data, crc_data_len) ^ 0xFFFFFFFF; in aw_dev_dsp_set_crc32()