| /drivers/video/ |
| A D | video_sw_generator.c | 134 w = (hflip) ? (width - w - 1) : (w); in video_sw_generator_get_color_idx() 137 return 8 * w / width; in video_sw_generator_get_color_idx() 147 for (size_t w = 0; w < width; w += 2) { in video_sw_generator_fill_yuyv() local 160 for (size_t w = 0; w < width; w++) { in video_sw_generator_fill_xrgb32() local 163 buffer[w * 4 + 0] = 0xff; in video_sw_generator_fill_xrgb32() 164 buffer[w * 4 + 1] = pattern_8bars_rgb[color_idx][0]; in video_sw_generator_fill_xrgb32() 165 buffer[w * 4 + 2] = pattern_8bars_rgb[color_idx][1]; in video_sw_generator_fill_xrgb32() 166 buffer[w * 4 + 3] = pattern_8bars_rgb[color_idx][2]; in video_sw_generator_fill_xrgb32() 173 for (size_t w = 0; w < width; w++) { in video_sw_generator_fill_rgb24() local 185 for (size_t w = 0; w < width; w++) { in video_sw_generator_fill_rgb565() local [all …]
|
| A D | gc2145.c | 846 static int gc2145_set_resolution(const struct device *dev, uint32_t w, uint32_t h) in gc2145_set_resolution() argument 861 switch (w) { in gc2145_set_resolution() 875 LOG_ERR("Unsupported resolution %d %d", w, h); in gc2145_set_resolution() 880 win_w = w * c_ratio; in gc2145_set_resolution() 882 x = (((win_w / c_ratio) - w) / 2); in gc2145_set_resolution() 924 ret = video_write_cci_reg(&cfg->i2c, GC2145_REG_OUT_WIN_WIDTH, w); in gc2145_set_resolution()
|
| A D | ov2640.c | 784 uint16_t w = img_width; in ov2640_set_resolution() local 792 ret |= ov2640_write_reg(&cfg->i2c, ZMOW, (w >> 2) & 0xFF); /* OUTW[7:0] (real/4) */ in ov2640_set_resolution() 795 ((w>>10) & 0x03)); /* OUTH[8]/OUTW[9:8] */ in ov2640_set_resolution()
|
| /drivers/interrupt_controller/ |
| A D | intc_clic.h | 27 #define CLIC_INTIP(irq) (CLIC_CTRL(irq) + offsetof(union CLICCTRL, w.INTIP)) 28 #define CLIC_INTIE(irq) (CLIC_CTRL(irq) + offsetof(union CLICCTRL, w.INTIE)) 29 #define CLIC_INTATTR(irq) (CLIC_CTRL(irq) + offsetof(union CLICCTRL, w.INTATTR)) 30 #define CLIC_INTCTRL(irq) (CLIC_CTRL(irq) + offsetof(union CLICCTRL, w.INTCTRL)) 56 } w; member 66 uint8_t w; member 75 uint8_t w; member 87 uint8_t w; member 96 } w; member
|
| A D | intc_clic.c | 124 write_clic8(dev, CLIC_INTIE(irq), clicintie.w); in riscv_clic_irq_enable() 140 write_clic8(dev, CLIC_INTIE(irq), clicintie.w); in riscv_clic_irq_disable() 156 union CLICINTIE clicintie = {.w = read_clic8(dev, CLIC_INTIE(irq))}; in riscv_clic_irq_is_enabled() 210 write_clic8(dev, CLIC_INTATTR(irq), clicattr.w); in riscv_clic_irq_priority_set() 217 clicintattr |= clicattr.w << bit_offset; in riscv_clic_irq_priority_set() 229 union CLICINTATTR clicattr = {.w = read_clic8(dev, CLIC_INTATTR(irq))}; in riscv_clic_irq_vector_set() 233 write_clic8(dev, CLIC_INTATTR(irq), clicattr.w); in riscv_clic_irq_vector_set() 240 clicintattr |= clicattr.w << bit_offset; in riscv_clic_irq_vector_set() 254 write_clic8(dev, CLIC_INTIP(irq), clicintip.w); in riscv_clic_irq_set_pending() 289 cliccfg.w.nlbits = data->nlbits; in clic_init() [all …]
|
| /drivers/serial/ |
| A D | uart_hostlink.c | 195 uint32_t w; in hl_read32() local 197 __asm__ __volatile__("ld.di %0, [%1]" : "=r" (w) : "r" (addr) : "memory"); in hl_read32() 199 return w; in hl_read32() 204 uint16_t w; in hl_read16() local 206 __asm__ __volatile__("ld.di %0, [%1]" : "=r" (w) : "r" (addr) : "memory"); in hl_read16() 208 return w; in hl_read16()
|
| /drivers/spi/ |
| A D | spi_bitbang.c | 156 uint32_t w = 0; in spi_bitbang_transceive() local 162 w = *(uint32_t *)(ctx->tx_buf); in spi_bitbang_transceive() 165 w = *(uint16_t *)(ctx->tx_buf); in spi_bitbang_transceive() 168 w = *(uint8_t *)(ctx->tx_buf); in spi_bitbang_transceive() 184 const int d = (w >> shift) & 0x1; in spi_bitbang_transceive() 235 LOG_DBG(" w: %04x, r: %04x , do_read: %d", w, r, do_read); in spi_bitbang_transceive()
|
| /drivers/w1/ |
| A D | Kconfig.ds2482-800 | 1 # Copyright (c) 2022, Caspar Friedrich <c.s.w.friedrich@gmail.com>
|
| A D | Kconfig.ds2484 | 1 # Copyright (c) 2022, Caspar Friedrich <c.s.w.friedrich@gmail.com>
|
| /drivers/display/ |
| A D | display_sdl_bottom.c | 119 rect.w = width; in sdl_display_write_bottom() 128 SDL_UpdateTexture(texture, &rect, buf, 4 * rect.w); in sdl_display_write_bottom() 155 rect.w = width; in sdl_display_read_bottom()
|
| A D | display_ili9xxx.c | 101 const uint16_t y, const uint16_t w, in ili9xxx_set_mem_area() argument 108 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in ili9xxx_set_mem_area()
|
| A D | display_gc9x01x.c | 485 const uint16_t w, const uint16_t h) in gc9x01x_set_mem_area() argument 491 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in gc9x01x_set_mem_area()
|
| A D | display_st7789v.c | 127 const uint16_t y, const uint16_t w, const uint16_t h) in st7789v_set_mem_area() argument 138 spi_data[1] = sys_cpu_to_be16(ram_x + w - 1); in st7789v_set_mem_area()
|
| A D | display_st7735r.c | 136 const uint16_t w, const uint16_t h) in st7735r_set_mem_area() argument 154 spi_data[1] = sys_cpu_to_be16(ram_x + w - 1); in st7735r_set_mem_area()
|
| /drivers/eeprom/ |
| A D | eeprom_at2x.c | 600 #define ASSERT_AT24_ADDR_W_VALID(w) \ argument 601 BUILD_ASSERT(w == 8U || w == 16U, \ 604 #define ASSERT_AT25_ADDR_W_VALID(w) \ argument 605 BUILD_ASSERT(w == 8U || w == 16U || w == 24U, \
|
| /drivers/dai/nxp/esai/ |
| A D | esai.h | 89 #define ESAI_SLOT_FORMAT(s, w)\ argument 90 ((w) < 24 ? ((s) - (w) + (((w) - 8) / 4)) : ((s) < 32 ? 0x1e : 0x1f))
|
| /drivers/pwm/ |
| A D | Kconfig.nrf_sw | 1 # Nordic Semiconductor nRF5x s/w PWM configuration options
|
| /drivers/adc/ |
| A D | Kconfig.tla202x | 1 # Copyright (c) 2023 Caspar Friedrich <c.s.w.friedrich@gmail.com>
|
| /drivers/gpio/ |
| A D | Kconfig.pca_series | 40 On devices w/o interrupt status, it will also cache
|
| /drivers/sensor/st/lsm6dsv16x/ |
| A D | lsm6dsv16x_decoder.c | 433 float32_t w, sumsq; in lsm6dsv16x_decode_fifo() local 471 w = sqrtf(1.0f - sumsq); in lsm6dsv16x_decode_fifo() 482 out->readings[count].w = Q31_SHIFT_VAL(w, out->shift); in lsm6dsv16x_decode_fifo()
|
| /drivers/bluetooth/hci/ |
| A D | Kconfig.infineon | 113 (E-Type Key w/ SDIO/UART)
|
| /drivers/wifi/infineon/ |
| A D | Kconfig.airoc | 209 (E-Type Key w/ SDIO/UART)
|