/Linux-v6.1/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 245 static void ttusb_dec_set_model(struct ttusb_dec *dec, 250 struct ttusb_dec *dec = urb->context; in ttusb_dec_handle_irq() local 251 char *buffer = dec->irq_buffer; in ttusb_dec_handle_irq() 287 input_report_key(dec->rc_input_dev, rc_keys[index - 1], 1); in ttusb_dec_handle_irq() 288 input_sync(dec->rc_input_dev); in ttusb_dec_handle_irq() 289 input_report_key(dec->rc_input_dev, rc_keys[index - 1], 0); in ttusb_dec_handle_irq() 290 input_sync(dec->rc_input_dev); in ttusb_dec_handle_irq() 314 static int ttusb_dec_send_command(struct ttusb_dec *dec, const u8 command, in ttusb_dec_send_command() argument 327 result = mutex_lock_interruptible(&dec->usb_mutex); in ttusb_dec_send_command() 334 b[1] = ++dec->trans_count; in ttusb_dec_send_command() [all …]
|
/Linux-v6.1/drivers/misc/habanalabs/common/ |
D | decoder.c | 72 struct hl_dec *dec = container_of(work, struct hl_dec, completion_abnrm_work); in dec_completion_abnrm() local 73 struct hl_device *hdev = dec->hdev; in dec_completion_abnrm() 75 dec_error_intr_work(hdev, dec->base_addr, dec->core_id); in dec_completion_abnrm() 80 kfree(hdev->dec); in hl_dec_fini() 86 struct hl_dec *dec; in hl_dec_init() local 93 hdev->dec = kcalloc(prop->max_dec, sizeof(struct hl_dec), GFP_KERNEL); in hl_dec_init() 94 if (!hdev->dec) in hl_dec_init() 98 dec = hdev->dec + j; in hl_dec_init() 100 dec->hdev = hdev; in hl_dec_init() 101 INIT_WORK(&dec->completion_abnrm_work, dec_completion_abnrm); in hl_dec_init() [all …]
|
/Linux-v6.1/drivers/media/i2c/ |
D | tw9903.c | 116 struct tw9903 *dec = to_state(sd); in tw9903_s_std() local 134 dec->norm = norm; in tw9903_s_std() 141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl() local 142 struct v4l2_subdev *sd = &dec->sd; in tw9903_s_ctrl() 162 struct tw9903 *dec = to_state(sd); in tw9903_log_status() local 163 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status() 195 struct tw9903 *dec; in tw9903_probe() local 206 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9903_probe() 207 if (dec == NULL) in tw9903_probe() 209 sd = &dec->sd; in tw9903_probe() [all …]
|
D | tw9906.c | 87 struct tw9906 *dec = to_state(sd); in tw9906_s_std() local 105 dec->norm = norm; in tw9906_s_std() 111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl() local 112 struct v4l2_subdev *sd = &dec->sd; in tw9906_s_ctrl() 132 struct tw9906 *dec = to_state(sd); in tw9906_log_status() local 133 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status() 163 struct tw9906 *dec; in tw9906_probe() local 174 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9906_probe() 175 if (dec == NULL) in tw9906_probe() 177 sd = &dec->sd; in tw9906_probe() [all …]
|
D | tw2804.c | 252 struct tw2804 *dec = to_state(sd); in tw2804_s_std() local 269 write_regs(client, regs, dec->channel); in tw2804_s_std() 270 dec->norm = norm; in tw2804_s_std() 277 struct tw2804 *dec = to_state(sd); in tw2804_s_video_routing() local 281 if (config && config - 1 != dec->channel) { in tw2804_s_video_routing() 287 dec->channel = config - 1; in tw2804_s_video_routing() 289 dec->channel); in tw2804_s_video_routing() 290 if (dec->channel == 0 && in tw2804_s_video_routing() 296 if (write_regs(client, channel_registers, dec->channel) < 0) { in tw2804_s_video_routing() 299 dec->channel); in tw2804_s_video_routing() [all …]
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp8_req_if.c | 83 struct vdec_vp8_slice_info dec; member 159 inst->vsi->dec.seg_id_buf_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 168 inst->vsi->dec.wrap_y_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 177 inst->vsi->dec.wrap_c_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 186 inst->vsi->dec.vld_wrapper_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 198 inst->vsi->dec.seg_id_buf_dma = 0; in vdec_vp8_slice_free_working_buf() 203 inst->vsi->dec.wrap_y_dma = 0; in vdec_vp8_slice_free_working_buf() 208 inst->vsi->dec.wrap_c_dma = 0; in vdec_vp8_slice_free_working_buf() 213 inst->vsi->dec.vld_wrapper_dma = 0; in vdec_vp8_slice_free_working_buf() 270 inst->vsi->dec.frame_header_type = frame_header->flags >> 1; in vdec_vp8_slice_get_decode_parameters() [all …]
|
D | vdec_h264_req_multi_if.c | 108 struct vdec_h264_slice_info dec; member 486 inst->vsi_core->dec.y_fb_dma = y_fb_dma; in vdec_h264_slice_core_decode() 487 inst->vsi_core->dec.c_fb_dma = c_fb_dma; in vdec_h264_slice_core_decode() 488 inst->vsi_core->dec.vdec_fb_va = vdec_fb_va; in vdec_h264_slice_core_decode() 489 inst->vsi_core->dec.nal_info = share_info->nal_info; in vdec_h264_slice_core_decode() 524 inst->vsi_core->dec.timeout = !!timeout; in vdec_h264_slice_core_decode() 529 inst->vsi_core->dec.crc[0], inst->vsi_core->dec.crc[1], in vdec_h264_slice_core_decode() 530 inst->vsi_core->dec.crc[2], inst->vsi_core->dec.crc[3], in vdec_h264_slice_core_decode() 531 inst->vsi_core->dec.crc[4], inst->vsi_core->dec.crc[5], in vdec_h264_slice_core_decode() 532 inst->vsi_core->dec.crc[6], inst->vsi_core->dec.crc[7]); in vdec_h264_slice_core_decode() [all …]
|
D | vdec_h264_req_if.c | 68 struct vdec_h264_dec_info dec; member 231 inst->vsi_ctx.dec.cap_num_planes = in get_pic_info() 243 inst->vsi_ctx.dec.resolution_changed = true; in get_pic_info() 246 inst->vsi_ctx.dec.realloc_mv_buf = true; in get_pic_info() 249 inst->vsi_ctx.dec.resolution_changed, in get_pic_info() 250 inst->vsi_ctx.dec.realloc_mv_buf, in get_pic_info() 270 *dpb_sz = inst->vsi_ctx.dec.dpb_sz; in get_dpb_size() 295 inst->vsi_ctx.dec.resolution_changed = true; in vdec_h264_slice_init() 296 inst->vsi_ctx.dec.realloc_mv_buf = true; in vdec_h264_slice_init() 364 inst->vsi_ctx.dec.bs_dma = (uint64_t)bs->dma_addr; in vdec_h264_slice_decode() [all …]
|
D | vdec_vp8_if.c | 85 struct vdec_vp8_dec_info dec; member 296 uint64_t prev_y_dma = inst->vsi->dec.prev_y_dma; in vp8_dec_finish() 320 if (inst->vsi->dec.show_frame) { in vp8_dec_finish() 377 inst->vsi->dec.working_buf_dma = (uint64_t)mem->dma_addr; in alloc_working_buf() 388 inst->vsi->dec.working_buf_dma = 0; in free_working_buf() 434 struct vdec_vp8_dec_info *dec = &inst->vsi->dec; in vdec_vp8_decode() local 455 dec->bs_dma = (unsigned long)bs->dma_addr; in vdec_vp8_decode() 456 dec->bs_sz = bs->size; in vdec_vp8_decode() 457 dec->cur_y_fb_dma = y_fb_dma; in vdec_vp8_decode() 458 dec->cur_c_fb_dma = c_fb_dma; in vdec_vp8_decode() [all …]
|
D | vdec_h264_if.c | 112 struct vdec_h264_dec_info dec; member 268 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size() 381 inst->vsi->dec.bs_dma = (uint64_t)bs->dma_addr; in vdec_h264_decode() 382 inst->vsi->dec.y_fb_dma = y_fb_dma; in vdec_h264_decode() 383 inst->vsi->dec.c_fb_dma = c_fb_dma; in vdec_h264_decode() 384 inst->vsi->dec.vdec_fb_va = vdec_fb_va; in vdec_h264_decode() 398 *res_chg = inst->vsi->dec.resolution_changed; in vdec_h264_decode() 405 if (inst->vsi->dec.realloc_mv_buf) { in vdec_h264_decode()
|
/Linux-v6.1/fs/unicode/ |
D | utf8-selftest.c | 39 unsigned char dec[10]; member 45 .dec = "aBba", 53 .dec = {0xc2, 0xbc, 0x00}, 59 .dec = {0x61, 0xcc, 0x88, 0x00}, 65 .dec = {0xC7, 0x89, 0x00}, 70 .dec = {0xC2, 0xB7, 0x00} 77 .dec = {0x41, 0xcc, 0xa8, 0xcc, 0x81, 0x0}, 85 .dec = {0x61, 0xCC, 0xA8, 0xcc, 0x88, 0x00}, 180 int nlen = strlen(nfdi_test_data[i].dec); in check_utf8_nfdi() 192 test_f((c == nfdi_test_data[i].dec[j]), in check_utf8_nfdi() [all …]
|
/Linux-v6.1/scripts/atomic/fallbacks/ |
D | dec_if_positive | 5 ${int} dec, c = arch_${atomic}_read(v); 8 dec = c - 1; 9 if (unlikely(dec < 0)) 11 } while (!arch_${atomic}_try_cmpxchg(v, &c, dec)); 13 return dec;
|
/Linux-v6.1/drivers/media/platform/st/sti/delta/ |
D | delta-v4l2.c | 31 #define call_dec_op(dec, op, args...)\ argument 32 ((dec && (dec)->op) ? (dec)->op(args) : 0) 136 const struct delta_dec *dec = ctx->dec; in delta_recycle() local 139 call_dec_op(dec, recycle, ctx, frame); in delta_recycle() 283 const struct delta_dec *dec; in delta_find_decoder() local 287 dec = delta->decoders[i]; in delta_find_decoder() 288 if ((dec->pixelformat == pixelformat) && in delta_find_decoder() 289 (dec->streamformat == streamformat)) in delta_find_decoder() 290 return dec; in delta_find_decoder() 346 const struct delta_dec *dec; in delta_open_decoder() local [all …]
|
/Linux-v6.1/kernel/ |
D | ucount.c | 256 long dec = atomic_long_dec_if_positive(&iter->ucount[type]); in dec_ucount() local 257 WARN_ON_ONCE(dec < 0); in dec_ucount() 284 long dec = atomic_long_sub_return(v, &iter->rlimit[type]); in dec_rlimit_ucounts() local 285 WARN_ON_ONCE(dec < 0); in dec_rlimit_ucounts() 287 new = dec; in dec_rlimit_ucounts() 297 long dec = atomic_long_sub_return(1, &iter->rlimit[type]); in do_dec_rlimit_put_ucounts() local 298 WARN_ON_ONCE(dec < 0); in do_dec_rlimit_put_ucounts() 300 if (dec == 0) in do_dec_rlimit_put_ucounts() 315 long dec, ret = 0; in inc_rlimit_get_ucounts() local 335 dec = atomic_long_sub_return(1, &iter->rlimit[type]); in inc_rlimit_get_ucounts() [all …]
|
/Linux-v6.1/tools/perf/tests/ |
D | api-io.c | 220 __u64 dec; in do_test_get_dec() local 225 ch = io__get_dec(&io, &dec); in do_test_get_dec() 226 EXPECT_EQUAL64(dec, val1); in do_test_get_dec() 229 ch = io__get_dec(&io, &dec); in do_test_get_dec() 230 EXPECT_EQUAL64(dec, val2); in do_test_get_dec() 233 ch = io__get_dec(&io, &dec); in do_test_get_dec() 234 EXPECT_EQUAL64(dec, val3); in do_test_get_dec()
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/ |
D | Makefile | 3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \ 6 mtk-vcodec-dec-hw.o 8 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \ 25 mtk-vcodec-dec-hw-y := mtk_vcodec_dec_hw.o
|
/Linux-v6.1/tools/lib/api/ |
D | io.h | 95 static inline int io__get_dec(struct io *io, __u64 *dec) in io__get_dec() argument 99 *dec = 0; in io__get_dec() 106 *dec = (*dec * 10) + ch - '0'; in io__get_dec()
|
/Linux-v6.1/drivers/md/ |
D | dm-io-rewind.c | 80 unsigned int dec) in dm_bio_crypt_dun_decrement() argument 84 for (i = 0; dec && i < BLK_CRYPTO_DUN_ARRAY_SIZE; i++) { in dm_bio_crypt_dun_decrement() 87 dun[i] -= dec; in dm_bio_crypt_dun_decrement() 89 dec = 1; in dm_bio_crypt_dun_decrement() 91 dec = 0; in dm_bio_crypt_dun_decrement()
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | emulate.c | 31 pr_debug("mtDEC: %lx\n", vcpu->arch.dec); in kvmppc_emulate_dec() 41 if (vcpu->arch.dec == 0) in kvmppc_emulate_dec() 51 dec_time = vcpu->arch.dec; in kvmppc_emulate_dec() 68 if (vcpu->arch.dec < jd) in kvmppc_get_dec() 72 return vcpu->arch.dec - jd; in kvmppc_get_dec() 94 vcpu->arch.dec = (u32) spr_val; in kvmppc_emulate_mtspr()
|
/Linux-v6.1/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 627 const struct img_ir_decoder *dec) in img_ir_decoder_compatible() argument 632 ct = dec->control.code_type; in img_ir_decoder_compatible() 651 const struct img_ir_decoder *dec = *decp; in img_ir_allowed_protos() local 652 if (img_ir_decoder_compatible(priv, dec)) in img_ir_allowed_protos() 653 protos |= dec->type; in img_ir_allowed_protos() 673 const struct img_ir_decoder *dec = *decp; in img_ir_change_protocol() local 674 if (!img_ir_decoder_compatible(priv, dec)) in img_ir_change_protocol() 676 if (*ir_type & dec->type) { in img_ir_change_protocol() 677 *ir_type &= dec->type; in img_ir_change_protocol() 678 img_ir_set_decoder(priv, dec, *ir_type); in img_ir_change_protocol() [all …]
|
/Linux-v6.1/arch/mips/dec/ |
D | Platform | 5 -I$(srctree)/arch/mips/include/asm/mach-dec 6 libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
|
/Linux-v6.1/arch/x86/crypto/ |
D | des3_ede_glue.c | 21 struct des3_ede_ctx dec; member 43 u32 *dec_ctx = ctx->dec.expkey; in des3_ede_dec_blk() 51 u32 *dec_ctx = ctx->dec.expkey; in des3_ede_dec_blk_3way() 123 return ecb_crypt(req, ctx->dec.expkey); in ecb_decrypt() 273 ctx->dec.expkey[j + 0] = ctx->enc.expkey[i + 0]; in des3_ede_x86_setkey() 274 ctx->dec.expkey[j + 1] = tmp; in des3_ede_x86_setkey()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | time.c | 822 struct clock_event_device *dec = &per_cpu(decrementers, cpu); in register_decrementer_clockevent() local 824 *dec = decrementer_clockevent; in register_decrementer_clockevent() 825 dec->cpumask = cpumask_of(cpu); in register_decrementer_clockevent() 827 clockevents_config_and_register(dec, ppc_tb_freq, 2, decrementer_max); in register_decrementer_clockevent() 830 dec->name, dec->mult, dec->shift, cpu); in register_decrementer_clockevent() 833 decrementer_clockevent.mult = dec->mult; in register_decrementer_clockevent() 834 decrementer_clockevent.shift = dec->shift; in register_decrementer_clockevent()
|
/Linux-v6.1/drivers/media/platform/qcom/venus/ |
D | Makefile | 10 venus-dec-objs += vdec.o vdec_ctrls.o 14 obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-dec.o
|
/Linux-v6.1/arch/csky/include/asm/ |
D | atomic.h | 179 int dec, tmp; in arch_atomic_dec_if_positive() local 190 : "=&r" (dec), "=&r" (tmp) in arch_atomic_dec_if_positive() 194 return dec - 1; in arch_atomic_dec_if_positive()
|