Searched refs:set_device_state (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/platform/x86/ |
D | msi-laptop.c | 216 static ssize_t set_device_state(const char *buf, size_t count, u8 mask) in set_device_state() function 341 return set_device_state(buf, count, MSI_STANDARD_EC_WLAN_MASK); in store_wlan() 365 return set_device_state(buf, count, MSI_STANDARD_EC_BLUETOOTH_MASK); in store_bluetooth() 388 return set_device_state(buf, count, MSI_STANDARD_EC_3G_MASK); in store_threeg() 729 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_bluetooth_set() 737 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_wlan_set() 745 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_threeg_set()
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 74 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_ON); in rt2x00lib_enable_radio() 78 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_ON); in rt2x00lib_enable_radio() 119 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_OFF); in rt2x00lib_disable_radio() 120 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_OFF); in rt2x00lib_disable_radio() 170 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt2x00lib_autowakeup() 1604 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_SLEEP)) in rt2x00lib_suspend()
|
D | rt2800soc.c | 196 .set_device_state = rt2800soc_set_device_state,
|
D | rt2800pci.c | 357 .set_device_state = rt2800pci_set_device_state,
|
D | rt2500usb.c | 661 rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); in rt2500usb_config_ps() 843 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt2500usb_init_registers() 1835 .set_device_state = rt2500usb_set_device_state,
|
D | rt2400pci.c | 549 rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); in rt2400pci_config_ps() 872 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt2400pci_init_registers() 1748 .set_device_state = rt2400pci_set_device_state,
|
D | rt2500pci.c | 597 rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); in rt2500pci_config_ps() 1004 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt2500pci_init_registers() 2047 .set_device_state = rt2500pci_set_device_state,
|
D | rt2x00.h | 562 int (*set_device_state) (struct rt2x00_dev *rt2x00dev, member
|
D | rt2800usb.c | 836 .set_device_state = rt2800usb_set_device_state,
|
D | rt73usb.c | 1230 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt73usb_init_registers() 2335 .set_device_state = rt73usb_set_device_state,
|
D | rt61pci.c | 1585 if (rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_AWAKE)) in rt61pci_init_registers() 3002 .set_device_state = rt61pci_set_device_state,
|
D | rt2800lib.c | 5017 rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); in rt2800_config_ps() 5025 rt2x00dev->ops->lib->set_device_state(rt2x00dev, state); in rt2800_config_ps()
|