Searched refs:sp_buff_size (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 158 int sp_buff_size; in scratchpad_setup() local 162 sp_buff_size = BDC_SPB(bdc_readl(bdc->regs, BDC_BDCCFG0)); in scratchpad_setup() 163 dev_dbg(bdc->dev, "%s() sp_buff_size=%d\n", __func__, sp_buff_size); in scratchpad_setup() 164 if (!sp_buff_size) { in scratchpad_setup() 169 sp_buff_size = 1 << (sp_buff_size + 5); in scratchpad_setup() 170 dev_dbg(bdc->dev, "Allocating %d bytes for scratchpad\n", sp_buff_size); in scratchpad_setup() 171 bdc->scratchpad.buff = dma_alloc_coherent(bdc->dev, sp_buff_size, in scratchpad_setup() 178 bdc->sp_buff_size = sp_buff_size; in scratchpad_setup() 179 bdc->scratchpad.size = sp_buff_size; in scratchpad_setup() 287 memset(bdc->scratchpad.buff, 0, bdc->sp_buff_size); in bdc_mem_init() [all …]
|
D | bdc.h | 423 u32 sp_buff_size; member
|