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.c237 static int sound_set_speed(int speed) in sound_set_speed() argument
239 if (speed < 0) in sound_set_speed()
240 return dmasound.soft.speed; in sound_set_speed()
248 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
249 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
251 dmasound.soft.speed = speed; in sound_set_speed()
254 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
256 return dmasound.soft.speed; in sound_set_speed()
498 sq->block_size *= dmasound.hard.speed ; in sq_setup()
499 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.h99 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.h204 int speed; member
314 int channel, int speed);
Diso-resources.h35 unsigned int max_payload_bytes, int speed);
Dcmp.h27 int speed; member
Damdtp-stream.c1547 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start() argument
1597 type, channel, speed, ctx_header_size, in amdtp_stream_start()
1863 int channel, int speed) in amdtp_domain_add_stream() argument
1875 s->speed = speed; in amdtp_domain_add_stream()
1990 err = amdtp_stream_start(s, s->channel, s->speed, queue_size, idle_irq_interval); in amdtp_domain_start()
/sound/drivers/
Dserial-u16550.c60 static int speed[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 38400}; /* 9600,19200,38400,57600,1152… variable
77 module_param_array(speed, int, NULL, 0444);
78 MODULE_PARM_DESC(speed, "Speed in bauds.");
119 unsigned int speed; member
756 unsigned int speed, in snd_uart16550_create() argument
791 uart->divisor = base / speed; in snd_uart16550_create()
792 uart->speed = base / (unsigned int)uart->divisor; in snd_uart16550_create()
910 err = snd_uart16550_create(card, port[dev], irq[dev], 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.c311 unsigned int val, realfreq, speed; in pcxhr_sub_set_clock() local
321 speed = 0; /* single speed */ in pcxhr_sub_set_clock()
323 speed = 1; /* dual speed */ in pcxhr_sub_set_clock()
325 speed = 2; /* quad speed */ in pcxhr_sub_set_clock()
326 if (mgr->codec_speed != speed) { in pcxhr_sub_set_clock()
339 rmh.cmd[1] = speed; in pcxhr_sub_set_clock()
356 if (mgr->codec_speed != speed) { in pcxhr_sub_set_clock()
366 mgr->codec_speed = speed; /* save new codec speed */ in pcxhr_sub_set_clock()
/sound/usb/
Dproc.c129 if (subs->speed != USB_SPEED_FULL) in proc_dump_substream_formats()
181 subs->speed == USB_SPEED_FULL in proc_dump_ep_status()
Dhelper.h29 #define snd_usb_get_speed(dev) ((dev)->speed)
Dcard.h185 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.c720 void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) in snd_pmac_beep_dma_start() argument
732 | (speed << 8)); in snd_pmac_beep_dma_start()
/sound/usb/usx2y/
Dus122l.c305 if (us122l->dev->speed == USB_SPEED_HIGH) { in us122l_start()
364 high_speed = us122l->dev->speed == USB_SPEED_HIGH; in usb_stream_hwdep_ioctl()
574 device->speed == USB_SPEED_HIGH) { in snd_us122l_probe()
Dusb_stream.c168 int usb_frames = dev->speed == USB_SPEED_HIGH ? 8000 : 1000; in usb_stream_new()
184 if (dev->speed == USB_SPEED_HIGH) in usb_stream_new()
226 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.c983 switch (ua->dev->speed) { in detect_usb_format()
1255 ua->dev->speed == USB_SPEED_HIGH ? "high" : "full"); in ua101_probe()

12