Home
last modified time | relevance | path

Searched +full:data +full:- +full:bits (Results 1 – 25 of 1115) sorted by relevance

12345678910>>...45

/linux/drivers/staging/media/atomisp/include/linux/
H A Datomisp_platform.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include <media/v4l2-subdev.h>
39 ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY,/* 8 bits per subpixel (legacy) */
40 ATOMISP_INPUT_FORMAT_YUV420_8, /* 8 bits per subpixel */
41 ATOMISP_INPUT_FORMAT_YUV420_10,/* 10 bits per subpixel */
42 ATOMISP_INPUT_FORMAT_YUV420_16,/* 16 bits per subpixel */
43 ATOMISP_INPUT_FORMAT_YUV422_8, /* UYVY..UVYV, 8 bits per subpixel */
44 ATOMISP_INPUT_FORMAT_YUV422_10,/* UYVY..UVYV, 10 bits per subpixel */
45 ATOMISP_INPUT_FORMAT_YUV422_16,/* UYVY..UVYV, 16 bits per subpixel */
46 ATOMISP_INPUT_FORMAT_RGB_444, /* BGR..BGR, 4 bits per subpixel */
[all …]
/linux/drivers/media/rc/
H A Dir-imon-decoder.c1 // SPDX-License-Identifier: GPL-2.0+
2 // ir-imon-decoder.c - handle iMon protocol
9 #include "rc-core-priv.h"
19 * This protocol has 30 bits. The format is one IMON_UNIT header pulse,
20 * followed by 30 bits. Each bit is one IMON_UNIT check field, and then
22 * The check field is always space for some bits, for others it is pulse if
24 * defines which bits are of type check.
27 * the lower bits are all set, iow. the last pulse is for the lowest
40 struct imon_dec *imon = &dev->raw->imon; in ir_imon_decode_scancode()
43 if (imon->bits == 0x299115b7) in ir_imon_decode_scancode()
[all …]
H A Dir-rc5-decoder.c1 // SPDX-License-Identifier: GPL-2.0
2 // ir-rc5-decoder.c - decoder for RC5(x) and StreamZap protocols
12 #include "rc-core-priv.h"
34 * ir_rc5_decode() - Decode one RC-5 pulse or space
38 * This function returns -EINVAL if the pulse violates the state machine
42 struct rc5_dec *data = &dev->raw->rc5; in ir_rc5_decode() local
49 data->state = STATE_INACTIVE; in ir_rc5_decode()
57 dev_dbg(&dev->dev, "RC5(x/sz) decode started at state %i (%uus %s)\n", in ir_rc5_decode()
58 data->state, ev.duration, TO_STR(ev.pulse)); in ir_rc5_decode()
63 switch (data->state) { in ir_rc5_decode()
[all …]
H A Dir-sanyo-decoder.c1 // SPDX-License-Identifier: GPL-2.0
2 // ir-sanyo-decoder.c - handle SANYO IR Pulse/Space protocol
6 // This protocol uses the NEC protocol timings. However, data is formatted as:
7 // 13 bits Custom Code
8 // 13 bits NOT(Custom Code)
9 // 8 bits Key data
10 // 8 bits NOT(Key data)
17 #include "rc-core-priv.h"
40 * ir_sanyo_decode() - Decode one SANYO pulse or space
44 * This function returns -EINVAL if the pulse violates the state machine
[all …]
H A Dir-rcmm-decoder.c1 // SPDX-License-Identifier: GPL-2.0+
2 // ir-rcmm-decoder.c - A decoder for the RCMM IR protocol
6 #include "rc-core-priv.h"
24 static bool rcmm_mode(const struct rcmm_dec *data) in rcmm_mode() argument
26 return !((0x000c0000 & data->bits) == 0x000c0000); in rcmm_mode()
29 static int rcmm_miscmode(struct rc_dev *dev, struct rcmm_dec *data) in rcmm_miscmode() argument
31 switch (data->count) { in rcmm_miscmode()
33 if (dev->enabled_protocols & RC_PROTO_BIT_RCMM24) { in rcmm_miscmode()
34 rc_keydown(dev, RC_PROTO_RCMM24, data->bits, 0); in rcmm_miscmode()
35 data->state = STATE_INACTIVE; in rcmm_miscmode()
[all …]
H A Dite-cir.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 #define ITE_DRIVER_NAME "ite-cir"
34 /* hw-specific operation function pointers; most of these must be
82 /* sync data */
98 /* duty cycle, 0-100 */
114 /* low-speed carrier frequency limits (Hz) */
118 /* high-speed carrier frequency limits (Hz) */
125 /* convert bits to us */
126 #define ITE_BITS_TO_US(bits, sample_period) \ argument
127 ((u32)((bits) * ITE_BAUDRATE_DIVISOR * (sample_period) / 1000))
[all …]
H A Dir-sony-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-sony-decoder.c - handle Sony IR Pulse/Space protocol
9 #include "rc-core-priv.h"
28 * ir_sony_decode() - Decode one Sony pulse or space
32 * This function returns -EINVAL if the pulse violates the state machine
36 struct sony_dec *data = &dev->raw->sony; in ir_sony_decode() local
43 data->state = STATE_INACTIVE; in ir_sony_decode()
50 dev_dbg(&dev->dev, "Sony decode started at state %d (%uus %s)\n", in ir_sony_decode()
51 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sony_decode()
53 switch (data->state) { in ir_sony_decode()
[all …]
/linux/include/linux/
H A Drio_drv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 u32 * data);
22 u32 data);
24 u16 * data);
26 u16 data);
28 u8 * data);
30 u8 data);
33 u8 hopcount, u32 offset, u32 * data);
35 u8 hopcount, u32 offset, u32 data);
37 u8 hopcount, u32 offset, u16 * data);
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_bits_iter.c1 // SPDX-License-Identifier: GPL-2.0-only
21 __description("bits iter without destroy")
26 u64 data = 1; in BPF_PROG() local
28 bpf_iter_bits_new(&it, &data, 1); in BPF_PROG()
34 __description("uninitialized iter in ->next()")
45 __description("uninitialized iter in ->destroy()")
66 if (err != -EINVAL) in null_pointer()
69 bpf_for_each(bits, bit, NULL, 1) in null_pointer()
75 __description("bits copy")
79 u64 data = 0xf7310UL; /* 4 + 3 + 2 + 1 + 0*/ in bits_copy() local
[all …]
/linux/tools/perf/pmu-events/arch/x86/jaketown/
H A Duncore-interconnect.json28data to the uncore. These writes are generally queued up in the switch trying to get to the head …
38data to the uncore. These writes are generally queued up in the switch trying to get to the head …
48 …he occupancy increments when a write request is issued, and decrements when the data is returned.",
58 …he occupancy increments when a write request is issued, and decrements when the data is returned.",
68 …The occupancy increments when a read request is issued, and decrements when the data is returned.",
78 …The occupancy increments when a read request is issued, and decrements when the data is returned.",
108 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
118 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
160 …ress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for d…
164 "BriefDescription": "BL Ingress Occupancy - DRS",
[all …]
/linux/include/linux/can/
H A Dlength.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 Marc Kleine-Budde <kernel@pengutronix.de>
10 #include <linux/bits.h>
16 * Size of a Classical CAN Standard Frame header in bits
18 * Name of Field Bits
19 * ---------------------------------------------------------
27 * Data Length Code (DLC) 4
29 * including all fields preceding the data field, ignoring bitstuffing
34 * Size of a Classical CAN Extended Frame header in bits
36 * Name of Field Bits
[all …]
/linux/Documentation/arch/sparc/oradax/
H A Ddax-hv-api.txt3 Publication date 2017-09-25 08:21
5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf"
13 …The following APIs provide access via the Hypervisor to hardware assisted data processing function…
16 live-migration and other system management activities.
18 36.1. Data Analytics Accelerator
19 …The Data Analytics Accelerator (DAX) functionality is a collection of hardware coprocessors that p…
20 …high speed processoring of database-centric operations. The coprocessors may support one or more of
21 …the following data query operations: search, extraction, compression, decompression, and translati…
24 …The DAX is a virtual device to sun4v guests, with supported data operations indicated by the virtu…
28 …e Completion Area and, unless execution order is specifically restricted through the use of serial-
[all …]
/linux/drivers/iio/adc/
H A Dti-ads7950.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
36 * Device tree users encode that via the vref-supply regulator.
52 /* val = value, dec = left shift, bits = number of bits of the mask */
53 #define TI_ADS7950_EXTRACT(val, dec, bits) \ argument
54 (((val) >> (dec)) & ((1 << (bits)) - 1))
61 (TI_ADS7950_MAN_CMD(TI_ADS7950_CR_WRITE | st->cmd_settings_bitmask))
64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask))
81 * Bitmask of lower 7 bits used for configuration
82 * These bits only can be written when TI_ADS7950_CR_WRITE
[all …]
/linux/lib/
H A Dbase64.c1 // SPDX-License-Identifier: GPL-2.0
3 * base64.c - RFC4648-compliant base64 encoding
8 * (which are using the URL-safe base64 encoding),
22 * base64_encode() - base64-encode some binary data
23 * @src: the binary data to encode
25 * @dst: (output) the base64-encoded string. Not NUL-terminated.
27 * Encodes data using base64 encoding, i.e. the "Base 64 Encoding" specified
28 * by RFC 4648, including the '='-padding.
30 * Return: the length of the resulting base64-encoded string in bytes.
35 int bits = 0; in base64_encode() local
[all …]
/linux/lib/842/
H A D842.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * number of data bytes to add to the output buffer, or an index pointing
14 * to a previously-written number of data bytes to copy to the output buffer.
16 * The template code is a 5-bit value. This code indicates what to do with
17 * the following data. Template codes from 0 to 0x19 should use the template
20 * an arg following the template code bits. Each action is either a "data"
25 * N0 (for which there is no corresponding arg in the compressed data buffer).
27 * "Data" actions, indicated in the table by D2, D4, and D8, mean that the
28 * corresponding arg is 2, 4, or 8 bytes, respectively, in the compressed data
35 * in a ring buffer that contains the last N bytes of output buffer data.
[all …]
/linux/scripts/dtc/
H A Ddtc-parser.y1 // SPDX-License-Identifier: GPL-2.0-or-later
38 struct data data; member
41 struct data data; member
42 int bits; member
66 %token <data> DT_STRING
72 %type <data> propdata
73 %type <data> propdataprefix
79 %type <data> bytestring
153 add_label(&$2->labels, $1);
174 * so $-1 is what we want (plugindecl)
[all …]
/linux/fs/ocfs2/
H A Dblockcheck.c1 // SPDX-License-Identifier: GPL-2.0-only
30 * d = # data bits
31 * p = # parity bits
32 * c = # total code bits (d + p)
38 * offset in the data buffer. Since the hamming code reserves all
39 * power-of-two bits for parity, the data bit number and the code bit
40 * number are offset by all the parity bits beforehand.
42 * Recall that bit numbers in hamming code are 1-based. This function
43 * takes the 0-based data bit from the caller.
45 * An example. Take bit 1 of the data buffer. 1 is a power of two (2^0),
[all …]
/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance)
8 * YAS532 MS-3R (2011 Samsung Galaxy S4)
9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L)
11 * YAS535 MS-6C
12 * YAS536 MS-3W
13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7)
14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN)
57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */
58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */
[all …]
/linux/drivers/comedi/drivers/
H A Dc6xdigio.c1 // SPDX-License-Identifier: GPL-2.0+
7 * COMEDI - Linux Control and Measurement Device Interface
20 * [0] - base address
53 status = inb(dev->iobase + C6XDIGIO_STATUS_REG); in c6xdigio_chk_status()
59 return -EBUSY; in c6xdigio_chk_status()
65 outb_p(val, dev->iobase + C6XDIGIO_DATA_REG); in c6xdigio_write_data()
70 unsigned int *bits, in c6xdigio_get_encoder_bits() argument
76 val = inb(dev->iobase + C6XDIGIO_STATUS_REG); in c6xdigio_get_encoder_bits()
80 *bits = val; in c6xdigio_get_encoder_bits()
89 unsigned int bits; in c6xdigio_pwm_write() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_dmcu.c2 * Copyright 2012-16 Advanced Micro Devices, Inc.
38 (dmcu_dce->regs->reg)
42 dmcu_dce->dmcu_shift->field_name, dmcu_dce->dmcu_mask->field_name
45 dmcu_dce->base.ctx
120 /* Read data from IRAM_RD_DATA in DMCU_IRAM_RD_DATA*/ in dce_get_dmcu_psr_state()
181 link->link_enc->funcs->psr_program_dp_dphy_fast_training(link->link_enc, in dce_dmcu_setup_psr()
182 psr_context->psrExitLinkTrainingRequired); in dce_dmcu_setup_psr()
192 switch (psr_context->controllerId) { in dce_dmcu_setup_psr()
229 link->link_enc->funcs->psr_program_secondary_packet(link->link_enc, in dce_dmcu_setup_psr()
230 psr_context->sdpTransmitLineNumDeadline); in dce_dmcu_setup_psr()
[all …]
/linux/drivers/hwmon/
H A Dmax31790.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max31790.c - Part of lm_sensors, Linux kernel modules for hardware
28 /* Fan Config register bits */
34 /* Fan Dynamics register bits */
56 * Client data (each client gets its own)
75 struct max31790_data *data = dev_get_drvdata(dev); in max31790_update_device() local
76 struct i2c_client *client = data->client; in max31790_update_device()
77 struct max31790_data *ret = data; in max31790_update_device()
81 mutex_lock(&data->update_lock); in max31790_update_device()
83 if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { in max31790_update_device()
[all …]
/linux/Documentation/driver-api/iio/
H A Dbuffers.rst11 The Industrial I/O core offers a way for continuous data capture based on a
12 trigger source. Multiple data channels can be read at once from
21 * :file:`length`, the total number of data samples (capacity) that can be
29 called a scan element. The important bits configuring scan elements are
35 is non *zero*, then a triggered capture will contain data samples for this
38 * :file:`type`, description of the scan element data storage within the buffer
40 Format is [be|le]:[s|u]bits/storagebits[Xrepeat][>>shift] .
44 * *bits*, is the number of valid data bits.
45 * *storagebits*, is the number of bits (after padding) that it occupies in the
47 * *repeat*, specifies the number of bits/storagebits repetitions. When the
[all …]
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-jtag.c8 * Copyright (c) 2003-2008 Cavium Networks
15 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
36 #include <asm/octeon/cvmx-helper-jtag.h>
50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
51 divisor = (divisor - 1) >> 2; in cvmx_helper_qlm_jtag_init()
74 * Write up to 32bits into the QLM jtag chain. Bits are shifted
76 * order bits followed by the high order bits. The JTAG chain is
77 * 4 * 268 bits long, or 1072.
80 * @bits: Number of bits to shift in (1-32).
[all …]
/linux/arch/powerpc/platforms/cell/
H A Dinterrupt.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Mapping of IIC pending bits into per-node interrupt numbers.
11 * higher level bits
13 * The bottom 8 bits are split into 2 type bits and 6 data bits that
16 * 00 (0x00 | data) : normal interrupt. data is (class << 4) | source
17 * 01 (0x40 | data) : IO exception. data is the exception number as
19 * 10 (0x80 | data) : IPI. data is the IPI number (obtained from the priority)
20 * and node is always 0 (IPIs are per-cpu, their source is
22 * 11 (0xc0 | data) : reserved
25 * (that is the node field is expected to never extend to move than 23 bits)
[all …]
/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-interconnect.json28data to the uncore. These writes are generally queued up in the switch trying to get to the head …
38data to the uncore. These writes are generally queued up in the switch trying to get to the head …
48 …upancy increments when a write request is issued, and decrements when the data is returned.; Track…
58 …upancy increments when a write request is issued, and decrements when the data is returned.; Track…
68 …cupancy increments when a read request is issued, and decrements when the data is returned.; Track…
78 …cupancy increments when a read request is issued, and decrements when the data is returned.; Track…
108 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
118 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
160 …ress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for d…
164 "BriefDescription": "BL Ingress Occupancy - DRS",
[all …]

12345678910>>...45