Home
last modified time | relevance | path

Searched refs:w (Results 1 – 22 of 22) sorted by relevance

/drivers/video/
A Dvideo_sw_generator.c134 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 Dgc2145.c846 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 Dov2640.c784 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 Dintc_clic.h27 #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 Dintc_clic.c124 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 Duart_hostlink.c195 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 Dspi_bitbang.c156 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 DKconfig.ds2482-8001 # Copyright (c) 2022, Caspar Friedrich <c.s.w.friedrich@gmail.com>
A DKconfig.ds24841 # Copyright (c) 2022, Caspar Friedrich <c.s.w.friedrich@gmail.com>
/drivers/display/
A Ddisplay_sdl_bottom.c119 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 Ddisplay_ili9xxx.c101 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 Ddisplay_gc9x01x.c485 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 Ddisplay_st7789v.c127 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 Ddisplay_st7735r.c136 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 Deeprom_at2x.c600 #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 Desai.h89 #define ESAI_SLOT_FORMAT(s, w)\ argument
90 ((w) < 24 ? ((s) - (w) + (((w) - 8) / 4)) : ((s) < 32 ? 0x1e : 0x1f))
/drivers/pwm/
A DKconfig.nrf_sw1 # Nordic Semiconductor nRF5x s/w PWM configuration options
/drivers/adc/
A DKconfig.tla202x1 # Copyright (c) 2023 Caspar Friedrich <c.s.w.friedrich@gmail.com>
/drivers/gpio/
A DKconfig.pca_series40 On devices w/o interrupt status, it will also cache
/drivers/sensor/st/lsm6dsv16x/
A Dlsm6dsv16x_decoder.c433 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 DKconfig.infineon113 (E-Type Key w/ SDIO/UART)
/drivers/wifi/infineon/
A DKconfig.airoc209 (E-Type Key w/ SDIO/UART)

Completed in 66 milliseconds