Lines Matching refs:ltdmabuf
258 static unsigned char *ltdmabuf; variable
404 set_dma_addr(dma,virt_to_bus(ltdmabuf)); in handlefd()
428 set_dma_addr(dma,virt_to_bus(ltdmabuf)); in handlewrite()
457 set_dma_addr(dma,virt_to_bus(ltdmabuf)); in handleread()
615 memcpy(ltdmabuf,q->dbuf,q->dbuflen); in idle()
623 memcpy(q->dbuf,ltdmabuf,q->dbuflen); in idle()
626 mailbox[ 0x0f & ltdmabuf[0] ] = ltdmabuf[1]; in idle()
777 skb_copy_to_linear_data(skb, ltdmabuf, len); in sendup_buffer()
951 set_dma_addr(1,virt_to_bus(ltdmabuf)); in ltpc_probe_dma()
965 set_dma_addr(3,virt_to_bus(ltdmabuf)); in ltpc_probe_dma()
975 ltdmabuf[0] = LT_READMEM; in ltpc_probe_dma()
976 ltdmabuf[1] = 1; /* mailbox */ in ltpc_probe_dma()
977 ltdmabuf[2] = 0; ltdmabuf[3] = 0; /* address */ in ltpc_probe_dma()
978 ltdmabuf[4] = 0; ltdmabuf[5] = 1; /* read 0x0100 bytes */ in ltpc_probe_dma()
979 ltdmabuf[6] = 0; /* dunno if this is necessary */ in ltpc_probe_dma()
1077 ltdmabuf = (unsigned char *) dma_mem_alloc(1000); in ltpc_probe()
1078 if (!ltdmabuf) { in ltpc_probe()
1084 ltdmacbuf = <dmabuf[800]; in ltpc_probe()
1087 printk("ltdmabuf pointer %08lx\n",(unsigned long) ltdmabuf); in ltpc_probe()
1137 set_dma_addr(dma,virt_to_bus(ltdmabuf)); in ltpc_probe()
1183 free_pages((unsigned long)ltdmabuf, get_order(1000)); in ltpc_probe()
1273 free_pages( (unsigned long) ltdmabuf, get_order(1000)); in ltpc_cleanup()