Lines Matching refs:set_field
190 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state()
199 set_field(&ctl->ctl, SRCCTL_BM, bm); in src_set_bm()
208 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
217 set_field(&ctl->ctl, SRCCTL_SF, sf); in src_set_sf()
226 set_field(&ctl->ctl, SRCCTL_WR, wr); in src_set_wr()
235 set_field(&ctl->ctl, SRCCTL_PM, pm); in src_set_pm()
244 set_field(&ctl->ctl, SRCCTL_ROM, rom); in src_set_rom()
253 set_field(&ctl->ctl, SRCCTL_VO, vo); in src_set_vo()
262 set_field(&ctl->ctl, SRCCTL_ST, st); in src_set_st()
271 set_field(&ctl->ctl, SRCCTL_IE, ie); in src_set_ie()
280 set_field(&ctl->ctl, SRCCTL_ILSZ, ilsz); in src_set_ilsz()
289 set_field(&ctl->ctl, SRCCTL_BP, bp); in src_set_bp()
298 set_field(&ctl->ccr, SRCCCR_CISZ, cisz); in src_set_cisz()
307 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca()
316 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
325 set_field(&ctl->la, SRCLA_LA, la); in src_set_la()
334 set_field(&ctl->mpr, MPRLH_PITCH, pitch); in src_set_pitch()
537 set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot); in srcimp_mgr_set_imaparc()
546 set_field(&ctl->srcimap.srcaim, SRCAIM_SRC, user); in srcimp_mgr_set_imapuser()
555 set_field(&ctl->srcimap.srcaim, SRCAIM_NXT, next); in srcimp_mgr_set_imapnxt()
613 set_field(&ctl->amoplo, AMOPLO_M, mode); in amixer_set_mode()
622 set_field(&ctl->amoplo, AMOPLO_IV, iv); in amixer_set_iv()
631 set_field(&ctl->amoplo, AMOPLO_X, x); in amixer_set_x()
640 set_field(&ctl->amoplo, AMOPLO_Y, y); in amixer_set_y()
649 set_field(&ctl->amophi, AMOPHI_SADR, sadr); in amixer_set_sadr()
658 set_field(&ctl->amophi, AMOPHI_SE, se); in amixer_set_se()
828 set_field(&ctl->srt, SRTCTL_SRCO, src); in dai_srt_set_srco()
837 set_field(&ctl->srt, SRTCTL_SRCM, src); in dai_srt_set_srcm()
846 set_field(&ctl->srt, SRTCTL_RSR, rsr); in dai_srt_set_rsr()
855 set_field(&ctl->srt, SRTCTL_DRAT, drat); in dai_srt_set_drat()
864 set_field(&ctl->srt, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
873 set_field(&ctl->srt, SRTCTL_ET, et ? 1 : 0); in dai_srt_set_et()
965 set_field(&ctl->rxctl[idx], ARXCTL_EN, 1); in daio_mgr_enb_dai()
974 set_field(&ctl->rxctl[idx], ARXCTL_EN, 0); in daio_mgr_dsb_dai()
984 set_field(&ctl->txctl[idx], ATXCTL_EN, 1); in daio_mgr_enb_dao()
993 set_field(&ctl->txctl[idx], ATXCTL_EN, 0); in daio_mgr_dsb_dao()
1006 set_field(&ctl->txctl[idx], ATXCTL_NUC, 0); in daio_mgr_dao_init()
1009 set_field(&ctl->txctl[idx], ATXCTL_NUC, 1); in daio_mgr_dao_init()
1012 set_field(&ctl->txctl[idx], ATXCTL_NUC, 2); in daio_mgr_dao_init()
1015 set_field(&ctl->txctl[idx], ATXCTL_NUC, 3); in daio_mgr_dao_init()
1021 set_field(&ctl->txctl[idx], ATXCTL_CD, (!(conf & 0x7))); in daio_mgr_dao_init()
1023 set_field(&ctl->txctl[idx], ATXCTL_LIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1025 set_field(&ctl->txctl[idx], ATXCTL_RIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1026 set_field(&ctl->txctl[idx], ATXCTL_RAW, in daio_mgr_dao_init()
1040 set_field(&ctl->daoimap.aim, AIM_ARC, slot); in daio_mgr_set_imaparc()
1049 set_field(&ctl->daoimap.aim, AIM_NXT, next); in daio_mgr_set_imapnxt()
1320 set_field(&pllctl, PLLCTL_B, 0); in hw_pll_init()
1321 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 4 : 147 - 4); in hw_pll_init()
1322 set_field(&pllctl, PLLCTL_RD, 48000 == rsr ? 1 - 1 : 10 - 1); in hw_pll_init()
1327 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 2 : 147 - 2); in hw_pll_init()
1368 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1370 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1490 set_field(&i2c_addr, I2C_ADDRESS_SLAD, dev_id); in hw20k2_i2c_init()
1496 set_field(&i2c_status, I2C_STATUS_DCM, 1); /* Direct control mode */ in hw20k2_i2c_init()
1509 set_field(&i2c_addr, I2C_ADDRESS_SLAD, 0x57); /* I2C id */ in hw20k2_i2c_uninit()
1515 set_field(&i2c_status, I2C_STATUS_DCM, 0); /* I2C mode */ in hw20k2_i2c_uninit()
1540 set_field(&i2c_status, I2C_STATUS_BC, in hw20k2_i2c_read()
1568 set_field(&i2c_status, I2C_STATUS_BC, in hw20k2_i2c_write()
2059 set_field(&gctl, GCTL_UAA, 0); in hw_card_start()
2151 set_field(&gctl, GCTL_DBP, 1); in hw_card_init()
2152 set_field(&gctl, GCTL_TBP, 1); in hw_card_init()
2153 set_field(&gctl, GCTL_FBP, 1); in hw_card_init()
2154 set_field(&gctl, GCTL_DPC, 0); in hw_card_init()