Searched refs:scratchbuf (Results 1 – 4 of 4) sorted by relevance
25 spinand->scratchbuf); in spinand_read_reg_op()32 *val = *spinand->scratchbuf; in spinand_read_reg_op()39 spinand->scratchbuf); in spinand_write_reg_op()41 *spinand->scratchbuf = val; in spinand_write_reg_op()375 struct spi_mem_op op = SPINAND_READID_OP(0, spinand->scratchbuf, in spinand_read_id_op()381 memcpy(buf, spinand->scratchbuf, SPINAND_MAX_ID_LEN); in spinand_read_id_op()965 spinand->scratchbuf = kzalloc(SPINAND_MAX_ID_LEN, GFP_KERNEL); in spinand_init()966 if (!spinand->scratchbuf) in spinand_init()1064 kfree(spinand->scratchbuf); in spinand_init()1075 kfree(spinand->scratchbuf); in spinand_cleanup()
70 spinand->scratchbuf, in w25m02gv_select_target()73 *spinand->scratchbuf = target; in w25m02gv_select_target()
445 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()447 if (!dwc->scratchbuf) in dwc3_alloc_scratch_buffers()466 if (!WARN_ON(dwc->scratchbuf)) in dwc3_setup_scratch_buffers()469 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()513 if (!WARN_ON(dwc->scratchbuf)) in dwc3_free_scratch_buffers()518 kfree(dwc->scratchbuf); in dwc3_free_scratch_buffers()
1039 void *scratchbuf; member