Lines Matching refs:tmp
242 uint8_t tmp; local
256 tmp = 0x00;
257 st7789v_transmit(dev, ST7789V_CMD_DGMEN, &tmp, 1);
260 tmp = 0x0f;
261 st7789v_transmit(dev, ST7789V_CMD_FRCTRL2, &tmp, 1);
263 tmp = config->gctrl;
264 st7789v_transmit(dev, ST7789V_CMD_GCTRL, &tmp, 1);
266 tmp = config->vcom;
267 st7789v_transmit(dev, ST7789V_CMD_VCOMS, &tmp, 1);
270 tmp = 0x01;
271 st7789v_transmit(dev, ST7789V_CMD_VDVVRHEN, &tmp, 1);
273 tmp = config->vrh_value;
274 st7789v_transmit(dev, ST7789V_CMD_VRH, &tmp, 1);
276 tmp = config->vdv_value;
277 st7789v_transmit(dev, ST7789V_CMD_VDS, &tmp, 1);
285 tmp = config->mdac;
286 st7789v_transmit(dev, ST7789V_CMD_MADCTL, &tmp, 1);
289 tmp = config->colmod;
290 st7789v_transmit(dev, ST7789V_CMD_COLMOD, &tmp, 1);
292 tmp = config->lcm;
293 st7789v_transmit(dev, ST7789V_CMD_LCMCTRL, &tmp, 1);
295 tmp = config->gamma;
296 st7789v_transmit(dev, ST7789V_CMD_GAMSET, &tmp, 1);