Home
last modified time | relevance | path

Searched refs:p_cur (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/mscc/
Docelot_devlink.c789 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_port_pool_get() argument
810 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_port_pool_get()
811 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_port_pool_get()
822 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_tc_port_bind_get() argument
843 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_tc_port_bind_get()
844 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_tc_port_bind_get()
Docelot_net.c134 u16 pool_index, u32 *p_cur, in ocelot_devlink_sb_occ_port_pool_get() argument
141 p_cur, p_max); in ocelot_devlink_sb_occ_port_pool_get()
148 u32 *p_cur, u32 *p_max) in ocelot_devlink_sb_occ_tc_port_bind_get() argument
155 p_cur, p_max); in ocelot_devlink_sb_occ_tc_port_bind_get()
/drivers/media/test-drivers/vivid/
Dvivid-radio-common.c80 dev->radio_tx_rds_psname->p_cur.p_char, in vivid_radio_rds_init()
83 dev->radio_tx_rds_radiotext->p_cur.p_char + alt * 64, in vivid_radio_rds_init()
Dvivid-kthread-cap.c523 *dev->int64->p_cur.p_s64, in vivid_fillbuff()
529 dev->string->p_cur.p_char); in vivid_fillbuff()
/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c31 ev->u.ctrl.value64 = *ctrl->p_cur.p_s64; in fill_event()
252 union v4l2_ctrl_ptr ptr = ctrl->p_cur; in v4l2_ctrl_type_op_log()
1077 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur, ctrl->elems); in new_to_cur()
1110 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in cur_to_new()
1166 ptr_to_ptr(ctrl, ctrl->p_cur, ref->p_req, ctrl->elems); in cur_to_req()
1187 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in req_to_new()
1220 memcpy(tmp + sz, ctrl->p_cur.p, ctrl->elems * ctrl->elem_size); in req_to_new()
1222 ctrl->p_cur.p = tmp + sz; in req_to_new()
1714 ctrl->p_cur.p = data + tot_ctrl_size; in v4l2_ctrl_new()
1717 ctrl->p_cur.p = &ctrl->cur.val; in v4l2_ctrl_new()
[all …]
Dv4l2-ctrls-api.c72 return ptr_to_user(c, ctrl, ctrl->p_cur); in cur_to_user()
112 memcpy(tmp + c->size, ctrl->p_cur.p, ctrl->elems * ctrl->elem_size); in user_to_new()
114 ctrl->p_cur.p = tmp + c->size; in user_to_new()
972 value_changed = *ctrl->p_new.p_s64 != *ctrl->p_cur.p_s64; in __v4l2_ctrl_modify_range()
974 value_changed = *ctrl->p_new.p_s32 != *ctrl->p_cur.p_s32; in __v4l2_ctrl_modify_range()
1008 ctrl->p_cur.p = p_array + elems * ctrl->elem_size; in __v4l2_ctrl_modify_dimensions()
1011 ctrl->type_ops->init(ctrl, 0, ctrl->p_cur); in __v4l2_ctrl_modify_dimensions()
/drivers/staging/media/rkvdec/
Drkvdec-h264.c1125 run->decode_params = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1128 run->sps = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1131 run->pps = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1134 run->scaling_matrix = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
Drkvdec-vp9.c745 dec_params = ctrl->p_cur.p; in rkvdec_vp9_run_preamble()
756 prob_updates = ctrl->p_cur.p; in rkvdec_vp9_run_preamble()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h388 u32 *p_cur, u32 *p_max);
392 u32 *p_cur, u32 *p_max);
Dspectrum_buffers.c1755 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_port_pool_get() argument
1764 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.cur); in mlxsw_sp_sb_occ_port_pool_get()
1772 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1783 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.cur); in mlxsw_sp_sb_occ_tc_port_bind_get()
Dspectrum.h609 u32 *p_cur, u32 *p_max);
613 u32 *p_cur, u32 *p_max);
Dcore.c1420 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_port_pool_get() argument
1430 pool_index, p_cur, p_max); in mlxsw_devlink_sb_occ_port_pool_get()
1437 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1448 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_common.c43 return ctrl->p_cur.p; in mtk_vdec_h264_get_ctrl_ptr()
Dvdec_vp8_req_if.c116 return ctrl->p_cur.p; in vdec_vp8_slice_get_ctrl_ptr()
Dvdec_vp9_req_lat_if.c952 if (!hdr_ctrl || !hdr_ctrl->p_cur.p) in vdec_vp9_slice_setup_pfc()
955 hdr = hdr_ctrl->p_cur.p; in vdec_vp9_slice_setup_pfc()
/drivers/net/dsa/ocelot/
Dfelix.c1958 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
1963 p_cur, p_max); in felix_sb_occ_port_pool_get()
1969 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
1974 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/drivers/staging/media/sunxi/cedrus/
Dcedrus.c240 return ctx->ctrls[i]->p_cur.p; in cedrus_find_control_data()
/drivers/media/platform/verisilicon/
Dhantro_g2_vp9_dec.c42 *dec_params = ctrl->p_cur.p; in start_prepare_run()
47 prob_updates = ctrl->p_cur.p; in start_prepare_run()
Dhantro_drv.c43 return ctrl ? ctrl->p_cur.p : NULL; in hantro_get_ctrl()
/drivers/media/platform/nxp/dw100/
Ddw100.c300 return ctrl->p_cur.p_u32; in dw100_get_user_map()
384 u32 *map = ctrl->p_cur.p_u32; in dw100_ctrl_dewarping_map_init()
/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c75 tegra_set_control_data(ctx, ctx->ctrls[i]->p_cur.p, id); in tegra_vde_prepare_control_data()
/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1094 solo_enc->md_thresholds->p_cur.p_u16); in solo_s_ctrl()