| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 1258 ALLOC_ALIGN_BUFFER(__u8, databuf, 16, sizeof(u32)); in ohci_submit_rh_msg() 1289 *(u16 *)databuf = cpu_to_le16(1); in ohci_submit_rh_msg() 1292 *(u16 *)databuf = cpu_to_le16(0); in ohci_submit_rh_msg() 1295 *(u16 *)databuf = cpu_to_le16(0); in ohci_submit_rh_msg() 1298 *(u32 *)databuf = cpu_to_le32( in ohci_submit_rh_msg() 1302 *(u32 *)databuf = cpu_to_le32(RD_RH_PORTSTAT); in ohci_submit_rh_msg() 1365 databuf = root_hub_dev_des; OK(len); in ohci_submit_rh_msg() 1372 databuf = root_hub_config_des; OK(len); in ohci_submit_rh_msg() 1380 databuf = root_hub_str_index0; in ohci_submit_rh_msg() 1389 databuf = root_hub_str_index1; in ohci_submit_rh_msg() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/spi/ |
| H A D | core.c | 253 adjreq.databuf.in = spinand->databuf; in spinand_read_from_cache_op() 254 buf = spinand->databuf; in spinand_read_from_cache_op() 261 adjreq.databuf.in = req->databuf.in; in spinand_read_from_cache_op() 262 buf = req->databuf.in; in spinand_read_from_cache_op() 302 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, req->datalen); in spinand_read_from_cache_op() 337 memset(spinand->databuf, 0xff, in spinand_write_to_cache_op() 342 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op() 346 adjreq.databuf.out = spinand->databuf; in spinand_write_to_cache_op() 348 buf = spinand->databuf; in spinand_write_to_cache_op() 1189 spinand->databuf = kzalloc(nanddev_page_size(nand) + in spinand_init() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | rockchip_nand_spl_v9.c | 79 u8 *databuf; member 219 if (nandc_read_page(page, g_rk_nand->databuf) == -1) { in is_badblock() 284 if (nandc_read_page(page, g_rk_nand->databuf) < 0) in spl_nand_read_page() 286 memcpy(buf, g_rk_nand->databuf + offset, read_size); in spl_nand_read_page() 388 g_rk_nand->databuf = kzalloc(nand_page_size, GFP_KERNEL); in rockchip_nandc_probe() 497 g_rk_nand->databuf = kzalloc(nand_page_size, GFP_KERNEL); in board_nand_init() 515 kfree(g_rk_nand->databuf); in board_nand_init()
|
| H A D | rockchip_nand_spl.c | 83 u8 *databuf; member 224 if (nandc_read_page(page, g_rk_nand->databuf) == -1) { in is_badblock() 289 if (nandc_read_page(page, g_rk_nand->databuf) < 0) in spl_nand_read_page() 291 memcpy(buf, g_rk_nand->databuf + offset, read_size); in spl_nand_read_page() 388 g_rk_nand->databuf = kzalloc(nand_page_size, GFP_KERNEL); in rockchip_nandc_probe() 497 g_rk_nand->databuf = kzalloc(nand_page_size, GFP_KERNEL); in board_nand_init() 515 kfree(g_rk_nand->databuf); in board_nand_init()
|
| H A D | tegra_nand.c | 388 static int check_ecc_error(struct nand_ctlr *reg, u8 *databuf, in check_ecc_error() argument 402 if ((reg_val & DEC_STATUS_A_ECC_FAIL) && databuf) { in check_ecc_error() 410 !blank_check(databuf, a_len)) in check_ecc_error()
|
| H A D | mxs_nand_spl.c | 202 nand_chip.oob_poi = nand_chip.buffers->databuf + mtd->writesize; in nand_init()
|
| H A D | nand_base.c | 2349 bufpoi = use_bufpoi ? chip->buffers->databuf : buf; in nand_do_read_ops() 2398 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops() 2438 memcpy(buf, chip->buffers->databuf + col, bytes); in nand_do_read_ops() 3264 memset(chip->buffers->databuf, 0xff, mtd->writesize); in nand_do_write_ops() 3265 memcpy(&chip->buffers->databuf[column], buf, bytes); in nand_do_write_ops() 3266 wbuf = chip->buffers->databuf; in nand_do_write_ops() 5030 chip->oob_poi = chip->buffers->databuf + mtd->writesize; in nand_scan_tail()
|
| H A D | rockchip_nand_v9.c | 553 chip, chip->buffers->databuf, 0, page) == -1) { in rockchip_nand_block_bad()
|
| H A D | rockchip_nand.c | 552 chip, chip->buffers->databuf, 0, page) == -1) { in rockchip_nand_block_bad()
|
| H A D | nand_bbt.c | 824 return create_bbt(mtd, this->buffers->databuf, bd, -1); in nand_memory_bbt()
|
| H A D | pxa3xx_nand.c | 1341 return chip->ecc.read_page_raw(mtd, chip, chip->buffers->databuf, true, in pxa3xx_nand_read_oob_raw()
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | nand.h | 103 } databuf; member 620 iter->req.databuf.in = req->datbuf; in nanddev_io_iter_init() 642 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
|
| H A D | mtd.h | 387 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, 389 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf,
|
| H A D | spinand.h | 433 u8 *databuf; member
|
| H A D | rawnand.h | 626 uint8_t databuf[ALIGN(NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE, member
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | fsl_esdhc.c | 171 uint databuf; in esdhc_pio_read_write() local 192 databuf = in_le32(®s->datport); in esdhc_pio_read_write() 193 *((uint *)buffer) = databuf; in esdhc_pio_read_write() 214 databuf = *((uint *)buffer); in esdhc_pio_read_write() 218 out_le32(®s->datport, databuf); in esdhc_pio_read_write()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtdcore.c | 1433 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument 1436 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes() 1453 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument 1456 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/ |
| H A D | brcmnand.c | 1688 buf = chip->buffers->databuf; in brcmstb_nand_verify_erased_page()
|