Home
last modified time | relevance | path

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

/drivers/gpu/drm/lima/
Dlima_drv.c294 size_t max_off = reader->base + src_size; in lima_read_block() local
296 if (reader->off < max_off) { in lima_read_block()
297 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block()
308 reader->base = max_off; in lima_read_block()
/drivers/gpu/drm/
Ddrm_fb_helper.c709 unsigned long start, end, min_off, max_off, total_size; in drm_fb_helper_deferred_io() local
714 max_off = 0; in drm_fb_helper_deferred_io()
719 max_off = max(max_off, end); in drm_fb_helper_deferred_io()
731 max_off = min(max_off, total_size); in drm_fb_helper_deferred_io()
733 if (min_off < max_off) { in drm_fb_helper_deferred_io()
734 drm_fb_helper_memory_range_to_clip(info, min_off, max_off - min_off, &damage_area); in drm_fb_helper_deferred_io()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c754 u16 max_off = 0; in mthca_setup_cmd_doorbells() local
758 max_off = max(max_off, dev->cmd.dbell_offsets[i]); in mthca_setup_cmd_doorbells()
760 if ((base & PAGE_MASK) != ((base + max_off) & PAGE_MASK)) { in mthca_setup_cmd_doorbells()
763 (unsigned long long) base, max_off); in mthca_setup_cmd_doorbells()
769 dev->cmd.dbell_map = ioremap(addr, max_off + sizeof(u32)); in mthca_setup_cmd_doorbells()