| /freebsd-src/sys/contrib/device-tree/Bindings/leds/ |
| H A D | leds-lp55xx.txt | 1 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 D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp55x [all...] |
| /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/ |
| H A D | omap3-echo.dts | 1 // 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 D | omap3-n900.dts | 1 // 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-binding [all...] |
| /freebsd-src/sys/contrib/device-tree/src/arm/st/ |
| H A D | ste-href.dtsi | 1 // 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-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
| /freebsd-src/sys/dev/iwi/ |
| H A D | if_iwivar.h | 2 /*- 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 D | if_iwi.c | 1 /*- 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-src/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6dl-yapp4-common.dtsi | 1 // 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-binding [all...] |
| H A D | imx6dl-yapp43-common.dtsi | 1 // 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-backligh [all...] |
| /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8996-xiaomi-gemini.dts | 1 // 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-bindings/sound/qcom,wcd9335.h> 13 #include <dt-bindings/input/ti-drv260x.h> 18 chassis-type = "handset"; 19 qcom,msm-id = <246 0x30001>; 20 qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>; [all …]
|
| /freebsd-src/sys/i386/i386/ |
| H A D | elan-mmcr.c | 1 /*- 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-src/sys/dev/ral/ |
| H A D | rt2860var.h | 1 /*- 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 D | rt2860.c | 1 /*- 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_c in rt2860_attach() [all...] |
| H A D | rt2560.c | 2 /*- 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_de in rt2560_attach() [all...] |
| /freebsd-src/sys/dev/wpi/ |
| H A D | if_wpi.c | 1 /*- 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_debu in wpi_attach() 2598 uint8_t cur; wpi_free_txfrags() local 2631 uint8_t cur, pad; wpi_cmd2() local 3601 struct wpi_cmd_led led; wpi_set_led() local [all...] |
| /freebsd-src/sys/dev/bfe/ |
| H A D | if_bfe.c | 1 /*- 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_di in bfe_probe() 1505 uint32_t cur, si; bfe_encap() local [all...] |
| /freebsd-src/sys/dev/bwn/ |
| H A D | if_bwn.c | 1 /*- 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_quirk in bwn_attach() 7417 struct bwn_led *led; bwn_led_attach() local 7467 bwn_led_onoff(const struct bwn_led * led,uint16_t val,int on) bwn_led_onoff() argument 7497 struct bwn_led *led = &sc->sc_leds[i]; bwn_led_newstate() local 7544 struct bwn_led *led = sc->sc_blink_led; bwn_led_event() local 7580 struct bwn_led *led = sc->sc_blink_led; bwn_led_blink_start() local 7653 int cur = 0, prev = 0; bwn_rfswitch() local [all...] |
| /freebsd-src/sys/contrib/dev/mediatek/mt76/ |
| H A D | mac80211.c | 1 // 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-src/sys/dev/iwn/ |
| H A D | if_iwn.c | 1 /*- 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- 5579 struct iwn_cmd_led led; iwn_set_led() local [all...] |
| /freebsd-src/sys/dev/bxe/ |
| H A D | bxe_elink.h | 1 /*- 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-src/sys/dev/bwi/ |
| H A D | if_bwi.c | 1 /*- 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-src/sys/dev/ath/ |
| H A D | if_athvar.h | 1 /*- 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-src/sys/dev/sym/ |
| H A D | sym_hipd.c | 1 /*- 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-src/sys/dev/dc/ |
| H A D | if_dc.c | 1 /*- 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-T 3376 int cur, defragged, error, first, frag, i, idx, nseg; dc_encap() local [all...] |
| /freebsd-src/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 2 SPDX-License-Identifier: BSD-2-Clause 4 Copyright (c) 2007-2009, Chelsio Inc. 153 {PCI_VENDOR_ID_CHELSIO, 0x0036, 3, "S320E-CR"}, 154 {PCI_VENDOR_ID_CHELSIO, 0x0037, 7, "N320E-G2"}, 176 nitems(cxgb_identifiers) - 1); 228 * order MSI-X, MSI, legacy pin interrupts. This parameter determines which 240 "MSI- 2159 struct ifmedia_entry *cur = p->media.ifm_cur; cxgb_media_status() local [all...] |