Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c487 memcpy(&dec->v_pes[dec->v_pes_length], in ttusb_dec_process_pva()
1215 usb_make_path(dec->udev, dec->rc_phys, sizeof(dec->rc_phys)); in ttusb_init_rc()
1283 usb_fill_int_urb(dec->irq_urb, dec->udev,dec->irq_pipe, in ttusb_dec_init_usb()
1474 dec->demux.priv = (void *)dec; in ttusb_dec_init_dvb()
1491 dec->dmxdev.demux = &dec->demux.dmx; in ttusb_dec_init_dvb()
1523 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_init_dvb()
1531 dvb_net_init(&dec->adapter, &dec->dvb_net, &dec->demux.dmx); in ttusb_dec_init_dvb()
1541 dec->demux.dmx.close(&dec->demux.dmx); in ttusb_dec_exit_dvb()
1542 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_exit_dvb()
1679 dec->adapter.priv = dec; in ttusb_dec_probe()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H 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 …]
/openbmc/qemu/disas/
H A Driscv.c4497 dec->codec = opcode_data[dec->op].codec; in decode_inst_operands()
4500 dec->rd = dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4505 dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4510 dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4593 dec->rd = dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4620 dec->rd = dec->rs1 = operand_crs1rd(inst); in decode_inst_operands()
4625 dec->rd = dec->rs1 = operand_crs1rd(inst); in decode_inst_operands()
4671 dec->rd = dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4681 dec->rd = dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
4686 dec->rs1 = dec->rs2 = rv_ireg_zero; in decode_inst_operands()
[all …]
H A Driscv-xthead.c275 dec->op = op; in decode_xtheadba()
331 dec->op = op; in decode_xtheadbb()
357 dec->op = op; in decode_xtheadbs()
435 dec->op = op; in decode_xtheadcmo()
462 dec->op = op; in decode_xtheadcondmov()
499 dec->op = op; in decode_xtheadfmemidx()
534 dec->op = op; in decode_xtheadfmv()
565 dec->op = op; in decode_xtheadmac()
639 dec->op = op; in decode_xtheadmemidx()
673 dec->op = op; in decode_xtheadmempair()
[all …]
H A Driscv-xventana.c23 void decode_xventanacondops(rv_decode *dec, rv_isa isa) in decode_xventanacondops() argument
25 rv_inst inst = dec->inst; in decode_xventanacondops()
41 dec->op = op; in decode_xventanacondops()
/openbmc/qemu/target/s390x/tcg/
H A Dint_helper.c107 sign = dec & 0xf; in HELPER()
111 dec >>= 4; in HELPER()
113 while (dec) { in HELPER()
114 digit = dec & 0xf; in HELPER()
118 dec >>= 4; in HELPER()
136 uint64_t dec64[] = {int128_getlo(dec), int128_gethi(dec)}; in HELPER()
180 uint64_t dec = 0x0c; in HELPER() local
186 dec = 0x0d; in HELPER()
194 return dec; in HELPER()
211 dec = int128_or(dec, int128_lshift(int128_remu(bin, base), shift)); in HELPER()
[all …]
/openbmc/linux/drivers/media/i2c/
H 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 …]
H 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 …]
H 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 …]
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_req_if.c82 struct vdec_vp8_slice_info dec; member
197 inst->vsi->dec.seg_id_buf_dma = 0; in vdec_vp8_slice_free_working_buf()
202 inst->vsi->dec.wrap_y_dma = 0; in vdec_vp8_slice_free_working_buf()
207 inst->vsi->dec.wrap_c_dma = 0; in vdec_vp8_slice_free_working_buf()
212 inst->vsi->dec.vld_wrapper_dma = 0; in vdec_vp8_slice_free_working_buf()
352 inst->vsi->dec.bs_sz = bs->size; in vdec_vp8_slice_decode()
353 inst->vsi->dec.cur_y_fb_dma = y_fb_dma; in vdec_vp8_slice_decode()
391 inst->vsi->dec.crc[0], inst->vsi->dec.crc[1], in vdec_vp8_slice_decode()
392 inst->vsi->dec.crc[2], inst->vsi->dec.crc[3], in vdec_vp8_slice_decode()
393 inst->vsi->dec.crc[4], inst->vsi->dec.crc[5], in vdec_vp8_slice_decode()
[all …]
H A Dvdec_h264_req_multi_if.c107 struct vdec_h264_slice_info dec; member
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()
699 inst->vsi->dec.crc[0], inst->vsi->dec.crc[1], inst->vsi->dec.crc[2]); in vdec_h264_slice_lat_decode()
788 inst->vsi->dec.timeout = !!err; in vdec_h264_slice_single_decode()
796 inst->vsi_ctx.dec.crc[0], inst->vsi_ctx.dec.crc[1], in vdec_h264_slice_single_decode()
797 inst->vsi_ctx.dec.crc[2], inst->vsi_ctx.dec.crc[3], in vdec_h264_slice_single_decode()
798 inst->vsi_ctx.dec.crc[4], inst->vsi_ctx.dec.crc[5], in vdec_h264_slice_single_decode()
[all …]
H 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 …]
H 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 = (unsigned long)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 …]
/openbmc/linux/fs/unicode/
H A Dutf8-selftest.c39 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},
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()
194 c, nfdi_test_data[i].dec[j]); in check_utf8_nfdi()
[all …]
/openbmc/linux/scripts/atomic/fallbacks/
H A Ddec_if_positive2 ${int} dec, c = raw_${atomic}_read(v);
5 dec = c - 1;
6 if (unlikely(dec < 0))
8 } while (!raw_${atomic}_try_cmpxchg(v, &c, dec));
10 return dec;
/openbmc/libpldm/src/
H A Dutils.c174 uint8_t dec2bcd8(uint8_t dec) in dec2bcd8() argument
176 return ((dec / 10) << 4) + (dec % 10); in dec2bcd8()
186 uint16_t dec2bcd16(uint16_t dec) in dec2bcd16() argument
188 return dec2bcd8(dec % 100) | ((uint16_t)(dec2bcd8(dec / 100)) << 8); in dec2bcd16()
198 uint32_t dec2bcd32(uint32_t dec) in dec2bcd32() argument
200 return dec2bcd16(dec % 10000) | in dec2bcd32()
201 ((uint32_t)(dec2bcd16(dec / 10000)) << 16); in dec2bcd32()
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-v4l2.c32 ((dec && (dec)->op) ? (dec)->op(args) : 0)
136 const struct delta_dec *dec = ctx->dec; in delta_recycle() local
350 if (!dec) { in delta_open_decoder()
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 …]
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H 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
/openbmc/linux/kernel/
H A Ducount.c257 long dec = atomic_long_dec_if_positive(&iter->ucount[type]); in dec_ucount() local
258 WARN_ON_ONCE(dec < 0); in dec_ucount()
285 long dec = atomic_long_sub_return(v, &iter->rlimit[type]); in dec_rlimit_ucounts() local
286 WARN_ON_ONCE(dec < 0); in dec_rlimit_ucounts()
288 new = dec; in dec_rlimit_ucounts()
298 long dec = atomic_long_sub_return(1, &iter->rlimit[type]); in do_dec_rlimit_put_ucounts() local
299 WARN_ON_ONCE(dec < 0); in do_dec_rlimit_put_ucounts()
301 if (dec == 0) in do_dec_rlimit_put_ucounts()
317 long dec, ret = 0; in inc_rlimit_get_ucounts() local
338 dec = atomic_long_sub_return(1, &iter->rlimit[type]); in inc_rlimit_get_ucounts()
[all …]
/openbmc/linux/drivers/md/
H 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()
/openbmc/linux/tools/perf/tests/
H A Dapi-io.c221 __u64 dec; in do_test_get_dec() local
226 ch = io__get_dec(&io, &dec); in do_test_get_dec()
227 EXPECT_EQUAL64(dec, val1); in do_test_get_dec()
230 ch = io__get_dec(&io, &dec); in do_test_get_dec()
231 EXPECT_EQUAL64(dec, val2); in do_test_get_dec()
234 ch = io__get_dec(&io, &dec); in do_test_get_dec()
235 EXPECT_EQUAL64(dec, val3); in do_test_get_dec()
/openbmc/libpldm/include/libpldm/
H A Dutils.h63 uint8_t dec2bcd8(uint8_t dec);
75 uint16_t dec2bcd16(uint16_t dec);
87 uint32_t dec2bcd32(uint32_t dec);
/openbmc/linux/arch/powerpc/kvm/
H A Demulate.c31 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()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c315 AES_KEY dec; member
336 AES_decrypt(src, dst, &aesctx->dec); in test_xts_aes_decrypt()
349 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts()
351 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts()
385 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts_split()
387 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_split()
430 AES_set_decrypt_key(data->key1, data->keylen / 2 * 8, &aesdata.dec); in test_xts_unaligned()
432 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_unaligned()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/
H A D0009-Platform-ARM-N1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch15 Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec | 4 ++++
56 …iff --git a/Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec b/Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.
58 --- a/Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec
59 +++ b/Silicon/ARM/NeoverseN1Soc/NeoverseN1Soc.dec

12345678910