Lines Matching refs:databuf
1756 unsigned int databuf[2] = { 0 }; in aw883xx_reg_store() local
1758 if (2 == sscanf(buf, "%x %x", &databuf[0], &databuf[1])) in aw883xx_reg_store()
1759 aw883xx_reg_write(aw883xx, databuf[0], databuf[1]); in aw883xx_reg_store()
1769 unsigned int databuf[2] = { 0 }; in aw883xx_rw_store() local
1771 if (2 == sscanf(buf, "%x %x", &databuf[0], &databuf[1])) { in aw883xx_rw_store()
1772 aw883xx->reg_addr = (uint8_t)databuf[0]; in aw883xx_rw_store()
1773 if (aw883xx->aw_pa->ops.aw_check_rd_access(databuf[0])) in aw883xx_rw_store()
1774 aw883xx_reg_write(aw883xx, databuf[0], databuf[1]); in aw883xx_rw_store()
1775 } else if (1 == sscanf(buf, "%x", &databuf[0])) { in aw883xx_rw_store()
1776 aw883xx->reg_addr = (uint8_t)databuf[0]; in aw883xx_rw_store()
1836 unsigned int databuf[2] = { 0 }; in aw883xx_dsp_rw_store() local
1838 if (2 == sscanf(buf, "%x %x", &databuf[0], &databuf[1])) { in aw883xx_dsp_rw_store()
1839 aw883xx->dsp_addr = (unsigned int)databuf[0]; in aw883xx_dsp_rw_store()
1840 aw883xx_dsp_write(aw883xx, databuf[0], databuf[1], AW_DSP_16_DATA); in aw883xx_dsp_rw_store()
1842 databuf[0], databuf[1]); in aw883xx_dsp_rw_store()
1843 } else if (1 == sscanf(buf, "%x", &databuf[0])) { in aw883xx_dsp_rw_store()
1844 aw883xx->dsp_addr = (unsigned int)databuf[0]; in aw883xx_dsp_rw_store()
1846 databuf[0]); in aw883xx_dsp_rw_store()
2062 unsigned int databuf = 0; in aw883xx_fade_step_store() local
2064 if (1 == sscanf(buf, "%d", &databuf)) { in aw883xx_fade_step_store()
2065 if (databuf > (aw883xx->aw_pa->volume_desc.mute_volume)) { in aw883xx_fade_step_store()
2066 aw_dev_info(aw883xx->dev, "step overflow %d Db", databuf); in aw883xx_fade_step_store()
2069 aw_dev_set_fade_vol_step(aw883xx->aw_pa, databuf); in aw883xx_fade_step_store()
2071 aw_dev_info(aw883xx->dev, "set step %d DB Done", databuf); in aw883xx_fade_step_store()
2092 unsigned int databuf = 0; in aw883xx_dbg_prof_store() local
2094 if (1 == sscanf(buf, "%d", &databuf)) { in aw883xx_dbg_prof_store()
2095 if (databuf) in aw883xx_dbg_prof_store()
2100 aw_dev_info(aw883xx->dev, "en_prof %d Done", databuf); in aw883xx_dbg_prof_store()