Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dltc2992.c132 static const struct ltc2992_gpio_regs ltc2992_gpio_addr_map[] = { variable
266 reg = ltc2992_read_reg(st, ltc2992_gpio_addr_map[offset].ctrl, 1); in ltc2992_gpio_set()
273 assign_bit(ltc2992_gpio_addr_map[offset].ctrl_bit, &gpio_ctrl, value); in ltc2992_gpio_set()
275 ltc2992_write_reg(st, ltc2992_gpio_addr_map[offset].ctrl, 1, gpio_ctrl); in ltc2992_gpio_set()
289 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl_io, true); in ltc2992_gpio_set_multiple()
292 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl, true); in ltc2992_gpio_set_multiple()
436 mask = ltc2992_gpio_addr_map[nr_gpio].max_alarm_msk; in ltc2992_read_gpio_alarm()
438 mask = ltc2992_gpio_addr_map[nr_gpio].min_alarm_msk; in ltc2992_read_gpio_alarm()
440 reg_val = ltc2992_read_reg(st, ltc2992_gpio_addr_map[nr_gpio].alarm, 1); in ltc2992_read_gpio_alarm()
447 return ltc2992_write_reg(st, ltc2992_gpio_addr_map[nr_gpio].alarm, 1, reg_val); in ltc2992_read_gpio_alarm()
[all …]