Home
last modified time | relevance | path

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

12345678910>>...45

/linux-6.14.4/drivers/staging/media/atomisp/include/linux/
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-6.14.4/drivers/media/rc/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/linux-6.14.4/include/linux/
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-6.14.4/tools/testing/selftests/bpf/progs/
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-6.14.4/include/linux/can/
Dlength.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 Marc Kleine-Budde <[email protected]>
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-6.14.4/drivers/staging/media/atomisp/pci/
Dcss_receiver_2400_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
19 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
20 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
21 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
22 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
23 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
35 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
36 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
37 …_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-bit Data Type 3 …
[all …]
Dcss_receiver_2400_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 /* division of gen_short data, ch_id and fmt_type over streaming data interface */
41 …VER_2400_GEN_SHORT_STR_DATA_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_LSB - 1)
42 …VER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_CH_ID_BIT_LSB - 1)
43 …VER_2400_GEN_SHORT_STR_CH_ID_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH - 1)
81 /* Interrupt bits for IRQ_STATUS and IRQ_ENABLE registers */
113 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_FRAME_DATA_CAUSE_ "Error frame data"
114 #define _HRT_CSS_RECEIVER_2400_IRQ_DATA_TIMEOUT_CAUSE_ "Data time-out"
118 /* Bits for CSI2_DEVICE_READY register */
127 /* Bits for CSI2_FUNC_PROG register */
[all …]
Dsh_css_mipi.c1 // SPDX-License-Identifier: GPL-2.0
28 * - A line is multiple of 4 bytes = 1 word.
29 * - Each frame has SOF and EOF (each 1 word).
30 * - Each line has format header and optionally SOL and EOL (each 1 word).
31 * - Odd and even lines of YUV420 format are different in bites per pixel size.
32 * - Custom size of embedded data.
33 * -- Interleaved frames are not taken into account.
34 * -- Lines are multiples of 8B, and not necessary of (custom 3B, or 7B
36 * Result is given in DDR mem words, 32B or 256 bits
63 * in the non-continuous use scenario. in ia_css_mipi_frame_calculate_size()
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/css_2401_system/hrt/
Dmipi_backend_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
19 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
20 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
21 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
22 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
23 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
35 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
36 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
37 …_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-bit Data Type 3 …
[all …]
/linux-6.14.4/tools/perf/pmu-events/arch/x86/jaketown/
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-6.14.4/lib/
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-6.14.4/Documentation/arch/sparc/oradax/
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-6.14.4/drivers/iio/adc/
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-6.14.4/lib/842/
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-6.14.4/scripts/dtc/
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-6.14.4/drivers/comedi/drivers/
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-6.14.4/fs/ocfs2/
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-6.14.4/drivers/iio/magnetometer/
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-6.14.4/Documentation/driver-api/iio/
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-6.14.4/drivers/misc/eeprom/
Deeprom_93xx46.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/bits.h>
23 #include <linux/nvmem-provider.h>
30 #define EE_SIZE1K 0x10 /* 1 kb of data, that is a 93xx46 */
31 #define EE_SIZE2K 0x20 /* 2 kb of data, that is a 93xx56 */
32 #define EE_SIZE4K 0x40 /* 4 kb of data, that is a 93xx66 */
92 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_SINGLE_WORD_READ; in has_quirk_single_word_read()
97 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_INSTRUCTION_LENGTH; in has_quirk_instruction_length()
102 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_EXTRA_READ_CYCLE; in has_quirk_extra_read_cycle()
111 int bits; in eeprom_93xx46_read() local
[all …]

12345678910>>...45