Home
last modified time | relevance | path

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

12345678910>>...46

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/include/linux/
Datomisp_platform.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #include <asm/intel-family.h>
25 #include <media/v4l2-subdev.h>
50 ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY,/* 8 bits per subpixel (legacy) */
51 ATOMISP_INPUT_FORMAT_YUV420_8, /* 8 bits per subpixel */
52 ATOMISP_INPUT_FORMAT_YUV420_10,/* 10 bits per subpixel */
53 ATOMISP_INPUT_FORMAT_YUV420_16,/* 16 bits per subpixel */
54 ATOMISP_INPUT_FORMAT_YUV422_8, /* UYVY..UVYV, 8 bits per subpixel */
55 ATOMISP_INPUT_FORMAT_YUV422_10,/* UYVY..UVYV, 10 bits per subpixel */
56 ATOMISP_INPUT_FORMAT_YUV422_16,/* UYVY..UVYV, 16 bits per subpixel */
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/linux/
Datomisp_platform.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #include <asm/intel-family.h>
26 #include <media/v4l2-subdev.h>
51 ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY,/* 8 bits per subpixel (legacy) */
52 ATOMISP_INPUT_FORMAT_YUV420_8, /* 8 bits per subpixel */
53 ATOMISP_INPUT_FORMAT_YUV420_10,/* 10 bits per subpixel */
54 ATOMISP_INPUT_FORMAT_YUV420_16,/* 16 bits per subpixel */
55 ATOMISP_INPUT_FORMAT_YUV422_8, /* UYVY..UVYV, 8 bits per subpixel */
56 ATOMISP_INPUT_FORMAT_YUV422_10,/* UYVY..UVYV, 10 bits per subpixel */
57 ATOMISP_INPUT_FORMAT_YUV422_16,/* UYVY..UVYV, 16 bits per subpixel */
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/jaketown/
Duncore-interconnect.json25data to the uncore. These writes are generally queued up in the switch trying to get to the head …
34data to the uncore. These writes are generally queued up in the switch trying to get to the head …
43 …he occupancy increments when a write request is issued, and decrements when the data is returned.",
52 …he occupancy increments when a write request is issued, and decrements when the data is returned.",
61 …The occupancy increments when a read request is issued, and decrements when the data is returned.",
70 …The occupancy increments when a read request is issued, and decrements when the data is returned.",
97 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
106 …ncrements when the ownership fetch/prefetch is issued, and decrements the data is returned to the …
143 …ress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for d…
147 "BriefDescription": "BL Ingress Occupancy - DRS",
[all …]
/kernel/linux/linux-6.6/include/linux/can/
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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dcss_receiver_2400_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
44 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
45 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
46 …_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 */
46 /* division of gen_short data, ch_id and fmt_type over streaming data interface */
50 …VER_2400_GEN_SHORT_STR_DATA_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_LSB - 1)
51 …VER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_CH_ID_BIT_LSB - 1)
52 …VER_2400_GEN_SHORT_STR_CH_ID_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH - 1)
90 /* Interrupt bits for IRQ_STATUS and IRQ_ENABLE registers */
122 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_FRAME_DATA_CAUSE_ "Error frame data"
123 #define _HRT_CSS_RECEIVER_2400_IRQ_DATA_TIMEOUT_CAUSE_ "Data time-out"
127 /* Bits for CSI2_DEVICE_READY register */
136 /* Bits for CSI2_FUNC_PROG register */
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/css_2401_system/hrt/
Dmipi_backend_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
44 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
45 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
46 …_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-bit Data Type 3 …
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
Dcss_receiver_2400_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
44 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
45 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
46 …_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 */
46 /* division of gen_short data, ch_id and fmt_type over streaming data interface */
50 …VER_2400_GEN_SHORT_STR_DATA_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_LSB - 1)
51 …VER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_CH_ID_BIT_LSB - 1)
52 …VER_2400_GEN_SHORT_STR_CH_ID_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH - 1)
90 /* Interrupt bits for IRQ_STATUS and IRQ_ENABLE registers */
122 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_FRAME_DATA_CAUSE_ "Error frame data"
123 #define _HRT_CSS_RECEIVER_2400_IRQ_DATA_TIMEOUT_CAUSE_ "Data time-out"
127 /* Bits for CSI2_DEVICE_READY register */
136 /* Bits for CSI2_FUNC_PROG register */
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/hrt/
Dmipi_backend_common_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Definition of data format ID at the interface CSS_receiver capture/acquisition units */
28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit …
29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit …
30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega…
31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit …
32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit …
44 …DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type 1] …
45 …_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-bit Data Type 2 …
46 …_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-bit Data Type 3 …
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/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 …]
/kernel/linux/linux-6.6/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 …]

12345678910>>...46