/freebsd-11.0-release/sys/dev/speaker/ |
H A D | spkr.c | 59 static void playtone(int pitch, int value, int sustain); 202 playtone(int pitch, int value, int sustain) argument 216 if (pitch == -1) 224 (void) printf("playtone: pitch %d for %d ticks, rest for %d ticks\n", 225 pitch, sound, silence); 228 tone(pitchtab[pitch], sound); 240 int pitch, oldfill, lastpitch = OCTAVE_NOTES * DFLT_OCTAVE; local 260 /* compute pitch */ 261 pitch = notetab[c - 'A'] + octave * OCTAVE_NOTES; 265 ++pitch; [all...] |
/freebsd-11.0-release/sys/dev/drm2/radeon/ |
H A D | r100_track.h | 16 unsigned pitch; member in struct:r100_cs_track_cb 40 unsigned pitch; member in struct:r100_cs_track_texture
|
H A D | radeon_object.c | 455 radeon_set_surface_reg(rdev, i, bo->tiling_flags, bo->pitch, 477 uint32_t tiling_flags, uint32_t pitch) 531 bo->pitch = pitch; 538 uint32_t *pitch) 544 if (pitch) 545 *pitch = bo->pitch; 476 radeon_bo_set_tiling_flags(struct radeon_bo *bo, uint32_t tiling_flags, uint32_t pitch) argument 536 radeon_bo_get_tiling_flags(struct radeon_bo *bo, uint32_t *tiling_flags, uint32_t *pitch) argument
|
H A D | radeon_object.h | 147 u32 tiling_flags, u32 pitch); 149 u32 *tiling_flags, u32 *pitch);
|
H A D | radeon_ioc32.c | 149 int pitch; member in struct:drm_radeon_texture32 170 request.pitch = req32->pitch;
|
H A D | r600_cs.c | 260 /* returns alignment in pixels for pitch/height/depth and bytes for base */ 276 /* technically tile_width/_height for pitch/height */ 366 u32 height, height_align, pitch, pitch_align, depth_align; local 383 /* pitch in pixels */ 384 pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8; 387 height = slice_tile_max / pitch; 425 if (!IS_ALIGNED(pitch, pitch_align)) { 426 dev_warn(p->dev, "%s:%d cb pitch (%d, 0x%x, %d) invalid\n", 427 __func__, __LINE__, pitch, pitch_align, array_mode); 442 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) * 534 u32 pitch = 8192; local 1611 u32 height_align, pitch, pitch_align, depth_align; local [all...] |
H A D | evergreen_blit_kms.c | 47 int pitch, slice; local 56 pitch = (w / 8) - 1; 62 radeon_ring_write(ring, pitch); 182 int format, int w, int h, int pitch, 193 sq_tex_resource_word0 |= ((((pitch >> 3) - 1) << 6) | 181 set_tex_resource(struct radeon_device *rdev, int format, int w, int h, int pitch, u64 gpu_addr, u32 size) argument
|
H A D | r200.c | 99 /* radeon pitch is /64 */ 305 track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; 309 track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; 410 track->textures[i].pitch = idx_value + 32;
|
H A D | radeon_gem.c | 417 r = radeon_bo_set_tiling_flags(robj, args->tiling_flags, args->pitch); 438 radeon_bo_get_tiling_flags(rbo, &args->tiling_flags, &args->pitch); 562 args->pitch = radeon_align_pitch(rdev, args->width, args->bpp, 0) * ((args->bpp + 1) / 8); 563 args->size = args->pitch * args->height;
|
H A D | r100.c | 891 uint32_t pitch; local 899 /* radeon pitch is /64 */ 900 pitch = stride_bytes / 64; 933 radeon_ring_write(ring, (pitch << 22) | (src_offset >> 10)); 934 radeon_ring_write(ring, (pitch << 22) | (dst_offset >> 10)); 1816 track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; 1820 track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; 1903 track->textures[i].pitch = idx_value + 32; 2188 DRM_ERROR("pitch %d\n", t->pitch); 3196 r100_set_surface_reg(struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size) argument [all...] |
H A D | r600_blit.c | 51 int pitch, slice; local 60 pitch = (w / 8) - 1; 80 OUT_RING((pitch << 0) | (slice << 10)); 228 int format, int w, int h, int pitch, u64 gpu_addr) 238 sq_tex_resource_word0 |= ((((pitch >> 3) - 1) << 8) | 227 set_tex_resource(drm_radeon_private_t *dev_priv, int format, int w, int h, int pitch, u64 gpu_addr) argument
|
H A D | r600_blit_kms.c | 45 int pitch, slice; local 54 pitch = (w / 8) - 1; 68 radeon_ring_write(ring, (pitch << 0) | (slice << 10)); 197 int format, int w, int h, int pitch, 208 sq_tex_resource_word0 |= S_038000_PITCH((pitch >> 3) - 1) | 196 set_tex_resource(struct radeon_device *rdev, int format, int w, int h, int pitch, u64 gpu_addr, u32 size) argument
|
H A D | radeon_drm.h | 673 int pitch; member in struct:drm_radeon_texture 831 uint32_t pitch; member in struct:drm_radeon_gem_set_tiling 837 uint32_t pitch; member in struct:drm_radeon_gem_get_tiling
|
/freebsd-11.0-release/sys/dev/drm/ |
H A D | via_verifier.h | 44 uint32_t pitch[2][10]; member in struct:__anon9854
|
H A D | via_verifier.c | 304 uint32_t *addr, *pitch, *height, tex; local 315 pitch = &(cur_seq->pitch[tex][start]); 323 tmp += (*height++ * *pitch++); 325 tmp += (*height++ << *pitch++); 450 cur_seq->pitch[cur_seq->texture][tmp] = 454 cur_seq->pitch[cur_seq->texture][tmp] = 459 ("Unimplemented texture level 0 pitch mode.\n"); 473 * Texture width. We don't care since we have the pitch.
|
H A D | mach64_drm.h | 244 int pitch; member in struct:drm_mach64_blit
|
H A D | i915_drm.h | 66 unsigned int pitch; member in struct:_drm_i915_init 104 int pitch; member in struct:drm_i915_sarea
|
/freebsd-11.0-release/sys/teken/ |
H A D | teken_subr_compat.h | 82 teken_subr_cons25_set_bell_pitch_duration(teken_t *t, unsigned int pitch, argument 86 teken_funcs_param(t, TP_SETBELLPD, (pitch << 16) |
|
/freebsd-11.0-release/sys/dev/drm2/ |
H A D | drm_fb_helper.h | 113 void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
|
H A D | drm_mode.h | 284 __u32 pitch; member in struct:drm_mode_fb_cmd 302 * The pitch and offset order is dictated by the fourcc, 314 __u32 pitches[4]; /* pitch for each plane */ 442 /* handle, pitch, size will be returned */ 444 uint32_t pitch; member in struct:drm_mode_create_dumb
|
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox_prop.h | 409 uint32_t pitch; member in struct:bcm2835_mbox_tag_pitch::__anon7233::__anon7235 464 uint32_t pitch; member in struct:bcm2835_fb_config 485 struct bcm2835_mbox_tag_pitch pitch; member in struct:msg_fb_setup
|
H A D | bcm2835_fbd.c | 113 sc->info.fb_stride = fb.pitch; 147 "fbswap: %d, pitch %d, base 0x%08x, screen_size %d\n", 148 sc->fbswap, fb.pitch, fb.base, fb.size);
|
H A D | bcm2835_mbox.c | 513 BCM2835_MBOX_INIT_TAG(&msg.pitch, GET_PITCH); 524 fb->pitch = msg.pitch.body.resp.pitch;
|
/freebsd-11.0-release/contrib/groff/src/devices/grolj4/ |
H A D | lj4.cpp | 310 double pitch = double(font::res)/w; local 311 // PCL uses the next largest pitch, so round it down. 312 pitch = floor(pitch*100.0)/100.0; 313 printf("\033(s%.2fH", pitch);
|
/freebsd-11.0-release/sys/kern/ |
H A D | kern_cons.c | 636 sysbeep(int pitch, int period) argument 645 timer_spkr_setfreq(pitch); 667 sysbeep(int pitch __unused, int period __unused)
|