Home
last modified time | relevance | path

Searched refs:frequency_hz (Results 1 – 9 of 9) sorted by relevance

/u-boot/arch/x86/lib/
A Di8254.c16 static void i8254_set_beep_freq(uint frequency_hz) in i8254_set_beep_freq() argument
20 countdown = PIT_TICK_RATE / frequency_hz; in i8254_set_beep_freq()
49 int i8254_enable_beep(uint frequency_hz) in i8254_enable_beep() argument
51 if (!frequency_hz) in i8254_enable_beep()
58 i8254_set_beep_freq(frequency_hz); in i8254_enable_beep()
/u-boot/include/
A Dsound.h93 int (*start_beep)(struct udevice *dev, int frequency_hz);
121 int sound_beep(struct udevice *dev, int msecs, int frequency_hz);
133 int sound_start_beep(struct udevice *dev, int frequency_hz);
A Dhda_codec.h71 int hda_codec_start_beep(struct udevice *dev, int frequency_hz);
/u-boot/drivers/sound/
A Di8254_beep.c11 int i8254_start_beep(struct udevice *dev, int frequency_hz) in i8254_start_beep() argument
13 return i8254_enable_beep(frequency_hz); in i8254_start_beep()
A Dsound-uclass.c47 int sound_start_beep(struct udevice *dev, int frequency_hz) in sound_start_beep() argument
54 return ops->start_beep(dev, frequency_hz); in sound_start_beep()
67 int sound_beep(struct udevice *dev, int msecs, int frequency_hz) in sound_beep() argument
80 ret = sound_start_beep(dev, frequency_hz); in sound_beep()
101 frequency_hz, i2s_uc_priv->channels); in sound_beep()
A Dsandbox.c34 int frequency_hz; /* Beep frequency if active, else 0 */ member
89 return priv->frequency_hz; in sandbox_get_beep_frequency()
185 int sandbox_sound_start_beep(struct udevice *dev, int frequency_hz) in sandbox_sound_start_beep() argument
191 priv->frequency_hz = frequency_hz; in sandbox_sound_start_beep()
202 priv->frequency_hz = 0; in sandbox_sound_stop_beep()
A Divybridge_sound.c112 int bd82x6x_azalia_start_beep(struct udevice *dev, int frequency_hz) in bd82x6x_azalia_start_beep() argument
114 return hda_codec_start_beep(dev, frequency_hz); in bd82x6x_azalia_start_beep()
A Dhda_codec.c503 int hda_codec_start_beep(struct udevice *dev, int frequency_hz) in hda_codec_start_beep() argument
513 if (!frequency_hz) in hda_codec_start_beep()
515 else if (frequency_hz > BEEP_FREQ_BASE) in hda_codec_start_beep()
517 else if (frequency_hz < BEEP_FREQ_BASE / 0xff) in hda_codec_start_beep()
520 divider_val = 0xff & (BEEP_FREQ_BASE / frequency_hz); in hda_codec_start_beep()
/u-boot/arch/x86/include/asm/
A Di8254.h47 int i8254_enable_beep(uint frequency_hz);

Completed in 9 milliseconds