Lines Matching defs:type
216 beeper_freq(enum beep_type type, int freq)
220 BEEP_DEBUG1((CE_CONT, "beeper_freq(%d, %d) : start", type, freq));
228 for (bp = beep_params; bp->type != BEEP_DEFAULT; bp++) {
229 if (bp->type == type)
233 if (bp->type != type) {
234 BEEP_DEBUG((CE_WARN, "beeper_freq : invalid type."));
247 * Start beeping for period specified by the type value,
251 beep(enum beep_type type)
256 BEEP_DEBUG1((CE_CONT, "beep(%d) : start.", type));
258 for (bp = beep_params; bp->type != BEEP_DEFAULT; bp++) {
259 if (bp->type == type)
263 if (bp->type != type) {
265 BEEP_DEBUG((CE_WARN, "beep : invalid type."));
267 /* If type doesn't match, return silently without beeping */
277 beep_polled(enum beep_type type)
287 BEEP_DEBUG1((CE_CONT, "beep_polled(%d)", type));
297 beeper_on(enum beep_type type)
302 BEEP_DEBUG1((CE_CONT, "beeper_on(%d) : start.", type));
304 for (bp = beep_params; bp->type != BEEP_DEFAULT; bp++) {
305 if (bp->type == type)
309 if (bp->type != type) {
311 BEEP_DEBUG((CE_WARN, "beeper_on : invalid type."));
313 /* If type doesn't match, return silently without beeping */