Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 112) sorted by relevance

12345

/rk3399_rockchip-uboot/drivers/spi/
H A Dexynos_spi.c70 static void spi_request_bytes(struct exynos_spi *regs, int count, int step) in spi_request_bytes() argument
72 debug("%s: regs=%p, count=%d, step=%d\n", __func__, regs, count, step); in spi_request_bytes()
75 if (step == 4) { in spi_request_bytes()
107 int step; in spi_rx_tx() local
118 step = 1; in spi_rx_tx()
121 step = 4; in spi_rx_tx()
127 spi_request_bytes(regs, todo, step); in spi_rx_tx()
148 else if (step == 4) in spi_rx_tx()
153 out_bytes -= step; in spi_rx_tx()
155 txp += step; in spi_rx_tx()
[all …]
/rk3399_rockchip-uboot/drivers/serial/
H A Dserial_ar933x.c44 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument
51 t *= step; in ar933x_serial_get_baud()
59 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument
65 *step = 0; in ar933x_serial_get_scale_step()
84 *step = tstep; in ar933x_serial_get_scale_step()
92 u32 val, scale, step; in ar933x_serial_setbrg() local
95 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg()
99 val |= (step & AR933X_UART_CLK_STEP_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 …]
/rk3399_rockchip-uboot/include/power/
H A Dsandbox_pmic.h99 #define REG2VAL(min, step, reg) ((min) + ((step) * (reg))) argument
100 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) argument
/rk3399_rockchip-uboot/drivers/power/
H A Dtps6586x.c137 static int calculate_next_voltage(int voltage, int target, int step) in calculate_next_voltage() argument
139 int diff = voltage < target ? step : -step; in calculate_next_voltage()
141 if (abs(target - voltage) > step) in calculate_next_voltage()
169 int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate, in tps6586x_adjust_sm0_sm1() argument
225 sm0 = calculate_next_voltage(sm0, sm0_target, step); in tps6586x_adjust_sm0_sm1()
233 sm1 = calculate_next_voltage(sm1, sm1_target, step); in tps6586x_adjust_sm0_sm1()
/rk3399_rockchip-uboot/fs/ext4/
H A Dext4_sparse.c63 u32 step = BLOCK_CNT(PER_BLK_WRITE_SIZE, desc); in flash_write_data() local
82 if (left < step) in flash_write_data()
85 blks = step; in flash_write_data()
93 left -= step; in flash_write_data()
102 u32 step = BLOCK_CNT(PER_BLK_WRITE_SIZE, desc); in flash_fill_data() local
119 if (left < step) in flash_fill_data()
122 blks = step; in flash_fill_data()
130 left -= step; in flash_fill_data()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Drockchip_nand_v9.c324 int ret, step, bch_st; in rockchip_nand_hw_syndrome_pio_read_page() local
332 for (step = 0; step < ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_read_page()
333 int data_off = step * ecc->size; in rockchip_nand_hw_syndrome_pio_read_page()
334 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_read_page()
353 if ((step + 1) < ecc->steps) in rockchip_nand_hw_syndrome_pio_read_page()
355 (step + 1) & 0x1); in rockchip_nand_hw_syndrome_pio_read_page()
358 (step & 1), ecc->size); in rockchip_nand_hw_syndrome_pio_read_page()
360 if (step & 1) in rockchip_nand_hw_syndrome_pio_read_page()
398 int ret, index, step = 0; in rockchip_nand_hw_syndrome_pio_write_page() local
400 int data_off = step * ecc->size; in rockchip_nand_hw_syndrome_pio_write_page()
[all …]
H A Drockchip_nand.c323 int ret, step, bch_st; in rockchip_nand_hw_syndrome_pio_read_page() local
331 for (step = 0; step < ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_read_page()
332 int data_off = step * ecc->size; in rockchip_nand_hw_syndrome_pio_read_page()
333 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_read_page()
352 if ((step + 1) < ecc->steps) in rockchip_nand_hw_syndrome_pio_read_page()
354 (step + 1) & 0x1); in rockchip_nand_hw_syndrome_pio_read_page()
357 (step & 1), ecc->size); in rockchip_nand_hw_syndrome_pio_read_page()
359 if (step & 1) in rockchip_nand_hw_syndrome_pio_read_page()
397 int ret, index, step = 0; in rockchip_nand_hw_syndrome_pio_write_page() local
399 int data_off = step * ecc->size; in rockchip_nand_hw_syndrome_pio_write_page()
[all …]
H A Drockchip_nand_spl_v9.c175 int ret, step, bch_st, ecc_step; in nandc_read_page() local
183 for (step = 0; step < ecc_step; step++) { in nandc_read_page()
184 int data_off = step * 1024; in nandc_read_page()
200 if ((step + 1) < ecc_step) in nandc_read_page()
202 (step + 1) & 0x1); in nandc_read_page()
205 (step & 1), 1024); in nandc_read_page()
H A Drockchip_nand_spl.c180 int ret, step, bch_st, ecc_step; in nandc_read_page() local
188 for (step = 0; step < ecc_step; step++) { in nandc_read_page()
189 int data_off = step * 1024; in nandc_read_page()
205 if ((step + 1) < ecc_step) in nandc_read_page()
207 (step + 1) & 0x1); in nandc_read_page()
210 (step & 1), 1024); in nandc_read_page()
/rk3399_rockchip-uboot/tools/
H A Denvcrc.c104 size_t i, start, end, step; in main() local
108 step = 1; in main()
112 step = -1; in main()
114 for (i = start; i != end; i += step) in main()
/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dpfuze100.c59 #define PFUZE100_SW_REG(_name, base, step) \ argument
63 .uV_step = (step), \
70 #define PFUZE100_SWB_REG(_name, base, mask, step, voltages) \ argument
74 .uV_step = (step), \
89 #define PFUZE100_VGEN_REG(_name, base, step) \ argument
93 .uV_step = (step), \
100 #define PFUZE3000_VCC_REG(_name, base, step) \ argument
104 .uV_step = (step), \
111 #define PFUZE3000_SW1_REG(_name, base, step) \ argument
115 .uV_step = (step), \
[all …]
H A Ds5m8767.c21 .step = 6250,
27 .step = 6250,
33 .step = 12500,
39 .step = 50000,
45 .step = 25000,
111 uv = desc->min + val * desc->step; in reg_get_value()
125 val = (uv - desc->min) / desc->step; in reg_set_value()
/rk3399_rockchip-uboot/include/dt-bindings/pmic/
H A Dsandbox_pmic.h32 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) argument
/rk3399_rockchip-uboot/fs/cbfs/
H A Dcbfs.c88 u32 step; in file_cbfs_next_file() local
115 step = header.len; in file_cbfs_next_file()
116 if (step % align) in file_cbfs_next_file()
117 step = step + align - step % align; in file_cbfs_next_file()
119 *used += step; in file_cbfs_next_file()
/rk3399_rockchip-uboot/doc/
H A DREADME.at9125 You can choose your storage location at config step (here for at91sam9260ek) :
47 You can choose your storage location at config step (here for at91sam9260ek) :
68 You can choose your storage location at config step (here for at91sam9260ek) :
73 You can choose to boot directly from U-Boot at config step
89 You can choose your storage location at config step (here for at91sam9m10g45ek) :
107 You can choose your storage location at config step (here for at91sam9rlek) :
125 You can choose your storage location at config step (here for at91sam9x5ek) :
146 You can choose your storage location at config step (here for sama5d3xek) :
H A DREADME.davinci.nand_spl76 step 1:
83 step 2:
97 step 3:
134 is possible to burn step 1 and step 2 in one step into the
141 one step ... that would be nice ...
/rk3399_rockchip-uboot/board/rockchip/evb_rk3399/
H A DREADME27 Here is the step-by-step to boot to U-Boot on rk3399.
44 Get bl31.elf in this step, copy it to U-Boot root dir:
59 Get spl/u-boot-spl.bin and u-boot.itb in this step.
70 Get rkdeveloptool in you Host in this step.
83 Get idbspl.img in this step.
92 Get trust.img and uboot.img in this step.
/rk3399_rockchip-uboot/lib/optee_clientApi/
H A DKconfig7 step.
16 step.
25 step.
/rk3399_rockchip-uboot/tools/buildman/
H A Dcontrol.py34 count = (count + options.step - 1) / options.step
71 for upto in range(0, len(series.commits), options.step):
239 if not options.step:
240 options.step = len(series.commits) - 1
260 show_unknown=options.show_unknown, step=options.step,
/rk3399_rockchip-uboot/board/rockchip/kylin_rk3036/
H A DREADME13 Get tee.bin in this step, copy it to U-Boot root dir:
26 Get tpl/u-boot-tpl.bin, spl/u-boot-spl.bin and u-boot.itb in this step.
37 Get rkdeveloptool in you Host in this step.
49 Get idbloader.img in this step.
/rk3399_rockchip-uboot/board/rockchip/gva_rk3229/
H A DREADME19 Get tee.bin in this step, copy it to U-Boot root dir:
32 Get u-boot-dtb.bin in this step.
43 Get rkdeveloptool in you Host in this step.
55 Get uboot.img in this step.
/rk3399_rockchip-uboot/board/rockchip/evb_rk3229/
H A DREADME17 Get tee.bin in this step, copy it to U-Boot root dir:
30 Get tpl/u-boot-tpl.bin, spl/u-boot-spl.bin and u-boot.itb in this step.
41 Get rkdeveloptool in you Host in this step.
53 Get idbloader.img in this step.
/rk3399_rockchip-uboot/arch/mips/mach-ath79/qca953x/
H A Dlowlevel_init.S82 #define MK_PLL_DDR_DIT_FRAC(max, min, step, cnt) \ argument
86 PLL_DDR_DIT_FRAC_STEP(step) | \
88 #define MK_PLL_CPU_DIT_FRAC(max, min, step, cnt) \ argument
92 PLL_CPU_DIT_FRAC_STEP(step) | \
/rk3399_rockchip-uboot/include/
H A Dtps6586x.h40 int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate,
/rk3399_rockchip-uboot/board/rockchip/sheep_rk3368/
H A DREADME1 Here is the step-by-step to boot to U-Boot on rk3368.

12345