Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_ad559x.c26 uint8_t gpio_val; member
71 data->gpio_val |= (uint8_t)pins; in gpio_ad559x_port_set_bits_raw()
73 return mfd_ad559x_write_reg(config->mfd_dev, AD559X_REG_GPIO_SET, data->gpio_val); in gpio_ad559x_port_set_bits_raw()
86 data->gpio_val &= ~(uint8_t)pins; in gpio_ad559x_port_clear_bits_raw()
88 return mfd_ad559x_write_reg(config->mfd_dev, AD559X_REG_GPIO_SET, data->gpio_val); in gpio_ad559x_port_clear_bits_raw()
/Zephyr-latest/drivers/input/
Dinput_gpio_kbd_matrix.c63 gpio_port_value_t gpio_val; in gpio_kbd_matrix_drive_column() local
66 gpio_val = state << gpio0->pin; in gpio_kbd_matrix_drive_column()
68 gpio_port_set_masked(gpio0->port, gpio_mask, gpio_val); in gpio_kbd_matrix_drive_column()
99 gpio_port_value_t gpio_val; in gpio_kbd_matrix_read_row() local
101 gpio_port_get(gpio0->port, &gpio_val); in gpio_kbd_matrix_read_row()
103 return (gpio_val >> gpio0->pin) & BIT_MASK(common->row_size); in gpio_kbd_matrix_read_row()
/Zephyr-latest/drivers/mfd/
Dmfd_axp192.c426 uint8_t gpio_val; in mfd_axp192_gpio_pd_get() local
454 ret = i2c_reg_read_byte_dt(&(config->i2c), AXP192_GPIO012_PULLDOWN_REG, &gpio_val); in mfd_axp192_gpio_pd_get()
457 *enabled = ((gpio_val & pd_reg_mask) != 0); in mfd_axp192_gpio_pd_get()