/Linux-v4.19/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 92 #define INTEL_PT_STATE_ERR1 (decoder->pkt_state) 194 static void intel_pt_setup_period(struct intel_pt_decoder *decoder) in intel_pt_setup_period() argument 196 if (decoder->period_type == INTEL_PT_PERIOD_TICKS) { in intel_pt_setup_period() 199 period = intel_pt_lower_power_of_2(decoder->period); in intel_pt_setup_period() 200 decoder->period_mask = ~(period - 1); in intel_pt_setup_period() 201 decoder->period_ticks = period; in intel_pt_setup_period() 214 struct intel_pt_decoder *decoder; in intel_pt_decoder_new() local 219 decoder = zalloc(sizeof(struct intel_pt_decoder)); in intel_pt_decoder_new() 220 if (!decoder) in intel_pt_decoder_new() 223 decoder->get_trace = params->get_trace; in intel_pt_decoder_new() [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 …]
|
/Linux-v4.19/tools/perf/util/cs-etm-decoder/ |
D | cs-etm-decoder.c | 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() 92 int cs_etm_decoder__get_packet(struct cs_etm_decoder *decoder, in cs_etm_decoder__get_packet() argument [all …]
|
D | cs-etm-decoder.h | 88 int cs_etm_decoder__process_data_block(struct cs_etm_decoder *decoder, 97 void cs_etm_decoder__free(struct cs_etm_decoder *decoder); 99 int cs_etm_decoder__add_mem_access_cb(struct cs_etm_decoder *decoder, 103 int cs_etm_decoder__get_packet(struct cs_etm_decoder *decoder, 106 int cs_etm_decoder__reset(struct cs_etm_decoder *decoder);
|
/Linux-v4.19/drivers/media/i2c/ |
D | bt819.c | 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() 118 decoder->reg[reg++] = data[1]; in bt819_write_block() 130 ret = bt819_write(decoder, reg, *data++); in bt819_write_block() [all …]
|
D | tvp514x.c | 474 struct tvp514x_decoder *decoder) in tvp514x_configure() argument 480 tvp514x_write_regs(sd, decoder->tvp514x_regs); in tvp514x_configure() 502 struct tvp514x_decoder *decoder) in tvp514x_detect() argument 525 decoder->ver = rom_ver; in tvp514x_detect() 528 client->name, decoder->ver, in tvp514x_detect() 543 struct tvp514x_decoder *decoder = to_decoder(sd); in tvp514x_querystd() local 552 if (!decoder->streaming) { in tvp514x_querystd() 564 input_sel = decoder->input; in tvp514x_querystd() 608 *std_id &= decoder->std_list[current_std].standard.id; in tvp514x_querystd() 611 decoder->std_list[current_std].standard.name); in tvp514x_querystd() [all …]
|
D | saa7110.c | 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() 195 prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); in determine_norm() 197 finish_wait(&decoder->wq, &wait); in determine_norm() [all …]
|
D | saa717x.c | 777 struct saa717x_state *decoder) in set_audio_regs() argument 784 saa717x_write(sd, 0x0594, decoder->audio_input); in set_audio_regs() 786 decoder->audio_input); in set_audio_regs() 789 work_l = (min(65536 - decoder->audio_main_balance, 32768) * decoder->audio_main_volume) / 32768; in set_audio_regs() 790 work_r = (min(decoder->audio_main_balance, (u16)32768) * decoder->audio_main_volume) / 32768; in set_audio_regs() 791 decoder->audio_main_vol_l = (long)work_l * (24 - (-40)) / 65535 - 40; in set_audio_regs() 792 decoder->audio_main_vol_r = (long)work_r * (24 - (-40)) / 65535 - 40; in set_audio_regs() 798 if (decoder->audio_main_mute) { in set_audio_regs() 801 val = (u8)decoder->audio_main_vol_l | in set_audio_regs() 802 ((u8)decoder->audio_main_vol_r << 8); in set_audio_regs() [all …]
|
D | adv7183.c | 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() 311 if (output != decoder->output) { in adv7183_s_routing() [all …]
|
D | vpx3220.c | 68 struct vpx3220 *decoder = i2c_get_clientdata(client); in vpx3220_write() local 70 decoder->reg[reg] = value; in vpx3220_write() 276 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_init() local 280 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init() 282 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init() 284 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init() 348 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_s_std() local 370 decoder->norm = std; in vpx3220_s_std() 471 struct vpx3220 *decoder; in vpx3220_probe() local 482 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe() [all …]
|
D | tvp5150.c | 264 struct tvp5150 *decoder = to_tvp5150(sd); in tvp5150_selmux() local 269 if ((decoder->dev_id == 0x5150 && decoder->rom_ver == 0x0400) || in tvp5150_selmux() 270 (decoder->dev_id == 0x5151 && decoder->rom_ver == 0x0100)) { in tvp5150_selmux() 271 if (!decoder->enable) in tvp5150_selmux() 275 switch (decoder->input) { in tvp5150_selmux() 288 decoder->input, decoder->output, in tvp5150_selmux() 307 if (decoder->input == TVP5150_SVIDEO) in tvp5150_selmux() 663 struct tvp5150 *decoder = to_tvp5150(sd); in tvp5150_set_vbi() local 664 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi() 706 struct tvp5150 *decoder = to_tvp5150(sd); in tvp5150_get_vbi() local [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/drivers/media/rc/ |
D | Makefile | 9 obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o 10 obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o 11 obj-$(CONFIG_IR_RC6_DECODER) += ir-rc6-decoder.o 12 obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o 13 obj-$(CONFIG_IR_SONY_DECODER) += ir-sony-decoder.o 14 obj-$(CONFIG_IR_SANYO_DECODER) += ir-sanyo-decoder.o 15 obj-$(CONFIG_IR_SHARP_DECODER) += ir-sharp-decoder.o 16 obj-$(CONFIG_IR_MCE_KBD_DECODER) += ir-mce_kbd-decoder.o 17 obj-$(CONFIG_IR_XMP_DECODER) += ir-xmp-decoder.o 18 obj-$(CONFIG_IR_IMON_DECODER) += ir-imon-decoder.o
|
/Linux-v4.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 156 - Start the decoder. When the decoder is already running or paused, [all …]
|
/Linux-v4.19/arch/arm/probes/kprobes/ |
D | checkers-common.c | 91 [STACK_USE_NONE] = {.decoder = checker_stack_use_none}, 92 [STACK_USE_UNKNOWN] = {.decoder = checker_stack_use_unknown}, 94 [STACK_USE_FIXED_0XX] = {.decoder = checker_stack_use_imm_0xx}, 95 [STACK_USE_T32STRD] = {.decoder = checker_stack_use_t32strd}, 97 [STACK_USE_FIXED_X0X] = {.decoder = checker_stack_use_imm_x0x}, 99 [STACK_USE_FIXED_XXX] = {.decoder = checker_stack_use_imm_xxx}, 100 [STACK_USE_STMDX] = {.decoder = checker_stack_use_stmdx},
|
/Linux-v4.19/lib/xz/ |
D | Kconfig | 12 bool "x86 BCJ filter decoder" if EXPERT 17 bool "PowerPC BCJ filter decoder" if EXPERT 22 bool "IA-64 BCJ filter decoder" if EXPERT 27 bool "ARM BCJ filter decoder" if EXPERT 32 bool "ARM-Thumb BCJ filter decoder" if EXPERT 37 bool "SPARC BCJ filter decoder" if EXPERT 52 This allows passing .xz files to the in-kernel XZ decoder via 56 Unless you are developing the XZ decoder, you don't need this
|
/Linux-v4.19/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 419 int decoder = 0; in medusa_set_resolution() local 433 decoder = decoder_select; in medusa_set_resolution() 436 decoder = 0; in medusa_set_resolution() 467 for (; decoder < decoder_count; decoder++) { in medusa_set_resolution() 470 HSCALE_CTRL + (0x200 * decoder), hscale); in medusa_set_resolution() 472 VSCALE_CTRL + (0x200 * decoder), vscale); in medusa_set_resolution() 476 static void medusa_set_decoderduration(struct cx25821_dev *dev, int decoder, in medusa_set_decoderduration() argument 484 if (decoder < VDEC_A || decoder > VDEC_H) { in medusa_set_decoderduration() 488 switch (decoder) { in medusa_set_decoderduration() 508 if (!(decoder % 2)) { /* EVEN decoder */ in medusa_set_decoderduration() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/media/i2c/ |
D | tvp514x.txt | 1 * Texas Instruments TVP514x video decoder 4 digital video decoder that digitizes and decodes all popular baseband analog 5 video formats into digital video component. The tvp514x decoder supports analog- 12 (a) "ti,tvp5146" for tvp5146 decoder. 13 (b) "ti,tvp5146m2" for tvp5146m2 decoder. 14 (c) "ti,tvp5147" for tvp5147 decoder. 15 (d) "ti,tvp5147m1" for tvp5147m1 decoder.
|
/Linux-v4.19/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 321 static void img_ir_decoder_preprocess(struct img_ir_decoder *decoder) in img_ir_decoder_preprocess() argument 324 if (!decoder->tolerance) in img_ir_decoder_preprocess() 325 decoder->tolerance = 10; /* percent */ in img_ir_decoder_preprocess() 327 decoder->tolerance = decoder->tolerance * 128 / 100; in img_ir_decoder_preprocess() 330 img_ir_timings_preprocess(&decoder->timings, decoder->unit); in img_ir_decoder_preprocess() 333 if (decoder->repeat) { in img_ir_decoder_preprocess() 334 img_ir_timings_preprocess(&decoder->rtimings, decoder->unit); in img_ir_decoder_preprocess() 335 img_ir_timings_defaults(&decoder->rtimings, &decoder->timings); in img_ir_decoder_preprocess() 348 static void img_ir_decoder_convert(const struct img_ir_decoder *decoder, in img_ir_decoder_convert() argument 353 reg_timings->ctrl = img_ir_control(&decoder->control); in img_ir_decoder_convert() [all …]
|
D | Kconfig | 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. 76 infrared decoder block.
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 27 struct media_entity *tuner = NULL, *decoder = NULL; in v4l2_mc_create_media_graph() local 48 decoder = entity; in v4l2_mc_create_media_graph() 89 if (!decoder) in v4l2_mc_create_media_graph() 94 if (!decoder) in v4l2_mc_create_media_graph() 107 decoder, DEMOD_PAD_IF_INPUT, in v4l2_mc_create_media_graph() 113 decoder, DEMOD_PAD_IF_INPUT, in v4l2_mc_create_media_graph() 134 ret = media_create_pad_link(decoder, DEMOD_PAD_VID_OUT, in v4l2_mc_create_media_graph() 142 ret = media_create_pad_link(decoder, DEMOD_PAD_VID_OUT, in v4l2_mc_create_media_graph() 150 ret = media_create_pad_link(decoder, DEMOD_PAD_VBI_OUT, in v4l2_mc_create_media_graph() 171 ret = media_create_pad_link(entity, 0, decoder, in v4l2_mc_create_media_graph()
|
/Linux-v4.19/arch/arm/probes/uprobes/ |
D | actions-arm.c | 208 [PROBES_LDRSTRD] = {.decoder = decode_pc_ro}, 209 [PROBES_LOAD_EXTRA] = {.decoder = decode_pc_ro}, 210 [PROBES_LOAD] = {.decoder = decode_ldr}, 211 [PROBES_STORE_EXTRA] = {.decoder = decode_pc_ro}, 212 [PROBES_STORE] = {.decoder = decode_pc_ro}, 215 .decoder = decode_rd12rn16rm0rs8_rwflags}, 217 .decoder = decode_rd12rn16rm0rs8_rwflags}, 231 [PROBES_LDMSTM] = {.decoder = uprobe_decode_ldmstm}
|
/Linux-v4.19/drivers/media/usb/em28xx/ |
D | em28xx-cards.c | 667 .decoder = EM28XX_SAA711X, 688 .decoder = EM28XX_TVP5150, 711 .decoder = EM28XX_SAA711X, 726 .decoder = EM28XX_SAA711X, 746 .decoder = EM28XX_SAA711X, 766 .decoder = EM28XX_SAA711X, 787 .decoder = EM28XX_TVP5150, 806 .decoder = EM28XX_SAA711X, 826 .decoder = EM28XX_SAA711X, 846 .decoder = EM28XX_SAA711X, [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/input/ |
D | gpio-decoder.txt | 4 - compatible: should be "gpio-decoder" 9 - decoder-max-value: Maximum possible value that can be reported by 16 compatible = "gpio-decoder"; 22 decoder-max-value = <9>;
|
/Linux-v4.19/Documentation/core-api/ |
D | librs.rst | 32 The init function init_rs returns a pointer to an rs decoder structure, 35 matching decoder or creates a new one. On creation all the lookup tables 85 The decoder calculates the syndrome over the given data length and the 88 If a syndrome is available from a hardware decoder then the syndrome 92 correction pattern buffer and an error location buffer to the decoder. 93 The decoder stores the calculated error location and the correction 119 Decoding with syndrome given by hardware decoder, direct data correction 132 /* Get syndrome from hardware decoder */ 138 Decoding with syndrome given by hardware decoder, no direct data correction. 142 decoder. [all …]
|