Home
last modified time | relevance | path

Searched +full:led +full:- +full:cur (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dleds-lp55xx.txt1 Binding for TI/National Semiconductor LP55xx Led Drivers
4 - compatible: one of
11 - reg: I2C slave address
12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
16 - max-cur: Maximun current at each led channel.
19 - enable-gpio: GPIO attached to the chip's enable pin
20 - label: Used for naming LEDs
21 - pwr-sel: LP8501 specific property. Power selection for output channels.
28 - chan-name (optional): name of channel
[all …]
H A Dleds-lp55xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
15 LED Drivers.
27 - national,lp5521
28 - national,lp5523
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap3-echo.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
18 cpu0-supply = <&vdd1_reg>;
28 compatible = "regulator-fixed";
29 regulator-name = "vcc5v";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
[all …]
H A Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/video-interfaces.h>
15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-href.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include "ste-hre
[all...]
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6dl-yapp4-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
[all …]
H A Dimx6dl-yapp43-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
20 compatible = "pwm-backlight";
22 brightness-levels = <0 32 64 128 255>;
23 default-brightness-level = <32>;
24 num-interpolated-steps = <8>;
[all …]
/freebsd/sys/dev/iwi/
H A Dif_iwivar.h2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause
69 int cur; member
90 int cur; member
105 int cur; member
169 * dma-ble memory around until detach time, and reallocate it when
200 sc_softled : 1, /* enable LED gpio status */
201 sc_ledstate: 1, /* LED on/off state */
202 sc_blinking: 1; /* LED blink operation active */
204 u_int sc_ledpin; /* mask for activity LED */
[all …]
H A Dif_iwi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting
33 /*-
266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe()
267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe()
268 pci_get_device(dev) == ident->device) { in iwi_probe()
269 device_set_desc(dev, ident->name); in iwi_probe()
280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach()
284 sc->sc_dev = dev; in iwi_attach()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dmsm8996-xiaomi-gemini.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
9 #include "msm8996-xiaomi-common.dtsi"
10 #include <dt-bindings/sound/qcom,q6afe.h>
11 #include <dt-bindings/sound/qcom,q6asm.h>
12 #include <dt-binding
[all...]
/freebsd/sys/i386/i386/
H A Delan-mmcr.c1 /*-
2 * SPDX-License-Identifier: Beerware
4 * ----------------------------------------------------------------------------
5 * "THE BEER-WARE LICENSE" (Revision 42):
8 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
9 * ----------------------------------------------------------------------------
12 * The AMD Elan sc520 is a system-on-chip gadget which is used in embedded
19 * So instead we recognize the on-chip host-PCI bridge and call back from
25 * approx 125 nsec resolution and +/- 125 nsec precision.
62 #include <dev/led/led.h>
[all …]
/freebsd/sys/dev/ral/
H A Drt2860var.h1 /*-
24 #define RT2860_MAX_SCATTER ((RT2860_TX_RING_COUNT * 2) - 1)
80 int cur; member
97 unsigned int cur; /* must be unsigned */ member
131 * ------------------------------------------------
191 uint16_t led[3]; member
207 #define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
208 #define RAL_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED)
209 #define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
H A Drt2860.c1 /*-
2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
21 /*-
70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0)
71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0)
238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach()
242 sc->sc_dev = dev; in rt2860_attach()
243 sc->sc_debug = 0; in rt2860_attach()
245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach()
248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach()
[all …]
H A Drt2560.c2 /*-
20 /*-
67 ((rssi) > (RT2560_NOISE_FLOOR + (sc)->rssi_corr) ? \
68 ((rssi) - RT2560_NOISE_FLOOR - (sc)->rssi_corr) : 0)
73 if (sc->sc_debug > 0) \
77 if (sc->sc_debug >= (n)) \
205 struct ieee80211com *ic = &sc->sc_ic; in rt2560_attach()
208 sc->sc_dev = dev; in rt2560_attach()
210 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2560_attach()
213 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2560_attach()
[all …]
/freebsd/sys/dev/usb/wlan/
H A Dif_mtwvar.h151 int cur; member
194 int cur; member
281 #define MTW_CMDQ_MASQ (MTW_CMDQ_MAX - 1)
339 uint16_t led[3]; member
385 #define MTW_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
386 #define MTW_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
387 #define MTW_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t)
/freebsd/sys/dev/wpi/
H A Dif_wpi.c1 /*-
317 for (ident = wpi_ident_table; ident->name != NULL; ident++) { in wpi_probe()
318 if (pci_get_vendor(dev) == ident->vendor && in wpi_probe()
319 pci_get_device(dev) == ident->device) { in wpi_probe()
320 device_set_desc(dev, ident->name); in wpi_probe()
339 sc->sc_dev = dev; in wpi_attach()
342 error = resource_int_value(device_get_name(sc->sc_dev), in wpi_attach()
343 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug)); in wpi_attach()
345 sc->sc_debug = 0; in wpi_attach()
347 sc->sc_debug = 0; in wpi_attach()
[all …]
/freebsd/sys/dev/bfe/
H A Dif_bfe.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
74 "Broadcom BCM4401-B0 Fast Ethernet" },
155 nitems(bfe_devs) - 1);
168 while (t->bfe_name != NULL) { in bfe_probe()
169 if (pci_get_vendor(dev) == t->bfe_vid && in bfe_probe()
170 pci_get_device(dev) == t->bfe_did) { in bfe_probe()
171 device_set_desc(dev, t->bfe_name); in bfe_probe()
196 error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */ in bfe_dma_alloc()
206 &sc->bfe_parent_tag); in bfe_dma_alloc()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c1 // SPDX-License-Identifier: ISC
89 /* UNII-5 */
114 /* UNII-6 */
121 /* UNII-7 */
139 /* UNII-8 */
208 struct mt76_dev *dev = phy->dev; in mt76_led_init()
209 struct ieee80211_hw *hw = phy->hw; in mt76_led_init()
211 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) in mt76_led_init()
214 snprintf(phy->leds.name, sizeof(phy->leds.name), "mt76-%s", in mt76_led_init()
215 wiphy_name(hw->wiphy)); in mt76_led_init()
[all …]
/freebsd/sys/dev/iwn/
H A Dif_iwn.c1 /*-
2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr>
6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr>
84 { 0x8086, IWN_DID_6x05_1, "Intel Centrino Advanced-N 6205" },
85 { 0x8086, IWN_DID_1000_1, "Intel Centrino Wireless-N 1000" },
86 { 0x8086, IWN_DID_1000_2, "Intel Centrino Wireless-N 1000" },
87 { 0x8086, IWN_DID_6x05_2, "Intel Centrino Advanced-N 6205" },
88 { 0x8086, IWN_DID_6050_1, "Intel Centrino Advanced-N + WiMAX 6250" },
89 { 0x8086, IWN_DID_6050_2, "Intel Centrino Advanced-N + WiMAX 6250" },
90 { 0x8086, IWN_DID_x030_1, "Intel Centrino Wireless-N 1030" },
[all …]
/freebsd/sys/dev/bwn/
H A Dif_bwn.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
544 sc->sc_dev = dev; in bwn_attach()
546 sc->sc_debug = bwn_debug; in bwn_attach()
553 sc->sc_quirks = bhnd_device_quirks(dev, bwn_devices, in bwn_attach()
558 sc->sc_quirks |= bhnd_device_quirks(hostb, bridge_devices, in bwn_attach()
564 sc->sc_quirks |= BWN_QUIRK_NODMA; in bwn_attach()
567 sc->sc_cid = *bhnd_get_chipid(dev); in bwn_attach()
568 if ((error = bhnd_read_board_info(dev, &sc->sc_board_info))) { in bwn_attach()
[all …]
/freebsd/sys/dev/bxe/
H A Dbxe_elink.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved.
48 /* wb_write - pointer to 2 32 bits vars to be passed to the DMAE*/
54 /* mode - 0( LOW ) /1(HIGH)*/
74 extern void elink_cb_download_progress(struct bxe_softc *sc, uint32_t cur, uint32_t total);
195 #define ELINK_SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1)
197 #define ELINK_SINGLE_MEDIA(params) (params->num_phys == 2)
199 #define ELINK_DUAL_MEDIA(params) (params->num_phys == 3)
231 #define ELINK_LINK_CONFIG_SIZE (ELINK_MAX_PHYS - 1)
[all …]
/freebsd/sys/dev/bwi/
H A Dif_bwi.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
340 if (desc_idx == ndesc - 1) in bwi_setup_desc32()
349 desc->addr = htole32(addr); in bwi_setup_desc32()
350 desc->ctrl = htole32(ctrl); in bwi_setup_desc32()
356 struct ieee80211com *ic = &sc->sc_ic; in bwi_attach()
357 device_t dev = sc->sc_dev; in bwi_attach()
367 sc->sc_tq = taskqueue_create("bwi_taskq", M_NOWAIT | M_ZERO, in bwi_attach()
368 taskqueue_thread_enqueue, &sc->sc_tq); in bwi_attach()
369 taskqueue_start_threads(&sc->sc_tq, 1, PI_NET, "%s taskq", in bwi_attach()
[all …]
/freebsd/sys/dev/ath/
H A Dif_athvar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
86 * The following bits can be set during the PCI (and perhaps non-PCI
108 * and station state to short-circuit node lookups on rx.
122 * Per-TID state
124 * Note that TID 16 (WME_NUM_TID+1) is for handling non-QoS frames.
148 * These are flags - perhaps later collapse
158 * from aggregation to non-aggregation?
162 * TXed/completed; at which point (non-aggregation)
[all …]
/freebsd/sys/dev/sym/
H A Dsym_hipd.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
5 * PCI-SCSI controllers.
7 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
14 * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver.
15 * Copyright (C) 1998-1999 Gerard Roudier
18 * a port of the FreeBSD ncr driver to Linux-1.2.13.
22 * Stefan Esser <se@mi.Uni-Koeln.de>
26 * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
[all …]
/freebsd/sys/dev/dc/
H A Dif_dc.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
18 * 4. Neither the name of the author nor the names of any co-contributors
41 * Macronix/Lite-On 82c115 PNIC II (www.macronix.com)
42 * Lite-On 82c168/82c169 PNIC (www.litecom.com)
179 "Compex RL100-TX 10/100BaseTX" },
181 "Compex RL100-TX 10/100BaseTX" },
185 "Macronix 98715AEC-C 10/100BaseTX" },
203 "Neteasy DRP-32TXD Cardbus 10/100" },
213 "PlaneX FNW-3602-T CardBus 10/100" },
[all …]

12