Home
last modified time | relevance | path

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

123

/drivers/media/usb/ttusb-dec/
A Dttusb_dec.c488 memcpy(&dec->v_pes[dec->v_pes_length], in ttusb_dec_process_pva()
1216 usb_make_path(dec->udev, dec->rc_phys, sizeof(dec->rc_phys)); in ttusb_init_rc()
1284 usb_fill_int_urb(dec->irq_urb, dec->udev,dec->irq_pipe, in ttusb_dec_init_usb()
1475 dec->demux.priv = (void *)dec; in ttusb_dec_init_dvb()
1492 dec->dmxdev.demux = &dec->demux.dmx; in ttusb_dec_init_dvb()
1524 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_init_dvb()
1532 dvb_net_init(&dec->adapter, &dec->dvb_net, &dec->demux.dmx); in ttusb_dec_init_dvb()
1542 dec->demux.dmx.close(&dec->demux.dmx); in ttusb_dec_exit_dvb()
1543 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_exit_dvb()
1680 dec->adapter.priv = dec; in ttusb_dec_probe()
[all …]
/drivers/accel/habanalabs/common/
A Ddecoder.c49 struct hl_device *hdev = dec->hdev; in dec_abnrm_intr_work()
63 RREG32(dec->base_addr + VCMD_IRQ_STATUS_OFFSET); in dec_abnrm_intr_work()
88 kfree(hdev->dec); in hl_dec_fini()
94 struct hl_dec *dec; in hl_dec_init() local
102 if (!hdev->dec) in hl_dec_init()
106 dec = hdev->dec + j; in hl_dec_init()
108 dec->hdev = hdev; in hl_dec_init()
110 dec->core_id = j; in hl_dec_init()
112 if (!dec->base_addr) { in hl_dec_init()
131 struct hl_dec *dec; in hl_dec_ctx_fini() local
[all …]
/drivers/media/i2c/
A Dtw9903.c116 struct tw9903 *dec = to_state(sd); in tw9903_s_std() local
134 dec->norm = norm; in tw9903_s_std()
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()
194 struct tw9903 *dec; in tw9903_probe() local
205 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9903_probe()
206 if (dec == NULL) in tw9903_probe()
208 sd = &dec->sd; in tw9903_probe()
210 hdl = &dec->hdl; in tw9903_probe()
[all …]
A Dtw9906.c87 struct tw9906 *dec = to_state(sd); in tw9906_s_std() local
105 dec->norm = norm; in tw9906_s_std()
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()
162 struct tw9906 *dec; in tw9906_probe() local
173 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL); in tw9906_probe()
174 if (dec == NULL) in tw9906_probe()
176 sd = &dec->sd; in tw9906_probe()
178 hdl = &dec->hdl; in tw9906_probe()
[all …]
A Dtw2804.c252 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()
299 dec->channel); in tw2804_s_video_routing()
307 if (input == dec->input) in tw2804_s_video_routing()
[all …]
/drivers/media/platform/mediatek/vcodec/decoder/vdec/
A Dvdec_vp8_req_if.c81 struct vdec_vp8_slice_info dec; member
196 inst->vsi->dec.seg_id_buf_dma = 0; in vdec_vp8_slice_free_working_buf()
201 inst->vsi->dec.wrap_y_dma = 0; in vdec_vp8_slice_free_working_buf()
206 inst->vsi->dec.wrap_c_dma = 0; in vdec_vp8_slice_free_working_buf()
211 inst->vsi->dec.vld_wrapper_dma = 0; in vdec_vp8_slice_free_working_buf()
351 inst->vsi->dec.bs_sz = bs->size; in vdec_vp8_slice_decode()
352 inst->vsi->dec.cur_y_fb_dma = y_fb_dma; in vdec_vp8_slice_decode()
390 inst->vsi->dec.crc[0], inst->vsi->dec.crc[1], in vdec_vp8_slice_decode()
391 inst->vsi->dec.crc[2], inst->vsi->dec.crc[3], in vdec_vp8_slice_decode()
392 inst->vsi->dec.crc[4], inst->vsi->dec.crc[5], in vdec_vp8_slice_decode()
[all …]
A Dvdec_h264_req_multi_if.c700 inst->vsi_core->dec.crc[0], inst->vsi_core->dec.crc[1], in vdec_h264_slice_core_decode()
701 inst->vsi_core->dec.crc[2], inst->vsi_core->dec.crc[3], in vdec_h264_slice_core_decode()
702 inst->vsi_core->dec.crc[4], inst->vsi_core->dec.crc[5], in vdec_h264_slice_core_decode()
703 inst->vsi_core->dec.crc[6], inst->vsi_core->dec.crc[7]); in vdec_h264_slice_core_decode()
848 inst->vsi_ext->dec.crc[0], inst->vsi_ext->dec.crc[1], in vdec_h264_slice_lat_decode_ext()
994 inst->vsi->dec.crc[0], inst->vsi->dec.crc[1], inst->vsi->dec.crc[2]); in vdec_h264_slice_lat_decode()
1086 inst->vsi_ctx_ext.dec.crc[0], inst->vsi_ctx_ext.dec.crc[1], in vdec_h264_slice_single_decode_ext()
1190 inst->vsi_ctx.dec.crc[0], inst->vsi_ctx.dec.crc[1], in vdec_h264_slice_single_decode()
1191 inst->vsi_ctx.dec.crc[2], inst->vsi_ctx.dec.crc[3], in vdec_h264_slice_single_decode()
1192 inst->vsi_ctx.dec.crc[4], inst->vsi_ctx.dec.crc[5], in vdec_h264_slice_single_decode()
[all …]
A Dvdec_h264_req_if.c67 struct vdec_h264_dec_info dec; member
228 inst->vsi_ctx.dec.cap_num_planes = in get_pic_info()
243 inst->vsi_ctx.dec.realloc_mv_buf = true; in get_pic_info()
246 inst->vsi_ctx.dec.resolution_changed, in get_pic_info()
247 inst->vsi_ctx.dec.realloc_mv_buf, in get_pic_info()
267 *dpb_sz = inst->vsi_ctx.dec.dpb_sz; in get_dpb_size()
293 inst->vsi_ctx.dec.realloc_mv_buf = true; in vdec_h264_slice_init()
365 inst->vsi_ctx.dec.y_fb_dma = y_fb_dma; in vdec_h264_slice_decode()
366 inst->vsi_ctx.dec.c_fb_dma = c_fb_dma; in vdec_h264_slice_decode()
388 if (inst->vsi_ctx.dec.realloc_mv_buf) { in vdec_h264_slice_decode()
[all …]
A Dvdec_vp8_if.c84 struct vdec_vp8_dec_info dec; member
293 uint64_t prev_y_dma = inst->vsi->dec.prev_y_dma; in vp8_dec_finish()
317 if (inst->vsi->dec.show_frame) { in vp8_dec_finish()
385 inst->vsi->dec.working_buf_dma = 0; in free_working_buf()
431 struct vdec_vp8_dec_info *dec = &inst->vsi->dec; in vdec_vp8_decode() local
452 dec->bs_dma = bs->dma_addr; in vdec_vp8_decode()
453 dec->bs_sz = bs->size; in vdec_vp8_decode()
454 dec->cur_y_fb_dma = y_fb_dma; in vdec_vp8_decode()
455 dec->cur_c_fb_dma = c_fb_dma; in vdec_vp8_decode()
471 if (dec->wait_key_frame) { in vdec_vp8_decode()
[all …]
A Dvdec_h264_if.c111 struct vdec_h264_dec_info dec; member
264 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size()
375 inst->vsi->dec.bs_dma = (uint64_t)bs->dma_addr; in vdec_h264_decode()
376 inst->vsi->dec.y_fb_dma = y_fb_dma; in vdec_h264_decode()
377 inst->vsi->dec.c_fb_dma = c_fb_dma; in vdec_h264_decode()
378 inst->vsi->dec.vdec_fb_va = vdec_fb_va; in vdec_h264_decode()
391 *res_chg = inst->vsi->dec.resolution_changed; in vdec_h264_decode()
398 if (inst->vsi->dec.realloc_mv_buf) { in vdec_h264_decode()
A Dvdec_hevc_req_multi_if.c322 struct vdec_hevc_slice_info dec; member
826 inst->vsi_core->dec.vdec_fb_va = (unsigned long)fb; in vdec_hevc_slice_setup_core_buffer()
952 inst->vsi_core->dec.timeout = !!timeout; in vdec_hevc_slice_core_decode()
957 inst->vsi_core->dec.crc[0], inst->vsi_core->dec.crc[1], in vdec_hevc_slice_core_decode()
958 inst->vsi_core->dec.crc[2], inst->vsi_core->dec.crc[3], in vdec_hevc_slice_core_decode()
959 inst->vsi_core->dec.crc[4], inst->vsi_core->dec.crc[5], in vdec_hevc_slice_core_decode()
960 inst->vsi_core->dec.crc[6], inst->vsi_core->dec.crc[7]); in vdec_hevc_slice_core_decode()
1023 inst->vsi->dec.timeout = !!timeout; in vdec_hevc_slice_lat_decode()
1035 inst->vsi->dec.wdma_end_addr_offset; in vdec_hevc_slice_lat_decode()
1044 inst->vsi->dec.crc[0], inst->vsi->dec.crc[1], inst->vsi->dec.crc[2]); in vdec_hevc_slice_lat_decode()
/drivers/media/platform/st/sti/delta/
A Ddelta-v4l2.c32 ((dec && (dec)->op) ? (dec)->op(args) : 0)
136 const struct delta_dec *dec = ctx->dec; in delta_recycle() local
516 dec->max_width ? dec->max_width : DELTA_MAX_WIDTH, in delta_try_fmt_stream()
646 const struct delta_dec *dec = ctx->dec; in delta_s_fmt_frame() local
808 const struct delta_dec *dec = ctx->dec; in delta_decoder_stop_cmd() local
926 const struct delta_dec *dec = ctx->dec; in delta_run_work() local
1142 const struct delta_dec *dec = ctx->dec; in delta_setup_frame() local
1308 const struct delta_dec *dec = ctx->dec; in delta_vb2_au_start_streaming() local
1328 ctx->dec = dec; in delta_vb2_au_start_streaming()
1532 const struct delta_dec *dec = ctx->dec; in delta_vb2_frame_stop_streaming() local
[all …]
/drivers/media/platform/mediatek/vcodec/decoder/
A DMakefile3 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
4 mtk-vcodec-dec-hw.o
6 mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
25 mtk-vcodec-dec-hw-y := mtk_vcodec_dec_hw.o
/drivers/media/rc/img-ir/
A Dimg-ir-hw.c627 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
653 protos |= dec->type; in img_ir_allowed_protos()
676 if (*ir_type & dec->type) { in img_ir_change_protocol()
677 *ir_type &= dec->type; in img_ir_change_protocol()
825 if (dec->scancode) in img_ir_handle_data()
853 if (dec->repeat && !hw->stopping) { in img_ir_handle_data()
859 interval = dec->repeat + (dec->repeat >> 3); in img_ir_handle_data()
1015 img_ir_set_protocol(priv, dec->type); in img_ir_setup_hw()
[all …]
/drivers/md/
A Ddm-io-rewind.c79 unsigned int dec) in dm_bio_crypt_dun_decrement() argument
83 for (i = 0; dec && i < BLK_CRYPTO_DUN_ARRAY_SIZE; i++) { in dm_bio_crypt_dun_decrement()
86 dun[i] -= dec; in dm_bio_crypt_dun_decrement()
88 dec = 1; in dm_bio_crypt_dun_decrement()
90 dec = 0; in dm_bio_crypt_dun_decrement()
/drivers/media/pci/cx25821/
A Dcx25821-medusa-video.c212 static int medusa_PALCombInit(struct cx25821_dev *dev, int dec) in medusa_PALCombInit() argument
219 COMB_2D_HFS_CFG + (0x200 * dec), 0x20002861); in medusa_PALCombInit()
221 COMB_2D_HFD_CFG + (0x200 * dec), 0x20002861); in medusa_PALCombInit()
223 COMB_2D_LF_CFG + (0x200 * dec), 0x200A1023); in medusa_PALCombInit()
227 COMB_FLAT_THRESH_CTRL + (0x200 * dec), &tmp); in medusa_PALCombInit()
230 COMB_FLAT_THRESH_CTRL + (0x200 * dec), value); in medusa_PALCombInit()
234 COMB_2D_BLEND + (0x200 * dec), 0x210F0F0F); in medusa_PALCombInit()
238 COMB_MISC_CTRL + (0x200 * dec), 0x41120A7F); in medusa_PALCombInit()
/drivers/media/platform/mediatek/jpeg/
A DMakefile4 mtk-jpeg-dec-hw.o
10 mtk-jpeg-dec-hw-y := mtk_jpeg_dec_hw.o
/drivers/crypto/
A Dsa2ul.c840 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cipher_cra_exit()
843 sa_free_ctx_info(&ctx->dec, data); in sa_cipher_cra_exit()
881 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cipher_cra_init()
927 ad, 0, &ctx->dec.epib[1])) in sa_cipher_setkey()
932 &ctx->dec.cmdl_upd_info); in sa_cipher_setkey()
937 ctx->dec.cmdl_size = cmdl_len; in sa_cipher_setkey()
1514 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_sha_cra_init_alg()
1651 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_sha_cra_exit()
1739 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cra_init_aead()
1765 sa_free_ctx_info(&ctx->dec, data); in sa_exit_tfm_aead()
[all …]
/drivers/media/platform/qcom/venus/
A DMakefile10 venus-dec-objs += vdec.o vdec_ctrls.o
14 obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus-dec.o
/drivers/iio/imu/
A Dadis16550.c421 u16 dec = 0; in adis16550_get_freq() local
436 ret = __adis_read_reg_16(&st->adis, ADIS16550_REG_DEC_RATE, &dec); in adis16550_get_freq()
439 *freq = DIV_ROUND_CLOSEST(sample_rate, dec + 1); in adis16550_get_freq()
446 u16 dec; in adis16550_set_freq_hz() local
482 dec = DIV_ROUND_CLOSEST(sample_rate, freq_hz); in adis16550_set_freq_hz()
484 if (dec) in adis16550_set_freq_hz()
485 dec--; in adis16550_set_freq_hz()
487 dec = min(dec, st->info->max_dec); in adis16550_set_freq_hz()
489 return __adis_write_reg_16(&st->adis, ADIS16550_REG_DEC_RATE, dec); in adis16550_set_freq_hz()
/drivers/media/platform/nxp/imx8-isi/
A Dimx8-isi-hw.c102 u32 *dec) in mxc_isi_channel_scaling_ratio() argument
107 *dec = 1; in mxc_isi_channel_scaling_ratio()
109 *dec = 2; in mxc_isi_channel_scaling_ratio()
111 *dec = 4; in mxc_isi_channel_scaling_ratio()
113 *dec = 8; in mxc_isi_channel_scaling_ratio()
115 return min_t(u32, from * 0x1000 / (to * *dec), ISI_DOWNSCALE_THRESHOLD); in mxc_isi_channel_scaling_ratio()
/drivers/media/platform/qcom/iris/
A Diris_vidc.c395 struct v4l2_decoder_cmd *dec) in iris_dec_cmd() argument
402 ret = v4l2_m2m_ioctl_decoder_cmd(filp, fh, dec); in iris_dec_cmd()
409 if (!iris_allow_cmd(inst, dec->cmd)) { in iris_dec_cmd()
414 if (dec->cmd == V4L2_DEC_CMD_START) in iris_dec_cmd()
416 else if (dec->cmd == V4L2_DEC_CMD_STOP) in iris_dec_cmd()
/drivers/gpu/drm/msm/dsi/phy/
A Ddsi_phy_10nm.c120 u64 dec, dec_multiple; in dsi_pll_calc_dec_frac() local
130 dec = div_u64_rem(dec_multiple, multiplier, &frac); in dsi_pll_calc_dec_frac()
143 config->decimal_div_start = dec; in dsi_pll_calc_dec_frac()
417 u32 dec; in dsi_pll_10nm_vco_recalc_rate() local
420 dec = readl(base + REG_DSI_10nm_PHY_PLL_DECIMAL_DIV_START_1); in dsi_pll_10nm_vco_recalc_rate()
421 dec &= 0xff; in dsi_pll_10nm_vco_recalc_rate()
434 pll_freq = dec * (ref_clk * 2); in dsi_pll_10nm_vco_recalc_rate()
442 pll_10nm->phy->id, (unsigned long)vco_rate, dec, frac); in dsi_pll_10nm_vco_recalc_rate()
/drivers/crypto/intel/qat/qat_common/
A Dqat_asym_algs.c34 } dec; member
54 } dec; member
880 qat_req->in.rsa.dec.d = ctx->dma_d; in qat_rsa_dec()
881 qat_req->in.rsa.dec.n = ctx->dma_n; in qat_rsa_dec()
907 qat_req->in.rsa.dec.c = dma_map_single(dev, vaddr, ctx->key_sz, in qat_rsa_dec()
909 if (unlikely(dma_mapping_error(dev, qat_req->in.rsa.dec.c))) in qat_rsa_dec()
923 if (unlikely(dma_mapping_error(dev, qat_req->out.rsa.dec.m))) in qat_rsa_dec()
970 if (!dma_mapping_error(dev, qat_req->out.rsa.dec.m)) in qat_rsa_dec()
971 dma_unmap_single(dev, qat_req->out.rsa.dec.m, in qat_rsa_dec()
975 if (!dma_mapping_error(dev, qat_req->in.rsa.dec.c)) in qat_rsa_dec()
[all …]
/drivers/mtd/nand/
A Decc-mtk.c144 u32 dec, enc; in mtk_ecc_irq() local
146 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]) in mtk_ecc_irq()
148 if (dec) { in mtk_ecc_irq()
149 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_irq()
150 if (dec & ecc->sectors) { in mtk_ecc_irq()

Completed in 85 milliseconds

123