Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 23 of 23) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vav1/
Dav1_bufmgr.c306 int aom_realloc_frame_buffer(AV1_COMMON *cm, PIC_BUFFER_CONFIG *pic,
425 static int get_free_fb(AV1_COMMON *cm) { in get_free_fb() argument
426 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb()
429 lock_buffer_pool(cm->buffer_pool, flags); in get_free_fb()
459 unlock_buffer_pool(cm->buffer_pool, flags); in get_free_fb()
463 static RefCntBuffer *assign_cur_frame_new_fb(AV1_COMMON *const cm) { in assign_cur_frame_new_fb() argument
466 if (cm->cur_frame != NULL) { in assign_cur_frame_new_fb()
467 --cm->cur_frame->ref_count; in assign_cur_frame_new_fb()
468 cm->cur_frame = NULL; in assign_cur_frame_new_fb()
472 new_fb_idx = get_free_fb(cm); in assign_cur_frame_new_fb()
[all …]
Dvav1.c960 struct AV1_Common_s *cm = &hw->pbi->common; in get_double_write_mode() local
963 if (!cm->cur_frame) in get_double_write_mode()
965 cur_pic_config = &cm->cur_frame->buf; in get_double_write_mode()
1287 struct AV1_Common_s *const cm = &hw->pbi->common; in put_un_used_mv_bufs() local
1288 struct RefCntBuffer_s *const frame_bufs = cm->buffer_pool->frame_bufs; in put_un_used_mv_bufs()
1303 struct AV1_Common_s *const cm = &hw->pbi->common; in get_free_buf_count() local
1304 struct RefCntBuffer_s *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_buf_count()
1318 struct AV1_Common_s *cm = &hw->pbi->common; in aom_bufmgr_init() local
1324 spin_lock_init(&cm->buffer_pool->lock); in aom_bufmgr_init()
1325 cm->prev_fb_idx = INVALID_IDX; in aom_bufmgr_init()
[all …]
Dav1_global.h1846 int (*alloc_mi)(struct AV1Common *cm, int mi_size);
1847 void (*free_mi)(struct AV1Common *cm);
1848 void (*setup_mi)(struct AV1Common *cm);
2247 const AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame);
2253 AV1_COMMON *const cm, const MV_REFERENCE_FRAME ref_frame);
2258 const AV1_COMMON *const cm, int i);
2266 unsigned char av1_frame_is_inter(const AV1_COMMON *const cm);
2269 const AV1_COMMON *const cm);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/
Dccu_mult.c39 struct ccu_mult *cm = data; in ccu_mult_round_rate() local
42 _cm.min = cm->mult.min; in ccu_mult_round_rate()
44 if (cm->mult.max) in ccu_mult_round_rate()
45 _cm.max = cm->mult.max; in ccu_mult_round_rate()
47 _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; in ccu_mult_round_rate()
56 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_disable() local
58 return ccu_gate_helper_disable(&cm->common, cm->enable); in ccu_mult_disable()
63 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_enable() local
65 return ccu_gate_helper_enable(&cm->common, cm->enable); in ccu_mult_enable()
70 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_is_enabled() local
[all …]
Dccu_mux.c16 struct ccu_mux_internal *cm, in ccu_mux_get_prediv() argument
32 parent_index = reg >> cm->shift; in ccu_mux_get_prediv()
33 parent_index &= (1 << cm->width) - 1; in ccu_mux_get_prediv()
39 for (i = 0; i < cm->n_predivs; i++) in ccu_mux_get_prediv()
40 if (parent_index == cm->fixed_predivs[i].index) in ccu_mux_get_prediv()
41 prediv = cm->fixed_predivs[i].div; in ccu_mux_get_prediv()
47 for (i = 0; i < cm->n_var_predivs; i++) in ccu_mux_get_prediv()
48 if (parent_index == cm->var_predivs[i].index) { in ccu_mux_get_prediv()
51 div = reg >> cm->var_predivs[i].shift; in ccu_mux_get_prediv()
52 div &= (1 << cm->var_predivs[i].width) - 1; in ccu_mux_get_prediv()
[all …]
Dccu_mp.c290 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate() local
291 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_recalc_rate()
301 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate() local
302 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_determine_rate()
327 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate() local
328 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_set_rate()
Dccu_mux.h103 struct ccu_mux_internal *cm,
107 struct ccu_mux_internal *cm,
116 struct ccu_mux_internal *cm);
118 struct ccu_mux_internal *cm,
124 struct ccu_mux_internal *cm; member
Dccu-sun8iw20.c1202 .cm = &cpux_clk.mux,
1209 .cm = &riscv_clk.mux,
Dccu-sun50iw9.c1186 .cm = &cpux_clk.mux,
Dccu-sun50iw10.c1304 .cm = &cpux_clk.mux,
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vp9/
Dvvp9.c848 static struct PIC_BUFFER_CONFIG_s *get_frame_new_buffer(struct VP9_Common_s *cm) in get_frame_new_buffer() argument
850 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
884 static void setup_display_size(struct VP9_Common_s *cm, union param_u *params, in setup_display_size() argument
887 cm->display_width = cm->width; in setup_display_size()
888 cm->display_height = cm->height; in setup_display_size()
892 cm->display_width = params->p.display_width; in setup_display_size()
893 cm->display_height = params->p.display_height; in setup_display_size()
1247 struct VP9_Common_s *cm, int width, int height) in resize_context_buffers() argument
1249 if (cm->width != width || cm->height != height) { in resize_context_buffers()
1255 pr_info("%s (%d,%d)=>(%d,%d)\r\n", __func__, cm->width, in resize_context_buffers()
[all …]
/device/soc/esp/esp32/components/soc/esp32/include/soc/
Dtwai_struct.h199 uint32_t cm: 1; /* CDR.7 Register Layout. Basic:0 Extended:1 */ member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/
Daml_cimax_usb.c1185 u8 cm[2]; in cimax_usb_set_loop() local
1189 cm[0] = loop ? (b ? 0x85 : 0x80) : 0x81;/*CH*/ in cimax_usb_set_loop()
1190 cm[1] = loop ? (a ? 0x51 : 0x11) : 0x00;/*MOD*/ in cimax_usb_set_loop()
1192 return aml_cimax_usb_write_reg(usb->cimax, ROUTER_CAM_CH, cm, 2); in cimax_usb_set_loop()
Daml_cimax_spi.c2069 u8 cm[2]; in loop_store() local
2070 cm[0] = loop ? (b ? 0x85 : 0x80) : 0x81;/*CH*/ in loop_store()
2071 cm[1] = loop ? (a ? 0x51 : 0x11) : 0x00;/*MOD*/ in loop_store()
2073 err = aml_cimax_spi_write_reg(cimax, ROUTER_CAM_CH, cm, 2); in loop_store()
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dtwai_ll.h770 hw->clock_divider_reg.cm = 1; in twai_ll_enable_extended_reg_layout()
/device/soc/hisilicon/hi3861v100/
DREADME.md11 HiSpark\_pegasus \(Hi3861 V100\) is a 2 x 5 cm development board. It is a 2.4 GHz Wi-Fi SoC chip th…
DNOTICE2997 Copyright (c) 2001 Charles Mott <cm@linktel.net>
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_firmware.c328 const u32 flags, u32 *cm) in convert_mem_flags() argument
363 *cm = cache_mode; in convert_mem_flags()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs2/
Dvavs2.c1139 struct VP9_Common_s *const cm = &dec->common;
1140 struct RefCntBuffer_s *const frame_bufs = cm->buffer_pool->frame_bufs;
/device/soc/hisilicon/hi3516dv300/
DNOTICE851 Copyright (c) 2001 Charles Mott <cm@linktel.net>
/device/board/hisilicon/hispark_aries/
DNOTICE851 Copyright (c) 2001 Charles Mott <cm@linktel.net>
/device/soc/hisilicon/hi3861v100/sdk_liteos/
DNOTICE2997 Copyright (c) 2001 Charles Mott <cm@linktel.net>
/device/board/isoftstone/zhiyuan/kernel/driver/ramfs/
Drootfs_arm64.cpio.gz