Home
last modified time | relevance | path

Searched refs:max14656_write_reg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dmax14656_charger_detector.c104 static int max14656_write_reg(struct i2c_client *client, int reg, u8 val) in max14656_write_reg() function
187 if (max14656_write_reg(client, MAX14656_CONTROL_2, CONTROL2_ADC_EN)) in max14656_hw_init()
191 if (max14656_write_reg(client, MAX14656_CONTROL_1, in max14656_hw_init()
198 if (max14656_write_reg(client, MAX14656_INTMASK_1, 0x3)) in max14656_hw_init()
201 if (max14656_write_reg(client, MAX14656_INTMASK_2, 0x1)) in max14656_hw_init()