Lines Matching defs:count
253 u32 count;
336 struct stm32_mdma_chan *chan, u32 count)
341 desc = kzalloc(offsetof(typeof(*desc), node[count]), GFP_NOWAIT);
345 for (i = 0; i < count; i++) {
353 desc->count = count;
372 for (i = 0; i < desc->count; i++)
689 enum dma_transfer_direction dir, u32 count,
696 u32 next = count + 1;
698 hwdesc = desc->node[count].hwdesc;
721 stm32_mdma_dump_hwdesc(chan, &desc->node[count]);
811 for (i = 0; i < desc->count; i++)
829 u32 ccr, ctcr, ctbr, count;
853 count = buf_len / period_len;
855 desc = stm32_mdma_alloc_desc(chan, count);
883 for (i = 0; i < count; i++) {
894 i == count - 1, i == 0, true);
902 for (i = 0; i < desc->count; i++)
918 u32 ccr, ctcr, ctbr, cbndtr, count, max_burst, mdma_burst;
935 count = DIV_ROUND_UP(len, STM32_MDMA_MAX_BLOCK_LEN);
936 desc = stm32_mdma_alloc_desc(chan, count);
1077 i == count - 1, i == 0, false);
1290 for (i = curr_hwdesc + 1; i < desc->count; i++) {
1409 if (chan->curr_hwdesc == chan->desc->count)
1536 int i, count, ret;
1558 count = device_property_count_u32(&pdev->dev, "st,ahb-addr-masks");
1559 if (count < 0)
1560 count = 0;
1562 dmadev = devm_kzalloc(&pdev->dev, sizeof(*dmadev) + sizeof(u32) * count,
1571 count);
1572 dmadev->nr_ahb_addr_masks = count;