Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c795 u32 dmacnt; in _nbu2ss_out_dma() local
813 dmacnt = length / mpkt; in _nbu2ss_out_dma()
816 if (dmacnt > DMA_MAX_COUNT) { in _nbu2ss_out_dma()
817 dmacnt = DMA_MAX_COUNT; in _nbu2ss_out_dma()
820 if (dmacnt == 0) in _nbu2ss_out_dma()
822 dmacnt++; in _nbu2ss_out_dma()
828 data = ((dmacnt & 0xff) << 16) | DCR1_EPN_DIR0 | DCR1_EPN_REQEN; in _nbu2ss_out_dma()
836 , (dmacnt << 16)); in _nbu2ss_out_dma()
989 u32 dmacnt; /* IN Data Size */ in _nbu2ss_in_dma() local
1015 dmacnt = i_write_length / mpkt; in _nbu2ss_in_dma()
[all …]
/linux-6.1.9/drivers/tty/serial/8250/
D8250_mtk.c480 int dmacnt; in mtk8250_probe_of() local
504 dmacnt = of_property_count_strings(pdev->dev.of_node, "dma-names"); in mtk8250_probe_of()
505 if (dmacnt == 2) { in mtk8250_probe_of()