| /kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-decoder.c | 22 #include "intel-pt-insn-decoder.h" 23 #include "intel-pt-pkt-decoder.h" 24 #include "intel-pt-decoder.h" 95 #define INTEL_PT_STATE_ERR1 (decoder->pkt_state) 224 static void intel_pt_setup_period(struct intel_pt_decoder *decoder) in intel_pt_setup_period() argument 226 if (decoder->period_type == INTEL_PT_PERIOD_TICKS) { in intel_pt_setup_period() 229 period = intel_pt_lower_power_of_2(decoder->period); in intel_pt_setup_period() 230 decoder->period_mask = ~(period - 1); in intel_pt_setup_period() 231 decoder->period_ticks = period; in intel_pt_setup_period() 244 struct intel_pt_decoder *decoder; in intel_pt_decoder_new() local [all …]
|
| D | Build | 1 perf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o intel-pt-d… 6 $(OUTPUT)util/intel-pt-decoder/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) 12 …(OUTPUT)util/intel-pt-decoder/intel-pt-insn-decoder.o: util/intel-pt-decoder/intel-pt-insn-decoder… 16 CFLAGS_intel-pt-insn-decoder.o += -I$(OUTPUT)util/intel-pt-decoder 19 CFLAGS_intel-pt-insn-decoder.o += -Wno-override-init
|
| /kernel/linux/linux-4.19/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-decoder.c | 31 #include "intel-pt-insn-decoder.h" 32 #include "intel-pt-pkt-decoder.h" 33 #include "intel-pt-decoder.h" 95 #define INTEL_PT_STATE_ERR1 (decoder->pkt_state) 197 static void intel_pt_setup_period(struct intel_pt_decoder *decoder) in intel_pt_setup_period() argument 199 if (decoder->period_type == INTEL_PT_PERIOD_TICKS) { in intel_pt_setup_period() 202 period = intel_pt_lower_power_of_2(decoder->period); in intel_pt_setup_period() 203 decoder->period_mask = ~(period - 1); in intel_pt_setup_period() 204 decoder->period_ticks = period; in intel_pt_setup_period() 217 struct intel_pt_decoder *decoder; in intel_pt_decoder_new() local [all …]
|
| D | Build | 1 libperf-$(CONFIG_AUXTRACE) += intel-pt-pkt-decoder.o intel-pt-insn-decoder.o intel-pt-log.o intel-p… 3 inat_tables_script = util/intel-pt-decoder/gen-insn-attr-x86.awk 4 inat_tables_maps = util/intel-pt-decoder/x86-opcode-map.txt 6 $(OUTPUT)util/intel-pt-decoder/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) 12 …tel-pt-decoder/intel-pt-insn-decoder.o: util/intel-pt-decoder/intel-pt-insn-decoder.c util/intel-p… 15 ((diff -B -I'^#include' util/intel-pt-decoder/insn.c ../../arch/x86/lib/insn.c >/dev/null) || \ 16 …(echo "Warning: Intel PT: x86 instruction decoder C file at 'tools/perf/util/intel-pt-decoder/insn… 17 ((diff -B -I'^#include' util/intel-pt-decoder/inat.c ../../arch/x86/lib/inat.c >/dev/null) || \ 18 …(echo "Warning: Intel PT: x86 instruction decoder C file at 'tools/perf/util/intel-pt-decoder/inat… 19 …((diff -B util/intel-pt-decoder/x86-opcode-map.txt ../../arch/x86/lib/x86-opcode-map.txt >/dev/nul… [all …]
|
| /kernel/linux/linux-4.19/tools/perf/util/cs-etm-decoder/ |
| D | cs-etm-decoder.c | 17 #include "cs-etm-decoder.h" 56 struct cs_etm_decoder *decoder = (struct cs_etm_decoder *) context; in cs_etm_decoder__mem_access() local 58 return decoder->mem_access(decoder->data, in cs_etm_decoder__mem_access() 64 int cs_etm_decoder__add_mem_access_cb(struct cs_etm_decoder *decoder, in cs_etm_decoder__add_mem_access_cb() argument 68 decoder->mem_access = cb_func; in cs_etm_decoder__add_mem_access_cb() 70 if (ocsd_dt_add_callback_mem_acc(decoder->dcd_tree, start, end, in cs_etm_decoder__add_mem_access_cb() 72 cs_etm_decoder__mem_access, decoder)) in cs_etm_decoder__add_mem_access_cb() 78 int cs_etm_decoder__reset(struct cs_etm_decoder *decoder) in cs_etm_decoder__reset() argument 82 decoder->prev_return = OCSD_RESP_CONT; in cs_etm_decoder__reset() 84 dp_ret = ocsd_dt_process_data(decoder->dcd_tree, OCSD_OP_RESET, in cs_etm_decoder__reset() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/arm-spe-decoder/ |
| D | arm-spe-decoder.c | 22 #include "arm-spe-decoder.h" 69 struct arm_spe_decoder *decoder; in arm_spe_decoder_new() local 74 decoder = zalloc(sizeof(struct arm_spe_decoder)); in arm_spe_decoder_new() 75 if (!decoder) in arm_spe_decoder_new() 78 decoder->get_trace = params->get_trace; in arm_spe_decoder_new() 79 decoder->data = params->data; in arm_spe_decoder_new() 81 return decoder; in arm_spe_decoder_new() 84 void arm_spe_decoder_free(struct arm_spe_decoder *decoder) in arm_spe_decoder_free() argument 86 free(decoder); in arm_spe_decoder_free() 89 static int arm_spe_get_data(struct arm_spe_decoder *decoder) in arm_spe_get_data() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | bt819.c | 3 * bt819 - BT819A VideoStream Decoder (Rockwell Part) 29 MODULE_DESCRIPTION("Brooktree-819 video decoder driver"); 77 static inline int bt819_write(struct bt819 *decoder, u8 reg, u8 value) in bt819_write() argument 79 struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd); in bt819_write() 81 decoder->reg[reg] = value; in bt819_write() 85 static inline int bt819_setbit(struct bt819 *decoder, u8 reg, u8 bit, u8 value) in bt819_setbit() argument 87 return bt819_write(decoder, reg, in bt819_setbit() 88 (decoder->reg[reg] & ~(1 << bit)) | (value ? (1 << bit) : 0)); in bt819_setbit() 91 static int bt819_write_block(struct bt819 *decoder, const u8 *data, unsigned int len) in bt819_write_block() argument 93 struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd); in bt819_write_block() [all …]
|
| D | tvp514x.c | 5 * TI TVP5146/47 decoder driver 50 MODULE_DESCRIPTION("TVP514X linux decoder driver"); 78 * struct tvp514x_decoder - TVP5146/47 decoder object 84 * @streaming: TVP5146/47 decoder streaming - enabled or disabled. 93 * @pad: subdev media pad associated with the decoder 210 * List of image formats supported by TVP5146/47 decoder 318 * Write a value to a register in an TVP5146/47 decoder device. 460 * @decoder: ptr to tvp514x_decoder structure 465 struct tvp514x_decoder *decoder) in tvp514x_configure() argument 471 tvp514x_write_regs(sd, decoder->tvp514x_regs); in tvp514x_configure() [all …]
|
| D | tvp5150.c | 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 47 MODULE_DESCRIPTION("Texas Instruments TVP5150A/TVP5150AM1/TVP5151 video decoder driver"); 110 struct tvp5150 *decoder = to_tvp5150(sd); in tvp5150_read() local 113 ret = regmap_read(decoder->regmap, addr, &val); in tvp5150_read() 282 struct tvp5150 *decoder = to_tvp5150(sd); in tvp5150_selmux() local 287 if ((decoder->dev_id == 0x5150 && decoder->rom_ver == 0x0400) || in tvp5150_selmux() 288 (decoder->dev_id == 0x5151 && decoder->rom_ver == 0x0100)) { in tvp5150_selmux() 289 if (!decoder->enable) in tvp5150_selmux() 293 switch (decoder->input) { in tvp5150_selmux() 307 decoder->input == 0 ? "aip1a" : in tvp5150_selmux() [all …]
|
| D | saa7110.c | 3 * saa7110 - Philips SAA7110(A) video decoder driver 27 MODULE_DESCRIPTION("Philips SAA7110 video decoder driver"); 70 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write() local 72 decoder->reg[reg] = value; in saa7110_write() 79 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write_block() local 93 memcpy(decoder->reg + reg, data + 1, len - 1); in saa7110_write_block() 151 struct saa7110 *decoder = to_saa7110(sd); in saa7110_selmux() local 162 decoder->input = chan; in saa7110_selmux() 180 struct saa7110 *decoder = to_saa7110(sd); in determine_norm() local 185 saa7110_selmux(sd, decoder->input); in determine_norm() [all …]
|
| D | adv7183.c | 3 * adv7183.c Analog Devices ADV7183 video decoder driver 110 struct adv7183 *decoder = to_adv7183(sd); in adv7183_log_status() local 185 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status() 191 struct adv7183 *decoder = to_adv7183(sd); in adv7183_g_std() local 193 *std = decoder->std; in adv7183_g_std() 199 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_std() local 223 decoder->std = std; in adv7183_s_std() 242 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_routing() local 248 if (input != decoder->input) { in adv7183_s_routing() 249 decoder->input = input; in adv7183_s_routing() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | bt819.c | 2 * bt819 - BT819A VideoStream Decoder (Rockwell Part) 38 MODULE_DESCRIPTION("Brooktree-819 video decoder driver"); 86 static inline int bt819_write(struct bt819 *decoder, u8 reg, u8 value) in bt819_write() argument 88 struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd); in bt819_write() 90 decoder->reg[reg] = value; in bt819_write() 94 static inline int bt819_setbit(struct bt819 *decoder, u8 reg, u8 bit, u8 value) in bt819_setbit() argument 96 return bt819_write(decoder, reg, in bt819_setbit() 97 (decoder->reg[reg] & ~(1 << bit)) | (value ? (1 << bit) : 0)); in bt819_setbit() 100 static int bt819_write_block(struct bt819 *decoder, const u8 *data, unsigned int len) in bt819_write_block() argument 102 struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd); in bt819_write_block() [all …]
|
| D | tvp514x.c | 4 * TI TVP5146/47 decoder driver 59 MODULE_DESCRIPTION("TVP514X linux decoder driver"); 87 * struct tvp514x_decoder - TVP5146/47 decoder object 93 * @streaming: TVP5146/47 decoder streaming - enabled or disabled. 102 * @pad: subdev media pad associated with the decoder 219 * List of image formats supported by TVP5146/47 decoder 327 * Write a value to a register in an TVP5146/47 decoder device. 469 * @decoder: ptr to tvp514x_decoder structure 474 struct tvp514x_decoder *decoder) in tvp514x_configure() argument 480 tvp514x_write_regs(sd, decoder->tvp514x_regs); in tvp514x_configure() [all …]
|
| D | saa7110.c | 2 * saa7110 - Philips SAA7110(A) video decoder driver 36 MODULE_DESCRIPTION("Philips SAA7110 video decoder driver"); 79 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write() local 81 decoder->reg[reg] = value; in saa7110_write() 88 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write_block() local 102 memcpy(decoder->reg + reg, data + 1, len - 1); in saa7110_write_block() 160 struct saa7110 *decoder = to_saa7110(sd); in saa7110_selmux() local 171 decoder->input = chan; in saa7110_selmux() 189 struct saa7110 *decoder = to_saa7110(sd); in determine_norm() local 194 saa7110_selmux(sd, decoder->input); in determine_norm() [all …]
|
| D | adv7183.c | 2 * adv7183.c Analog Devices ADV7183 video decoder driver 118 struct adv7183 *decoder = to_adv7183(sd); in adv7183_log_status() local 193 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status() 199 struct adv7183 *decoder = to_adv7183(sd); in adv7183_g_std() local 201 *std = decoder->std; in adv7183_g_std() 207 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_std() local 231 decoder->std = std; in adv7183_s_std() 250 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_routing() local 256 if (input != decoder->input) { in adv7183_s_routing() 257 decoder->input = input; in adv7183_s_routing() [all …]
|
| /kernel/linux/linux-4.19/drivers/input/misc/ |
| D | gpio_decoder.c | 34 static int gpio_decoder_get_gpios_state(struct gpio_decoder *decoder) in gpio_decoder_get_gpios_state() argument 36 struct gpio_descs *gpios = decoder->input_gpios; in gpio_decoder_get_gpios_state() 43 dev_err(decoder->dev, in gpio_decoder_get_gpios_state() 58 struct gpio_decoder *decoder = poll_dev->private; in gpio_decoder_poll_gpios() local 61 state = gpio_decoder_get_gpios_state(decoder); in gpio_decoder_poll_gpios() 62 if (state >= 0 && state != decoder->last_stable) { in gpio_decoder_poll_gpios() 63 input_report_abs(poll_dev->input, decoder->axis, state); in gpio_decoder_poll_gpios() 65 decoder->last_stable = state; in gpio_decoder_poll_gpios() 72 struct gpio_decoder *decoder; in gpio_decoder_probe() local 77 decoder = devm_kzalloc(dev, sizeof(struct gpio_decoder), GFP_KERNEL); in gpio_decoder_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | gpio_decoder.c | 32 static int gpio_decoder_get_gpios_state(struct gpio_decoder *decoder) in gpio_decoder_get_gpios_state() argument 34 struct gpio_descs *gpios = decoder->input_gpios; in gpio_decoder_get_gpios_state() 41 dev_err(decoder->dev, in gpio_decoder_get_gpios_state() 56 struct gpio_decoder *decoder = input_get_drvdata(input); in gpio_decoder_poll_gpios() local 59 state = gpio_decoder_get_gpios_state(decoder); in gpio_decoder_poll_gpios() 60 if (state >= 0 && state != decoder->last_stable) { in gpio_decoder_poll_gpios() 61 input_report_abs(input, decoder->axis, state); in gpio_decoder_poll_gpios() 63 decoder->last_stable = state; in gpio_decoder_poll_gpios() 70 struct gpio_decoder *decoder; in gpio_decoder_probe() local 75 decoder = devm_kzalloc(dev, sizeof(*decoder), GFP_KERNEL); in gpio_decoder_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-decoder-cmd.rst | 13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 38 These ioctls control an audio/video (usually MPEG-) decoder. 39 ``VIDIOC_DECODER_CMD`` sends a command to the decoder, 50 call sends an implicit START command to the decoder if it has not been 55 command to the decoder, and all buffered data is discarded. Applies to both 60 (as further documented in :ref:`decoder`). 76 - The decoder command, see :ref:`decoder-cmds`. 105 the decoder operates on full GOPs (*Group Of Pictures*). This is 106 usually the case for reverse playback: the decoder needs full 108 reverse playback the application must feed the decoder the last [all …]
|
| D | dev-decoder.rst | 6 Memory-to-Memory Stateful Video Decoder Interface 9 A stateful video decoder takes complete chunks of the bytestream (e.g. Annex-B 11 display order. The decoder is expected not to require any additional information 16 operations are needed, use of the Stateless Video Decoder Interface (in 36 depending on decoder capabilities and following the general V4L2 guidelines. 57 the application communicating with the decoder or encoder implementing 87 ``CAPTURE`` buffers must be returned by the decoder in display order. 97 Instantaneous Decoder Refresh; a type of a keyframe in an H.264/HEVC-encoded 129 data fed to the decoder or encoder; see ``OUTPUT``. 164 :alt: DOT digraph of decoder state machine [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/ |
| D | cs-etm-decoder.c | 18 #include "cs-etm-decoder.h" 48 struct cs_etm_decoder *decoder = (struct cs_etm_decoder *) context; in cs_etm_decoder__mem_access() local 50 return decoder->mem_access(decoder->data, trace_chan_id, in cs_etm_decoder__mem_access() 54 int cs_etm_decoder__add_mem_access_cb(struct cs_etm_decoder *decoder, in cs_etm_decoder__add_mem_access_cb() argument 58 decoder->mem_access = cb_func; in cs_etm_decoder__add_mem_access_cb() 60 if (ocsd_dt_add_callback_trcid_mem_acc(decoder->dcd_tree, start, end, in cs_etm_decoder__add_mem_access_cb() 63 decoder)) in cs_etm_decoder__add_mem_access_cb() 69 int cs_etm_decoder__reset(struct cs_etm_decoder *decoder) in cs_etm_decoder__reset() argument 73 decoder->prev_return = OCSD_RESP_CONT; in cs_etm_decoder__reset() 75 dp_ret = ocsd_dt_process_data(decoder->dcd_tree, OCSD_OP_RESET, in cs_etm_decoder__reset() [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | vidioc-decoder-cmd.rst | 12 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 39 These ioctls control an audio/video (usually MPEG-) decoder. 40 ``VIDIOC_DECODER_CMD`` sends a command to the decoder, 51 call sends an implicit START command to the decoder if it has not been 56 command to the decoder, and all buffered data is discarded. 77 - The decoder command, see :ref:`decoder-cmds`. 113 the decoder operates on full GOPs (*Group Of Pictures*). This is 114 usually the case for reverse playback: the decoder needs full 116 reverse playback the application must feed the decoder the last 149 .. flat-table:: Decoder Commands [all …]
|
| /kernel/linux/linux-4.19/drivers/media/rc/img-ir/ |
| D | img-ir-hw.h | 2 * ImgTec IR Hardware Decoder found in PowerDown Controller. 29 * struct img_ir_control - Decoder control settings 30 * @decoden: Primary decoder enable 34 * @decodinpol: Decoder input polarity (1=active high) 36 * @d1validsel: Decoder 2 takes over if it detects valid data 38 * @decodend2: Secondary decoder enable (no leader symbol) 40 * @bitinvd2: Secondary decoder bit inversion switch (1=don't invert) 94 * @s00: Zero symbol timing data for primary decoder 95 * @s01: One symbol timing data for primary decoder 96 * @s10: Zero symbol timing data for secondary (no leader symbol) decoder [all …]
|
| D | Kconfig | 2 tristate "ImgTec IR Decoder" 7 Say Y or M here if you want to use the ImgTec infrared decoder 11 bool "Raw decoder" 21 bool "Hardware decoder" 34 NEC protocols in the ImgTec infrared decoder block. 41 infrared decoder block. 48 infrared decoder block. 55 infrared decoder block. 62 Aiwa, Chinon remotes) in the ImgTec infrared decoder block. 69 infrared decoder block. [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/img-ir/ |
| D | img-ir-hw.h | 3 * ImgTec IR Hardware Decoder found in PowerDown Controller. 25 * struct img_ir_control - Decoder control settings 26 * @decoden: Primary decoder enable 30 * @decodinpol: Decoder input polarity (1=active high) 32 * @d1validsel: Decoder 2 takes over if it detects valid data 34 * @decodend2: Secondary decoder enable (no leader symbol) 36 * @bitinvd2: Secondary decoder bit inversion switch (1=don't invert) 90 * @s00: Zero symbol timing data for primary decoder 91 * @s01: One symbol timing data for primary decoder 92 * @s10: Zero symbol timing data for secondary (no leader symbol) decoder [all …]
|
| D | Kconfig | 3 tristate "ImgTec IR Decoder" 8 Say Y or M here if you want to use the ImgTec infrared decoder 12 bool "Raw decoder" 22 bool "Hardware decoder" 35 NEC protocols in the ImgTec infrared decoder block. 42 infrared decoder block. 49 infrared decoder block. 56 infrared decoder block. 63 Aiwa, Chinon remotes) in the ImgTec infrared decoder block. 70 infrared decoder block. [all …]
|