/drivers/input/misc/ |
D | gpio-beeper.c | 23 static void gpio_beeper_toggle(struct gpio_beeper *beep, bool on) in gpio_beeper_toggle() argument 25 gpiod_set_value_cansleep(beep->desc, on); in gpio_beeper_toggle() 30 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work); in gpio_beeper_work() local 32 gpio_beeper_toggle(beep, beep->beeping); in gpio_beeper_work() 38 struct gpio_beeper *beep = input_get_drvdata(dev); in gpio_beeper_event() local 46 beep->beeping = value; in gpio_beeper_event() 48 schedule_work(&beep->work); in gpio_beeper_event() 55 struct gpio_beeper *beep = input_get_drvdata(input); in gpio_beeper_close() local 57 cancel_work_sync(&beep->work); in gpio_beeper_close() 58 gpio_beeper_toggle(beep, false); in gpio_beeper_close() [all …]
|
/drivers/accessibility/braille/ |
D | braille_console.c | 38 static void beep(unsigned int freq) in beep() function 158 beep(880); in keyboard_notifier_call() 167 beep(440); in keyboard_notifier_call() 178 beep(880); in keyboard_notifier_call() 182 beep(220); in keyboard_notifier_call() 188 beep(880); in keyboard_notifier_call() 192 beep(220); in keyboard_notifier_call() 198 beep(220); in keyboard_notifier_call() 204 beep(220); in keyboard_notifier_call() 245 beep(880); in keyboard_notifier_call() [all …]
|
/drivers/hwmon/ |
D | nct7802.c | 631 static SENSOR_DEVICE_ATTR_2_RW(temp1_beep, beep, 0x5c, 0); 632 static SENSOR_DEVICE_ATTR_2_RW(temp2_beep, beep, 0x5c, 1); 633 static SENSOR_DEVICE_ATTR_2_RW(temp3_beep, beep, 0x5c, 2); 634 static SENSOR_DEVICE_ATTR_2_RW(temp4_beep, beep, 0x5c, 3); 635 static SENSOR_DEVICE_ATTR_2_RW(temp5_beep, beep, 0x5c, 4); 636 static SENSOR_DEVICE_ATTR_2_RW(temp6_beep, beep, 0x5c, 5); 743 static SENSOR_DEVICE_ATTR_2_RW(in0_beep, beep, 0x5a, 3); 751 static SENSOR_DEVICE_ATTR_2_RW(in2_beep, beep, 0x5a, 0); 757 static SENSOR_DEVICE_ATTR_2_RW(in3_beep, beep, 0x5a, 1); 763 static SENSOR_DEVICE_ATTR_2_RW(in4_beep, beep, 0x5a, 2); [all …]
|
D | gl520sm.c | 704 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0); 705 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1); 706 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2); 707 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3); 708 static SENSOR_DEVICE_ATTR_RW(temp1_beep, beep, 4); 709 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 5); 710 static SENSOR_DEVICE_ATTR_RW(fan2_beep, beep, 6); 711 static SENSOR_DEVICE_ATTR_RW(temp2_beep, beep, 7); 712 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 7);
|
D | w83627hf.c | 989 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0); 990 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1); 991 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2); 992 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3); 993 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 8); 994 static SENSOR_DEVICE_ATTR_RW(in5_beep, beep, 9); 995 static SENSOR_DEVICE_ATTR_RW(in6_beep, beep, 10); 996 static SENSOR_DEVICE_ATTR_RW(in7_beep, beep, 16); 997 static SENSOR_DEVICE_ATTR_RW(in8_beep, beep, 17); 998 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 6); [all …]
|
D | gl518sm.c | 499 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0); 500 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1); 501 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2); 502 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3); 503 static SENSOR_DEVICE_ATTR_RW(temp1_beep, beep, 4); 504 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 5); 505 static SENSOR_DEVICE_ATTR_RW(fan2_beep, beep, 6);
|
D | nct6775-core.c | 1605 u16 beep; in nct6775_update_device() local 1609 err = nct6775_read_value(data, data->REG_BEEP[i], &beep); in nct6775_update_device() 1612 data->beeps |= ((u64)beep) << (i << 3); in nct6775_update_device() 1769 unsigned int beep = 0; in show_temp_beep() local 1784 beep = (data->beeps >> bit) & 0x01; in show_temp_beep() 1786 return sprintf(buf, "%u\n", beep); in show_temp_beep()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 6251 TPACPI_HANDLE(beep, ec, "BEEP"); /* all except R30, R31 */ 6266 TPACPI_ACPIHANDLE_INIT(beep); in beep_init() 11782 TPACPI_PARAM(beep);
|