| /rk3399_rockchip-uboot/arch/arm/mach-socfpga/ |
| H A D | pinmux_arria10.c | 14 int len; in do_pinctr_pin() local 40 int child, len; in do_pinctrl_pins() local
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_rw.c | 157 int len = strlen(s) + 1; in _fdt_find_add_string() local 204 int len, struct fdt_property **prop) in _fdt_resize_property() 222 int len, struct fdt_property **prop) in _fdt_add_property() 273 int len, void **prop_data) in fdt_setprop_placeholder() 291 const void *val, int len) in fdt_setprop() 306 const void *val, int len) in fdt_appendprop() 335 int len, proplen; in fdt_delprop() local
|
| H A D | fdt_ro.c | 59 const char *s, int len) in _fdt_nodename_eq() 84 const char *s, int len) in _fdt_string_eq() 233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() 358 int len; in fdt_get_phandle() local 504 int len; in fdt_node_offset_by_prop_value() local 552 int len = strlen(str); in fdt_stringlist_contains() local 595 int length, len, idx = 0; in fdt_stringlist_search() local 671 int len; in fdt_node_check_compatible() local
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi-nor-core.c | 47 static int spi_nor_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) in spi_nor_read_reg() 63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() 73 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, in spi_nor_read_data() 111 static ssize_t spi_nor_write_data(struct spi_nor *nor, loff_t to, size_t len, in spi_nor_write_data() 559 u32 addr, len, rem, target; in spi_nor_erase() local 630 uint64_t *len) in stm_get_locked_range() 655 static int stm_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, u64 len, in stm_check_lock_status_sr() 674 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr() 680 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr() 718 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock() [all …]
|
| H A D | sf_probe.c | 101 static int spi_flash_std_read(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_read() 111 static int spi_flash_std_write(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_write() 121 static int spi_flash_std_erase(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_erase()
|
| /rk3399_rockchip-uboot/drivers/mtd/onenand/ |
| H A D | onenand_bbt.c | 37 static int check_short_pattern(uint8_t * buf, int len, int paglen, in check_short_pattern() 67 int i, j, numblocks, len, scanlen; in create_bbt() local 196 int len, ret = 0; in onenand_scan_bbt() local
|
| /rk3399_rockchip-uboot/net/ |
| H A D | cdp.c | 48 static ushort cdp_compute_csum(const uchar *buff, ushort len) in cdp_compute_csum() 112 int len; in cdp_send_trigger() local 239 void cdp_receive(const uchar *pkt, unsigned len) in cdp_receive()
|
| H A D | tftp.c | 167 static inline void store_block(int block, uchar *src, unsigned len) in store_block() 228 static int load_block(unsigned block, uchar *dst, unsigned len) in load_block() 332 int len = 0; in tftp_send() local 451 unsigned len) in icmp_handler() 461 unsigned src, unsigned len) in tftp_handler() 903 static void parse_multicast_oack(char *pkt, int len) in parse_multicast_oack()
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | adi_i2c.c | 75 int len; /* msg length */ member 148 int alen, uint8_t *buffer, int len, uint8_t flags) in i2c_transfer() 247 uint addr, int alen, uint8_t *buffer, int len) in adi_i2c_read() 254 uint addr, int alen, uint8_t *buffer, int len) in adi_i2c_write()
|
| H A D | davinci_i2c.c | 127 uint32_t addr, int alen, uint8_t *buf, int len) in _davinci_i2c_read() 225 uint32_t addr, int alen, uint8_t *buf, int len) in _davinci_i2c_write() 387 uint32_t addr, int alen, uint8_t *buf, int len) in davinci_i2c_read() 394 uint32_t addr, int alen, uint8_t *buf, int len) in davinci_i2c_write()
|
| H A D | imx_lpi2c.c | 95 static int bus_i2c_send(struct imx_lpi2c_reg *regs, u8 *txbuf, int len) in bus_i2c_send() 115 static int bus_i2c_receive(struct imx_lpi2c_reg *regs, u8 *rxbuf, int len) in bus_i2c_receive() 214 static int bus_i2c_read(struct imx_lpi2c_reg *regs, u32 chip, u8 *buf, int len) in bus_i2c_read() 231 static int bus_i2c_write(struct imx_lpi2c_reg *regs, u32 chip, u8 *buf, int len) in bus_i2c_write()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | recovery.c | 55 static int is_empty(void *buf, int len) in is_empty() 74 static int first_non_ff(void *buf, int len) in first_non_ff() 106 int err, offs, len; in get_master_node() local 436 int *offs, int *len) in clean_buf() 465 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes() 536 int len = ALIGN(endpt, c->min_io_size); in fix_unclean_leb() local 634 int ret = 0, err, len = c->leb_size - offs, start = offs, min_io_unit; in ubifs_recover_leb() local 923 int len = c->max_write_size, err; in recover_head() local 994 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; in clean_an_unclean_leb() local 1425 int err, lnum, offs, len; in fix_size_in_place() local
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pm8916.c | 29 int len) in pm8916_write() 41 static int pm8916_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in pm8916_read()
|
| H A D | rk8xx_spi.c | 53 static int _spi_read(struct udevice *dev, u32 reg, u8 *buffer, int len) in _spi_read() 72 static int _spi_write(struct udevice *dev, uint reg, const u8 *buffer, int len) in _spi_write() 100 int len) in rk806_spi_read() 114 int len) in rk806_spi_write()
|
| H A D | pmic_fp9931.c | 36 static int fp9931_write(struct udevice *dev, uint reg, const uint8_t *buff, int len) in fp9931_write() 49 static int fp9931_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in fp9931_read()
|
| H A D | pmic_sy7636a.c | 35 static int sy7636a_write(struct udevice *dev, uint reg, const uint8_t *buff, int len) in sy7636a_write() 48 static int sy7636a_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in sy7636a_read()
|
| H A D | i2c_pmic_emul.c | 29 uchar *buffer, int len) in sandbox_i2c_pmic_read_data() 48 uchar *buffer, int len, in sandbox_i2c_pmic_write_data()
|
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_hcd.c | 265 static int ctrlreq_in_data_phase(struct usb_device *dev, u32 len, void *buffer) in ctrlreq_in_data_phase() 311 static int ctrlreq_out_data_phase(struct usb_device *dev, u32 len, void *buffer) in ctrlreq_out_data_phase() 463 int len = 0; in musb_submit_rh_msg() local 754 int len, struct devrequest *setup) in submit_control_msg() 853 void *buffer, int len) in submit_bulk_msg() 1060 int len, int interval, bool nonblock) in submit_int_msg()
|
| /rk3399_rockchip-uboot/drivers/ata/ |
| H A D | libata.c | 44 unsigned int ofs, unsigned int len) in ata_id_string() 63 unsigned int ofs, unsigned int len) in ata_id_c_string()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 110 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern() 147 u32 len; in add_marker_len() local 174 size_t retlen, len, totlen; in read_bbt() local 292 size_t len; in scan_read_data() local 313 size_t len) in scan_read_oob() 343 size_t len, struct nand_bbt_descr *td) in scan_read() 352 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt() 628 size_t retlen, len = 0; in write_bbt() local 1078 int len, res; in nand_scan_bbt() local 1151 int len, res = 0; in nand_update_bbt() local
|
| H A D | nand_base.c | 107 loff_t ofs, uint64_t len) in check_offs_len() 246 static void iowrite8_rep(void *addr, const uint8_t *buf, int len) in iowrite8_rep() 253 static void ioread8_rep(void *addr, uint8_t *buf, int len) in ioread8_rep() 261 static void ioread16_rep(void *addr, void *buf, int len) in ioread16_rep() 270 static void iowrite16_rep(void *addr, void *buf, int len) in iowrite16_rep() 287 void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf() 302 void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf() 317 void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf16() 333 void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf16() 1095 unsigned int offset_in_page, void *buf, unsigned int len) in nand_read_page_op() [all …]
|
| /rk3399_rockchip-uboot/board/micronas/vct/ |
| H A D | ebi_onenand.c | 74 static void *memcpy_16_from_onenand(void *dst, const void *src, unsigned int len) in memcpy_16_from_onenand() 87 static void *memcpy_32_from_onenand(void *dst, const void *src, unsigned int len) in memcpy_32_from_onenand() 112 static void *memcpy_16_to_onenand(void *dst, const void *src, unsigned int len) in memcpy_16_to_onenand()
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | relocate.c | 29 size_t len = (uintptr_t)&__data_end - (uintptr_t)&__text_start; in copy_uboot_to_ram() local 41 size_t len = (uintptr_t)&__bss_end - (uintptr_t)&__bss_start; in clear_bss() local
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | onenand.c | 61 static int onenand_block_read(loff_t from, size_t len, in onenand_block_read() 132 static int onenand_block_write(loff_t to, size_t len, in onenand_block_write() 387 size_t len; in do_onenand_read() local 414 size_t len; in do_onenand_write() local 441 size_t len; in do_onenand_erase() local 477 size_t len; in do_onenand_test() local
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | membuff.c | 25 int len; in membuff_putrawflex() local 101 int len; in membuff_getraw() local 167 int len = 1, i; in membuff_get() local 293 int len; /* number of bytes read (!= string length) */ in membuff_readline() local
|