/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_tiling.c | 55 * @stride: tiling stride 61 u32 size, unsigned int tiling, unsigned int stride) 70 GEM_BUG_ON(!stride); 73 stride *= i915_gem_tile_height(tiling); 74 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); 75 return roundup(size, stride); 95 * @stride: tiling stride 101 unsigned int tiling, unsigned int stride) [all...] |
i915_gem_tiling.c | 55 * @stride: tiling stride 61 u32 size, unsigned int tiling, unsigned int stride) 70 GEM_BUG_ON(!stride); 73 stride *= i915_gem_tile_height(tiling); 74 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); 75 return roundup(size, stride); 95 * @stride: tiling stride 101 unsigned int tiling, unsigned int stride) [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
mem.c | 138 printf("mem r addr access_byte stride count\n"); 139 printf("mem w addr access_byte stride count value\n"); 140 printf("mem d addr access_byte stride count filename\n"); 141 printf("mem b addr access_byte stride count filename\n"); 142 printf("mem g addr access_byte stride count filename (GA-ROM only)\n"); 147 mem_write(uint32_t dst_addr, uint32_t access, uint32_t stride, 152 printf("write: addr=%p access=%dbyte stride=%dbyte count=%d Y/N?", 153 (void *)dst_addr, access, stride, count); 167 dst_addr += stride, src_addr += stride) { [all...] |
mem.c | 138 printf("mem r addr access_byte stride count\n"); 139 printf("mem w addr access_byte stride count value\n"); 140 printf("mem d addr access_byte stride count filename\n"); 141 printf("mem b addr access_byte stride count filename\n"); 142 printf("mem g addr access_byte stride count filename (GA-ROM only)\n"); 147 mem_write(uint32_t dst_addr, uint32_t access, uint32_t stride, 152 printf("write: addr=%p access=%dbyte stride=%dbyte count=%d Y/N?", 153 (void *)dst_addr, access, stride, count); 167 dst_addr += stride, src_addr += stride) { [all...] |
/src/sys/arch/newsmips/include/ |
wsconsio.h | 11 u_int stride; member in struct:newsmips_wsdisplay_fbinfo
|
wsconsio.h | 11 u_int stride; member in struct:newsmips_wsdisplay_fbinfo
|
/src/sys/arch/amiga/amiga/ |
busfuncs.c | 123 x = * (u_int16_t *) (h + o); /* only used if t->stride == 0 */ 211 * These use single-byte accesses. In case of stride = 0, the contiguous 222 step = 1 << t->stride; 223 q = (volatile u_int8_t *)(h + (o << t->stride)); 235 step = 1 << t->stride; 236 q = (volatile u_int8_t *)(h + (o << t->stride)); 249 step = 1 << t->stride; 250 q = (volatile u_int8_t *)(h + (o << t->stride)); 265 step = 1 << t->stride; 266 q = (volatile u_int8_t *)(h + (o << t->stride)); [all...] |
busfuncs.c | 123 x = * (u_int16_t *) (h + o); /* only used if t->stride == 0 */ 211 * These use single-byte accesses. In case of stride = 0, the contiguous 222 step = 1 << t->stride; 223 q = (volatile u_int8_t *)(h + (o << t->stride)); 235 step = 1 << t->stride; 236 q = (volatile u_int8_t *)(h + (o << t->stride)); 249 step = 1 << t->stride; 250 q = (volatile u_int8_t *)(h + (o << t->stride)); 265 step = 1 << t->stride; 266 q = (volatile u_int8_t *)(h + (o << t->stride)); [all...] |
/src/sys/dev/wsfont/ |
wsfont.h | 38 ((c) - font->firstchar) * font->stride * font->fontheight) 39 #define FONT_IS_ALPHA(f) ((f)->fontwidth <= (f)->stride)
|
wsfont.h | 38 ((c) - font->firstchar) * font->stride * font->fontheight) 39 #define FONT_IS_ALPHA(f) ((f)->fontwidth <= (f)->stride)
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_dumb_buffers.c | 67 u32 cpp, stride, size; local in function:drm_mode_create_dumb 80 stride = cpp * args->width; 81 if (args->height > U32_MAX / stride) 85 size = args->height * stride;
|
drm_dumb_buffers.c | 67 u32 cpp, stride, size; local in function:drm_mode_create_dumb 80 stride = cpp * args->width; 81 if (args->height > U32_MAX / stride) 85 size = args->height * stride;
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_image.c | 64 int height, int stride) 81 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); 111 int stride) 128 chunk_stride = stride; /* TODO: should use linesize, but it renders 145 if (stride == linesize && chunk_stride == stride) { 174 i_data = (void *)data + i * stride; 225 image->u.bitmap.stride = chunk_stride; 239 int depth, int stride) 241 data += y * stride + x * (depth / 8) [all...] |
qxl_image.c | 64 int height, int stride) 81 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); 111 int stride) 128 chunk_stride = stride; /* TODO: should use linesize, but it renders 145 if (stride == linesize && chunk_stride == stride) { 174 i_data = (void *)data + i * stride; 225 image->u.bitmap.stride = chunk_stride; 239 int depth, int stride) 241 data += y * stride + x * (depth / 8) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/ |
hwsq.h | 18 u32 stride; /* in bytes */ member in struct:hwsq_reg 24 hwsq_stride(u32 addr, u32 stride, u32 mask) 30 .stride = stride, 43 .stride = addr2 - addr1, 56 .stride = 0, 108 off += reg->stride;
|
hwsq.h | 18 u32 stride; /* in bytes */ member in struct:hwsq_reg 24 hwsq_stride(u32 addr, u32 stride, u32 mask) 30 .stride = stride, 43 .stride = addr2 - addr1, 56 .stride = 0, 108 off += reg->stride;
|
/src/sys/arch/atari/atari/ |
mainbus.c | 141 #define calc_addr(base, off, stride, wm) \ 142 ((u_long)(base) + ((off) << (stride)) + (wm)) 145 (*((volatile uint8_t *)(calc_addr(h, o, (t)->stride, (t)->wo_1)))) 147 (*((volatile uint16_t *)(calc_addr(h, o, (t)->stride, (t)->wo_2)))) 149 (*((volatile uint32_t *)(calc_addr(h, o, (t)->stride, (t)->wo_4)))) 151 (*((volatile uint64_t *)(calc_addr(h, o, (t)->stride, (t)->wo_8)))) 154 *((volatile uint8_t *)(calc_addr(h, o, (t)->stride, (t)->wo_1))) = v 157 *((volatile uint16_t *)(calc_addr(h, o, (t)->stride, (t)->wo_2))) = v 160 *((volatile uint32_t *)(calc_addr(h, o, (t)->stride, (t)->wo_4))) = v 163 *((volatile uint64_t *)(calc_addr(h, o, (t)->stride, (t)->wo_8))) = [all...] |
mainbus.c | 141 #define calc_addr(base, off, stride, wm) \ 142 ((u_long)(base) + ((off) << (stride)) + (wm)) 145 (*((volatile uint8_t *)(calc_addr(h, o, (t)->stride, (t)->wo_1)))) 147 (*((volatile uint16_t *)(calc_addr(h, o, (t)->stride, (t)->wo_2)))) 149 (*((volatile uint32_t *)(calc_addr(h, o, (t)->stride, (t)->wo_4)))) 151 (*((volatile uint64_t *)(calc_addr(h, o, (t)->stride, (t)->wo_8)))) 154 *((volatile uint8_t *)(calc_addr(h, o, (t)->stride, (t)->wo_1))) = v 157 *((volatile uint16_t *)(calc_addr(h, o, (t)->stride, (t)->wo_2))) = v 160 *((volatile uint32_t *)(calc_addr(h, o, (t)->stride, (t)->wo_4))) = v 163 *((volatile uint64_t *)(calc_addr(h, o, (t)->stride, (t)->wo_8))) = [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
dmabuf.h | 44 __u32 stride; /* stride of plane */ member in struct:intel_vgpu_fb_info
|
dmabuf.h | 44 __u32 stride; /* stride of plane */ member in struct:intel_vgpu_fb_info
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_vma.c | 369 return (r->plane[n].stride * (r->plane[n].height - y - 1) + 419 return (r->plane[n].stride * y + 487 { .width = 1, .height = 1, .stride = 1 }, 488 { .width = 2, .height = 2, .stride = 2 }, 489 { .width = 4, .height = 4, .stride = 4 }, 490 { .width = 8, .height = 8, .stride = 8 }, 492 { .width = 3, .height = 5, .stride = 3 }, 493 { .width = 3, .height = 5, .stride = 4 }, 494 { .width = 3, .height = 5, .stride = 5 }, 496 { .width = 5, .height = 3, .stride = 5 } [all...] |
i915_vma.c | 369 return (r->plane[n].stride * (r->plane[n].height - y - 1) + 419 return (r->plane[n].stride * y + 487 { .width = 1, .height = 1, .stride = 1 }, 488 { .width = 2, .height = 2, .stride = 2 }, 489 { .width = 4, .height = 4, .stride = 4 }, 490 { .width = 8, .height = 8, .stride = 8 }, 492 { .width = 3, .height = 5, .stride = 3 }, 493 { .width = 3, .height = 5, .stride = 4 }, 494 { .width = 3, .height = 5, .stride = 5 }, 496 { .width = 5, .height = 3, .stride = 5 } [all...] |
/src/sys/dev/audio/ |
audiodef.h | 294 return frames * fmt->channels * fmt->stride / NBBY; 337 * This function can be used only if the stride of the 'ring' is equal to 338 * the internal stride. Don't use this for hw buffer. 343 KASSERTMSG(ring->fmt.stride == sizeof(aint_t) * NBBY, 344 "ring->fmt.stride=%d sizeof(aint_t)*NBBY=%zd", 345 ring->fmt.stride, sizeof(aint_t) * NBBY); 352 * This function can be used only if the stride of the 'ring' is equal to 353 * the internal stride. Don't use this for hw buffer. 358 KASSERTMSG(ring->fmt.stride == sizeof(aint_t) * NBBY, 359 "ring->fmt.stride=%d sizeof(aint_t)*NBBY=%zd" [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
ramfuc.h | 19 u32 stride; /* in bytes */ member in struct:ramfuc_reg 25 ramfuc_stride(u32 addr, u32 stride, u32 mask) 30 .stride = stride, 42 .stride = addr2 - addr1, 54 .stride = 0, 103 off += reg->stride;
|
/src/usr.sbin/wsfontload/ |
wsfontload.c | 152 f.stride = 0; 234 if (!f.stride) 235 f.stride = (f.fontwidth + 7) / 8; 236 len = f.fontheight * f.numchars * f.stride; 263 f.stride = le32toh(foo); 268 len = f.numchars * f.fontheight * f.stride; 294 printf("stride: %d\n", f.stride);
|