Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 31) sorted by relevance

12

/sound/oss/dmasound/
Ddmasound_q40.c127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8()
405 u_char speed; in Q40PlayNextFrame() local
420 speed=(dmasound.hard.speed==10000 ? 0 : 1); in Q40PlayNextFrame()
433 master_outb( speed, SAMPLE_RATE_REG); in Q40PlayNextFrame()
517 if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius) in Q40Init()
[all …]
Ddmasound_atari.c393 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law()
453 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_s8()
507 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_u8()
563 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_s16be()
619 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_u16be()
677 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_s16le()
735 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_u16le()
919 if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) < catchRadius) in TTInit()
922 dmasound.soft.speed = freq[idx]; in TTInit()
930 if (dmasound.hard.speed > 50066) { in TTInit()
[all …]
Ddmasound_core.c239 static int sound_set_speed(int speed) in sound_set_speed() argument
241 if (speed < 0) in sound_set_speed()
242 return dmasound.soft.speed; in sound_set_speed()
250 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
251 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
253 dmasound.soft.speed = speed; in sound_set_speed()
256 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
258 return dmasound.soft.speed; in sound_set_speed()
502 sq->block_size *= dmasound.hard.speed ; in sq_setup()
503 sq->block_size /= dmasound.soft.speed ; in sq_setup()
[all …]
Ddmasound_paula.c364 if (dmasound.soft.speed) in AmiInit()
365 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
377 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit()
675 .speed = 8000
682 .speed = 8000
Ddmasound.h103 int speed; /* speed */ member
/sound/firewire/
Diso-resources.c48 static unsigned int packet_bandwidth(unsigned int max_payload_bytes, int speed) in packet_bandwidth() argument
56 if (speed <= SCODE_400) in packet_bandwidth()
57 s400_bytes = bytes * (1 << (SCODE_400 - speed)); in packet_bandwidth()
59 s400_bytes = DIV_ROUND_UP(bytes, 1 << (speed - SCODE_400)); in packet_bandwidth()
106 unsigned int max_payload_bytes, int speed) in fw_iso_resources_allocate() argument
114 r->bandwidth = packet_bandwidth(max_payload_bytes, speed); in fw_iso_resources_allocate()
Dcmp.c200 c->speed = min(c->max_speed, in cmp_connection_reserve()
204 c->speed); in cmp_connection_reserve()
255 if (c->speed > SCODE_400) { in opcr_set_modify()
257 xspd = c->speed - SCODE_800; in opcr_set_modify()
259 spd = c->speed; in opcr_set_modify()
Damdtp-stream.h176 int speed; member
281 int channel, int speed);
Diso-resources.h35 unsigned int max_payload_bytes, int speed);
Dcmp.h27 int speed; member
Damdtp-stream.c903 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed) in amdtp_stream_start() argument
967 type, channel, speed, ctx_header_size, in amdtp_stream_start()
1174 int channel, int speed) in amdtp_domain_add_stream() argument
1186 s->speed = speed; in amdtp_domain_add_stream()
1202 err = amdtp_stream_start(s, s->channel, s->speed); in amdtp_domain_start()
/sound/drivers/
Dserial-u16550.c61 static int speed[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 38400}; /* 9600,19200,38400,57600,1152… variable
78 module_param_array(speed, int, NULL, 0444);
79 MODULE_PARM_DESC(speed, "Speed in bauds.");
121 unsigned int speed; member
774 unsigned int speed, in snd_uart16550_create() argument
811 uart->divisor = base / speed; in snd_uart16550_create()
812 uart->speed = base / (unsigned int)uart->divisor; in snd_uart16550_create()
939 speed[dev], in snd_serial_probe()
/sound/pci/pcxhr/
Dpcxhr_mix22.c342 unsigned int speed, pllreg = 0; in hr222_sub_set_clock() local
380 speed = rate < 55000 ? 0 : 1; in hr222_sub_set_clock()
381 if (mgr->codec_speed != speed) { in hr222_sub_set_clock()
382 mgr->codec_speed = speed; in hr222_sub_set_clock()
383 if (speed == 0) in hr222_sub_set_clock()
Dpcxhr.c312 unsigned int val, realfreq, speed; in pcxhr_sub_set_clock() local
322 speed = 0; /* single speed */ in pcxhr_sub_set_clock()
324 speed = 1; /* dual speed */ in pcxhr_sub_set_clock()
326 speed = 2; /* quad speed */ in pcxhr_sub_set_clock()
327 if (mgr->codec_speed != speed) { in pcxhr_sub_set_clock()
340 rmh.cmd[1] = speed; in pcxhr_sub_set_clock()
357 if (mgr->codec_speed != speed) { in pcxhr_sub_set_clock()
367 mgr->codec_speed = speed; /* save new codec speed */ in pcxhr_sub_set_clock()
/sound/usb/
Dproc.c96 if (subs->speed != USB_SPEED_FULL) in proc_dump_substream_formats()
114 subs->speed == USB_SPEED_FULL in proc_dump_ep_status()
Dhelper.h27 #define snd_usb_get_speed(dev) ((dev)->speed)
Dcard.h157 unsigned int speed; /* USB_SPEED_XXX */ member
/sound/firewire/dice/
Ddice-proc.c94 u32 speed; in dice_proc_read() member
183 snd_iprintf(buffer, " speed: S%u\n", 100u << buf.tx.speed); in dice_proc_read()
/sound/ppc/
Dpmac.h164 void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed);
Dpmac.c744 void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) in snd_pmac_beep_dma_start() argument
756 | (speed << 8)); in snd_pmac_beep_dma_start()
/sound/usb/usx2y/
Dus122l.c325 if (us122l->dev->speed == USB_SPEED_HIGH) { in us122l_start()
384 high_speed = us122l->dev->speed == USB_SPEED_HIGH; in usb_stream_hwdep_ioctl()
593 device->speed == USB_SPEED_HIGH) { in snd_us122l_probe()
Dusb_stream.c164 int usb_frames = dev->speed == USB_SPEED_HIGH ? 8000 : 1000; in usb_stream_new()
180 if (dev->speed == USB_SPEED_HIGH) in usb_stream_new()
222 if (dev->speed == USB_SPEED_FULL) in usb_stream_new()
/sound/firewire/fireworks/
Dfireworks_stream.c82 conn->resources.channel, conn->speed); in start_stream()
/sound/soc/codecs/
Dcs42l52.c638 u8 speed; member
818 clk |= (clk_map_table[index].speed << CLK_SPEED_SHIFT) | in cs42l52_pcm_hw_params()
/sound/usb/misc/
Dua101.c1003 switch (ua->dev->speed) { in detect_usb_format()
1276 ua->dev->speed == USB_SPEED_HIGH ? "high" : "full"); in ua101_probe()

12