Home
last modified time | relevance | path

Searched refs:spi_data (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/display/
Ddisplay_st7789v.c119 uint16_t spi_data[2]; in st7789v_set_mem_area() local
124 spi_data[0] = sys_cpu_to_be16(ram_x); in st7789v_set_mem_area()
125 spi_data[1] = sys_cpu_to_be16(ram_x + w - 1); in st7789v_set_mem_area()
126 st7789v_transmit(dev, ST7789V_CMD_CASET, (uint8_t *)&spi_data[0], 4); in st7789v_set_mem_area()
128 spi_data[0] = sys_cpu_to_be16(ram_y); in st7789v_set_mem_area()
129 spi_data[1] = sys_cpu_to_be16(ram_y + h - 1); in st7789v_set_mem_area()
130 st7789v_transmit(dev, ST7789V_CMD_RASET, (uint8_t *)&spi_data[0], 4); in st7789v_set_mem_area()
Ddisplay_ili9xxx.c105 uint16_t spi_data[2]; in ili9xxx_set_mem_area() local
107 spi_data[0] = sys_cpu_to_be16(x); in ili9xxx_set_mem_area()
108 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in ili9xxx_set_mem_area()
109 r = ili9xxx_transmit(dev, ILI9XXX_CASET, &spi_data[0], 4U); in ili9xxx_set_mem_area()
114 spi_data[0] = sys_cpu_to_be16(y); in ili9xxx_set_mem_area()
115 spi_data[1] = sys_cpu_to_be16(y + h - 1U); in ili9xxx_set_mem_area()
116 r = ili9xxx_transmit(dev, ILI9XXX_PASET, &spi_data[0], 4U); in ili9xxx_set_mem_area()
Ddisplay_gc9x01x.c488 uint16_t spi_data[2]; in gc9x01x_set_mem_area() local
490 spi_data[0] = sys_cpu_to_be16(x); in gc9x01x_set_mem_area()
491 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in gc9x01x_set_mem_area()
492 ret = gc9x01x_transmit(dev, GC9X01X_CMD_COLSET, &spi_data[0], 4U); in gc9x01x_set_mem_area()
497 spi_data[0] = sys_cpu_to_be16(y); in gc9x01x_set_mem_area()
498 spi_data[1] = sys_cpu_to_be16(y + h - 1U); in gc9x01x_set_mem_area()
499 ret = gc9x01x_transmit(dev, GC9X01X_CMD_ROWSET, &spi_data[0], 4U); in gc9x01x_set_mem_area()
Ddisplay_st7735r.c140 uint16_t spi_data[2]; in st7735r_set_mem_area() local
153 spi_data[0] = sys_cpu_to_be16(ram_x); in st7735r_set_mem_area()
154 spi_data[1] = sys_cpu_to_be16(ram_x + w - 1); in st7735r_set_mem_area()
155 ret = st7735r_transmit_hold(dev, ST7735R_CMD_CASET, (uint8_t *)&spi_data[0], 4); in st7735r_set_mem_area()
160 spi_data[0] = sys_cpu_to_be16(ram_y); in st7735r_set_mem_area()
161 spi_data[1] = sys_cpu_to_be16(ram_y + h - 1); in st7735r_set_mem_area()
162 ret = st7735r_transmit_hold(dev, ST7735R_CMD_RASET, (uint8_t *)&spi_data[0], 4); in st7735r_set_mem_area()
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/support/
Dmec172x_remote_flasher.py70 spi_data = fbin.read()
71 sha256.update(spi_data)
/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c62 struct mcp251xfd_spi_data *spi_data = &dev_data->spi_data; in mcp251xfd_read_reg() local
67 memcpy(&spi_data->header[1], &spi_cmd, sizeof(spi_cmd)); in mcp251xfd_read_reg()
69 struct spi_buf tx_buf = {.buf = &spi_data->header[1], .len = MCP251XFD_SPI_CMD_LEN + len}; in mcp251xfd_read_reg()
70 struct spi_buf rx_buf = {.buf = &spi_data->header[1], .len = MCP251XFD_SPI_CMD_LEN + len}; in mcp251xfd_read_reg()
80 return &spi_data->buf[0]; in mcp251xfd_read_reg()
87 struct mcp251xfd_spi_data *spi_data = &dev_data->spi_data; in mcp251xfd_read_crc() local
94 struct spi_buf tx_buf = {.buf = &spi_data->header[0], in mcp251xfd_read_crc()
99 struct spi_buf rx_buf = {.buf = &spi_data->header[0], in mcp251xfd_read_crc()
108 memcpy(&spi_data->header[0], &spi_cmd, sizeof(spi_cmd)); in mcp251xfd_read_crc()
109 spi_data->header[2] = len; in mcp251xfd_read_crc()
[all …]
Dcan_mcp251xfd.h512 struct mcp251xfd_spi_data spi_data; member