Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sound/
Dbtaudio.c122 unsigned char *buf_cpu; member
166 if (NULL == bta->buf_cpu) { in alloc_buffer()
169 bta->buf_cpu = pci_alloc_consistent in alloc_buffer()
171 if (NULL != bta->buf_cpu) in alloc_buffer()
174 if (NULL == bta->buf_cpu) in alloc_buffer()
176 memset(bta->buf_cpu,0,bta->buf_size); in alloc_buffer()
190 if (NULL != bta->buf_cpu) { in free_buffer()
192 bta->buf_cpu, bta->buf_dma); in free_buffer()
193 bta->buf_cpu = NULL; in free_buffer()
547 if (copy_to_user(buffer + ret, bta->buf_cpu + bta->read_offset, nsrc)) { in btaudio_dsp_read()
[all …]
/linux-2.4.37.9/drivers/ieee1394/
Dohci1394.c2529 length = (cond_le32_to_cpu(d->buf_cpu[(idx + 1) % d->num_desc] in packet_length()
2564 buf_ptr = d->buf_cpu[idx] + offset/4; in dma_rcv_tasklet()
2618 buf_ptr = d->buf_cpu[idx]; in dma_rcv_tasklet()
2627 buf_ptr = d->buf_cpu[idx]; in dma_rcv_tasklet()
2643 buf_ptr = d->buf_cpu[idx]; in dma_rcv_tasklet()
2843 if (d->buf_cpu) { in free_dma_rcv_ctx()
2845 if (d->buf_cpu[i] && d->buf_bus[i]) { in free_dma_rcv_ctx()
2848 d->buf_cpu[i], d->buf_bus[i]); in free_dma_rcv_ctx()
2851 kfree(d->buf_cpu); in free_dma_rcv_ctx()
2890 d->buf_cpu = kmalloc(d->num_desc * sizeof(quadlet_t*), GFP_KERNEL); in alloc_dma_rcv_ctx()
[all …]
Dohci1394.h101 quadlet_t **buf_cpu; member