Searched refs:dmap (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Ddmabuf.c44 static long dmabuf_timeout(struct dma_buffparms *dmap) argument
48 tmout = (dmap->fragment_size * HZ) / dmap->data_rate;
57 static int sound_alloc_dmap(struct dma_buffparms *dmap) argument
64 dmap->mapping_flags &= ~DMA_MAP_MAPPED;
66 if (dmap->raw_buf != NULL)
70 dma_pagesize = (dmap->dma < 4) ? (64 * 1024) : (128 * 1024);
79 dmap->raw_buf = NULL;
80 dmap->buffsize = dma_buffsize;
81 if (dmap
123 sound_free_dmap(struct dma_buffparms *dmap) argument
148 sound_start_dma(struct dma_buffparms *dmap, unsigned long physaddr, int count, int dma_mode) argument
167 dma_init_buffers(struct dma_buffparms *dmap) argument
184 open_dmap(struct audio_operations *adev, int mode, struct dma_buffparms *dmap) argument
216 close_dmap(struct audio_operations *adev, struct dma_buffparms *dmap) argument
337 struct dma_buffparms *dmap = adev->dmap_out; local
382 struct dma_buffparms *dmap = adev->dmap_in; local
397 DMAbuf_launch_output(int dev, struct dma_buffparms *dmap) argument
430 struct dma_buffparms *dmap; local
480 struct dma_buffparms *dmap; local
514 DMAbuf_activate_recording(int dev, struct dma_buffparms *dmap) argument
556 struct dma_buffparms *dmap = adev->dmap_in; local
611 struct dma_buffparms *dmap = adev->dmap_in; local
631 DMAbuf_get_buffer_pointer(int dev, struct dma_buffparms *dmap, int direction) argument
712 struct dma_buffparms *dmap = adev->dmap_out; local
749 struct dma_buffparms *dmap = adev->dmap_out; local
783 struct dma_buffparms *dmap = adev->dmap_out; local
829 struct dma_buffparms *dmap = adev->dmap_out; local
861 struct dma_buffparms *dmap = adev->dmap_out; local
916 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; local
932 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; local
948 finish_output_interrupt(int dev, struct dma_buffparms *dmap) argument
961 struct dma_buffparms *dmap = adev->dmap_out; local
1030 struct dma_buffparms *dmap = adev->dmap_out; local
1064 struct dma_buffparms *dmap = adev->dmap_in; local
1130 struct dma_buffparms *dmap = adev->dmap_in; local
1198 struct dma_buffparms *dmap = adev->dmap_in; local
1227 struct dma_buffparms *dmap = adev->dmap_out; local
[all...]
H A Daudio.c139 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; local
141 if (dmap->fragment_size <= 0)
143 dmap->flags |= DMA_POST;
147 if ((l = dmap->user_counter % dmap->fragment_size) > 0)
150 unsigned long offs = dmap->user_counter % dmap->bytes_in_use;
152 len = dmap->fragment_size - l;
153 memset(dmap->raw_buf + offs, dmap
372 struct dma_buffparms *dmap; local
536 reorganize_buffers(int dev, struct dma_buffparms *dmap, int recording) argument
664 dma_subdivide(int dev, struct dma_buffparms *dmap, int fact) argument
686 dma_set_fragment(int dev, struct dma_buffparms *dmap, int fact) argument
742 struct dma_buffparms *dmap; local
[all...]
H A Dsound_calls.h20 int DMAbuf_activate_recording (int dev, struct dma_buffparms *dmap);
21 int DMAbuf_get_buffer_pointer (int dev, struct dma_buffparms *dmap, int direction);
22 void DMAbuf_launch_output(int dev, struct dma_buffparms *dmap);
39 void reorganize_buffers (int dev, struct dma_buffparms *dmap, int recording);
H A Dsoundcard.c422 struct dma_buffparms *dmap = NULL; local
434 dmap = audio_devs[dev]->dmap_out;
436 dmap = audio_devs[dev]->dmap_in;
443 if (dmap == NULL) {
444 printk(KERN_ERR "Sound: mmap() error. dmap == NULL\n");
448 if (dmap->raw_buf == NULL) {
453 if (dmap->mapping_flags) {
465 if (size != dmap->bytes_in_use) {
466 printk(KERN_WARNING "Sound: mmap() size = %ld. Should be %d\n", size, dmap->bytes_in_use);
469 virt_to_phys(dmap
[all...]
H A Dvidc.c307 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; local
311 dma_start = buf - (unsigned long)dmap->raw_buf_phys + (unsigned long)dmap->raw_buf;
H A Ddev_table.h368 extern int sound_map_buffer (int dev, struct dma_buffparms *dmap, buffmem_desc *info);
370 void sound_dma_intr (int dev, struct dma_buffparms *dmap, int chan);
H A Dnm256_audio.c1484 struct dma_buffparms *dmap = adev->dmap_out; local
1486 (char *)(physbuf - (unsigned long)dmap->raw_buf_phys
1487 + (unsigned long)dmap->raw_buf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/
H A Djfs_dmap.c34 * 1) allocation and free requests that start at the dmap
35 * level and move up through the dmap control pages (i.e.
38 * 2) allocation requests that start at dmap control page
45 * as it works it way up from a single dmap to the required level
46 * of dmap control page.
55 * in addition to information found in dmaps and dmap control pages,
74 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
83 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
85 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
88 static int dbAllocDmap(struct bmap * bmp, struct dmap * d
[all...]
H A Djfs_dmap.h24 #define TREESIZE (256+64+16+4+1) /* size of a dmap tree */
25 #define LEAFIND (64+16+4+1) /* index of 1st leaf of a dmap tree */
26 #define LPERDMAP 256 /* num leaves per dmap tree */
27 #define L2LPERDMAP 8 /* l2 number of leaves per dmap tree */
31 #define BPERDMAP (LPERDMAP * DBWORD) /* num of blks per dmap */
32 #define L2BPERDMAP 13 /* l2 num of blks per dmap */
75 * convert disk block number to the logical block number of the dmap
78 * The calculation figures out how many logical pages are in front of the dmap.
82 * - 3 is added to account for the L2, L1, and L0 page for this dmap
94 * - the number of dmap page
160 struct dmap { struct
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dbmac.c138 dbdma_continue(volatile struct dbdma_regs __iomem *dmap) argument
140 dbdma_st32(&dmap->control,
146 dbdma_reset(volatile struct dbdma_regs __iomem *dmap) argument
148 dbdma_st32(&dmap->control,
151 while (dbdma_ld32(&dmap->status) & RUN)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/dlm/
H A Ddlmdomain.c61 static inline void byte_copymap(u8 dmap[], unsigned long smap[], argument
69 memset(dmap, 0, ((sz + 7) >> 3));
72 byte_set_bit(nn, dmap);

Completed in 143 milliseconds