Lines Matching refs:hw_write_20kx
36 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data);
367 hw_write_20kx(hw, SRC_UPZ+idx*0x100+i*0x4, 0); in src_commit_write()
370 hw_write_20kx(hw, SRC_DN0Z+idx*0x100+i*0x4, 0); in src_commit_write()
373 hw_write_20kx(hw, SRC_DN1Z+idx*0x100+i*0x4, 0); in src_commit_write()
383 hw_write_20kx(hw, MIXER_PRING_LO_HI+4*pm_idx, ctl->mpr); in src_commit_write()
384 hw_write_20kx(hw, MIXER_PMOPLO+8*pm_idx, 0x3); in src_commit_write()
385 hw_write_20kx(hw, MIXER_PMOPHI+8*pm_idx, 0x0); in src_commit_write()
389 hw_write_20kx(hw, SRC_SA+idx*0x100, ctl->sa); in src_commit_write()
393 hw_write_20kx(hw, SRC_LA+idx*0x100, ctl->la); in src_commit_write()
397 hw_write_20kx(hw, SRC_CA+idx*0x100, ctl->ca); in src_commit_write()
402 hw_write_20kx(hw, SRC_CF+idx*0x100, 0x0); in src_commit_write()
405 hw_write_20kx(hw, SRC_CCR+idx*0x100, ctl->ccr); in src_commit_write()
409 hw_write_20kx(hw, SRC_CTL+idx*0x100, ctl->ctl); in src_commit_write()
468 hw_write_20kx(hw, SRC_ENBSA, ctl->enbsa); in src_mgr_commit_write()
473 hw_write_20kx(hw, SRC_ENB+(i*0x100), ctl->enb[i]); in src_mgr_commit_write()
562 hw_write_20kx(hw, SRC_IMAP+ctl->srcimap.idx*0x100, in srcimp_mgr_commit_write()
670 hw_write_20kx(hw, MIXER_AMOPLO+idx*8, ctl->amoplo); in amixer_commit_write()
672 hw_write_20kx(hw, MIXER_AMOPHI+idx*8, ctl->amophi); in amixer_commit_write()
873 hw_write_20kx(hw, AUDIO_IO_RX_SRT_CTL+0x40*idx, ctl->srt); in dai_commit_write()
915 hw_write_20kx(hw, AUDIO_IO_TX_CSTAT_L+0x40*idx, in dao_commit_write()
1060 hw_write_20kx(hw, (AUDIO_IO_TX_CTL+(0x40*i)), data); in daio_mgr_commit_write()
1066 hw_write_20kx(hw, (AUDIO_IO_RX_CTL+(0x40*i)), data); in daio_mgr_commit_write()
1072 hw_write_20kx(hw, AUDIO_IO_AIM+ctl->daoimap.idx*4, in daio_mgr_commit_write()
1110 hw_write_20kx(hw, GIE, enable ? IT_INT : 0); in set_timer_irq()
1118 hw_write_20kx(hw, TIMR, ticks); in set_timer_tick()
1154 hw_write_20kx(hw, AUDIO_IO_MCLK, 0x01010101); in hw_daio_init()
1155 hw_write_20kx(hw, AUDIO_IO_TX_BLRCLK, 0x01010101); in hw_daio_init()
1156 hw_write_20kx(hw, AUDIO_IO_RX_BLRCLK, 0); in hw_daio_init()
1159 hw_write_20kx(hw, AUDIO_IO_MCLK, 0x11111111); in hw_daio_init()
1162 hw_write_20kx(hw, AUDIO_IO_MCLK, 0x11011111); in hw_daio_init()
1173 hw_write_20kx(hw, AUDIO_IO_TX_BLRCLK, 0x11111111); in hw_daio_init()
1174 hw_write_20kx(hw, AUDIO_IO_RX_BLRCLK, 0); in hw_daio_init()
1176 hw_write_20kx(hw, AUDIO_IO_MCLK, 0x21011111); in hw_daio_init()
1177 hw_write_20kx(hw, AUDIO_IO_TX_BLRCLK, 0x21212121); in hw_daio_init()
1178 hw_write_20kx(hw, AUDIO_IO_RX_BLRCLK, 0); in hw_daio_init()
1195 hw_write_20kx(hw, (AUDIO_IO_TX_CTL+(0x40*i)), data); in hw_daio_init()
1196 hw_write_20kx(hw, (AUDIO_IO_RX_CTL+(0x40*i)), data); in hw_daio_init()
1208 hw_write_20kx(hw, AUDIO_IO_TX_CSTAT_L+(0x40*i), in hw_daio_init()
1211 hw_write_20kx(hw, AUDIO_IO_TX_CSTAT_H+(0x40*i), 0x0B); in hw_daio_init()
1216 hw_write_20kx(hw, AUDIO_IO_RX_CTL+(0x40*i), data); in hw_daio_init()
1224 hw_write_20kx(hw, AUDIO_IO_TX_CTL+(0x40*i), data); in hw_daio_init()
1252 hw_write_20kx(hw, VMEM_PTPAL+(16*i), ptp_phys_low); in hw_trn_init()
1253 hw_write_20kx(hw, VMEM_PTPAH+(16*i), ptp_phys_high); in hw_trn_init()
1256 hw_write_20kx(hw, VMEM_CTL, vmctl); in hw_trn_init()
1258 hw_write_20kx(hw, TRANSPORT_CTL, 0x03); in hw_trn_init()
1259 hw_write_20kx(hw, TRANSPORT_INT, 0x200c01); in hw_trn_init()
1262 hw_write_20kx(hw, TRANSPORT_ENB, (data | 0x03)); in hw_trn_init()
1309 hw_write_20kx(hw, PLL_ENB, pllenb); in hw_pll_init()
1314 hw_write_20kx(hw, PLL_CTL, pllctl); in hw_pll_init()
1319 hw_write_20kx(hw, PLL_CTL, pllctl); in hw_pll_init()
1361 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1363 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1444 hw_write_20kx(hw, I2C_IF_WLOCK, in hw20k2_i2c_unlock_full_access()
1446 hw_write_20kx(hw, I2C_IF_WLOCK, in hw20k2_i2c_unlock_full_access()
1458 hw_write_20kx(hw, I2C_IF_WLOCK, STATE_LOCKED); in hw20k2_i2c_lock_chip()
1459 hw_write_20kx(hw, I2C_IF_WLOCK, STATE_LOCKED); in hw20k2_i2c_lock_chip()
1484 hw_write_20kx(hw, I2C_IF_ADDRESS, i2c_addr); in hw20k2_i2c_init()
1490 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_init()
1503 hw_write_20kx(hw, I2C_IF_ADDRESS, i2c_addr); in hw20k2_i2c_uninit()
1509 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_uninit()
1534 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_read()
1538 hw_write_20kx(hw, I2C_IF_WDATA, addr); in hw20k2_i2c_read()
1543 hw_write_20kx(hw, I2C_IF_RDATA, 0); in hw20k2_i2c_read()
1564 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_write()
1567 hw_write_20kx(hw, I2C_IF_WDATA, 0); in hw20k2_i2c_write()
1571 hw_write_20kx(hw, I2C_IF_WDATA, i2c_data); in hw20k2_i2c_write()
1582 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_stop()
1591 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_start()
1637 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_init()
1645 hw_write_20kx(hw, GPIO_CTRL, data); in hw_dac_init()
1814 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_input_select()
1819 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_input_select()
1837 hw_write_20kx(hw, GPIO_CTRL, data); in hw_adc_init()
1849 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_init()
1860 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_init()
1866 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_init()
1896 hw_write_20kx(hw, GPIO_CTRL, ctl); in hw_adc_init()
1946 hw_write_20kx(hw, GPIO_DATA, data); in hw_output_switch_put()
1958 hw_write_20kx(hw, GPIO_EXT_DATA, data); in hw_output_switch_put()
1963 hw_write_20kx(hw, GPIO_DATA, data); in hw_output_switch_put()
2013 hw_write_20kx(hw, GIP, status); in ct_20k2_interrupt()
2049 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_start()
2083 hw_write_20kx(hw, TRANSPORT_CTL, 0x00); in hw_card_stop()
2087 hw_write_20kx(hw, PLL_ENB, (data & (~0x07))); in hw_card_stop()
2143 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_init()
2146 hw_write_20kx(hw, GIE, 0); in hw_card_init()
2148 hw_write_20kx(hw, SRC_IP, 0); in hw_card_init()
2156 hw_write_20kx(hw, GPIO_CTRL, 0xD802); in hw_card_init()
2158 hw_write_20kx(hw, GPIO_CTRL, 0x9E5F); in hw_card_init()
2161 hw_write_20kx(hw, MIXER_AR_ENABLE, 0x01); in hw_card_init()
2187 hw_write_20kx(hw, SRC_MCTL, data); in hw_card_init()
2211 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data) in hw_write_20kx() function