/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...] |
/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...] |
/src/sys/arch/newsmips/include/ |
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...] |
/src/sys/dev/wsfont/ |
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;
|
/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...] |
/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;
|
/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...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
dmabuf.h | 44 __u32 stride; /* stride of plane */ member in struct:intel_vgpu_fb_info
|
fb_decoder.c | 157 u32 stride = stride_reg; local in function:intel_vgpu_get_stride 162 stride = stride_reg * 64; 165 stride = stride_reg * 512; 168 stride = stride_reg * 128; 172 stride = stride_reg * 64; 174 stride = stride_reg * 128; 184 return stride; 263 plane->stride = intel_vgpu_get_stride(vgpu, pipe, plane->tiled, 490 plane->stride = vgpu_vreg_t(vgpu, SPRSTRIDE(pipe)) &
|
dmabuf.c | 232 unsigned int stride = 0; local in function:vgpu_create_gem 240 stride = info->stride; 245 stride = info->stride; 251 obj->tiling_and_stride = tiling_mode | stride; 287 info->stride = p.stride; 317 info->stride = c.width * (c.bpp / 8); 335 info->size = info->stride * roundup(info->height, tile_height) [all...] |
fb_decoder.h | 118 u32 stride; /* in bytes */ member in struct:intel_vgpu_primary_plane_format 135 u32 stride; /* in bytes */ member in struct:intel_vgpu_sprite_plane_format
|
/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...] |
/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...] |
audiofil.h | 65 * precision <= stride always holds. 70 u_int stride; /* container bits of a sample */ member in struct:__anon2fcf15ed0108
|
/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);
|
/src/sys/arch/atari/dev/ |
wdc_mb.c | 100 wdr.cmd_iot->stride = 0; 156 wdr->cmd_iot->stride = 0; 262 #define calc_addr(base, off, stride, wm) \ 263 ((u_long)(base) + ((off) << (stride)) + (wm)) 271 ba = (volatile uint16_t *)calc_addr(h, o, t->stride, t->wo_2); 282 ba = (volatile uint16_t *)calc_addr(h, o, t->stride, t->wo_2);
|
/src/sys/arch/arc/arc/ |
bus_space.c | 111 int stride = 1 << __CONCAT(bst->bs_stride_,BYTES); \ 118 p += stride; \ 194 int stride = 1 << __CONCAT(bst->bs_stride_,BYTES); \ 201 p += stride; \ 253 int stride = 1 << __CONCAT(bst->bs_stride_,BYTES); \ 260 p += stride; \ 285 int stride = 1 << __CONCAT(bst->bs_stride_,BYTES); \ 296 for (offset = 0; count > 0; --count, offset += stride) \ 301 - stride; \ 302 for (; count > 0; --count, offset -= stride) \ [all...] |
/src/sys/arch/powerpc/oea/ |
ofw_rascons.c | 185 int char_width, char_height, stride; local in function:copy_rom_font 213 stride = (char_width + 7) >> 3; 214 size = stride * char_height * 96; 225 openfirm6x11.stride = stride;
|
/src/sys/arch/mac68k/mac68k/ |
bus_space.c | 79 hp->stride = 1; 306 if (h->stride == 1) { 328 int stride) 330 h->stride = stride; 377 return (*(volatile u_int8_t *)(h->base + offset * h->stride)); 400 v = (*(volatile u_int8_t *)(h->base + offset++ * h->stride)) << 8; 401 v |= (*(volatile u_int8_t *)(h->base + offset * h->stride)); 437 v = (*(volatile u_int8_t *)(h->base + offset++ * h->stride)); 439 v |= (*(volatile u_int8_t *)(h->base + offset++ * h->stride)); [all...] |
/src/sys/dev/ic/ |
i128.c | 45 i128_init(bus_space_tag_t tag, bus_space_handle_t regh, int stride, int depth) 69 bus_space_write_4(tag, regh, DE_SPTCH, stride); 70 bus_space_write_4(tag, regh, DE_DPTCH, stride);
|
/src/sys/dev/i2c/ |
ssdfb_i2c.c | 209 uint8_t frompage, uint8_t topage, uint8_t *p, size_t stride, bool usepoll) 257 p, stride, usepoll); 263 uint8_t frompage, uint8_t topage, uint8_t *p, size_t stride, bool usepoll) 296 p += stride; 306 uint8_t frompage, uint8_t topage, uint8_t *p, size_t stride, bool usepoll) 335 p += stride; 352 uint8_t frompage, uint8_t topage, uint8_t *p, size_t stride, bool usepoll) 412 p += stride;
|
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
virtgpu_drm.h | 98 __u32 stride; /* validate transfer in the host */ member in struct:drm_virtgpu_resource_create 105 __u32 stride; member in struct:drm_virtgpu_resource_info
|