powered 211 drivers/bluetooth/hci_bcm.c static int bcm_gpio_set_power(struct bcm_device *dev, bool powered) powered 215 drivers/bluetooth/hci_bcm.c if (powered && !dev->res_enabled) { powered 242 drivers/bluetooth/hci_bcm.c err = dev->set_shutdown(dev, powered); powered 246 drivers/bluetooth/hci_bcm.c err = dev->set_device_wakeup(dev, powered); powered 250 drivers/bluetooth/hci_bcm.c if (!powered && dev->res_enabled) { powered 265 drivers/bluetooth/hci_bcm.c dev->res_enabled = powered; powered 270 drivers/bluetooth/hci_bcm.c dev->set_shutdown(dev, !powered); powered 272 drivers/bluetooth/hci_bcm.c if (powered && !dev->res_enabled) powered 275 drivers/bluetooth/hci_bcm.c if (powered && !dev->res_enabled) powered 278 drivers/bluetooth/hci_bcm.c if (powered && !dev->res_enabled) powered 907 drivers/bluetooth/hci_bcm.c static int bcm_apple_set_shutdown(struct bcm_device *dev, bool powered) powered 909 drivers/bluetooth/hci_bcm.c if (ACPI_FAILURE(acpi_evaluate_object(powered ? dev->btpu : dev->btpd, powered 949 drivers/bluetooth/hci_bcm.c static int bcm_gpio_set_shutdown(struct bcm_device *dev, bool powered) powered 951 drivers/bluetooth/hci_bcm.c gpiod_set_value_cansleep(dev->shutdown, powered); powered 289 drivers/bluetooth/hci_intel.c static int intel_set_power(struct hci_uart *hu, bool powered) powered 315 drivers/bluetooth/hci_intel.c hu, dev_name(&idev->pdev->dev), powered); powered 317 drivers/bluetooth/hci_intel.c gpiod_set_value(idev->reset, powered); powered 325 drivers/bluetooth/hci_intel.c idev->hu = powered ? hu : NULL; powered 331 drivers/bluetooth/hci_intel.c if (powered && device_can_wakeup(&idev->pdev->dev)) { powered 350 drivers/bluetooth/hci_intel.c } else if (!powered && device_may_wakeup(&idev->pdev->dev)) { powered 336 drivers/gpu/drm/bridge/adv7511/adv7511.h bool powered; powered 372 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511->powered = true; powered 392 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511->powered = false; powered 439 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511->powered) { powered 599 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (!adv7511->powered) { powered 612 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (!adv7511->powered) powered 652 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (status == connector_status_connected && hpd && adv7511->powered) { powered 1108 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c adv7511->powered = false; powered 79 drivers/gpu/drm/bridge/analogix-anx78xx.c bool powered; powered 608 drivers/gpu/drm/bridge/analogix-anx78xx.c if (WARN_ON(anx78xx->powered)) powered 636 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->powered = true; powered 644 drivers/gpu/drm/bridge/analogix-anx78xx.c if (WARN_ON(!anx78xx->powered)) powered 664 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->powered = false; powered 944 drivers/gpu/drm/bridge/analogix-anx78xx.c if (WARN_ON(!anx78xx->powered)) powered 1084 drivers/gpu/drm/bridge/analogix-anx78xx.c if (WARN_ON(!anx78xx->powered)) powered 1134 drivers/gpu/drm/bridge/analogix-anx78xx.c if (anx78xx->powered) powered 1270 drivers/gpu/drm/bridge/analogix-anx78xx.c if (!anx78xx->powered) powered 143 drivers/gpu/drm/exynos/exynos_hdmi.c bool powered; powered 1472 drivers/gpu/drm/exynos/exynos_hdmi.c if (hdata->powered) powered 1490 drivers/gpu/drm/exynos/exynos_hdmi.c hdata->powered = true; powered 1496 drivers/gpu/drm/exynos/exynos_hdmi.c if (!hdata->powered) powered 1512 drivers/gpu/drm/exynos/exynos_hdmi.c hdata->powered = false; powered 1533 drivers/gpu/drm/exynos/exynos_hdmi.c if (hdata->powered) { powered 1571 drivers/gpu/drm/exynos/exynos_hdmi.c if (hdata->powered) powered 1597 drivers/gpu/drm/exynos/exynos_hdmi.c if (hdata->powered) { powered 1615 drivers/gpu/drm/exynos/exynos_hdmi.c if (hdata->powered) powered 169 drivers/gpu/drm/mediatek/mtk_hdmi.c bool powered; powered 1363 drivers/gpu/drm/mediatek/mtk_hdmi.c if (!hdmi->powered) powered 1369 drivers/gpu/drm/mediatek/mtk_hdmi.c hdmi->powered = false; powered 1401 drivers/gpu/drm/mediatek/mtk_hdmi.c hdmi->powered = true; powered 1952 drivers/hid/wacom_wac.c bool powered = wacom_wac->hid_data.ps_connected; powered 1955 drivers/hid/wacom_wac.c connected, powered); powered 131 drivers/input/joystick/db9.c static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, int pwr_sub) powered 137 drivers/input/joystick/db9.c c = 0x80 | 0x30 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | data; powered 141 drivers/input/joystick/db9.c c = 0x40 | data << 4 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | 0x03; powered 145 drivers/input/joystick/db9.c c = ((((data & 2) ? 2 : 0) | ((data & 1) ? 4 : 0)) ^ 0x02) | !powered; powered 174 drivers/input/joystick/db9.c static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered) powered 178 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 0, powered, 0); powered 181 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 2, powered, 0); powered 191 drivers/input/joystick/db9.c static unsigned char db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, int powered) powered 196 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 3, powered, 0); powered 204 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 0, powered, 1); powered 206 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 2, powered, 1); powered 208 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 1, powered, 1); powered 210 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 3, powered, 1); powered 216 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 2, powered, 0); powered 218 drivers/input/joystick/db9.c data[0] = db9_saturn_read_analog(port, type, powered); powered 222 drivers/input/joystick/db9.c data[i + 1] = db9_saturn_read_analog(port, type, powered); powered 223 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 3, powered, 0); powered 227 drivers/input/joystick/db9.c if (db9_saturn_read_analog(port, type, powered) != 0x60) powered 230 drivers/input/joystick/db9.c data[i] = db9_saturn_read_analog(port, type, powered); powered 234 drivers/input/joystick/db9.c data[i + j + 1] = db9_saturn_read_analog(port, type, powered); powered 236 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 3, powered, 0); powered 241 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 2, powered, 0); powered 243 drivers/input/joystick/db9.c tmp = db9_saturn_read_analog(port, type, powered); powered 246 drivers/input/joystick/db9.c data[i + 1] = db9_saturn_read_analog(port, type, powered); powered 247 drivers/input/joystick/db9.c db9_saturn_write_sub(port, type, 3, powered, 0); powered 765 drivers/input/mouse/hgpk.c priv->powered = 1; powered 773 drivers/input/mouse/hgpk.c return sprintf(buf, "%d\n", priv->powered); powered 790 drivers/input/mouse/hgpk.c if (value != priv->powered) { powered 797 drivers/input/mouse/hgpk.c priv->powered = value; powered 803 drivers/input/mouse/hgpk.c __PSMOUSE_DEFINE_ATTR(powered, S_IWUSR | S_IRUGO, NULL, powered 993 drivers/input/mouse/hgpk.c priv->powered = true; powered 39 drivers/input/mouse/hgpk.h bool powered; powered 68 drivers/leds/leds-cpcap.c bool powered; powered 85 drivers/leds/leds-cpcap.c if (status == led->powered) powered 98 drivers/leds/leds-cpcap.c led->powered = status; powered 209 drivers/media/i2c/adv7180.c bool powered; powered 530 drivers/media/i2c/adv7180.c state->powered = on; powered 1351 drivers/media/i2c/adv7180.c state->powered = true; powered 1353 drivers/media/i2c/adv7180.c state->powered = false; powered 1462 drivers/media/i2c/adv7180.c ret = adv7180_set_power(state, state->powered); powered 369 drivers/media/usb/dvb-usb-v2/dvb_usb.h int powered; powered 532 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->powered++; powered 534 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->powered--; powered 536 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (d->powered == 0 || (onoff && d->powered == 1)) { powered 229 drivers/media/usb/dvb-usb/dvb-usb-init.c d->powered++; powered 231 drivers/media/usb/dvb-usb/dvb-usb-init.c d->powered--; powered 233 drivers/media/usb/dvb-usb/dvb-usb-init.c if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 */ powered 449 drivers/media/usb/dvb-usb/dvb-usb.h int powered; powered 325 drivers/nfc/mei_phy.c if (phy->powered == 1) powered 352 drivers/nfc/mei_phy.c phy->powered = 1; powered 357 drivers/nfc/mei_phy.c phy->powered = 0; powered 370 drivers/nfc/mei_phy.c phy->powered = 0; powered 44 drivers/nfc/mei_phy.h int powered; powered 172 drivers/nfc/pn544/i2c.c int powered; powered 248 drivers/nfc/pn544/i2c.c phy->powered = 1; powered 267 drivers/nfc/pn544/i2c.c phy->powered = 0; powered 948 drivers/nfc/pn544/i2c.c if (phy->powered) powered 52 drivers/nfc/st-nci/i2c.c if (phy->ndlc->powered == 0 && phy->irq_active == 0) { powered 175 drivers/nfc/st-nci/i2c.c if (!phy->ndlc->powered) { powered 50 drivers/nfc/st-nci/ndlc.c ndlc->powered = 1; powered 68 drivers/nfc/st-nci/ndlc.c ndlc->powered = 0; powered 269 drivers/nfc/st-nci/ndlc.c ndlc->powered = 0; powered 41 drivers/nfc/st-nci/ndlc.h int powered; powered 53 drivers/nfc/st-nci/spi.c if (phy->ndlc->powered == 0 && phy->irq_active == 0) { powered 190 drivers/nfc/st-nci/spi.c if (!phy->ndlc->powered) { powered 68 drivers/nfc/st21nfca/i2c.c int powered; powered 139 drivers/nfc/st21nfca/i2c.c phy->powered = 1; powered 153 drivers/nfc/st21nfca/i2c.c phy->powered = 0; powered 575 drivers/nfc/st21nfca/i2c.c if (phy->powered) powered 102 drivers/phy/renesas/phy-rcar-gen3-usb2.c bool powered; powered 307 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (ch->rphys[i].powered) powered 465 drivers/phy/renesas/phy-rcar-gen3-usb2.c rphy->powered = true; powered 478 drivers/phy/renesas/phy-rcar-gen3-usb2.c rphy->powered = false; powered 35 drivers/platform/x86/toshiba_bluetooth.c bool powered; powered 155 drivers/platform/x86/toshiba_bluetooth.c bt_dev->powered = (status & BT_POWER_MASK) ? true : false; powered 158 drivers/platform/x86/toshiba_bluetooth.c status, bt_dev->killswitch, bt_dev->plugged, bt_dev->powered); powered 38 drivers/usb/misc/usbsevseg.c u8 powered; powered 67 drivers/usb/misc/usbsevseg.c if (mydev->powered && !mydev->has_interface_pm) { powered 82 drivers/usb/misc/usbsevseg.c (0x00 * 0x100) + (mydev->powered ? 1 : 0), powered 89 drivers/usb/misc/usbsevseg.c if (!mydev->powered && mydev->has_interface_pm) { powered 315 drivers/usb/misc/usbsevseg.c MYDEV_ATTR_SIMPLE_UNSIGNED(powered, update_display_powered); powered 27 drivers/video/backlight/as3711_bl.c bool powered; powered 46 net/bluetooth/leds.c bool powered; powered 49 net/bluetooth/leds.c powered = test_bit(HCI_UP, &htrig->hdev->flags); powered 51 net/bluetooth/leds.c led_trigger_event(led_cdev->trigger, powered ? LED_FULL : LED_OFF);