Lines Matching refs:ossfragsize
311 unsigned ossfragsize; member
925 if (dmabuf->ossfragsize == 0) in alloc_dmabuf()
926 dmabuf->ossfragsize = (PAGE_SIZE << DMABUF_DEFAULTORDER) / dmabuf->ossmaxfrags; in alloc_dmabuf()
927 size = dmabuf->ossfragsize * dmabuf->ossmaxfrags; in alloc_dmabuf()
1016 dmabuf->userfragsize = dmabuf->ossfragsize; in prog_dmabuf()
1017 dmabuf->userfrags = dmabuf->dmasize / dmabuf->ossfragsize; in prog_dmabuf()
2273 dmabuf->ossfragsize = 1 << (val & 0xffff); in ali_ioctl()
2275 if (!dmabuf->ossfragsize || !dmabuf->ossmaxfrags) in ali_ioctl()
2280 if (dmabuf->ossfragsize < 256) in ali_ioctl()
2281 dmabuf->ossfragsize = 256; in ali_ioctl()
2282 else if (dmabuf->ossfragsize > 4096) in ali_ioctl()
2283 dmabuf->ossfragsize = 4096; in ali_ioctl()
2305 val = dmabuf->ossfragsize * dmabuf->ossmaxfrags; in ali_ioctl()
2317 dmabuf->ossfragsize, dmabuf->ossmaxfrags); in ali_ioctl()
2871 dmabuf->ossfragsize = 0; in ali_open()