Lines Matching defs:len
46 unsigned int len;
311 hw->len = t->len;
332 t->len, DMA_TO_DEVICE);
342 t->len, DMA_FROM_DEVICE);
347 if (t->len > hw->dma_rx_tmpbuf_size) {
351 ret = au1550_spi_dma_rxtmp_alloc(hw, max(t->len,
359 t->len, DMA_FROM_DEVICE);
364 t->len, DMA_BIDIRECTIONAL);
370 t->len, DDMA_FLAGS_IE);
375 t->len, DDMA_FLAGS_IE);
397 dma_sync_single_for_cpu(hw->dev, dma_rx_addr, t->len,
402 dma_unmap_single(hw->dev, dma_rx_addr, t->len,
405 dma_unmap_single(hw->dev, dma_tx_addr, t->len,
437 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch);
438 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch);
459 hw->rx_count = hw->len;
460 hw->tx_count = hw->len;
489 if (hw->tx_count >= hw->len) \
509 hw->len = t->len;
517 while (hw->tx_count < hw->len) {
521 if (hw->tx_count >= hw->len) {
593 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) {
597 if (!(stat & PSC_SPISTAT_TF) && hw->tx_count < hw->len)
627 if (hw->rx_count >= hw->len) {