Lines Matching refs:blocked
714 static int rfkill_bluetooth_set(void *data, bool blocked)
716 /* Do something with blocked...*/
718 * blocked == false is on
719 * blocked == true is off
721 int result = set_device_state(blocked ? "0" : "1", 0,
727 static int rfkill_wlan_set(void *data, bool blocked)
729 int result = set_device_state(blocked ? "0" : "1", 0,
735 static int rfkill_threeg_set(void *data, bool blocked)
737 int result = set_device_state(blocked ? "0" : "1", 0,
773 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked)
776 return rfkill_set_hw_state(rfkill, blocked);
778 return rfkill_set_sw_state(rfkill, blocked);