/src/sys/arch/acorn32/podulebus/ |
ptsc.c | 390 int len, prelen, postlen, max_t, n; 434 max_t = PAGE_SIZE - (pa & PGOFSET); 435 if (max_t > len) 436 max_t = len; 438 max_t &= ~3; 441 sc->sc_chain[n-1].len += max_t; 443 set_link(n, pa, max_t, SFAS_CHAIN_DMA); 445 lastpa = pa+max_t; 447 ptr += max_t; 448 len -= max_t; [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_temp.c | 55 s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); 56 s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); 57 s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); 58 s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2);
|
nouveau_nvkm_subdev_therm_fan.c | 50 target = max_t(u8, target, fan->bios.min_duty);
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_draw.c | 172 right = max_t(int, right, (int)clips_ptr->x2); 174 bottom = max_t(int, bottom, (int)clips_ptr->y2);
|
/src/sys/external/bsd/common/include/linux/ |
kernel.h | 89 #define max_t(T, X, Y) MAX((T)(X), (T)(Y)) macro 92 #define clamp_t(T, X, MIN, MAX) min_t(T, max_t(T, X, MIN), MAX)
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
si_dpm.h | 79 u32 max_t; member in struct:si_dte_data
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
intel_memory_region.c | 181 target = max_t(u64, PAGE_SIZE, target); 496 sz = max_t(u32, 2 * PAGE_SIZE, sz); 546 align = max_t(u32, sizeof(u32), rounddown_pow_of_two(align));
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_blit.c | 269 rect->x2 = max_t(int, rect->x2, offs + 1); 271 rect->y2 = max_t(int, rect->y2, diff->line + 1);
|
vmwgfx_fb.c | 225 dst_x1 = max_t(s32, dst_x1, 0); 226 dst_y1 = max_t(s32, dst_y1, 0); 234 w = max_t(s32, 0, w); 235 h = max_t(s32, 0, h);
|
vmwgfx_stdu.c | 482 ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2); 483 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); 555 ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2); 556 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); 778 sdirty->right = max_t(s32, sdirty->right, dirty->unit_x2); 779 sdirty->bottom = max_t(s32, sdirty->bottom, dirty->unit_y2);
|
vmwgfx_surface.c | 1915 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; 1955 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; 2104 num_samples = max_t(u32, 1, srf->multisample_count);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/ |
nouveau_nvkm_subdev_mmu_umem.c | 203 page = max_t(u8, page, PAGE_SHIFT);
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
svga3d_surfacedefs.h | 1138 size.width = max_t(u32, base_level.width >> mip_level, 1); 1139 size.height = max_t(u32, base_level.height >> mip_level, 1); 1140 size.depth = max_t(u32, base_level.depth >> mip_level, 1); 1256 total_size *= max_t(u32, 1, num_samples);
|
/src/sys/dev/pci/cxgb/ |
cxgb_osdep.h | 275 #define max_t(type, a, b) (type)uimax((a), (b)) macro
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_color_mgmt.c | 429 struct drm_prop_enum_list enum_list[max_t(int, DRM_COLOR_ENCODING_MAX,
|
drm_fb_helper.c | 668 clip->x2 = max_t(u32, clip->x2, x + width); 669 clip->y2 = max_t(u32, clip->y2, y + height); 1618 sizes.surface_width = max_t(u32, desired_mode->hdisplay + x, sizes.surface_width); 1619 sizes.surface_height = max_t(u32, desired_mode->vdisplay + y, sizes.surface_height);
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_internal.c | 137 max_segment = max_t(unsigned int, max_segment,
|
i915_gem_domain.c | 364 vma->display_alignment = max_t(u64, vma->display_alignment, alignment);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
nouveau_nvkm_subdev_fb_ramgt215.c | 381 max_t(u8,T(18), 1) << 16 | 397 max_t(u8,T(RCDRD), T(RCDWR)) << 16 | 398 max_t(u8, (T(CWL) + 6), (T(CL) + 2)) << 8 | 401 max_t(u8, 1, (6 - T(CL) + T(CWL))) << 8 |
|
nouveau_nvkm_subdev_fb_ramnv50.c | 110 max_t(s8, T(CWL) - 2, 1) << 8 | 116 max_t(u8, T(18), 1) << 16 | 131 max_t(u8, T(RCDRD), T(RCDWR)) << 16 |
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_bw.c | 229 ct = max_t(int, sp->t_rc, sp->t_rp + sp->t_rcd +
|
/src/sys/external/bsd/ena-com/ |
ena_plat.h | 197 #define max_t(type, _x, _y) ((type)(_x) > (type)(_y) ? (type)(_x) : (type)(_y)) macro
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_svm.c | 669 start = max_t(u64, start, svmm->unmanaged.limit); 690 start = max_t(u64, start, vma->vm_start);
|
/src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
vbox_mode.c | 165 width = max_t(u16, width, vbox_crtc->x_hint + 167 height = max_t(u16, height, vbox_crtc->y_hint +
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_vma.c | 703 size = max_t(typeof(size), size, vma->fence_size); 704 alignment = max_t(typeof(alignment),
|