Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 17 of 17) sorted by relevance

/u-boot/drivers/serial/
A Dserial_ar933x.c45 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument
50 div = (2 << 16) * (scale + 1); in ar933x_serial_get_baud()
60 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument
65 *scale = 0; in ar933x_serial_get_scale_step()
84 *scale = tscale; in ar933x_serial_get_scale_step()
93 u32 val, scale, step; in ar933x_serial_setbrg() local
96 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg()
98 val = (scale & AR933X_UART_CLK_SCALE_M) in ar933x_serial_setbrg()
203 u32 val, scale, step; in _debug_uart_init() local
219 CONFIG_BAUDRATE, &scale, &step); in _debug_uart_init()
[all …]
/u-boot/drivers/pwm/
A Dpwm-sifive.c67 u32 scale, val = 0, frac; in pwm_sifive_set_config() local
79 scale = clamp(ilog2(scale_pow) - PWM_SIFIVE_CMPWIDTH, 0, 0xf); in pwm_sifive_set_config()
80 val |= FIELD_PREP(PWM_SIFIVE_PWMCFG_SCALE, scale); in pwm_sifive_set_config()
/u-boot/drivers/video/
A Dconsole_truetype.c123 double scale; member
227 xpos += priv->scale * stbtt_GetCodepointKernAdvance(font, in console_truetype_putc_xy()
238 xpos += advance * priv->scale; in console_truetype_putc_xy()
257 data = stbtt_GetCodepointBitmapSubpixel(font, priv->scale, priv->scale, in console_truetype_putc_xy()
570 priv->scale = stbtt_ScaleForPixelHeight(font, priv->font_size); in console_truetype_probe()
572 priv->baseline = (int)(ascent * priv->scale); in console_truetype_probe()
A Dstb_truetype.h341 scale = stbtt_ScaleForPixelHeight(&font, 15);
343 baseline = (int) (ascent*scale);
349 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
350 …pixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text…
355 xpos += (advance * scale);
2405 float scale = scale_x > scale_y ? scale_y : scale_x; in stbtt_Rasterize() local
2521 float scale; in stbtt_BakeFontBitmap() local
2530 scale = stbtt_ScaleForPixelHeight(&f, pixel_height); in stbtt_BakeFontBitmap()
2536 stbtt_GetGlyphBitmapBox(&f, g, scale,scale, &x0,&y0,&x1,&y1); in stbtt_BakeFontBitmap()
2545 stbtt_MakeGlyphBitmap(&f, pixels+x+y*pw, gw,gh,pw, scale,scale, g); in stbtt_BakeFontBitmap()
[all …]
/u-boot/drivers/sound/
A Dbroadwell_i2s.c75 uint scale; in init_sscr0() local
95 scale = uc_priv->audio_pll_clk / uc_priv->samplingrate / uc_priv->bfs; in init_sscr0()
96 sscr0 |= scale << SSP_SSC0_SCR_SHIFT; in init_sscr0()
/u-boot/drivers/spi/
A Dfsl_dspi.c390 int scale_needed, scale, minscale = INT_MAX; in ns_delay_scale() local
402 scale = pscale_tbl[i] * (2 << j); in ns_delay_scale()
403 if (scale >= scale_needed) { in ns_delay_scale()
404 if (scale < minscale) { in ns_delay_scale()
405 minscale = scale; in ns_delay_scale()
A Dspi-sifive.c348 u32 scale; in sifive_spi_set_speed() local
354 scale = (DIV_ROUND_UP(spi->freq >> 1, speed) - 1) in sifive_spi_set_speed()
356 writel(scale, spi->regs + SIFIVE_SPI_REG_SCKDIV); in sifive_spi_set_speed()
/u-boot/drivers/bios_emulator/x86emu/
A Ddecode.c737 int scale, in decode_sib_si() argument
740 scale = 1 << scale; in decode_sib_si()
741 if (scale > 1) { in decode_sib_si()
742 DECODE_PRINTF2("[%d*", scale); in decode_sib_si()
/u-boot/cmd/
A Dsf.c222 size_t scale = 1; in spi_flash_update() local
227 scale = (end - buf) / 100; in spi_flash_update()
236 100 - (end - buf) / scale, in spi_flash_update()
/u-boot/drivers/mtd/
A Dcfi_flash.c1303 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) \ argument
1306 if (scale > 0 && dots <= 0) { \
1312 dots += scale; \
1316 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) argument
1337 int scale = 0; in write_buff() local
1344 scale = (int)((cnt + CONFIG_FLASH_SHOW_PROGRESS - 1) / in write_buff()
1372 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff()
1404 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff()
1419 FLASH_SHOW_PROGRESS(scale, dots, digit, info->portwidth); in write_buff()
/u-boot/drivers/pinctrl/intel/
A Dpinctrl.c101 uint relative_pad, size_t scale) in pinctrl_group_index_scaled() argument
109 return ret * scale; in pinctrl_group_index_scaled()
/u-boot/board/freescale/ls1021atwr/
A DREADME10 and scale.
/u-boot/board/freescale/ls1021aqds/
A DREADME10 and scale.
/u-boot/arch/arm/dts/
A Dexynos5420-peach-pit.dts134 * [5:2]NOF=64LSB [1:0]DCO scale is 2/5
A Dexynos5250-spring.dts616 * [5:2]NOF=64LSB [1:0]DCO scale is 2/5
/u-boot/doc/device-tree-bindings/fsp/fsp2/apollolake/
A Dfsp-m.txt165 - fspm,rmt-margin-check-scale-high-threshold: RmtMarginCheckScaleHighThreshold
A Dfsp-s.txt407 - fsps,pcie-rp-slot-power-limit-scale: PCIE Root Port Slot Power Limit Scale

Completed in 28 milliseconds