Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-pic32-sqi.c136 #define PESQI_BD_COUNT 256 /* max 64KB data per spi message */ macro
462 sizeof(*bd) * PESQI_BD_COUNT, in ring_desc_ring_alloc()
470 sqi->ring = kcalloc(PESQI_BD_COUNT, sizeof(*rdesc), GFP_KERNEL); in ring_desc_ring_alloc()
473 sizeof(*bd) * PESQI_BD_COUNT, in ring_desc_ring_alloc()
484 for (i = 0, rdesc = sqi->ring; i < PESQI_BD_COUNT; i++, rdesc++) { in ring_desc_ring_alloc()
492 for (i = 0, rdesc = sqi->ring; i < PESQI_BD_COUNT - 1; i++) in ring_desc_ring_alloc()
494 bd[PESQI_BD_COUNT - 1].bd_nextp = 0; in ring_desc_ring_alloc()
502 sizeof(struct buf_desc) * PESQI_BD_COUNT, in ring_desc_ring_free()