Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/sound/sparc/
Damd7930.c330 unsigned char *p_orig, *p_cur; member
510 byte = *(amd->p_cur++); in snd_amd7930_interrupt()
594 amd->p_orig = amd->p_cur = runtime->dma_area; in snd_amd7930_playback_prepare()
652 ptr = amd->p_cur - amd->p_orig; in snd_amd7930_playback_pointer()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/net/dsa/
Ddsa2.c778 u16 pool_index, u32 *p_cur, in dsa_devlink_sb_occ_port_pool_get() argument
788 pool_index, p_cur, p_max); in dsa_devlink_sb_occ_port_pool_get()
795 u32 *p_cur, u32 *p_max) in dsa_devlink_sb_occ_tc_port_bind_get() argument
805 pool_type, p_cur, in dsa_devlink_sb_occ_tc_port_bind_get()
/linux-6.1.9/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()
/linux-6.1.9/Documentation/driver-api/media/
Dv4l2-controls.rst336 union v4l2_ctrl_ptr p_cur;
343 &ctrl->cur.val == ctrl->p_cur.p_s32
345 For all other types use ctrl->p_cur.p<something>. Basically the val
352 Unless the control is marked volatile the p_cur field points to the
417 pr_info("String value is '%s'\n", ctrl1->p_cur.p_char);
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.c1944 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
1949 p_cur, p_max); in felix_sb_occ_port_pool_get()
1955 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
1960 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/linux-6.1.9/include/media/
Dv4l2-ctrls.h300 union v4l2_ctrl_ptr p_cur; member
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus.c240 return ctx->ctrls[i]->p_cur.p; in cedrus_find_control_data()
/linux-6.1.9/include/soc/mscc/
Docelot.h1267 u32 *p_cur, u32 *p_max);
1271 u32 *p_cur, u32 *p_max);
/linux-6.1.9/include/net/
Ddevlink.h1270 u32 *p_cur, u32 *p_max);
1275 u32 *p_cur, u32 *p_max);
Ddsa.h1161 u32 *p_cur, u32 *p_max);
1165 u32 *p_cur, u32 *p_max);
/linux-6.1.9/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()
/linux-6.1.9/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()

12