Lines Matching refs:ltc2992_gpio_addr_map

132 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()
457 reg = ltc2992_gpio_addr_map[nr_gpio].data; in ltc2992_read_gpios_in()
460 reg = ltc2992_gpio_addr_map[nr_gpio].min; in ltc2992_read_gpios_in()
463 reg = ltc2992_gpio_addr_map[nr_gpio].max; in ltc2992_read_gpios_in()
466 reg = ltc2992_gpio_addr_map[nr_gpio].min_thresh; in ltc2992_read_gpios_in()
469 reg = ltc2992_gpio_addr_map[nr_gpio].max_thresh; in ltc2992_read_gpios_in()
726 reg = ltc2992_gpio_addr_map[nr_gpio].min_thresh; in ltc2992_write_gpios_in()
729 reg = ltc2992_gpio_addr_map[nr_gpio].max_thresh; in ltc2992_write_gpios_in()