Home
last modified time | relevance | path

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

/netbsd/sys/dev/i2c/
H A Daxp809.c60 uint8_t c_enable_mask; member
70 .c_enable_reg = AXP_##ereg##_REG, .c_enable_mask = (emask), \
77 .c_enable_reg = AXP_##ereg##_REG, .c_enable_mask = (emask), \
282 if (!c->c_enable_mask) in axp809_is_enabled()
291 *penabled = !!(val & c->c_enable_mask); in axp809_is_enabled()
302 if (!c->c_enable_mask) in axp809_enable()
308 val |= c->c_enable_mask; in axp809_enable()
327 if (!c->c_enable_mask) in axp809_disable()
333 val &= ~c->c_enable_mask; in axp809_disable()
H A Daxppmic.c128 uint8_t c_enable_mask; member
140 .c_enable_reg = (ereg), .c_enable_mask = (emask), \
148 .c_enable_reg = (ereg), .c_enable_mask = (emask), \
157 .c_enable_reg = (ereg), .c_enable_mask = (emask), \
165 .c_enable_reg = (ereg), .c_enable_mask = (emask), \
171 .c_enable_reg = (ereg), .c_enable_mask = (emask), \
1237 if (!c->c_enable_mask) in axpreg_enable()
1242 val &= ~c->c_enable_mask; in axpreg_enable()