Lines Matching defs:enable

1242 /* sysfs <radio> enable ------------------------------------------------ */
1324 if (strstarts(cmd, "enable"))
2162 /* Try to enable what the user asked for, plus whatever we need.
2163 * this syncs everything but won't enable bits in hotkey_user_mask */
2213 static int hotkey_status_set(bool enable)
2215 if (!acpi_evalf(hkey_handle, NULL, "MHKC", "vd", enable ? 1 : 0))
2602 /* sysfs hotkey enable ------------------------------------------------- */
4172 static void hotkey_enabledisable_warn(bool enable)
4174 tpacpi_log_usertask("procfs hotkey enable/disable");
4175 if (!WARN((tpacpi_lifecycle == TPACPI_LIFE_RUNNING || !enable),
4176 pr_fmt("hotkey enable/disable functionality has been removed from the driver. Hotkeys are always enabled.\n")))
4177 pr_err("Please remove the hotkey=enable module parameter, it is deprecated. Hotkeys are always enabled.\n");
4196 if (strstarts(cmd, "enable")) {
4258 0 = disable, 1 = enable */
4315 /* sysfs bluetooth enable ---------------------------------------------- */
4522 0 = disable, 1 = enable */
4570 /* sysfs wan enable ---------------------------------------------------- */
4838 static int video_autosw_set(int enable);
5000 static int video_autosw_set(int enable)
5002 if (!acpi_evalf(vid_handle, NULL, "_DOS", "vd", (enable) ? 1 : 0))
5098 int enable, disable, status;
5108 enable = 0;
5113 enable |= TP_ACPI_VIDEO_S_LCD;
5117 enable |= TP_ACPI_VIDEO_S_CRT;
5122 enable |= TP_ACPI_VIDEO_S_DVI;
5146 if (enable || disable) {
5150 res = video_outputsw_set((status & ~disable) | enable);
6882 pr_warn("Cannot enable backlight brightness support, ACPI is already handling it. Refer to the acpi_backlight kernel parameter.\n");
7747 pr_notice("Use the volume_control=1 module parameter to enable volume control\n");
7999 TPACPI_FAN_CMD_ENABLE = 0x0004, /* enable/disable cmd,
9095 if (!strstarts(cmd, "enable"))
9100 pr_err("enable command accepted for unsupported access mode %d\n",
9103 tpacpi_disclose_usertask("procfs fan", "enable\n");
10049 #define DYTC_CMD_QUERY 0 /* To get DYTC status - enable/revision */
10216 #define DYTC_CMD_SET 1 /* To enable/disable IC function mode */
10260 static int dytc_control_amt(bool enable);
10355 static int dytc_control_amt(bool enable)
10366 if (enable)
10367 cmd = DYTC_SET_COMMAND(DYTC_FUNCTION_AMT, DYTC_MODE_AMT_ENABLE, enable);
10369 cmd = DYTC_SET_COMMAND(DYTC_FUNCTION_AMT, DYTC_MODE_AMT_DISABLE, enable);
10371 pr_debug("%sabling AMT (cmd 0x%x)", enable ? "en":"dis", cmd);
10375 dytc_amt_active = enable;
10383 * - enable CQL
10442 * Note we still need to disable CQL mode before hand and re-enable
11564 module_param_named(enable, alsa_enable, bool, 0444);
11565 MODULE_PARM_DESC(enable, "Enable the ALSA interface for the ACPI EC Mixer");