Lines Matching refs:buffer
264 * @buffer: Buffer used if we don't have the r/w proof capability. We
266 * one buffer for the full transaction.
267 * @buf_size: size of the buffer.
268 * @buf_phys_addr: buffer address needed for pdc.
347 unsigned int *buffer;
882 * Configure given PDC buffer taking care of alignement issues.
932 * Configure PDC buffer according to the data size ie configuring one or two
934 * buffer. In this case, use atmci_pdc_set_single_buf.
972 host->buffer[i] = swab32(host->buffer[i]);
974 host->buffer, transfer_size);
1121 host->buffer, host->data_size);
1124 host->buffer[i] = swab32(host->buffer[i]);
2143 dev_dbg(&host->pdev->dev, "IRQ: tx buffer empty\n");
2148 * the second pdc buffer, so we need to reconfigure first and
2159 dev_dbg(&host->pdev->dev, "IRQ: end of tx buffer\n");
2170 dev_dbg(&host->pdev->dev, "IRQ: rx buffer full\n");
2175 * the second pdc buffer, so we need to reconfigure first and
2186 dev_dbg(&host->pdev->dev, "IRQ: end of rx buffer\n");
2595 host->buffer = dma_alloc_coherent(&pdev->dev, host->buf_size,
2598 if (!host->buffer) {
2600 dev_err(&pdev->dev, "buffer allocation failed\n");
2640 if (host->buffer)
2642 host->buffer, host->buf_phys_addr);