Searched refs:databuf (Results 1 - 17 of 17) sorted by relevance

/u-boot/drivers/usb/host/
H A Dohci-hcd.c1231 ALLOC_ALIGN_BUFFER(__u8, databuf, 16, sizeof(u32));
1262 *(u16 *)databuf = cpu_to_le16(1);
1265 *(u16 *)databuf = cpu_to_le16(0);
1268 *(u16 *)databuf = cpu_to_le16(0);
1271 *(u32 *)databuf = cpu_to_le32(
1275 *(u32 *)databuf = cpu_to_le32(RD_RH_PORTSTAT);
1338 databuf = root_hub_dev_des; OK(len);
1345 databuf = root_hub_config_des; OK(len);
1353 databuf = root_hub_str_index0;
1362 databuf
[all...]
/u-boot/drivers/mtd/nand/spi/
H A Dcore.c260 adjreq.databuf.in = spinand->databuf;
261 buf = spinand->databuf;
301 memcpy(req->databuf.in, spinand->databuf + req->dataoffs,
337 memset(spinand->databuf, 0xff,
342 memcpy(spinand->databuf + req->dataoffs, req->databuf.out,
346 adjreq.databuf.out = spinand->databuf;
[all...]
/u-boot/include/linux/mtd/
H A Dnand.h88 * @databuf: buffer to store data in or get data from
106 } databuf; member in struct:nand_page_io_req
627 iter->req.databuf.in = req->datbuf;
649 iter->req.databuf.in += iter->req.datalen;
H A Dmtd.h382 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf,
384 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
H A Dspinand.h383 * @databuf: bounce buffer for data
416 u8 *databuf; member in struct:spinand_device
H A Drawnand.h647 * @databuf: buffer pointer for data, size is (page size + oobsize).
649 * Do not change the order of buffers. databuf and oobrbuf must be in
655 uint8_t databuf[ALIGN(NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE, member in struct:nand_buffers
/u-boot/drivers/mmc/
H A Dfsl_esdhc.c162 uint databuf; local
183 databuf = in_le32(&regs->datport);
184 *((uint *)buffer) = databuf;
205 databuf = *((uint *)buffer);
209 out_le32(&regs->datport, databuf);
H A Dfsl_esdhc_imx.c225 uint databuf; local
246 databuf = in_le32(&regs->datport);
247 *((uint *)buffer) = databuf;
268 databuf = *((uint *)buffer);
272 out_le32(&regs->datport, databuf);
/u-boot/drivers/mtd/
H A Dmtdcore.c1450 * @databuf: destination buffer to store ECC bytes
1459 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, argument
1462 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes,
1479 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, argument
1482 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes,
/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c226 nand_chip.oob_poi = nand_chip.buffers->databuf + mtd->writesize;
H A Dtegra_nand.c384 * @param databuf data buffer
394 static int check_ecc_error(struct nand_ctlr *reg, u8 *databuf, argument
404 * Area A is used for the data block (databuf). Area B is used for
408 if ((reg_val & DEC_STATUS_A_ECC_FAIL) && databuf) {
416 !blank_check(databuf, a_len))
H A Dnand_base.c2339 bufpoi = use_bufpoi ? chip->buffers->databuf : buf;
2388 memcpy(buf, chip->buffers->databuf + col, bytes);
2428 memcpy(buf, chip->buffers->databuf + col, bytes);
3254 memset(chip->buffers->databuf, 0xff, mtd->writesize);
3255 memcpy(&chip->buffers->databuf[column], buf, bytes);
3256 wbuf = chip->buffers->databuf;
4932 chip->oob_poi = chip->buffers->databuf + mtd->writesize;
H A Dmeson_nand.c415 static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, argument
423 nfc->daddr = dma_map_single(databuf, datalen, DMA_BIDIRECTIONAL);
H A Dnand_bbt.c825 return create_bbt(mtd, this->buffers->databuf, bd, -1);
H A Dpxa3xx_nand.c1335 return chip->ecc.read_page_raw(mtd, chip, chip->buffers->databuf, true,
/u-boot/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c697 void *databuf, *eccbuf; local
713 databuf = buf;
716 ret = atmel_pmecc_correct_sector(nand->pmecc, i, databuf,
719 ret = nand_check_erased_ecc_chunk(databuf,
731 databuf += chip->ecc.size;
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1856 buf = chip->buffers->databuf;

Completed in 413 milliseconds