Home
last modified time | relevance | path

Searched +full:serial +full:- +full:shift +full:- +full:inv (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/doc/device-tree-bindings/leds/
H A Dleds-bcm6328.txt5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164
7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
14 - compatible : should be "brcm,bcm6328-leds".
15 - #address-cells : must be 1.
16 - #size-cells : must be 0.
17 - reg : BCM6328 LED controller address and size.
20 - brcm,serial-leds : Boolean, enables Serial LEDs.
22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-bcm6328.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Álvaro Fernández Rojas <noltari@gmail.com>
15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164
17 as spi-gpio. See
20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
[all …]
/openbmc/u-boot/drivers/led/
H A Dled_bcm6328.c1 // SPDX-License-Identifier: GPL-2.0+
43 uint8_t shift; member
49 return ((readl_be(priv->mode) >> priv->shift) & LED_MODE_MASK); in bcm6328_led_get_mode()
54 clrsetbits_be32(priv->mode, (LED_MODE_MASK << priv->shift), in bcm6328_led_set_mode()
55 (mode << priv->shift)); in bcm6328_led_set_mode()
73 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state()
76 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state()
95 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6328_led_set_state()
98 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6328_led_set_state()
107 return -ENOSYS; in bcm6328_led_set_state()
[all …]
/openbmc/u-boot/arch/mips/dts/
H A Dcomtrend,vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
11 model = "Comtrend VR-3032u";
12 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
19 stdout-path = "serial0:115200n8";
31 compatible = "brcm,enetsw-port";
34 brcm,phy-id = <1>;
38 compatible = "brcm,enetsw-port";
41 brcm,phy-id = <2>;
45 compatible = "brcm,enetsw-port";
[all …]
H A Dnetgear,dgnd3700v2.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
19 stdout-path = "serial0:115200n8";
22 gpio-leds {
23 compatible = "gpio-leds";
50 compatible = "brcm,enetsw-port";
53 brcm,phy-id = <0xff>;
55 full-duplex;
56 bypass-link;
70 brcm,serial-leds;
[all …]
/openbmc/linux/arch/mips/boot/dts/brcm/
H A Dbcm63268-comtrend-vr-3032u.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
7 compatible = "comtrend,vr-3032u", "brcm,bcm63268";
8 model = "Comtrend VR-3032u";
17 stdout-path = &uart0;
23 brcm,serial-leds;
24 brcm,serial-dat-low;
25 brcm,serial-shift-inv;
29 brcm,hardware-controlled;
30 brcm,link-signal-sources = <0>;
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-bcm6328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c
59 * struct bcm6328_led - state container for bcm6328 based LEDs
98 * bits [31:0] -> LEDs 8-23
99 * bits [47:32] -> LEDs 0-7
100 * bits [63:48] -> unused
105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift()
107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift()
113 unsigned long val, shift; in bcm6328_led_mode() local
115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode()
[all …]
/openbmc/linux/sound/pci/ac97/
H A Dac97_patch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls()
49 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv()
50 if (kctl && kctl->tlv.p) in reset_tlv()
51 kctl->tlv.p = tlv; in reset_tlv()
60 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page()
65 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page()
70 * shared line-in/mic controls
83 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get()
90 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put()
[all …]
/openbmc/linux/sound/pci/
H A Dazt3328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case).
13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download
17 * despite the high level of Internet ignorance - as usual :-P -
18 * about very good support for this card - on Linux!)
25 * in the first place >:-P}),
34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec,
36 * Fincitec-related company ARSmikro) has the following features:
[all …]
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC
3 * Copyright(c) 2002-2010 Exar Corp.
47 * Default is '2' - which means disable in promisc mode
48 * and enable in non-promiscuous mode.
60 #include <linux/dma-mapping.h>
78 #include <linux/io-64-nonatomic-lo-hi.h>
89 #include "s2io-regs.h"
104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT()
105 (GET_RXD_MARKER(rxdp->Control_2) != THE_RXD_MARK)); in RXD_IS_UP2DT()
125 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up()
[all …]
/openbmc/linux/
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]