Searched refs:psize (Results 1 – 8 of 8) sorted by relevance
/u-boot/fs/jffs2/ |
A D | mergesort.c | 16 int k, psize, qsize; in sort_list() local 25 for (psize = 0; q && psize < k; psize++) in sort_list() 30 while (psize || (qsize && q)) { in sort_list() 32 if (psize == 0 || in sort_list() 42 psize--; in sort_list()
|
/u-boot/drivers/mtd/onenand/ |
A D | onenand_spl.c | 135 static int psize; in onenand_spl_read_block() local 137 if (!psize) in onenand_spl_read_block() 138 psize = onenand_spl_get_geometry(); in onenand_spl_read_block() 141 page = offset / psize; in onenand_spl_read_block() 143 offset = offset % psize; in onenand_spl_read_block() 150 if (offset || len < psize) { in onenand_spl_read_block() 152 (uint32_t *)scratch_buf, psize); in onenand_spl_read_block() 153 read = min(len, psize - offset); in onenand_spl_read_block() 157 onenand_spl_read_page(block, page, dst, psize); in onenand_spl_read_block() 158 read = psize; in onenand_spl_read_block()
|
/u-boot/drivers/core/ |
A D | of_addr.c | 131 int psize; in of_get_address() local 148 prop = of_get_property(dev, "reg", &psize); in of_get_address() 151 psize /= 4; in of_get_address() 154 for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) in of_get_address()
|
A D | ofnode.c | 685 int psize; in ofnode_get_addr_size() local 687 const __be32 *prop = of_get_property(np, property, &psize); in ofnode_get_addr_size() 713 int psize; in ofnode_read_u8_array_ptr() local 714 const __be32 *prop = of_get_property(np, propname, &psize); in ofnode_read_u8_array_ptr() 716 if (!prop || sz != psize) in ofnode_read_u8_array_ptr()
|
/u-boot/board/CZ.NIC/turris_mox/ |
A D | turris_mox.c | 153 static int mox_get_topology(const u8 **ptopology, int *psize, int *pis_sd) in mox_get_topology() argument 164 if (psize) in mox_get_topology() 165 *psize = size; in mox_get_topology() 191 if (psize) in mox_get_topology() 192 *psize = size; in mox_get_topology()
|
/u-boot/fs/zfs/ |
A D | zfs.c | 513 int i, psize; in zio_read_data() local 516 psize = get_psize(bp, endian); in zio_read_data() 532 err = zfs_devread(sector, 0, psize, buf); in zio_read_data() 539 err = zio_checksum_verify(bp->blk_cksum, checkalgo, endian, buf, psize); in zio_read_data() 563 size_t lsize, psize; in zio_read() local 574 psize = get_psize(bp, endian); in zio_read() 590 compbuf = malloc(psize); in zio_read() 611 err = decomp_table[comp].decomp_func(compbuf, *buf, psize, lsize); in zio_read() 1824 static uint64_t vdev_label_start(uint64_t psize, int l) in vdev_label_start() argument 1827 0 : psize - in vdev_label_start()
|
/u-boot/drivers/mtd/ |
A D | st_smi.c | 34 #define FLASH_ID(n, es, id, psize, ssize, size) \ argument 39 .pagesize = psize, \
|
/u-boot/drivers/mtd/spi/ |
A D | spi-nor-core.c | 2041 size_t psize; in spi_nor_parse_sfdp() local 2075 psize = header.nph * sizeof(*param_headers); in spi_nor_parse_sfdp() 2077 param_headers = kmalloc(psize, GFP_KERNEL); in spi_nor_parse_sfdp() 2082 psize, param_headers); in spi_nor_parse_sfdp()
|
Completed in 22 milliseconds