Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/i2c/
H A Dpcai2cmux.c75 uint8_t enable_bit; /* if 0, chip is switch type */ member
80 .enable_bit = __BIT(2),
85 .enable_bit = 0,
90 .enable_bit = __BIT(2),
95 .enable_bit = 0,
100 .enable_bit = __BIT(3),
105 .enable_bit = 0,
266 if (sc->sc_type->enable_bit) { in pcaiicmux_get_bus_info()
268 (uint8_t)addr | sc->sc_type->enable_bit; in pcaiicmux_get_bus_info()
364 sc->sc_type->enable_bit ? "mux" : "switch"); in pcaiicmux_attach()
H A Dtps65217pmic.c133 uint8_t enable_bit; /* position in ENABLE register */ member
217 .enable_bit = TPS65217PMIC_ENABLE_LDO1
230 .enable_bit = TPS65217PMIC_ENABLE_LDO2
243 .enable_bit = TPS65217PMIC_ENABLE_LDO3
256 .enable_bit = TPS65217PMIC_ENABLE_LDO4
269 .enable_bit = TPS65217PMIC_ENABLE_DCDC1
282 .enable_bit = TPS65217PMIC_ENABLE_DCDC2
295 .enable_bit = TPS65217PMIC_ENABLE_DCDC3
628 if (regenable & (regulator->enable_bit)) in tps65217pmic_regulator_read_config()
995 val |= regulator->enable_bit; in tps65217reg_enable()
[all …]