Home
last modified time | relevance | path

Searched refs:seg_max (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/dma/
Dste_dma40_ll.c189 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE << min_w, 1 << max_w); in d40_seg_size() local
191 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_seg_size()
192 seg_max -= (1 << max_w); in d40_seg_size()
194 if (size <= seg_max) in d40_seg_size()
197 if (size <= 2 * seg_max) in d40_seg_size()
200 return seg_max; in d40_seg_size()
Dste_dma40.c686 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE << min_w, 1 << max_w); in d40_size_2_dmalen() local
688 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_size_2_dmalen()
689 seg_max -= (1 << max_w); in d40_size_2_dmalen()
694 if (size <= seg_max) in d40_size_2_dmalen()
697 dmalen = size / seg_max; in d40_size_2_dmalen()
698 if (dmalen * seg_max < size) in d40_size_2_dmalen()
/linux-2.6.39/include/linux/
Dvirtio_blk.h28 __u32 seg_max; member
/linux-2.6.39/drivers/block/
Dvirtio_blk.c309 offsetof(struct virtio_blk_config, seg_max), in virtblk_probe()
/linux-2.6.39/Documentation/lguest/
Dlguest.c1749 conf.seg_max = cpu_to_le32(VIRTQUEUE_NUM - 2); in setup_block_file()