/u-boot/drivers/misc/ |
A D | i2c_eeprom.c | 101 u32 pagesize; in i2c_eeprom_std_of_to_plat() local 105 priv->pagesize = pagesize; in i2c_eeprom_std_of_to_plat() 108 priv->pagesize = data->pagesize; in i2c_eeprom_std_of_to_plat() 165 .pagesize = 1, 172 .pagesize = 8, 179 .pagesize = 8, 186 .pagesize = 8, 193 .pagesize = 16, 200 .pagesize = 16, 207 .pagesize = 16, [all …]
|
/u-boot/arch/arm/mach-imx/ |
A D | spl_imx_romapi.c | 36 u32 pagesize = *(u32 *)load->priv; in spl_romapi_read_seekable() local 38 ulong byte = count * pagesize; in spl_romapi_read_seekable() 42 offset = sector * pagesize; in spl_romapi_read_seekable() 65 u32 pagesize, size; in spl_romapi_load_image_seekable() local 110 load.bl_len = pagesize; in spl_romapi_load_image_seekable() 112 load.priv = &pagesize; in spl_romapi_load_image_seekable() 173 u32 pagesize, pg; in spl_romapi_load_image_stream() local 188 pg = pagesize; in spl_romapi_load_image_stream() 256 imagesize += pagesize - 1; in spl_romapi_load_image_stream() 257 imagesize /= pagesize; in spl_romapi_load_image_stream() [all …]
|
/u-boot/drivers/mtd/onenand/ |
A D | onenand_spl.c | 83 enum onenand_spl_pagesize pagesize) in onenand_spl_read_page() argument 111 for (offset = 0; offset < pagesize; offset += 4) in onenand_spl_read_page() 174 enum onenand_spl_pagesize pagesize; in onenand_spl_load_image() local 177 pagesize = onenand_spl_get_geometry(); in onenand_spl_load_image() 183 if (pagesize == 2048) { in onenand_spl_load_image() 194 ret = onenand_spl_read_page(block, rpage, addr, pagesize); in onenand_spl_load_image() 198 addr += pagesize / 4; in onenand_spl_load_image()
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
A D | eflash.c | 61 static u32 pagesize; variable 86 pagesize = readl(&eefc->frr); /* word 2 */ in flash_init() 90 id, size, pagesize, nplanes, planesize); in flash_init() 156 u32 pagenum = (info->start[sector]-ATMEL_BASE_FLASH)/pagesize; in flash_real_protect() 230 if (addr % pagesize) { in write_buff() 237 pagenum = (addr-ATMEL_BASE_FLASH)/pagesize; in write_buff() 241 i = pagesize / 4; in write_buff() 249 if (cnt > pagesize) in write_buff() 250 cnt -= pagesize; in write_buff()
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | mp.c | 185 u32 determine_mp_bootpg(unsigned int *pagesize) in determine_mp_bootpg() argument 199 if (pagesize) in determine_mp_bootpg() 200 *pagesize = 4096; in determine_mp_bootpg() 222 if (pagesize) in determine_mp_bootpg() 223 *pagesize = 8192; in determine_mp_bootpg() 255 static void plat_mp_up(unsigned long bootpg, unsigned int pagesize) in plat_mp_up() argument 278 if (pagesize == 8192) in plat_mp_up() 426 u32 bootpg, bootpg_map, pagesize; in setup_mp() local 428 bootpg = determine_mp_bootpg(&pagesize); in setup_mp() 439 if (pagesize == 8192) in setup_mp() [all …]
|
/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | mp.c | 78 u32 determine_mp_bootpg(unsigned int *pagesize) in determine_mp_bootpg() argument 80 if (pagesize) in determine_mp_bootpg() 81 *pagesize = 4096; in determine_mp_bootpg()
|
/u-boot/tools/ |
A D | mtk_image.c | 410 tparams->header_size = 2 * le16_to_cpu(hdr_nand->pagesize); in mtk_image_vrec_header() 509 (uint64_t)le16_to_cpu(nh->pagesize) * 8; in mtk_image_verify_nand_header() 514 if (le16_to_cpu(nh->pagesize) >= 1024) in mtk_image_verify_nand_header() 516 le16_to_cpu(nh->pagesize) >> 10); in mtk_image_verify_nand_header() 519 le16_to_cpu(nh->pagesize)); in mtk_image_verify_nand_header() 524 gfh = (struct gfh_header *)(ptr + 2 * le16_to_cpu(nh->pagesize)); in mtk_image_verify_nand_header() 714 payload_pages = (filesize + le16_to_cpu(hdr_nand->pagesize) - 1) / in mtk_image_set_nand_header() 715 le16_to_cpu(hdr_nand->pagesize); in mtk_image_set_nand_header() 717 (ptr + le16_to_cpu(hdr_nand->pagesize)); in mtk_image_set_nand_header() 727 put_ghf_header(gfh, filesize, 2 * le16_to_cpu(hdr_nand->pagesize), in mtk_image_set_nand_header() [all …]
|
/u-boot/include/linux/mtd/ |
A D | nand.h | 28 unsigned int pagesize; member 40 .pagesize = (ps), \ 244 return nand->memorg.pagesize; in nanddev_page_size() 279 return nand->memorg.pagesize * nand->memorg.pages_per_eraseblock; in nanddev_eraseblock_size() 305 nand->memorg.pagesize; in nanddev_target_size() 447 pageoffs = do_div(tmp, nand->memorg.pagesize); in nanddev_offs_to_pos() 507 return (loff_t)npages * nand->memorg.pagesize; in nanddev_pos_to_offs() 626 nand->memorg.pagesize - iter->req.dataoffs, in nanddev_io_iter_init() 651 iter->req.datalen = min_t(unsigned int, nand->memorg.pagesize, in nanddev_io_iter_next_page()
|
/u-boot/drivers/mtd/nand/ |
A D | core.c | 214 if (!memorg->bits_per_cell || !memorg->pagesize || in nanddev_init() 230 mtd->erasesize = memorg->pagesize * memorg->pages_per_eraseblock; in nanddev_init() 231 mtd->writesize = memorg->pagesize; in nanddev_init() 232 mtd->writebufsize = memorg->pagesize; in nanddev_init()
|
/u-boot/arch/arm/dts/ |
A D | at91-sama5d2_icp.dts | 58 pagesize = <16>; 64 pagesize = <16>; 70 pagesize = <16>;
|
A D | socfpga_cyclone5_vining_fpga.dts | 133 pagesize = <8>; 185 pagesize = <8>; 196 pagesize = <8>; 209 pagesize = <8>;
|
A D | uniphier-ref-daughter.dtsi | 12 pagesize = <64>;
|
A D | imx6qdl-tqma6a.dtsi | 24 pagesize = <32>;
|
A D | imx6qdl-tqma6b.dtsi | 24 pagesize = <32>;
|
A D | imx6qdl-mba6a.dtsi | 21 pagesize = <32>;
|
A D | imx6qdl-mba6b.dtsi | 26 pagesize = <32>;
|
A D | imx8mm-venice.dts | 33 pagesize = <16>; 46 pagesize = <32>;
|
A D | imx8mm-venice-gw700x.dtsi | 253 pagesize = <16>; 259 pagesize = <16>; 265 pagesize = <16>; 271 pagesize = <16>; 359 pagesize = <32>;
|
A D | fsl-ls1028a-kontron-sl28.dts | 144 pagesize = <32>; 158 pagesize = <32>;
|
A D | sama7g5ek.dts | 79 pagesize = <16>; 85 pagesize = <16>;
|
A D | sama5d34ek.dts | 46 pagesize = <64>;
|
/u-boot/arch/powerpc/include/asm/ |
A D | mp.h | 13 u32 determine_mp_bootpg(unsigned int *pagesize);
|
/u-boot/drivers/mtd/spi/ |
A D | sf_dataflash.c | 424 int pagesize, int pageoffset, char revision) in add_dataflash() argument 435 spi_flash->page_size = pagesize; in add_dataflash() 436 spi_flash->size = nr_pages * pagesize; in add_dataflash() 437 spi_flash->erase_size = pagesize; in add_dataflash() 462 uint16_t pagesize; member 617 info->pagesize, info->pageoffset, in spi_dataflash_probe()
|
/u-boot/include/ |
A D | i2c_eeprom.h | 18 unsigned long pagesize; member
|
/u-boot/arch/powerpc/dts/ |
A D | kmcent2.dts | 131 pagesize = <2>; 167 pagesize = <16>; 173 pagesize = <16>;
|