Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/
H A Dcore.c51 spinand->scratchbuf); in spinand_read_reg_op()
58 *val = *spinand->scratchbuf; in spinand_read_reg_op()
65 spinand->scratchbuf); in spinand_write_reg_op()
67 *spinand->scratchbuf = val; in spinand_write_reg_op()
453 naddr, ndummy, spinand->scratchbuf, SPINAND_MAX_ID_LEN); in spinand_read_id_op()
458 memcpy(buf, spinand->scratchbuf, SPINAND_MAX_ID_LEN); in spinand_read_id_op()
1120 spinand->scratchbuf = kzalloc(SPINAND_MAX_ID_LEN, GFP_KERNEL); in spinand_init()
1121 if (!spinand->scratchbuf) in spinand_init()
1215 kfree(spinand->scratchbuf); in spinand_init()
1226 kfree(spinand->scratchbuf); in spinand_cleanup()
H A Dwinbond.c72 spinand->scratchbuf, in w25m02gv_select_target()
75 *spinand->scratchbuf = target; in w25m02gv_select_target()
H A Dgigadevice.c547 spinand->scratchbuf); in gigadevice_spinand_set_ds()
549 *spinand->scratchbuf = (ds_io & 0x3) << 5; in gigadevice_spinand_set_ds()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/
H A Dcore.c27 spinand->scratchbuf); in spinand_read_reg_op()
34 *val = *spinand->scratchbuf; in spinand_read_reg_op()
41 spinand->scratchbuf); in spinand_write_reg_op()
43 *spinand->scratchbuf = val; in spinand_write_reg_op()
499 naddr, ndummy, spinand->scratchbuf, SPINAND_MAX_ID_LEN); in spinand_read_id_op()
504 memcpy(buf, spinand->scratchbuf, SPINAND_MAX_ID_LEN); in spinand_read_id_op()
1182 spinand->scratchbuf = kzalloc(SPINAND_MAX_ID_LEN, GFP_KERNEL); in spinand_init()
1183 if (!spinand->scratchbuf) in spinand_init()
1297 kfree(spinand->scratchbuf); in spinand_init()
1308 kfree(spinand->scratchbuf); in spinand_cleanup()
H A Dwinbond.c71 spinand->scratchbuf, in w25m02gv_select_target()
74 *spinand->scratchbuf = target; in w25m02gv_select_target()
H A Dmicron.c135 spinand->scratchbuf); in micron_select_target()
140 *spinand->scratchbuf = MICRON_SELECT_DIE(target); in micron_select_target()
/OK3568_Linux_fs/u-boot/drivers/usb/dwc3/
H A Dcore.c243 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
245 if (!dwc->scratchbuf) in dwc3_alloc_scratch_buffers()
263 scratch_addr = dma_map_single(dwc->scratchbuf, in dwc3_setup_scratch_buffers()
308 kfree(dwc->scratchbuf); in dwc3_free_scratch_buffers()
H A Dcore.h726 void *scratchbuf; member
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Dcore.c498 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
500 if (!dwc->scratchbuf) in dwc3_alloc_scratch_buffers()
519 if (!WARN_ON(dwc->scratchbuf)) in dwc3_setup_scratch_buffers()
522 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()
566 if (!WARN_ON(dwc->scratchbuf)) in dwc3_free_scratch_buffers()
571 kfree(dwc->scratchbuf); in dwc3_free_scratch_buffers()
H A Dcore.h1118 void *scratchbuf; member
/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/kmod/kmod/
H A D0001-depmod-Add-support-for-excluding-a-directory.patch153 …depmod_modules_search_dir(struct depmod *depmod, DIR *d, size_t baselen, struct scratchbuf *s_path)
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dspinand.h429 u8 *scratchbuf; member
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dspinand.h436 u8 *scratchbuf; member