/u-boot/drivers/serial/ |
A D | serial_ar933x.c | 45 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 D | pwm-sifive.c | 67 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 D | console_truetype.c | 123 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 D | stb_truetype.h | 341 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 D | broadwell_i2s.c | 75 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 D | fsl_dspi.c | 390 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 D | spi-sifive.c | 348 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 D | decode.c | 737 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 D | sf.c | 222 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 D | cfi_flash.c | 1303 #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 D | pinctrl.c | 101 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 D | README | 10 and scale.
|
/u-boot/board/freescale/ls1021aqds/ |
A D | README | 10 and scale.
|
/u-boot/arch/arm/dts/ |
A D | exynos5420-peach-pit.dts | 134 * [5:2]NOF=64LSB [1:0]DCO scale is 2/5
|
A D | exynos5250-spring.dts | 616 * [5:2]NOF=64LSB [1:0]DCO scale is 2/5
|
/u-boot/doc/device-tree-bindings/fsp/fsp2/apollolake/ |
A D | fsp-m.txt | 165 - fspm,rmt-margin-check-scale-high-threshold: RmtMarginCheckScaleHighThreshold
|
A D | fsp-s.txt | 407 - fsps,pcie-rp-slot-power-limit-scale: PCIE Root Port Slot Power Limit Scale
|