Lines Matching refs:lm3630a_update
76 static int lm3630a_update(struct lm3630a_chip *pchip, in lm3630a_update() function
93 rval |= lm3630a_update(pchip, REG_CONFIG, 0x07, pdata->pwm_ctrl); in lm3630a_chip_init()
97 rval |= lm3630a_update(pchip, REG_I_A, 0x1F, 0x1F); in lm3630a_chip_init()
101 rval |= lm3630a_update(pchip, REG_CTRL, 0x14, pdata->leda_ctrl); in lm3630a_chip_init()
102 rval |= lm3630a_update(pchip, REG_CTRL, 0x0B, pdata->ledb_ctrl); in lm3630a_chip_init()
139 rval = lm3630a_update(pchip, REG_CTRL, 0x80, 0x00); in lm3630a_isr_func()
199 ret = lm3630a_update(pchip, REG_CTRL, 0x80, 0x00); in lm3630a_bank_a_update_status()
208 ret |= lm3630a_update(pchip, REG_CTRL, LM3630A_LEDA_ENABLE, 0); in lm3630a_bank_a_update_status()
210 ret |= lm3630a_update(pchip, REG_CTRL, in lm3630a_bank_a_update_status()
240 rval = lm3630a_update(pchip, REG_CTRL, 0x80, 0x00); in lm3630a_bank_a_get_brightness()
273 ret = lm3630a_update(pchip, REG_CTRL, 0x80, 0x00); in lm3630a_bank_b_update_status()
282 ret |= lm3630a_update(pchip, REG_CTRL, LM3630A_LEDB_ENABLE, 0); in lm3630a_bank_b_update_status()
284 ret |= lm3630a_update(pchip, REG_CTRL, in lm3630a_bank_b_update_status()
314 rval = lm3630a_update(pchip, REG_CTRL, 0x80, 0x00); in lm3630a_bank_b_get_brightness()