Lines Matching refs:values
66 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8()
69 values[0] = val; in hd44780_write_gpio8()
70 __assign_bit(8, values, rs); in hd44780_write_gpio8()
74 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8()
82 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ in hd44780_write_gpio4()
86 values[0] = val >> 4; in hd44780_write_gpio4()
87 __assign_bit(4, values, rs); in hd44780_write_gpio4()
91 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_gpio4()
96 values[0] &= ~0x0fUL; in hd44780_write_gpio4()
97 values[0] |= val & 0x0f; in hd44780_write_gpio4()
100 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_gpio4()
158 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ in hd44780_write_cmd_raw_gpio4()
163 values[0] = cmd & 0x0f; in hd44780_write_cmd_raw_gpio4()
167 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_cmd_raw_gpio4()