Lines Matching defs:rfkill
23 #include <linux/rfkill.h>
89 static struct rfkill *wifi_rfkill;
90 static struct rfkill *bluetooth_rfkill;
91 static struct rfkill *wwan_rfkill;
95 MODULE_PARM_DESC(force_rfkill, "enable rfkill on non whitelisted models");
515 static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio,
521 int block = rfkill_blocked(rfkill);
527 rfkill_set_sw_state(rfkill, !!(status & BIT(radio + 16)));
531 static void dell_rfkill_update_hw_state(struct rfkill *rfkill, int radio,
535 rfkill_set_hw_state(rfkill, !(status & BIT(16)));
538 static void dell_rfkill_query(struct rfkill *rfkill, void *data)
561 dell_rfkill_update_hw_state(rfkill, radio, status, hwswitch);
737 * rfkill support causes trouble on various models, mostly Inspirons.
738 * So we whitelist certain series, and don't support rfkill on others.
756 /* rfkill is only tested on laptops with a hwswitch */
811 * driver for receiving HW events and Dell SMBIOS for setting rfkill
815 * To prevent duplicate rfkill devices which control and do same thing,
816 * dell-rbtn driver will automatically remove its own rfkill devices
2192 pr_warn("Unable to setup rfkill\n");
2202 debugfs_create_file("rfkill", 0444, dell_laptop_dir, NULL,