Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 25 of 123) sorted by relevance

12345

/Linux-v4.19/drivers/media/usb/ttusb-dec/
Dttusb_dec.c255 static void ttusb_dec_set_model(struct ttusb_dec *dec,
260 struct ttusb_dec *dec = urb->context; in ttusb_dec_handle_irq() local
261 char *buffer = dec->irq_buffer; in ttusb_dec_handle_irq()
296 input_report_key(dec->rc_input_dev, rc_keys[buffer[4] - 1], 1); in ttusb_dec_handle_irq()
297 input_sync(dec->rc_input_dev); in ttusb_dec_handle_irq()
298 input_report_key(dec->rc_input_dev, rc_keys[buffer[4] - 1], 0); in ttusb_dec_handle_irq()
299 input_sync(dec->rc_input_dev); in ttusb_dec_handle_irq()
323 static int ttusb_dec_send_command(struct ttusb_dec *dec, const u8 command, in ttusb_dec_send_command() argument
336 if ((result = mutex_lock_interruptible(&dec->usb_mutex))) { in ttusb_dec_send_command()
343 b[1] = ++dec->trans_count; in ttusb_dec_send_command()
[all …]
/Linux-v4.19/drivers/media/i2c/
Dtw9903.c124 struct tw9903 *dec = to_state(sd); in tw9903_s_std() local
142 dec->norm = norm; in tw9903_s_std()
149 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl() local
150 struct v4l2_subdev *sd = &dec->sd; in tw9903_s_ctrl()
170 struct tw9903 *dec = to_state(sd); in tw9903_log_status() local
171 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status()
203 struct tw9903 *dec; in tw9903_probe() local
214 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9903_probe()
215 if (dec == NULL) in tw9903_probe()
217 sd = &dec->sd; in tw9903_probe()
[all …]
Dtw9906.c95 struct tw9906 *dec = to_state(sd); in tw9906_s_std() local
113 dec->norm = norm; in tw9906_s_std()
119 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl() local
120 struct v4l2_subdev *sd = &dec->sd; in tw9906_s_ctrl()
140 struct tw9906 *dec = to_state(sd); in tw9906_log_status() local
141 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status()
171 struct tw9906 *dec; in tw9906_probe() local
182 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9906_probe()
183 if (dec == NULL) in tw9906_probe()
185 sd = &dec->sd; in tw9906_probe()
[all …]
Dtw2804.c260 struct tw2804 *dec = to_state(sd); in tw2804_s_std() local
277 write_regs(client, regs, dec->channel); in tw2804_s_std()
278 dec->norm = norm; in tw2804_s_std()
285 struct tw2804 *dec = to_state(sd); in tw2804_s_video_routing() local
289 if (config && config - 1 != dec->channel) { in tw2804_s_video_routing()
295 dec->channel = config - 1; in tw2804_s_video_routing()
297 dec->channel); in tw2804_s_video_routing()
298 if (dec->channel == 0 && in tw2804_s_video_routing()
304 if (write_regs(client, channel_registers, dec->channel) < 0) { in tw2804_s_video_routing()
307 dec->channel); in tw2804_s_video_routing()
[all …]
/Linux-v4.19/drivers/media/platform/sti/delta/
Ddelta-v4l2.c31 #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-v4.19/arch/mips/dec/
DPlatform4 platform-$(CONFIG_MACH_DECSTATION) += dec/
6 -I$(srctree)/arch/mips/include/asm/mach-dec
7 libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
/Linux-v4.19/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_vp8_if.c93 struct vdec_vp8_dec_info dec; member
304 uint64_t prev_y_dma = inst->vsi->dec.prev_y_dma; in vp8_dec_finish()
328 if (inst->vsi->dec.show_frame) { in vp8_dec_finish()
385 inst->vsi->dec.working_buf_dma = (uint64_t)mem->dma_addr; in alloc_working_buf()
396 inst->vsi->dec.working_buf_dma = 0; in free_working_buf()
444 struct vdec_vp8_dec_info *dec = &inst->vsi->dec; in vdec_vp8_decode() local
465 dec->bs_dma = (unsigned long)bs->dma_addr; in vdec_vp8_decode()
466 dec->bs_sz = bs->size; in vdec_vp8_decode()
467 dec->cur_y_fb_dma = y_fb_dma; in vdec_vp8_decode()
468 dec->cur_c_fb_dma = c_fb_dma; in vdec_vp8_decode()
[all …]
Dvdec_h264_if.c117 struct vdec_h264_dec_info dec; member
273 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size()
385 inst->vsi->dec.bs_dma = (uint64_t)bs->dma_addr; in vdec_h264_decode()
386 inst->vsi->dec.y_fb_dma = y_fb_dma; in vdec_h264_decode()
387 inst->vsi->dec.c_fb_dma = c_fb_dma; in vdec_h264_decode()
388 inst->vsi->dec.vdec_fb_va = vdec_fb_va; in vdec_h264_decode()
396 *res_chg = inst->vsi->dec.resolution_changed; in vdec_h264_decode()
403 if (inst->vsi->dec.realloc_mv_buf) { in vdec_h264_decode()
/Linux-v4.19/arch/powerpc/kvm/
Demulate.c42 pr_debug("mtDEC: %lx\n", vcpu->arch.dec); in kvmppc_emulate_dec()
52 if (vcpu->arch.dec == 0) in kvmppc_emulate_dec()
62 dec_time = vcpu->arch.dec; in kvmppc_emulate_dec()
80 if (vcpu->arch.dec < jd) in kvmppc_get_dec()
84 return vcpu->arch.dec - jd; in kvmppc_get_dec()
106 vcpu->arch.dec = (u32) spr_val; in kvmppc_emulate_mtspr()
/Linux-v4.19/include/asm-generic/
Datomic-long.h182 ATOMIC_LONG_FETCH_INC_DEC_OP(dec,)
183 ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _relaxed)
184 ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _acquire)
185 ATOMIC_LONG_FETCH_INC_DEC_OP(dec, _release)
247 ATOMIC_LONG_INC_DEC_OP(dec,) in ATOMIC_LONG_INC_DEC_OP()
248 ATOMIC_LONG_INC_DEC_OP(dec, _relaxed) in ATOMIC_LONG_INC_DEC_OP()
249 ATOMIC_LONG_INC_DEC_OP(dec, _acquire) in ATOMIC_LONG_INC_DEC_OP()
250 ATOMIC_LONG_INC_DEC_OP(dec, _release) in ATOMIC_LONG_INC_DEC_OP()
/Linux-v4.19/drivers/media/rc/img-ir/
Dimg-ir-hw.c631 const struct img_ir_decoder *dec) in img_ir_decoder_compatible() argument
636 ct = dec->control.code_type; in img_ir_decoder_compatible()
655 const struct img_ir_decoder *dec = *decp; in img_ir_allowed_protos() local
656 if (img_ir_decoder_compatible(priv, dec)) in img_ir_allowed_protos()
657 protos |= dec->type; in img_ir_allowed_protos()
677 const struct img_ir_decoder *dec = *decp; in img_ir_change_protocol() local
678 if (!img_ir_decoder_compatible(priv, dec)) in img_ir_change_protocol()
680 if (*ir_type & dec->type) { in img_ir_change_protocol()
681 *ir_type &= dec->type; in img_ir_change_protocol()
682 img_ir_set_decoder(priv, dec, *ir_type); in img_ir_change_protocol()
[all …]
/Linux-v4.19/arch/h8300/lib/
Dstrncpy.S24 dec.l #1,er2
27 dec.l #1,er2
31 dec.l #1,er2
Dmemset.S29 dec.l #1,er2
51 dec.l #1,er2
60 dec.b r3l
Dmemcpy.S34 dec.l #1,er2
60 dec.l #1,er2
79 dec.w #1,e4
/Linux-v4.19/arch/h8300/kernel/
Dhead_rom.S37 dec.l #1,er4
49 dec.l #1,er4
58 dec.l #1,er0
72 dec.l #1,er0
/Linux-v4.19/drivers/media/platform/qcom/venus/
DMakefile8 venus-dec-objs += vdec.o vdec_ctrls.o
12 obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-dec.o
Dvdec_ctrls.c24 struct vdec_controls *ctr = &inst->controls.dec; in vdec_op_s_ctrl()
49 struct vdec_controls *ctr = &inst->controls.dec; in vdec_op_g_volatile_ctrl()
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
7 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
/Linux-v4.19/include/linux/
Datomic.h711 int dec, c = atomic_read(v); in atomic_dec_if_positive() local
714 dec = c - 1; in atomic_dec_if_positive()
715 if (unlikely(dec < 0)) in atomic_dec_if_positive()
717 } while (!atomic_try_cmpxchg(v, &c, dec)); in atomic_dec_if_positive()
719 return dec; in atomic_dec_if_positive()
1300 long long dec, c = atomic64_read(v); in atomic64_dec_if_positive() local
1303 dec = c - 1; in atomic64_dec_if_positive()
1304 if (unlikely(dec < 0)) in atomic64_dec_if_positive()
1306 } while (!atomic64_try_cmpxchg(v, &c, dec)); in atomic64_dec_if_positive()
1308 return dec; in atomic64_dec_if_positive()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c78 } dec; member
98 } dec; member
862 qat_req->in.rsa.dec.d = ctx->dma_d; in qat_rsa_dec()
863 qat_req->in.rsa.dec.n = ctx->dma_n; in qat_rsa_dec()
876 qat_req->in.rsa.dec.c = dma_map_single(dev, sg_virt(req->src), in qat_rsa_dec()
878 if (unlikely(dma_mapping_error(dev, qat_req->in.rsa.dec.c))) in qat_rsa_dec()
885 &qat_req->in.rsa.dec.c, in qat_rsa_dec()
895 qat_req->out.rsa.dec.m = dma_map_single(dev, sg_virt(req->dst), in qat_rsa_dec()
899 if (unlikely(dma_mapping_error(dev, qat_req->out.rsa.dec.m))) in qat_rsa_dec()
904 &qat_req->out.rsa.dec.m, in qat_rsa_dec()
[all …]
/Linux-v4.19/arch/x86/lib/
Dchecksum_32.S65 dec %ecx
104 dec %ecx
113 dec %edx
171 dec %ecx
231 dec %ecx
344 dec %ecx
357 dec %edx
453 dec %ecx
/Linux-v4.19/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c222 static int medusa_PALCombInit(struct cx25821_dev *dev, int dec) in medusa_PALCombInit() argument
229 COMB_2D_HFS_CFG + (0x200 * dec), 0x20002861); in medusa_PALCombInit()
231 COMB_2D_HFD_CFG + (0x200 * dec), 0x20002861); in medusa_PALCombInit()
233 COMB_2D_LF_CFG + (0x200 * dec), 0x200A1023); in medusa_PALCombInit()
237 COMB_FLAT_THRESH_CTRL + (0x200 * dec), &tmp); in medusa_PALCombInit()
240 COMB_FLAT_THRESH_CTRL + (0x200 * dec), value); in medusa_PALCombInit()
244 COMB_2D_BLEND + (0x200 * dec), 0x210F0F0F); in medusa_PALCombInit()
248 COMB_MISC_CTRL + (0x200 * dec), 0x41120A7F); in medusa_PALCombInit()
/Linux-v4.19/net/mpls/
Daf_mpls.c159 struct mpls_entry_decoded dec; in mpls_multipath_hash() local
174 dec = mpls_entry_decode(hdr); in mpls_multipath_hash()
179 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) { in mpls_multipath_hash()
180 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
190 } else if (dec.label == MPLS_LABEL_ENTROPY) { in mpls_multipath_hash()
194 if (!dec.bos) in mpls_multipath_hash()
271 struct sk_buff *skb, struct mpls_entry_decoded dec) in mpls_egress() argument
306 new_ttl = dec.ttl; in mpls_egress()
328 hdr6->hop_limit = dec.ttl; in mpls_egress()
349 struct mpls_entry_decoded dec; in mpls_forward() local
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_10nm.c155 u64 dec, dec_multiple; in dsi_pll_calc_dec_frac() local
170 dec = div_u64(dec_multiple, multiplier); in dsi_pll_calc_dec_frac()
184 regs->decimal_div_start = dec; in dsi_pll_calc_dec_frac()
478 u32 dec; in dsi_pll_10nm_vco_recalc_rate() local
481 dec = pll_read(base + REG_DSI_10nm_PHY_PLL_DECIMAL_DIV_START_1); in dsi_pll_10nm_vco_recalc_rate()
482 dec &= 0xff; in dsi_pll_10nm_vco_recalc_rate()
496 pll_freq = dec * (ref_clk * 2); in dsi_pll_10nm_vco_recalc_rate()
503 pll_10nm->id, (unsigned long)vco_rate, dec, frac); in dsi_pll_10nm_vco_recalc_rate()
/Linux-v4.19/arch/powerpc/kernel/
Dtime.c982 struct clock_event_device *dec = &per_cpu(decrementers, cpu); in register_decrementer_clockevent() local
984 *dec = decrementer_clockevent; in register_decrementer_clockevent()
985 dec->cpumask = cpumask_of(cpu); in register_decrementer_clockevent()
988 dec->name, dec->mult, dec->shift, cpu); in register_decrementer_clockevent()
990 clockevents_register_device(dec); in register_decrementer_clockevent()

12345