HomeSort by: relevance | last modified time | path
    Searched refs:pitch (Results 1 - 25 of 155) sorted by relevancy

1 2 3 4 5 6 7

  /src/sys/dev/wscons/
wsbelldata.h 40 (dstp)->pitch = ((srcp)->which & WSKBD_BELL_DOPITCH) ? \
41 (srcp)->pitch : (dfltp)->pitch; \
wsbellvar.h 35 u_int pitch; member in struct:vbell_args
  /src/sys/arch/sandpoint/isa/
isaclock.c 161 sysbeep(int pitch, int period)
175 if (pitch == 0 || period == 0) {
180 if (!beeping || last_pitch != pitch) {
184 isa_outb(IO_TIMER1 + TIMER_CNTR2, TIMER_DIV(pitch) % 256);
185 isa_outb(IO_TIMER1 + TIMER_CNTR2, TIMER_DIV(pitch) / 256);
189 last_pitch = pitch;
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_dumb.c 45 uint32_t pitch, format; local in function:qxl_mode_dumb_create
47 pitch = args->width * ((args->bpp + 1) / 8);
48 args->size = pitch * args->height;
64 surf.stride = pitch;
73 args->pitch = pitch;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/
nouveau_nvkm_subdev_fb_nv10.c 35 nv10_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch,
40 tile->pitch = pitch;
48 tile->pitch = 0;
57 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch);
nouveau_nvkm_subdev_fb_nv46.c 35 nv46_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch,
45 tile->pitch = pitch;
nouveau_nvkm_subdev_fb_nv44.c 35 nv44_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch,
41 tile->pitch = pitch;
49 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch);
nouveau_nvkm_subdev_fb_nv20.c 35 nv20_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch,
40 tile->pitch = pitch;
69 tile->pitch = 0;
79 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch);
priv.h 29 u32 pitch, u32 flags, struct nvkm_fb_tile *);
49 u32 pitch, u32 flags, struct nvkm_fb_tile *);
55 u32 pitch, u32 flags, struct nvkm_fb_tile *);
61 u32 pitch, u32 flags, struct nvkm_fb_tile *);
73 u32 pitch, u32 flags, struct nvkm_fb_tile *);
  /src/sys/arch/atari/dev/
kbdreg.h 52 u_int pitch; /* pitch of bell (10-20000) */ member in struct:kbdbell
  /src/sys/dev/audio/
audiobell.c 94 * pitch is the pitch of the bell in Hz,
100 audiobell(void *dev, u_int pitch, u_int period, u_int volume, int poll)
141 /* Limit pitch */
142 if (pitch < 20)
143 pitch = 20;
146 if (pitch <= mixer_sample_rate / 16) {
149 } else if (pitch <= mixer_sample_rate / 8) {
152 } else if (pitch <= mixer_sample_rate / 4) {
157 if (pitch > mixer_sample_rate / 2
    [all...]
  /src/sys/arch/arm/footbridge/isa/
sysbeep_isa.c 70 sysbeep(int pitch, int period)
73 pcppi_bell(ppicookie, pitch, period, 0);
  /src/sys/arch/prep/isa/
isabeep.c 75 isabeep(int pitch, int period)
79 pcppi_bell(ppicookie, pitch, period, 0);
  /src/sys/arch/x68k/include/
kbio.h 59 int pitch; member in struct:kbiocbell
opmbellio.h 73 int pitch; member in struct:bell_info
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
nouveau_nvkm_engine_gr_nv44.c 49 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch);
58 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch);
61 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch);
66 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch);
69 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch);
  /src/sys/arch/x68k/usr.bin/bellctrl/
bellctrl.c 70 /* set pitch to default */
83 /* set pitch to default */
105 /* if pitch is given */
180 set_bell_pitch(int pitch)
182 values.pitch = pitch;
231 if (values.pitch == DEFAULT)
232 values.pitch = param.pitch;
249 fprintf(stderr, " To set bell volume, pitch and duration:\n")
    [all...]
  /src/sys/dev/ic/
attimer.c 32 * This code only allows control over the pitch of the speaker (pcppi(4)).
118 attimer_set_pitch(device_t dev, int pitch)
125 TIMER_DIV(pitch) % 256);
127 TIMER_DIV(pitch) / 256);
  /src/sys/external/bsd/drm2/dist/drm/via/
via_verifier.h 43 uint32_t pitch[2][10]; member in struct:__anonc9d94a0e0208
  /src/sys/dev/
spkr.c 232 int pitch; local in function:playstring
260 /* compute pitch */
261 pitch = notetab[c - 'A'] + sc->sc_octave * OCTAVE_NOTES;
265 ++pitch;
269 --pitch;
281 int d = abs(pitch - lastpitch);
282 if (d > abs(pitch + OCTAVE_NOTES - lastpitch)) {
285 pitch += OCTAVE_NOTES;
289 if (d > abs(pitch - OCTAVE_NOTES - lastpitch)) {
292 pitch -= OCTAVE_NOTES
    [all...]
  /src/sys/arch/alpha/isa/
isa_machdep.c 98 isabeep(int pitch, int period)
102 pcppi_bell(ppicookie, pitch, period, 0);
  /src/sys/external/bsd/drm2/dist/drm/radeon/
r100_track.h 19 unsigned pitch; member in struct:r100_cs_track_cb
43 unsigned pitch; member in struct:r100_cs_track_texture
  /src/sys/dev/isa/
pcppi.c 290 pcppi_bell(pcppi_tag_t self, int pitch, int period, int slp)
294 pcppi_bell_locked(self, pitch, period, slp);
299 pcppi_bell_locked(pcppi_tag_t self, int pitch, int period, int slp)
310 if (pitch == 0 || period == 0) {
315 if (!sc->sc_bellactive || sc->sc_bellpitch != pitch) {
318 attimer_set_pitch(sc->sc_timer, pitch);
325 sc->sc_bellpitch = pitch;
368 pcppi_pckbd_bell(void *arg, u_int pitch, u_int period, u_int volume,
375 pcppi_bell_locked(arg, pitch, (period * hz) / 1000,
  /src/sys/arch/arm/nvidia/
tegra_drm_fb.c 127 const u_int pitch = width * (32 / 8); local in function:tegra_fb_init
129 const size_t size = roundup(height * pitch, PAGE_SIZE);
135 fb->pitches[0] = pitch;
  /src/sys/arch/amiga/dev/
iteioctl.h 53 u_int pitch; /* pitch of bell (10-2000) */ member in struct:itebell

Completed in 44 milliseconds

1 2 3 4 5 6 7