Lines Matching refs:isl6423

56 static int isl6423_write(struct isl6423_dev *isl6423, u8 reg)  in isl6423_write()  argument
58 struct i2c_adapter *i2c = isl6423->i2c; in isl6423_write()
59 u8 addr = isl6423->config->addr; in isl6423_write()
77 struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; in isl6423_set_modulation() local
78 const struct isl6423_config *config = isl6423->config; in isl6423_set_modulation()
89 err = isl6423_write(isl6423, reg_2); in isl6423_set_modulation()
101 struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; in isl6423_voltage_boost() local
102 u8 reg_3 = isl6423->reg_3; in isl6423_voltage_boost()
103 u8 reg_4 = isl6423->reg_4; in isl6423_voltage_boost()
117 err = isl6423_write(isl6423, reg_3); in isl6423_voltage_boost()
121 err = isl6423_write(isl6423, reg_4); in isl6423_voltage_boost()
125 isl6423->reg_3 = reg_3; in isl6423_voltage_boost()
126 isl6423->reg_4 = reg_4; in isl6423_voltage_boost()
138 struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; in isl6423_set_voltage() local
139 u8 reg_3 = isl6423->reg_3; in isl6423_set_voltage()
140 u8 reg_4 = isl6423->reg_4; in isl6423_set_voltage()
167 err = isl6423_write(isl6423, reg_3); in isl6423_set_voltage()
171 err = isl6423_write(isl6423, reg_4); in isl6423_set_voltage()
175 isl6423->reg_3 = reg_3; in isl6423_set_voltage()
176 isl6423->reg_4 = reg_4; in isl6423_set_voltage()
186 struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; in isl6423_set_current() local
187 u8 reg_3 = isl6423->reg_3; in isl6423_set_current()
188 const struct isl6423_config *config = isl6423->config; in isl6423_set_current()
219 err = isl6423_write(isl6423, reg_3); in isl6423_set_current()
235 err = isl6423_write(isl6423, reg_3); in isl6423_set_current()
239 isl6423->reg_3 = reg_3; in isl6423_set_current()
259 struct isl6423_dev *isl6423; in isl6423_attach() local
261 isl6423 = kzalloc(sizeof(struct isl6423_dev), GFP_KERNEL); in isl6423_attach()
262 if (!isl6423) in isl6423_attach()
265 isl6423->config = config; in isl6423_attach()
266 isl6423->i2c = i2c; in isl6423_attach()
267 fe->sec_priv = isl6423; in isl6423_attach()
270 isl6423->reg_3 = 0x02 << 5; in isl6423_attach()
272 isl6423->reg_4 = 0x03 << 5; in isl6423_attach()
283 isl6423->verbose = verbose; in isl6423_attach()
288 kfree(isl6423); in isl6423_attach()