Home
last modified time | relevance | path

Searched +full:7 +full:- +full:segment (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/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:
18 An array of GPIOs one per segment. The first GPIO corresponds to the A
19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks
[all …]
H A Dmaxim,max6959.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MAX6958/6959 7-segment LED display controller
10 - Andy Shevchenko <andriy.shevchenko@linux.intel.com>
13 The Maxim MAX6958/6959 7-segment LED display controller provides
14 an I2C interface to up to four 7-segment LED digits. The MAX6959,
17 may be enabled in the driver at run-time, in case they are requested
29 - compatible
30 - reg
[all …]
/linux/arch/x86/math-emu/
H A Dget_address.c1 // SPDX-License-Identifier: GPL-2.0
2 /*---------------------------------------------------------------------------+
9 | Australia. E-mail billm@suburbia.net |
12 +---------------------------------------------------------------------------*/
14 /*---------------------------------------------------------------------------+
19 +---------------------------------------------------------------------------*/
43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))
56 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs))
69 (reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs))
83 index = (base >> 3) & 7; in sib()
[all …]
/linux/drivers/acpi/
H A Dpci_mcfg.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/pci-acpi.h>
14 #include <linux/pci-ecam.h>
20 u16 segment; member
30 u16 segment; member
37 ((end) - (start) + 1), \
42 /* { OEM_ID, OEM_TABLE_ID, REV, SEGMENT, BUS_RANGE, ops, cfgres }, */
56 AL_ECAM("GRAVITON", 0, 7, &al_pcie_ops),
68 QCOM_ECAM32(7),
93 { "CAVIUM", "THUNDERX", rev, 7 + (10 * (node)), MCFG_BUS_ANY, \
[all …]
/linux/drivers/scsi/
H A Dqla1280.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
77 /* Command retry count (0-65535) */
85 /* ISP request and response entry counts (37-65535) */
95 /* NOTE: the sp->cmd will be NULL when this completion is
126 #define ISP_CFG1_F128 BIT_6 /* 128-byte FIFO threshold */
127 #define ISP_CFG1_F64 BIT_4|BIT_5 /* 128-byte FIFO threshold */
128 #define ISP_CFG1_F32 BIT_5 /* 128-byte FIFO threshold */
129 #define ISP_CFG1_F16 BIT_4 /* 128-byte FIFO threshold */
139 #define PCI_64BIT_SLOT BIT_14 /* PCI 64-bit slot indicator. */
159 #define CDMA_CONF_DIR BIT_0 /* DMA direction (0=fifo->host 1=host->fifo) */
[all …]
/linux/arch/powerpc/boot/
H A Delf.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 /* 32-bit ELF base types. */
12 /* 64-bit ELF base types. */
22 /* These constants are for the segment types stored in the image headers */
30 #define PT_TLS 7 /* Thread local storage segment */
31 #define PT_LOOS 0x60000000 /* OS-specific */
32 #define PT_HIOS 0x6fffffff /* OS-specific */
109 Elf64_Off p_offset; /* Segment file offset */
110 Elf64_Addr p_vaddr; /* Segment virtual address */
111 Elf64_Addr p_paddr; /* Segment physical address */
[all …]
/linux/include/uapi/linux/
H A Dnilfs2_ondisk.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
3 * nilfs2_ondisk.h - NILFS2 on-disk structures
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
17 * Laboratoire MASI - Institut Blaise Pascal
34 #define NILFS_INODE_BMAP_SIZE 7
37 * struct nilfs_inode - structure of an inode on disk
76 * struct nilfs_super_root - structure of super root
80 * @sr_nongc_ctime: write time of the last segment not for cleaner operation
83 * @sr_sufile: segment usage file inode
96 ((unsigned long)&((struct nilfs_super_root *)0)->sr_dat + \
[all …]
H A Delf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
6 #include <linux/elf-em.h>
8 /* 32-bit ELF base types. */
15 /* 64-bit ELF base types. */
25 /* These constants are for the segment types stored in the image headers */
33 #define PT_TLS 7 /* Thread local storage segment */
34 #define PT_LOOS 0x60000000 /* OS-specific */
35 #define PT_HIOS 0x6fffffff /* OS-specific */
44 /* ARM MTE memory tag segment type */
58 * - Oracle: Linker and Libraries.
[all …]
H A Dseg6_local.h2 * SR-IPv6 implementation
34 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
38 /* node segment */
40 /* adjacency segment (IPv6 cross-connect) */
44 /* decap and L2 cross-connect */
46 /* decap and IPv6 cross-connect */
48 /* decap and IPv4 cross-connect */
51 SEG6_LOCAL_ACTION_END_DT6 = 7,
54 /* binding segment with insertion */
56 /* binding segment with encapsulation */
[all …]
/linux/drivers/auxdisplay/
H A Dseg-led-gpio.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for a 7-segment LED display
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()
55 schedule_delayed_work(&priv->work, 0); in seg_led_linedisp_update()
[all …]
/linux/arch/x86/include/asm/
H A Dsegment.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * Constructor for a conventional segment GDT (or LDT) entry.
14 ((((base) & _AC(0xff000000,ULL)) << (56-24)) | \
16 (((limit) & _AC(0x000f0000,ULL)) << (48-16)) | \
37 * not 0. Testing the Requested Privilege Level in a segment selector to
52 /* LDT segment has TI set ... */
61 * The layout of the per-CPU GDT under Linux:
63 * 0 - null <=== cacheline #1
64 * 1 - reserved
65 * 2 - reserved
[all …]
H A Ddesc_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Segment descriptor structure definitions, usable from both x86_64 and i386
12 * Low-level interface mapping flags/field names to bits
15 /* Flags for _DESC_S (non-system) descriptors */
36 * High-level interface mapping intended usage to low-level combinations
65 /* 8 byte segment descriptor */
83 .p = ((flags) >> 7) & 0x0001, \
129 unsigned int segment; member
136 u16 segment; member
151 return g->offset_low | ((unsigned long)g->offset_middle << 16) | in gate_offset()
[all …]
H A Dtrapnr.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Event type codes used by FRED, Intel VT-x and AMD SVM
15 #define EVENT_TYPE_OTHER 7 // FRED SYSCALL/SYSENTER, VT-x MTF
19 #define X86_TRAP_DE 0 /* Divide-by-zero */
21 #define X86_TRAP_NMI 2 /* Non-maskable Interrupt */
26 #define X86_TRAP_NM 7 /* Device Not Available */
28 #define X86_TRAP_OLD_MF 9 /* Coprocessor Segment Overrun */
30 #define X86_TRAP_NP 11 /* Segment Not Present */
31 #define X86_TRAP_SS 12 /* Stack Segment Fault */
35 #define X86_TRAP_MF 16 /* x87 Floating-Point Exception */
[all …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp8.c1 // SPDX-License-Identifier: GPL-2.0
35 * filter taps taken to 7-bit precision,
36 * reference RFC6386#Page-16, filters[8][6]
40 { 0, -6, 123, 12, -1, 0 },
41 { 2, -11, 108, 36, -8, 1 },
42 { 0, -9, 93, 50, -6, 0 },
43 { 3, -16, 77, 77, -16, 3 },
44 { 0, -6, 50, 93, -9, 0 },
45 { 1, -8, 36, 108, -11, 2 },
46 { 0, -1, 12, 123, -6, 0 }
[all …]
/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl.c1 // SPDX-License-Identifier: MIT
52 int r0_x_end = r0->x + r0->width; in intersect_rec()
53 int r1_x_end = r1->x + r1->width; in intersect_rec()
54 int r0_y_end = r0->y + r0->height; in intersect_rec()
55 int r1_y_end = r1->y + r1->height; in intersect_rec()
57 rec.x = r0->x > r1->x ? r0->x : r1->x; in intersect_rec()
58 rec.width = r0_x_end > r1_x_end ? r1_x_end - rec.x : r0_x_end - rec.x; in intersect_rec()
59 rec.y = r0->y > r1->y ? r0->y : r1->y; in intersect_rec()
60 rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y; in intersect_rec()
95 * ------------ in calculate_plane_rec_in_timing_active()
[all …]
/linux/drivers/sbus/char/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 PROM device tree. The driver implements a SunOS-compatible
10 interface and a NetBSD-compatible interface.
28 on the Tadpole Sparcbook 3. This device handles power-management
33 tristate "UltraSPARC-III bootbus i2c controller driver"
54 tristate "7-Segment Display support"
57 This is the driver for the 7-segment display and LED present on
64 another UltraSPARC-IIi-cEngine boardset with a 7-segment display,
H A Ddisplay7seg.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* display7seg.c - Driver implementation for the 7-segment display
32 /* Solaris compatibility flag -
34 * documented driver features (ref Sun doc 806-0180-03).
38 * 1) Device ALWAYS reverts to OBP-specified FLIPPED mode
44 * omitting above features, set this parameter to non-zero.
51 MODULE_DESCRIPTION("7-Segment Display driver for Sun Microsystems CP1400/1500");
61 * Register block address- see header for details
62 * -----------------------------------------
64 * -----------------------------------------
[all …]
/linux/tools/include/uapi/linux/
H A Dseg6_local.h2 * SR-IPv6 implementation
31 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
35 /* node segment */
37 /* adjacency segment (IPv6 cross-connect) */
41 /* decap and L2 cross-connect */
43 /* decap and IPv6 cross-connect */
45 /* decap and IPv4 cross-connect */
48 SEG6_LOCAL_ACTION_END_DT6 = 7,
51 /* binding segment with insertion */
53 /* binding segment with encapsulation */
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/io-64-nonatomic-lo-hi.h>
19 /* Max number slots - only 1 is allowed. */
43 * struct cdnsp_cap_regs - CDNSP Registers.
46 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1
47 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2
48 * @hcs_params3: HCSPARAMS3 - Structural Parameters 3
49 * @hcc_params: HCCPARAMS - Capability Parameters
50 * @db_off: DBOFF - Doorbell array offset
51 * @run_regs_off: RTSOFF - Runtime register space offset
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
13 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1))
15 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
23 * Bit definitions for priv->s_flags.
28 * HFI1_S_TID_WAIT_INTERLCK - QP is waiting for requester interlock
29 * HFI1_R_TID_WAIT_INTERLCK - QP is waiting for responder interlock
38 /* BIT(7) - BIT(15) reserved for RVT_S_WAIT_*. */
116 u32 r_flow_psn; /* IB PSN of next segment start */
118 u32 s_next_psn; /* IB PSN of next segment start for read */
121 u32 cur_seg; /* index of current segment */
[all …]
/linux/include/linux/sunrpc/
H A Drpc_rdma.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (c) 2015-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
68 #define RPCRDMA_HDRLEN_MIN (sizeof(__be32) * 7)
78 RDMA_NOMSG = 1, /* An RPC call or reply msg - separate body */
94 * Private extension to RPC-over-RDMA Version One.
95 * Message passed during RDMA-CM connection set-up.
118 return (size >> 10) - 1; in rpcrdma_encode_buffer_size()
128 * xdr_encode_rdma_segment - Encode contents of an RDMA segment
[all …]
/linux/include/xen/interface/hvm/
H A Dhvm_vcpu.h1 /* SPDX-License-Identifier: MIT */
57 * The layout of the _ar fields of the segment registers is the
60 * Bits [0,3]: type (bits 40-43).
62 * Bit [5,6]: dpl (descriptor privilege level, bits 45-46).
63 * Bit 7: p (segment-present, bit 47).
65 * Bit 9: l (64-bit code segment, bit 53).
66 * Bit 10: db (meaning depends on the segment, bit 54).
93 * directly in long mode, so the cached parts of the segment
97 * the 32-bit structure should be used instead.
/linux/arch/s390/include/asm/
H A Dextmem.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * definitions for external memory segment support
12 * DCSS segment is defined as a contiguous range of pages using DEFSEG command.
18 /* possible values for segment type as returned by segment_info */
26 #define SEG_TYPE_EWEN 7
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-jpeg.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _jpeg-controls:
15 .. _jpeg-control-id:
28 spatial dimension. See :ref:`itu-t81`, clause A.1.1. for more
35 .. flat-table::
36 :header-rows: 0
37 :stub-columns: 0
39 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_444``
40 - No chroma subsampling, each pixel has Y, Cr and Cb values.
41 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_422``
[all …]
/linux/lib/zstd/decompress/
H A Dzstd_decompress_internal.h5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
19 /*-*******************************************************
27 /*-*******************************************************
31 0, 1, 2, 3, 4, 5, 6, 7,
44 0, 1, 2, 3, 4, 5, 6, 7,
50 3, 4, 5, 6, 7, 8, 9, 10,
59 /*-*******************************************************
77 #define ZSTD_BUILD_FSE_TABLE_WKSP_SIZE_U32 ((ZSTD_BUILD_FSE_TABLE_WKSP_SIZE + sizeof(U32) - 1) / si…
97 ZSTD_use_indefinitely = -1, /* Use the dictionary indefinitely */
[all …]

12345678910>>...26