Searched refs:pitch (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-11-stable/sys/dev/speaker/
H A Dspkr.c59 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-stable/sys/dev/drm2/radeon/
H A Dr100_track.h16 unsigned pitch; member in struct:r100_cs_track_cb
40 unsigned pitch; member in struct:r100_cs_track_texture
H A Dradeon_object.c455 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 Dradeon_object.h147 u32 tiling_flags, u32 pitch);
149 u32 *tiling_flags, u32 *pitch);
H A Dr600_cs.c258 /* returns alignment in pixels for pitch/height/depth and bytes for base */
274 /* technically tile_width/_height for pitch/height */
364 u32 height, height_align, pitch, pitch_align, depth_align; local
381 /* pitch in pixels */
382 pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8;
385 height = slice_tile_max / pitch;
423 if (!IS_ALIGNED(pitch, pitch_align)) {
424 dev_warn(p->dev, "%s:%d cb pitch (%d, 0x%x, %d) invalid\n",
425 __func__, __LINE__, pitch, pitch_align, array_mode);
440 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) *
532 u32 pitch = 8192; local
1562 u32 height_align, pitch, pitch_align, depth_align; local
[all...]
H A Devergreen_blit_kms.c47 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 Dr200.c99 /* 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 Dradeon_gem.c417 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 Dr100.c891 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 Dr600_blit_kms.c78 int pitch, slice; local
87 pitch = (w / 8) - 1;
101 radeon_ring_write(ring, (pitch << 0) | (slice << 10));
230 int format, int w, int h, int pitch,
241 sq_tex_resource_word0 |= S_038000_PITCH((pitch >> 3) - 1) |
229 set_tex_resource(struct radeon_device *rdev, int format, int w, int h, int pitch, u64 gpu_addr, u32 size) argument
H A Dradeon_drm.h673 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-stable/sys/teken/
H A Dteken_subr_compat.h75 teken_subr_cons25_set_bell_pitch_duration(teken_t *t, unsigned int pitch, argument
79 teken_funcs_param(t, TP_SETBELLPD, (pitch << 16) |
/freebsd-11-stable/sys/dev/drm/
H A Dvia_verifier.h44 uint32_t pitch[2][10]; member in struct:__anon9858
H A Dvia_verifier.c304 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 Dmach64_drm.h244 int pitch; member in struct:drm_mach64_blit
H A Di915_drm.h66 unsigned int pitch; member in struct:_drm_i915_init
104 int pitch; member in struct:drm_i915_sarea
H A Dmga_drm.h148 unsigned int pitch; member in struct:__anon9788
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_fb_helper.h113 void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
H A Ddrm_mode.h284 __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-stable/sys/arm/nvidia/drm2/
H A Dtegra_bo.c272 args->pitch= (args->width * args->bpp + 7) / 8;
273 args->pitch = roundup(args->pitch, drm->pitch_align);
274 args->size = args->pitch * args->height;
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_mbox_prop.h409 uint32_t pitch; member in struct:bcm2835_mbox_tag_pitch::__anon7237::__anon7239
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 Dbcm2835_fbd.c119 sc->info.fb_stride = fb.pitch;
157 "fbswap: %d, pitch %d, base 0x%08x, screen_size %d\n",
158 sc->fbswap, fb.pitch, fb.base, fb.size);
H A Dbcm2835_mbox.c519 BCM2835_MBOX_INIT_TAG(&msg.pitch, GET_PITCH);
530 fb->pitch = msg.pitch.body.resp.pitch;
/freebsd-11-stable/contrib/groff/src/devices/grolj4/
H A Dlj4.cpp310 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-stable/sys/kern/
H A Dkern_cons.c649 sysbeep(int pitch, int period) argument
658 timer_spkr_setfreq(pitch);
680 sysbeep(int pitch __unused, int period __unused)

Completed in 227 milliseconds

12