Searched refs:page (Results 1 - 25 of 68) sorted by relevance

123

/u-boot/drivers/mtd/nand/raw/
H A Dnand_spl_loaders.c4 unsigned int page, page_offset; local
6 /* offs has to be aligned to a page address! */
9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE;
15 while (size && page < SYS_NAND_BLOCK_PAGES) {
16 nand_read_page(block, page, dst);
21 * When offs is not aligned to page address the
33 page++;
36 page = 0;
77 * Temporary storage for non NAND page aligned and non NAND page size
107 int page, read; local
[all...]
H A Ddenali_spl.c103 int denali_send_pipeline_cmd(int page, int ecc_en, int access_type) argument
113 addr = BANK(flash_bank) | page;
128 static int nand_read_oob(void *buf, int page) argument
132 ret = denali_send_pipeline_cmd(page, 0, SPARE_ACCESS);
141 static int nand_read_page(void *buf, int page) argument
145 ret = denali_send_pipeline_cmd(page, 1, MAIN_ACCESS);
189 int block, page, column, readlen; local
193 page = offs / page_size;
196 block = page / pages_per_block;
197 page
[all...]
H A Dmt7621_nand_spl.c75 unsigned int page)
80 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x0, page);
82 ret = chip->ecc.read_page(mtd, chip, buf, 1, page);
90 unsigned int page)
95 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x0, page);
97 ret = chip->ecc.read_page(mtd, chip, NULL, 1, page);
109 static int nfc_check_bad_block(struct mtd_info *mtd, unsigned int page) argument
118 /* Read from first/last page(s) if necessary */
120 page += pages_per_block - 1;
122 page
74 nfc_read_page_hwecc(struct mtd_info *mtd, void *buf, unsigned int page) argument
89 nfc_read_oob_hwecc(struct mtd_info *mtd, void *buf, u32 len, unsigned int page) argument
144 u32 addr, col, page, chksz; local
[all...]
H A Dmxc_nand_spl.c142 /* code only for large page flash */
254 int page = pagenumber; local
259 for (page = pagenumber; page < pagenumber + 2; page++) {
260 nfc_nand_read_page(page);
266 * standard layout for large page devices. This can
285 unsigned int page; local
291 /* Convert to page number */
292 page
[all...]
H A Dam335x_spl_bch.c30 * NAND command for large page NAND devices (2k)
32 static int nand_command(int block, int page, uint32_t offs, argument
36 int page_addr = page + block * SYS_NAND_BLOCK_PAGES;
152 static int nand_read_page(int block, int page, void *dst) argument
167 nand_command(block, page, 0, NAND_CMD_READ0);
171 nand_command(block, page, data_pos, NAND_CMD_RNDOUT);
175 nand_command(block, page, oob_pos, NAND_CMD_RNDOUT);
H A Dmxs_nand_spl.c144 /* Calculate the address shift from the page size */
172 static int mxs_read_page_ecc(struct mtd_info *mtd, void *buf, unsigned int page) argument
177 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x0, page);
178 ret = nand_chip.ecc.read_page(mtd, chip, buf, 1, page);
190 unsigned int page = offs >> chip->page_shift; local
192 debug("%s offs=0x%08x block:%d page:%d\n", __func__, (int)offs, block,
193 page);
194 chip->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page);
237 unsigned int page, page_offset; local
250 /* offs has to be aligned to a page addres
[all...]
H A Dnand_spl_simple.c25 * NAND command for small page NAND devices (512)
27 static int nand_command(int block, int page, uint32_t offs, argument
31 int page_addr = page + block * SYS_NAND_BLOCK_PAGES;
57 * NAND command for large page NAND devices (2k)
59 static int nand_command(int block, int page, uint32_t offs, argument
63 int page_addr = page + block * SYS_NAND_BLOCK_PAGES;
136 static int nand_read_page(int block, int page, uchar *dst) argument
148 nand_command(block, page, 0, NAND_CMD_READOOB);
150 nand_command(block, page, 0, NAND_CMD_READ0);
167 static int nand_read_page(int block, int page, voi argument
[all...]
H A Dlpc32xx_nand_mlc.c95 * OOB data in each small page are 6 'free' then 10 ECC bytes.
198 * In a 2KB (4*512B) page, R/S codes occupy 40 (4*10) bytes.
225 * @page: page number to read
238 int page)
279 * @page: page number to read
286 int page)
319 * @page: page numbe
236 lpc32xx_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
284 lpc32xx_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
333 lpc32xx_read_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
386 lpc32xx_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
444 lpc32xx_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
480 lpc32xx_write_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
624 read_single_page(uint8_t *dest, int page, struct lpc32xx_oob *oob) argument
703 int page = offs / BYTES_PER_PAGE; local
[all...]
H A Dsunxi_nand_spl.c219 int page = offs / conf->page_size; local
225 writel(((page & 0xFFFF) << 16), SUNXI_NFC_BASE + NFC_ADDR_LOW);
226 writel((page >> 16) & 0xFF, SUNXI_NFC_BASE + NFC_ADDR_HIGH);
263 int page = offs / conf->page_size; local
273 rand_seed = random_seed[page % conf->nseeds];
338 * correlated with the page size.
375 int page = offs / conf->page_size; local
408 * If page is empty we can't deduce anything
426 * change the randomizer seed for the page
430 int seed = page
479 int first_seed = 0, page, ret; local
[all...]
H A Ddenali.c60 * type, bank, block, and page address). The slave data is the actual data to
342 * "which sector(s)". We need erase-page check for all sectors.
354 * the page. Increase the stats by max_bitflips. (compromised solution)
435 dma_addr_t dma_addr, int page, int write)
440 mode = DENALI_MAP10 | DENALI_BANK(denali) | page;
459 dma_addr_t dma_addr, int page, int write)
469 denali->host_write(denali, mode | page,
483 size_t size, int page, int raw)
485 u32 addr = DENALI_MAP01 | DENALI_BANK(denali) | page;
511 const void *buf, size_t size, int page, in
434 denali_setup_dma64(struct denali_nand_info *denali, dma_addr_t dma_addr, int page, int write) argument
458 denali_setup_dma32(struct denali_nand_info *denali, dma_addr_t dma_addr, int page, int write) argument
482 denali_pio_read(struct denali_nand_info *denali, void *buf, size_t size, int page, int raw) argument
510 denali_pio_write(struct denali_nand_info *denali, const void *buf, size_t size, int page, int raw) argument
531 denali_pio_xfer(struct denali_nand_info *denali, void *buf, size_t size, int page, int raw, int write) argument
540 denali_dma_xfer(struct denali_nand_info *denali, void *buf, size_t size, int page, int raw, int write) argument
597 denali_data_xfer(struct denali_nand_info *denali, void *buf, size_t size, int page, int raw, int write) argument
610 denali_oob_xfer(struct mtd_info *mtd, struct nand_chip *chip, int page, int write) argument
670 denali_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
745 denali_read_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
753 denali_write_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
769 denali_read_page(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
801 denali_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
879 denali_write_page(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
906 denali_erase(struct mtd_info *mtd, int page) argument
[all...]
H A Dtegra_nand.c46 /* 64 byte oob block info for large page (== 2KB) device
259 * @param page_addr the page address for this command, -1 if none
412 * they are all FF. If all are FF, it's a blank page.
424 * they are all FF. If all are FF, it's a blank page.
466 * Set up NAND bus width and page size
492 debug("%s: Unsupported page size %d\n", __func__,
506 * @param page page number
513 uint8_t *buf, int page, int with_ecc, int is_writing)
617 printf("Read Page 0x%X timeout ", page);
512 nand_rw_page(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int page, int with_ecc, int is_writing) argument
662 nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
675 nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
695 nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
708 nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
728 nand_rw_oob(struct mtd_info *mtd, struct nand_chip *chip, int page, int with_ecc, int is_writing) argument
828 nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
846 nand_write_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
[all...]
H A Dnand_base.c16 * rework for 2K page size chips
19 * Enable cached programming for 2k page size chips
51 /* Define default oob placement schemes for large and small page devices */
319 int page, res = 0, i = 0; local
326 page = (int)(ofs >> chip->page_shift) & chip->pagemask;
331 chip->badblockpos & 0xFE, page);
339 page);
348 page = (int)(ofs >> chip->page_shift) & chip->pagemask;
382 /* Write to first/last page(s) if necessary */
587 * @page_addr: the page addres
1084 nand_read_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, void *buf, unsigned int len) argument
1115 nand_read_param_page_op(struct nand_chip *chip, u8 page, void *buf, unsigned int len) argument
1178 nand_read_oob_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_oob, void *buf, unsigned int len) argument
1210 nand_prog_page_begin_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, const void *buf, unsigned int len) argument
1268 nand_prog_page_op(struct nand_chip *chip, unsigned int page, unsigned int offset_in_page, const void *buf, unsigned int len) argument
1417 unsigned int page = eraseblock << local
1753 nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
1782 nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
1841 nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
1887 nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, int page) argument
2000 nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
2070 nand_read_page_hwecc_oob_first(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
2137 nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
2297 int chipnr, page, realpage, col, bytes, aligned, oob_required; local
2481 nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
2494 nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
2548 nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
2562 nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
2640 int page, realpage, chipnr; local
2782 nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
2811 nand_write_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
2870 nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
2899 nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
2942 nand_write_subpage_hwecc(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, uint32_t data_len, const uint8_t *buf, int oob_required, int page) argument
3010 nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
3078 nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int raw) argument
3184 int chipnr, realpage, page, column; local
3345 int chipnr, page, status, len; local
3467 single_erase(struct mtd_info *mtd, int page) argument
3501 int page, status, pages_per_block, ret, chipnr; local
[all...]
H A Dsunxi_nand.c691 static u16 sunxi_nfc_randomizer_state(struct mtd_info *mtd, int page, bool ecc) argument
706 return seeds[page % mod];
710 int page, bool ecc)
721 state = sunxi_nfc_randomizer_state(mtd, page, ecc);
750 static void sunxi_nfc_randomize_bbm(struct mtd_info *mtd, int page, u8 *bbm) argument
752 u16 state = sunxi_nfc_randomizer_state(mtd, page, true);
760 bool ecc, int page)
762 sunxi_nfc_randomizer_config(mtd, page, ecc);
769 int len, bool ecc, int page)
771 sunxi_nfc_randomizer_config(mtd, page, ec
709 sunxi_nfc_randomizer_config(struct mtd_info *mtd, int page, bool ecc) argument
758 sunxi_nfc_randomizer_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len, bool ecc, int page) argument
768 sunxi_nfc_randomizer_read_buf(struct mtd_info *mtd, uint8_t *buf, int len, bool ecc, int page) argument
812 sunxi_nfc_hw_ecc_read_chunk(struct mtd_info *mtd, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, int page) argument
910 sunxi_nfc_hw_ecc_read_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off, bool randomize, int page) argument
940 sunxi_nfc_hw_ecc_write_chunk(struct mtd_info *mtd, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) argument
991 sunxi_nfc_hw_ecc_write_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off, int page) argument
1012 sunxi_nfc_hw_ecc_read_page(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
1048 sunxi_nfc_hw_ecc_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, int page) argument
1079 sunxi_nfc_hw_ecc_write_page(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
1111 sunxi_nfc_hw_ecc_write_subpage(struct mtd_info *mtd, struct nand_chip *chip, u32 data_offs, u32 data_len, const u8 *buf, int oob_required, int page) argument
1141 sunxi_nfc_hw_syndrome_ecc_read_page(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
1177 sunxi_nfc_hw_syndrome_ecc_write_page(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
[all...]
H A Dvf610_nfc.c20 * - HW ECC: Only 2K page with 64+ OOB.
329 static void vf610_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) argument
338 if (page != -1)
340 ROW_ADDR_SHIFT, page);
357 int column, int page)
367 /* Use valid column/page from preread... */
368 vf610_nfc_addr_cycle(mtd, column, page);
395 vf610_nfc_addr_cycle(mtd, column, page);
405 vf610_nfc_addr_cycle(mtd, column, page);
423 vf610_nfc_addr_cycle(mtd, column, page);
356 vf610_nfc_command(struct mtd_info *mtd, unsigned command, int column, int page) argument
556 vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat, uint8_t *oob, int page) argument
592 vf610_nfc_read_page(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, int oob_required, int page) argument
616 vf610_nfc_write_page(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page) argument
[all...]
H A Dmeson_nand.c547 int page, bool raw)
569 meson_nfc_cmd_seed(nfc, page);
586 const u8 *buf, int oob_required, int page)
590 return meson_nfc_write_page_sub(chip, page, true);
594 const u8 *buf, int oob_required, int page)
606 return meson_nfc_write_page_sub(chip, page, false);
629 int page, bool raw)
647 meson_nfc_cmd_seed(nfc, page);
665 u8 *buf, int oob_required, int page)
669 ret = meson_nfc_read_page_sub(chip, page, tru
546 meson_nfc_write_page_sub(struct nand_chip *nand, int page, bool raw) argument
585 meson_nfc_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, const u8 *buf, int oob_required, int page) argument
593 meson_nfc_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const u8 *buf, int oob_required, int page) argument
628 meson_nfc_read_page_sub(struct nand_chip *nand, int page, bool raw) argument
664 meson_nfc_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, u8 *buf, int oob_required, int page) argument
678 meson_nfc_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, u8 *buf, int oob_required, int page) argument
743 meson_nfc_read_oob_raw(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
755 meson_nfc_read_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
767 meson_nfc_write_oob_raw(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
783 meson_nfc_write_oob(struct mtd_info *mtd, struct nand_chip *chip, int page) argument
[all...]
/u-boot/arch/arm/include/asm/
H A Dmemory.h20 * PFNs are used to describe any physical page; this means
23 * This is the PFN of the first RAM page in the kernel
24 * direct-mapped view. We assume this is the first page
54 * Conversion between a struct page and a physical address.
57 * struct page, the resulting pointer must be validated
58 * using VALID_PAGE(). It must return an invalid struct page
62 * page_to_pfn(page) convert a struct page * to a PFN number
63 * pfn_to_page(pfn) convert a _valid_ PFN number to struct page *
66 * virt_to_page(k) convert a _valid_ virtual address to struct page *
[all...]
/u-boot/drivers/mtd/onenand/
H A Donenand_spl.c18 * - 2048b page, 128k erase block.
19 * - 4096b page, 256k erase block.
29 #define onenand_sector_address(page) (page << 2)
82 static int onenand_spl_read_page(uint32_t block, uint32_t page, uint32_t *buf, argument
94 onenand_writew(onenand_sector_address(page),
108 if (page < 2 && (onenand_readw(ONENAND_SPARERAM) != 0xffff))
118 /* Temporary storage for non page aligned and non page sized reads. */
134 int page, rea local
173 uint32_t page, rpage; local
[all...]
/u-boot/drivers/net/phy/
H A Db53.c121 static int b53_mdio_op(struct mii_dev *bus, u8 page, u8 reg, u16 op) argument
127 /* set page number */
128 v = (page << 8) | REG_MII_PAGE_ENABLE;
157 static int b53_mdio_read8(struct mii_dev *bus, u8 page, u8 reg, u8 *val) argument
161 ret = b53_mdio_op(bus, page, reg, REG_MII_ADDR_READ);
171 static int b53_mdio_read16(struct mii_dev *bus, u8 page, u8 reg, u16 *val) argument
175 ret = b53_mdio_op(bus, page, reg, REG_MII_ADDR_READ);
185 static int b53_mdio_read32(struct mii_dev *bus, u8 page, u8 reg, u32 *val) argument
189 ret = b53_mdio_op(bus, page, reg, REG_MII_ADDR_READ);
201 static int b53_mdio_read48(struct mii_dev *bus, u8 page, u argument
222 b53_mdio_read64(struct mii_dev *bus, u8 page, u8 reg, u64 *val) argument
243 b53_mdio_write8(struct mii_dev *bus, u8 page, u8 reg, u8 value) argument
255 b53_mdio_write16(struct mii_dev *bus, u8 page, u8 reg, u16 value) argument
268 b53_mdio_write32(struct mii_dev *bus, u8 page, u8 reg, u32 value) argument
286 b53_mdio_write48(struct mii_dev *bus, u8 page, u8 reg, u64 value) argument
304 b53_mdio_write64(struct mii_dev *bus, u8 page, u8 reg, u64 value) argument
322 b53_read8(struct b53_device *dev, u8 page, u8 reg, u8 *value) argument
328 b53_read16(struct b53_device *dev, u8 page, u8 reg, u16 *value) argument
334 b53_read32(struct b53_device *dev, u8 page, u8 reg, u32 *value) argument
340 b53_read48(struct b53_device *dev, u8 page, u8 reg, u64 *value) argument
346 b53_read64(struct b53_device *dev, u8 page, u8 reg, u64 *value) argument
352 b53_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) argument
358 b53_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) argument
364 b53_write32(struct b53_device *dev, u8 page, u8 reg, u32 value) argument
370 b53_write48(struct b53_device *dev, u8 page, u8 reg, u64 value) argument
376 b53_write64(struct b53_device *dev, u8 page, u8 reg, u64 value) argument
628 u8 page, offset, width; local
682 u8 page, offset, width; local
[all...]
/u-boot/drivers/w1-eeprom/
H A Dds2502.c7 * as page redirection bytes by an algorithm described in the data sheet.
11 * So, when a read request is entirely in the first page automatically
12 * apply the page redirection bytes (which allows the device to be seen as
15 * If the read request is outside of or larger than the first page then read
76 /* send read to end of page and generate CRC command */
128 * Status bytes (from index 1) contain 1's complement page indirection
135 static int ds2502_indirect_page(struct udevice *dev, u8 *status, int page) argument
140 u8 sb = status[page + 1];
145 page = ~sb & 0xff;
147 if (page >
188 int page; local
[all...]
/u-boot/scripts/kconfig/lxdialog/
H A Dtextbox.c21 static char *page; variable
57 page = buf; /* page is pointer to start of page to be displayed */
123 /* Print first page of text */
139 case 'g': /* First page */
143 page = buf;
149 case 'G': /* Last page */
154 page = buf + strlen(buf);
169 case 'B': /* Previous page */
[all...]
/u-boot/tools/
H A Dublimage.h63 uint32_t page; /* member in struct:ubl_header
64 * page number where user bootloader is
/u-boot/include/linux/mtd/
H A Dnand.h18 * @pagesize: page size
70 * @page: the page within the LUN
80 unsigned int page; member in struct:nand_pos
86 * @dataoffs: the offset within the page
87 * @datalen: number of data bytes to read from/write to this page
89 * @ooboffs: the OOB offset within the page
90 * @ooblen: the number of OOB bytes to read from/write to this page
94 * This object is used to pass per-page I/O requests to NAND sub-layers. This
191 * @oobbytes_per_page: maximum number of OOB bytes per page
[all...]
/u-boot/drivers/video/
H A Dtda19988.c16 * TDA19988 uses paged registers. We encode the page# in the upper
18 * have to ensure that the register's page is selected as the current
19 * page.
21 #define REG(page, addr) (((page) << 8) | (addr))
25 /* register for setting current page */
258 u8 old_val, page = REG2PAGE(reg); local
260 if (priv->current_page != page) {
261 dm_i2c_reg_write(priv->chip, REG_CURRENT_PAGE, page);
262 priv->current_page = page;
271 u8 old_val, page = REG2PAGE(reg); local
284 u8 page = REG2PAGE(reg); local
295 u8 page = REG2PAGE(reg); local
307 u8 buf[] = { val >> 8, val }, page = REG2PAGE(reg); local
[all...]
/u-boot/cmd/
H A Dnand.c57 int page = 0; local
76 for (page = 0; page < pages_per_blk ; page++) {
77 datbuf[page] = malloc(mtd->writesize + mtd->oobsize);
78 if (!datbuf[page]) {
79 printf("No memory for page buffer\n");
89 for (page = 0; page < pages_per_blk ; page
[all...]
/u-boot/drivers/iommu/
H A Dqcom-hyp-smmu.c110 #define page_addr(priv, page) ((priv)->base + ((page) << (priv)->pgshift))
112 #define smmu_readl(priv, page, offset) readl(page_addr(priv, page) + offset)
118 #define smmu_writel(priv, page, offset, value) \
119 writel((value), page_addr(priv, page) + offset)

Completed in 298 milliseconds

123