Home
last modified time | relevance | path

Searched refs:powered (Results 1 – 25 of 211) sorted by relevance

123456789

/linux/drivers/input/joystick/
H A Ddb9.c128 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, i… in db9_saturn_write_sub() argument
134 c = 0x80 | 0x30 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | data; in db9_saturn_write_sub()
138 c = 0x40 | data << 4 | (powered ? 0x08 : 0) | (pwr_sub ? 0x04 : 0) | 0x03; in db9_saturn_write_sub()
142 c = ((((data & 2) ? 2 : 0) | ((data & 1) ? 4 : 0)) ^ 0x02) | !powered; in db9_saturn_write_sub()
171 static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered) in db9_saturn_read_analog() argument
175 db9_saturn_write_sub(port, type, 0, powered, 0); in db9_saturn_read_analog()
178 db9_saturn_write_sub(port, type, 2, powered, 0); in db9_saturn_read_analog()
188 …igned char db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, int powered) in db9_saturn_read_packet() argument
193 db9_saturn_write_sub(port, type, 3, powered, 0); in db9_saturn_read_packet()
201 db9_saturn_write_sub(port, type, 0, powered, 1); in db9_saturn_read_packet()
[all …]
/linux/drivers/block/rnull/
H A Dconfigfs.rs72 powered: false, in make_group()
121 powered: bool, field
137 if this.data.lock().powered {
150 if !guard.powered && power_op { in store()
158 guard.powered = true; in store()
159 } else if guard.powered && !power_op { in store()
161 guard.powered = false; in store()
179 if this.data.lock().powered { in store()
209 if this.data.lock().powered { in store()
230 if this.data.lock().powered { in store()
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dnon-d0-probe.rst10 In some cases it may be preferred to leave certain devices powered off for the
22 The downside of using _DSC is that as the device is not powered on, even if
33 the device will not be powered on (put in D0 state) for probe.
44 0 D0 Device fully powered on
59 System the device should remain powered off during probe looks like this. Some
/linux/Documentation/userspace-api/media/dvb/
H A Dfe-diseqc-reset-overload.rst13 FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due -…
31 If the bus has been automatically powered off due to power overload,
34 is manually powered off. Not all Digital TV adapters support this ioctl.
/linux/net/bluetooth/
H A Dleds.c46 bool powered; in power_activate() local
49 powered = test_bit(HCI_UP, &htrig->hdev->flags); in power_activate()
51 led_set_brightness(led_cdev, powered ? LED_FULL : LED_OFF); in power_activate()
/linux/drivers/phy/amlogic/
H A Dphy-meson-axg-mipi-pcie-analog.c53 bool powered; member
148 if (priv->powered) { in phy_axg_mipi_pcie_analog_configure()
170 priv->powered = true; in phy_axg_mipi_pcie_analog_power_on()
184 priv->powered = false; in phy_axg_mipi_pcie_analog_power_off()
/linux/drivers/bluetooth/
H A Dhci_bcm.c249 static int bcm_gpio_set_power(struct bcm_device *dev, bool powered) in bcm_gpio_set_power() argument
253 if (powered && !dev->res_enabled) { in bcm_gpio_set_power()
280 err = dev->set_shutdown(dev, powered); in bcm_gpio_set_power()
284 err = dev->set_device_wakeup(dev, powered); in bcm_gpio_set_power()
288 if (!powered && dev->res_enabled) { in bcm_gpio_set_power()
303 dev->res_enabled = powered; in bcm_gpio_set_power()
308 dev->set_shutdown(dev, !powered); in bcm_gpio_set_power()
310 if (powered && !dev->res_enabled) in bcm_gpio_set_power()
313 if (powered && !dev->res_enabled) in bcm_gpio_set_power()
316 if (powered && !dev->res_enabled) in bcm_gpio_set_power()
[all …]
H A Dhci_intel.c288 static int intel_set_power(struct hci_uart *hu, bool powered) in intel_set_power() argument
311 hu, dev_name(&idev->pdev->dev), powered); in intel_set_power()
313 gpiod_set_value(idev->reset, powered); in intel_set_power()
321 idev->hu = powered ? hu : NULL; in intel_set_power()
327 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
346 } else if (!powered && device_may_wakeup(&idev->pdev->dev)) { in intel_set_power()
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-input-axp-pek4 Description: Startup time in us. Board is powered on if the button is pressed
10 Description: Shutdown time in us. Board is powered off if the button is pressed
H A Dsysfs-bus-usb-devices-usbsevseg1 What: /sys/bus/usb/.../powered
5 Description: Controls whether the device's display will powered.
/linux/drivers/usb/misc/
H A Dusbsevseg.c38 u8 powered; member
67 if (mydev->powered && !mydev->has_interface_pm) { in update_display_powered()
79 (0x00 * 0x100) + (mydev->powered ? 1 : 0), in update_display_powered()
84 if (!mydev->powered && mydev->has_interface_pm) { in update_display_powered()
289 MYDEV_ATTR_SIMPLE_UNSIGNED(powered, update_display_powered);
/linux/Documentation/networking/devlink/
H A Ddevlink-linecard.rst41 being physically connected or powered-up
51 * Line card is not inserted or powered-down
54 * Line card is inserted and powered up
69 * ``active``: Line card is powered-up and active.
/linux/Documentation/sound/soc/
H A Dpops-clicks.rst8 powered up and causes a popping noise on the speakers).
11 because the components within the subsystem are being dynamically powered
39 playback in that components are powered in a sequence depending upon stream
/linux/drivers/leds/
H A Dleds-cpcap.c68 bool powered; member
85 if (status == led->powered) in cpcap_led_set_power()
98 led->powered = status; in cpcap_led_set_power()
/linux/drivers/nfc/
H A Dmei_phy.c319 if (phy->powered == 1) in nfc_mei_phy_enable()
346 phy->powered = 1; in nfc_mei_phy_enable()
351 phy->powered = 0; in nfc_mei_phy_enable()
362 phy->powered = 0; in nfc_mei_phy_disable()
/linux/drivers/platform/x86/
H A Dtoshiba_bluetooth.c35 bool powered; member
154 bt_dev->powered = (status & BT_POWER_MASK) ? true : false; in toshiba_bluetooth_sync_status()
157 status, bt_dev->killswitch, bt_dev->plugged, bt_dev->powered); in toshiba_bluetooth_sync_status()
/linux/Documentation/devicetree/bindings/rtc/
H A Dmaxim-ds1302.txt19 - spi-max-frequency : DS-1302 has 500 kHz if powered at 2.2V,
20 and 2MHz if powered at 5V.
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c252 d->powered++; in dvb_usb_device_power_ctrl()
254 d->powered--; in dvb_usb_device_power_ctrl()
256 …if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 … in dvb_usb_device_power_ctrl()
/linux/Documentation/w1/slaves/
H A Dw1_therm.rst45 powered devices are detected on the bus (and strong pullup is enabled
47 time required by parasited powered device on the line. Reading
91 ``0`` if the device is parasite powered, ``1`` if the device is externally powered.
102 command to check if there are pariste powered devices on the bus.
138 resolutions. The device is powered up in 14-bit resolution mode. The conversion
/linux/drivers/nfc/st-nci/
H A Dndlc.c50 ndlc->powered = 1; in ndlc_open()
68 ndlc->powered = 0; in ndlc_close()
265 ndlc->powered = 0; in ndlc_probe()
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-nas2big.dts31 /* The on-chip RTC is not powered (no supercap). */
94 * be kept powered, even when the SoC is off.
/linux/drivers/input/mouse/
H A Dhgpk.c765 priv->powered = 1; in hgpk_reconnect()
773 return sprintf(buf, "%d\n", priv->powered); in hgpk_show_powered()
790 if (value != priv->powered) { in hgpk_set_powered()
797 priv->powered = value; in hgpk_set_powered()
803 __PSMOUSE_DEFINE_ATTR(powered, S_IWUSR | S_IRUGO, NULL,
993 priv->powered = true; in hgpk_init()
H A Dhgpk.h39 bool powered; member
/linux/Documentation/trace/coresight/
H A Dcoresight-ect.rst75 channels ctmid enable nr_trigger_cons mgmt power powered regs
80 If this shows as enabled (1), but ``powered`` shows unpowered (0), then
81 the enable indicates a request to enabled when the device is powered.
85 * ``powered`` : Read to determine if the CTI is currently powered.
/linux/Documentation/devicetree/bindings/net/bluetooth/
H A Dmediatek,bluetooth.txt22 - pinctrl-0: Should contain UART RXD low when the device is powered up to
31 the device is powered up to enter proper bootstrap mode when

123456789