Home
last modified time | relevance | path

Searched refs:databuf (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dohci-hcd.c1253 ALLOC_ALIGN_BUFFER(__u8, databuf, 16, sizeof(u32)); in ohci_submit_rh_msg()
1284 *(u16 *)databuf = cpu_to_le16(1); in ohci_submit_rh_msg()
1287 *(u16 *)databuf = cpu_to_le16(0); in ohci_submit_rh_msg()
1290 *(u16 *)databuf = cpu_to_le16(0); in ohci_submit_rh_msg()
1293 *(u32 *)databuf = cpu_to_le32( in ohci_submit_rh_msg()
1297 *(u32 *)databuf = cpu_to_le32(RD_RH_PORTSTAT); in ohci_submit_rh_msg()
1360 databuf = root_hub_dev_des; OK(len); in ohci_submit_rh_msg()
1367 databuf = root_hub_config_des; OK(len); in ohci_submit_rh_msg()
1375 databuf = root_hub_str_index0; in ohci_submit_rh_msg()
1384 databuf = root_hub_str_index1; in ohci_submit_rh_msg()
[all …]
/openbmc/u-boot/drivers/mtd/nand/spi/
H A Dcore.c253 adjreq.databuf.in = spinand->databuf; in spinand_read_from_cache_op()
254 buf = spinand->databuf; in spinand_read_from_cache_op()
294 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op()
323 memset(spinand->databuf, 0xff, in spinand_write_to_cache_op()
328 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op()
332 adjreq.databuf.out = spinand->databuf; in spinand_write_to_cache_op()
334 buf = spinand->databuf; in spinand_write_to_cache_op()
1050 spinand->databuf = kzalloc(nanddev_page_size(nand) + in spinand_init()
1053 if (!spinand->databuf) { in spinand_init()
1058 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init()
[all …]
/openbmc/u-boot/include/linux/mtd/
H A Dnand.h103 } databuf; member
610 iter->req.databuf.in = req->datbuf; in nanddev_io_iter_init()
632 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
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.h361 u8 *databuf; member
H A Drawnand.h648 uint8_t databuf[ALIGN(NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE, member
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dtegra_nand.c387 static int check_ecc_error(struct nand_ctlr *reg, u8 *databuf, in check_ecc_error() argument
401 if ((reg_val & DEC_STATUS_A_ECC_FAIL) && databuf) { in check_ecc_error()
409 !blank_check(databuf, a_len)) in check_ecc_error()
H A Dmxs_nand_spl.c201 nand_chip.oob_poi = nand_chip.buffers->databuf + mtd->writesize; in nand_init()
H A Dnand_base.c1735 bufpoi = use_bufpoi ? chip->buffers->databuf : buf; in nand_do_read_ops()
1781 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops()
1821 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops()
2572 memset(chip->buffers->databuf, 0xff, mtd->writesize); in nand_do_write_ops()
2573 memcpy(&chip->buffers->databuf[column], buf, bytes); in nand_do_write_ops()
2574 wbuf = chip->buffers->databuf; in nand_do_write_ops()
4337 chip->oob_poi = chip->buffers->databuf + mtd->writesize; in nand_scan_tail()
H A Dnand_bbt.c822 return create_bbt(mtd, this->buffers->databuf, bd, -1); in nand_memory_bbt()
H A Dpxa3xx_nand.c1340 return chip->ecc.read_page_raw(mtd, chip, chip->buffers->databuf, true, in pxa3xx_nand_read_oob_raw()
/openbmc/u-boot/drivers/mmc/
H A Dfsl_esdhc.c201 uint databuf; in esdhc_pio_read_write() local
222 databuf = in_le32(&regs->datport); in esdhc_pio_read_write()
223 *((uint *)buffer) = databuf; in esdhc_pio_read_write()
244 databuf = *((uint *)buffer); in esdhc_pio_read_write()
248 out_le32(&regs->datport, databuf); in esdhc_pio_read_write()
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c1432 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument
1435 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes()
1452 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument
1455 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()