Lines Matching refs:dsp_data
18 unsigned short dsp_addr, unsigned int dsp_data) in aw_dev_dsp_write_16bit() argument
28 ret = regmap_write(aw_dev->regmap, AW88395_DSPMDAT_REG, (u16)dsp_data); in aw_dev_dsp_write_16bit()
38 unsigned short dsp_addr, unsigned int dsp_data) in aw_dev_dsp_write_32bit() argument
49 temp_data = dsp_data & AW88395_DSP_16_DATA_MASK; in aw_dev_dsp_write_32bit()
56 temp_data = dsp_data >> 16; in aw_dev_dsp_write_32bit()
67 unsigned short dsp_addr, unsigned int dsp_data, unsigned char data_type) in aw_dev_dsp_write() argument
75 ret = aw_dev_dsp_write_16bit(aw_dev, dsp_addr, dsp_data); in aw_dev_dsp_write()
78 (u32)dsp_addr, dsp_data); in aw_dev_dsp_write()
81 ret = aw_dev_dsp_write_32bit(aw_dev, dsp_addr, dsp_data); in aw_dev_dsp_write()
84 (u32)dsp_addr, dsp_data); in aw_dev_dsp_write()
101 unsigned short dsp_addr, unsigned int *dsp_data) in aw_dev_dsp_read_16bit() argument
117 *dsp_data = temp_data; in aw_dev_dsp_read_16bit()
123 unsigned short dsp_addr, unsigned int *dsp_data) in aw_dev_dsp_read_32bit() argument
139 *dsp_data = temp_data; in aw_dev_dsp_read_32bit()
146 *dsp_data |= (temp_data << 16); in aw_dev_dsp_read_32bit()
152 unsigned short dsp_addr, unsigned int *dsp_data, unsigned char data_type) in aw_dev_dsp_read() argument
160 ret = aw_dev_dsp_read_16bit(aw_dev, dsp_addr, dsp_data); in aw_dev_dsp_read()
163 (u32)dsp_addr, *dsp_data); in aw_dev_dsp_read()
166 ret = aw_dev_dsp_read_32bit(aw_dev, dsp_addr, dsp_data); in aw_dev_dsp_read()
169 (u32)dsp_addr, *dsp_data); in aw_dev_dsp_read()
337 unsigned int addr, unsigned int dsp_data, unsigned char data_type) in aw_dev_modify_dsp_cfg() argument
344 dev_dbg(aw_dev->dev, "addr:0x%x, dsp_data:0x%x", addr, dsp_data); in aw_dev_modify_dsp_cfg()
354 data1 = cpu_to_le16((u16)dsp_data); in aw_dev_modify_dsp_cfg()
358 data2 = cpu_to_le32(dsp_data); in aw_dev_modify_dsp_cfg()