Home
last modified time | relevance | path

Searched +full:led +full:- +full:7 +full:seg (Results 1 – 17 of 17) sorted by relevance

/linux/Documentation/devicetree/bindings/auxdisplay/
H A Dgpio-7-segment.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO based LED segment display
10 - Chris Packham <chris.packham@alliedtelesis.co.nz>
14 const: gpio-7-segment
16 segment-gpios:
19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks
23 -a-
[all …]
/linux/drivers/auxdisplay/
H A Dseg-led-gpio.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for a 7-segment LED display
5 * The decimal point LED present on some devices is currently not
22 #include "line-display.h"
33 struct linedisp *linedisp = &priv->linedisp; in seg_led_update()
34 struct linedisp_map *map = linedisp->map; in seg_led_update()
37 bitmap_set_value8(values, map_to_seg7(&map->map.seg7, linedisp->buf[0]), 0); in seg_led_update()
39 gpiod_set_array_value_cansleep(priv->segment_gpios->ndescs, priv->segment_gpios->desc, in seg_led_update()
40 priv->segment_gpios->info, values); in seg_led_update()
47 INIT_DELAYED_WORK(&priv->work, seg_led_update); in seg_led_linedisp_get_map_type()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 # see Documentation/kbuild/kconfig-language.rst.
25 This is the base system for character-based LCD displays.
67 Say Y here if you have an HD44780 or KS-0074 LCD connected to your
68 parallel port. This driver also features 4 and 6-key keypads. The LCD
88 int "Default panel profile (0-5, 0=custom)"
99 2 = 2x16 serial LCD (KS-0074), new keypad
119 2 : new 6 keys keypad, as used on the server at www.ant-computing.com
140 3 : 2x16 serial LCD (KS-0074 based)
150 int "Number of lines on the LCD (1-2)"
[all …]
/linux/arch/mips/include/asm/txx9/
H A Dgeneric.h2 * linux/include/asm-mips/txx9/generic.h
65 /* 8 bit version of __fls(): find first bit set (returns 0..7) */
68 int r = 7; in __fls8()
71 r -= 4; in __fls8()
75 r -= 2; in __fls8()
79 r -= 1; in __fls8()
87 /* 7SEG LED */
/linux/arch/mips/include/asm/
H A Djazz.h6 * Copyright (C) 1995 - 1998 by Andreas Busse and Ralf Baechle
24 * 0xf0000000 - Rev1
25 * 0xf0000001 - Rev2
26 * 0xf0000002 - Rev3
31 * The segments of the seven segment LED are mapped
34 * (7)
35 * ---------
39 * ---------
43 * --------- . (0)
48 * Some characters for the LED control registers
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-atl-x530.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 (x530/AT-GS980MX)
9 /dts-v1/;
10 #include "armada-385.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
15 model = "x530/AT-GS980MX";
19 stdout-path = "serial1:115200n8";
32 internal-regs {
34 pinctrl-names = "default";
35 pinctrl-0 = <&i2c0_pins>;
[all …]
/linux/drivers/net/ethernet/asix/
H A Dax88796c_main.c1 // SPDX-License-Identifier: GPL-2.0-only
44 lockdep_assert_held(&ax_local->spi_lock); in ax88796c_soft_reset()
46 AX_WRITE(&ax_local->ax_spi, PSR_RESET, P0_PSR); in ax88796c_soft_reset()
47 AX_WRITE(&ax_local->ax_spi, PSR_RESET_CLR, P0_PSR); in ax88796c_soft_reset()
52 &ax_local->ax_spi, P0_PSR); in ax88796c_soft_reset()
56 temp = AX_READ(&ax_local->ax_spi, P4_SPICR); in ax88796c_soft_reset()
57 if (ax_local->priv_flags & AX_CAP_COMP) { in ax88796c_soft_reset()
58 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset()
60 ax_local->ax_spi.comp = 1; in ax88796c_soft_reset()
62 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset()
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
46 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */
100 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
101 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */
168 #define E1000_PSRCTL_BSIZE0_SHIFT 7 /* Shift _right_ 7 */
183 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */
185 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */
238 /* 1000/H is not supported, nor spec-compliant. */
251 /* LED Control */
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dwifi.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
86 #define ASPM_L1_LATENCY 7
108 #define CHANNEL_MAX_NUMBER_5G_80M 7
132 H2C_MACID_PS_MODE = 7,
172 #define GET_TX_REPORT_ST_V2(c2h) (c2h[7] & 0xC0)
190 #define MAX_BASE_NUM_IN_PHY_REG_PG_5G 5 /* MAX_RATE_SECTION -1 */
192 #define BUFDESC_SEG_NUM 1 /* 0:2 seg, 1: 4 seg, 2: 8 seg */
233 #define WOL_REASON_PATTERN_PKT BIT(7)
349 #define RTL_HW_TYPE(rtlpriv) (rtl_hal((struct rtl_priv *)rtlpriv)->hw_type)
[all …]
/linux/drivers/scsi/aic7xxx/
H A Daic79xx.h4 * Copyright (c) 1994-2002 Justin T. Gibbs.
5 * Copyright (c) 2000-2002 Adaptec Inc.
19 * 3. Neither the names of the above-listed copyright holders nor the names
78 SCSIID_OUR_ID((scb)->hscb->scsiid)
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
84 ((scb)->hscb->lun)
92 && (((scb)->flags & SCB_SILENT) != 0))
95 (((scb)->flags & SCB_SILENT) != 0)
103 (tcl & (AHD_NUM_LUNS - 1))
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
357 /* LED functions */
422 /* MAC decode size is 128K - This is the size of BAR0 */
443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE)
486 * E1000_RAR_ENTRIES - 1 multicast addresses.
503 /* Receive Descriptor - Extended */
529 /* Receive Descriptor - Packet Split */
553 __le16 length[3]; /* length of buffers 1-3 */
567 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */
[all …]
/linux/net/mac80211/
H A Dtx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2002-2005, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2018-2024 Intel Corporation
32 #include "driver-ops.h"
33 #include "led.h"
48 struct ieee80211_local *local = tx->local; in ieee80211_duration()
56 if (tx->rate.flags & (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS)) in ieee80211_duration()
[all …]
/linux/arch/x86/kvm/
H A Dx86.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
16 * Ben-Ami Yassour <benami@il.ibm.com>
48 #include <linux/user-return-notifier.h>
62 #include <linux/entry-kvm.h>
109 ((struct kvm_vcpu *)(ctxt)->vcpu)
112 * - enable syscall per default because its emulated by KVM
113 * - enable LME and LMA per default on 64 bit KVM
146 *(((struct kvm_x86_ops *)0)->func));
149 #include <asm/kvm-x86-ops.h>
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_init.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2014 QLogic Corporation
43 /* SRB Extensions ---------------------------------------------------------- */
50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout()
53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout()
54 iocb->timeout(sp); in qla2x00_sp_timeout()
57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout()
59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout()
68 struct srb_iocb *iocb = &sp->u.iocb_cmd; in qla2x00_sp_free()
70 del_timer(&iocb->timer); in qla2x00_sp_free()
[all …]
/linux/sound/pci/hda/
H A Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NI
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
68 * 0 7 8 16 20 22 23 24 31
71 * | | \--- Response
72 * | \------- Error
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
123 * and dev->tx_timeout() should be called to fix the problem
[all …]