Lines Matching refs:set_field
180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state()
189 set_field(&ctl->ctl, SRCCTL_BM, bm); in src_set_bm()
198 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
207 set_field(&ctl->ctl, SRCCTL_SF, sf); in src_set_sf()
216 set_field(&ctl->ctl, SRCCTL_WR, wr); in src_set_wr()
225 set_field(&ctl->ctl, SRCCTL_PM, pm); in src_set_pm()
234 set_field(&ctl->ctl, SRCCTL_ROM, rom); in src_set_rom()
243 set_field(&ctl->ctl, SRCCTL_VO, vo); in src_set_vo()
252 set_field(&ctl->ctl, SRCCTL_ST, st); in src_set_st()
261 set_field(&ctl->ctl, SRCCTL_IE, ie); in src_set_ie()
270 set_field(&ctl->ctl, SRCCTL_ILSZ, ilsz); in src_set_ilsz()
279 set_field(&ctl->ctl, SRCCTL_BP, bp); in src_set_bp()
288 set_field(&ctl->ccr, SRCCCR_CISZ, cisz); in src_set_cisz()
297 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca()
306 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
315 set_field(&ctl->la, SRCLA_LA, la); in src_set_la()
324 set_field(&ctl->mpr, MPRLH_PITCH, pitch); in src_set_pitch()
527 set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot); in srcimp_mgr_set_imaparc()
536 set_field(&ctl->srcimap.srcaim, SRCAIM_SRC, user); in srcimp_mgr_set_imapuser()
545 set_field(&ctl->srcimap.srcaim, SRCAIM_NXT, next); in srcimp_mgr_set_imapnxt()
603 set_field(&ctl->amoplo, AMOPLO_M, mode); in amixer_set_mode()
612 set_field(&ctl->amoplo, AMOPLO_IV, iv); in amixer_set_iv()
621 set_field(&ctl->amoplo, AMOPLO_X, x); in amixer_set_x()
630 set_field(&ctl->amoplo, AMOPLO_Y, y); in amixer_set_y()
639 set_field(&ctl->amophi, AMOPHI_SADR, sadr); in amixer_set_sadr()
648 set_field(&ctl->amophi, AMOPHI_SE, se); in amixer_set_se()
818 set_field(&ctl->srt, SRTCTL_SRCO, src); in dai_srt_set_srco()
827 set_field(&ctl->srt, SRTCTL_SRCM, src); in dai_srt_set_srcm()
836 set_field(&ctl->srt, SRTCTL_RSR, rsr); in dai_srt_set_rsr()
845 set_field(&ctl->srt, SRTCTL_DRAT, drat); in dai_srt_set_drat()
854 set_field(&ctl->srt, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
863 set_field(&ctl->srt, SRTCTL_ET, et ? 1 : 0); in dai_srt_set_et()
955 set_field(&ctl->rxctl[idx], ARXCTL_EN, 1); in daio_mgr_enb_dai()
964 set_field(&ctl->rxctl[idx], ARXCTL_EN, 0); in daio_mgr_dsb_dai()
974 set_field(&ctl->txctl[idx], ATXCTL_EN, 1); in daio_mgr_enb_dao()
983 set_field(&ctl->txctl[idx], ATXCTL_EN, 0); in daio_mgr_dsb_dao()
996 set_field(&ctl->txctl[idx], ATXCTL_NUC, 0); in daio_mgr_dao_init()
999 set_field(&ctl->txctl[idx], ATXCTL_NUC, 1); in daio_mgr_dao_init()
1002 set_field(&ctl->txctl[idx], ATXCTL_NUC, 2); in daio_mgr_dao_init()
1005 set_field(&ctl->txctl[idx], ATXCTL_NUC, 3); in daio_mgr_dao_init()
1011 set_field(&ctl->txctl[idx], ATXCTL_CD, (!(conf & 0x7))); in daio_mgr_dao_init()
1013 set_field(&ctl->txctl[idx], ATXCTL_LIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1015 set_field(&ctl->txctl[idx], ATXCTL_RIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1016 set_field(&ctl->txctl[idx], ATXCTL_RAW, in daio_mgr_dao_init()
1030 set_field(&ctl->daoimap.aim, AIM_ARC, slot); in daio_mgr_set_imaparc()
1039 set_field(&ctl->daoimap.aim, AIM_NXT, next); in daio_mgr_set_imapnxt()
1311 set_field(&pllctl, PLLCTL_B, 0); in hw_pll_init()
1312 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 4 : 147 - 4); in hw_pll_init()
1313 set_field(&pllctl, PLLCTL_RD, 48000 == rsr ? 1 - 1 : 10 - 1); in hw_pll_init()
1318 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 2 : 147 - 2); in hw_pll_init()
1360 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1362 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1482 set_field(&i2c_addr, I2C_ADDRESS_SLAD, dev_id); in hw20k2_i2c_init()
1488 set_field(&i2c_status, I2C_STATUS_DCM, 1); /* Direct control mode */ in hw20k2_i2c_init()
1501 set_field(&i2c_addr, I2C_ADDRESS_SLAD, 0x57); /* I2C id */ in hw20k2_i2c_uninit()
1507 set_field(&i2c_status, I2C_STATUS_DCM, 0); /* I2C mode */ in hw20k2_i2c_uninit()
1532 set_field(&i2c_status, I2C_STATUS_BC, in hw20k2_i2c_read()
1560 set_field(&i2c_status, I2C_STATUS_BC, in hw20k2_i2c_write()
2048 set_field(&gctl, GCTL_UAA, 0); in hw_card_start()
2139 set_field(&gctl, GCTL_DBP, 1); in hw_card_init()
2140 set_field(&gctl, GCTL_TBP, 1); in hw_card_init()
2141 set_field(&gctl, GCTL_FBP, 1); in hw_card_init()
2142 set_field(&gctl, GCTL_DPC, 0); in hw_card_init()