Lines Matching refs:maxim_i2c_write
139 error = maxim_i2c_write(priv, M98095_026_SYS_CLK, 0x10); in max98095_set_sysclk()
141 error = maxim_i2c_write(priv, M98095_026_SYS_CLK, 0x20); in max98095_set_sysclk()
143 error = maxim_i2c_write(priv, M98095_026_SYS_CLK, 0x30); in max98095_set_sysclk()
197 error |= maxim_i2c_write(priv, M98095_DAI_CLKCFG_HI, 0x80); in max98095_set_fmt()
198 error |= maxim_i2c_write(priv, M98095_DAI_CLKCFG_LO, 0x00); in max98095_set_fmt()
243 error |= maxim_i2c_write(priv, M98095_DAI_CLOCK, M98095_DAI_BSEL64); in max98095_set_fmt()
267 ret = maxim_i2c_write(priv, M98095_00F_HOST_CFG, 0); in max98095_reset()
273 ret = maxim_i2c_write(priv, M98095_097_PWR_SYS, 0); in max98095_reset()
284 ret = maxim_i2c_write(priv, i, 0); in max98095_reset()
333 error = maxim_i2c_write(priv, M98095_097_PWR_SYS, M98095_PWRSV); in max98095_setup_interface()
340 error |= maxim_i2c_write(priv, M98095_048_MIX_DAC_LR, in max98095_setup_interface()
344 error |= maxim_i2c_write(priv, M98095_048_MIX_DAC_LR, in max98095_setup_interface()
348 error |= maxim_i2c_write(priv, M98095_092_PWR_EN_OUT, in max98095_setup_interface()
350 error |= maxim_i2c_write(priv, M98095_04E_CFG_HP, M98095_HPNORMAL); in max98095_setup_interface()
352 error |= maxim_i2c_write(priv, M98095_02C_DAI1_IOCFG, in max98095_setup_interface()
355 error |= maxim_i2c_write(priv, M98095_036_DAI2_IOCFG, in max98095_setup_interface()
365 error |= maxim_i2c_write(priv, M98095_050_MIX_SPK_LEFT, 0x01); in max98095_setup_interface()
366 error |= maxim_i2c_write(priv, M98095_051_MIX_SPK_RIGHT, 0x01); in max98095_setup_interface()
367 error |= maxim_i2c_write(priv, M98095_04C_MIX_HP_LEFT, 0x01); in max98095_setup_interface()
368 error |= maxim_i2c_write(priv, M98095_04D_MIX_HP_RIGHT, 0x01); in max98095_setup_interface()
371 error |= maxim_i2c_write(priv, M98095_091_PWR_EN_OUT, 0xF3); in max98095_setup_interface()
374 error |= maxim_i2c_write(priv, M98095_064_LVL_HP_L, 15); in max98095_setup_interface()
375 error |= maxim_i2c_write(priv, M98095_065_LVL_HP_R, 15); in max98095_setup_interface()
376 error |= maxim_i2c_write(priv, M98095_067_LVL_SPK_L, 16); in max98095_setup_interface()
377 error |= maxim_i2c_write(priv, M98095_068_LVL_SPK_R, 16); in max98095_setup_interface()
380 error |= maxim_i2c_write(priv, M98095_093_BIAS_CTRL, 0x30); in max98095_setup_interface()
382 error |= maxim_i2c_write(priv, M98095_096_PWR_DAC_CK, 0x01); in max98095_setup_interface()
384 error |= maxim_i2c_write(priv, M98095_096_PWR_DAC_CK, 0x07); in max98095_setup_interface()