Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c820 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_port_pool_get() argument
841 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_port_pool_get()
842 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_port_pool_get()
853 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_tc_port_bind_get() argument
874 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_tc_port_bind_get()
875 *p_cur *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_tc_port_bind_get()
H A 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()
/openbmc/linux/net/dsa/
H A Ddevlink.c139 u16 pool_index, u32 *p_cur, in dsa_devlink_sb_occ_port_pool_get() argument
149 pool_index, p_cur, p_max); in dsa_devlink_sb_occ_port_pool_get()
156 u32 *p_cur, u32 *p_max) in dsa_devlink_sb_occ_tc_port_bind_get() argument
166 pool_type, p_cur, in dsa_devlink_sb_occ_tc_port_bind_get()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A 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()
H A Dvivid-kthread-cap.c502 *dev->int64->p_cur.p_s64, in vivid_fillbuff()
508 dev->string->p_cur.p_char); in vivid_fillbuff()
/openbmc/linux/drivers/media/v4l2-core/
H A 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()
977 value_changed = *ctrl->p_new.p_s64 != *ctrl->p_cur.p_s64; in __v4l2_ctrl_modify_range()
979 value_changed = *ctrl->p_new.p_s32 != *ctrl->p_cur.p_s32; in __v4l2_ctrl_modify_range()
1013 ctrl->p_cur.p = p_array + elems * ctrl->elem_size; in __v4l2_ctrl_modify_dimensions()
1016 ctrl->type_ops->init(ctrl, 0, ctrl->p_cur); in __v4l2_ctrl_modify_dimensions()
H A Dv4l2-ctrls-core.c31 ev->u.ctrl.value64 = *ctrl->p_cur.p_s64; in fill_event()
257 union v4l2_ctrl_ptr ptr = ctrl->p_cur; in v4l2_ctrl_type_op_log()
1328 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur, ctrl->elems); in new_to_cur()
1361 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in cur_to_new()
1417 ptr_to_ptr(ctrl, ctrl->p_cur, ref->p_req, ctrl->elems); in cur_to_req()
1473 ctrl->p_cur.p = tmp + sz; in req_to_new()
1977 ctrl->p_cur.p = data + tot_ctrl_size; in v4l2_ctrl_new()
1980 ctrl->p_cur.p = &ctrl->cur.val; in v4l2_ctrl_new()
1987 ctrl->p_def.p = ctrl->p_cur.p + tot_ctrl_size; in v4l2_ctrl_new()
1991 ctrl->type_ops->init(ctrl, 0, ctrl->p_cur); in v4l2_ctrl_new()
[all …]
/openbmc/linux/sound/sparc/
H A Damd7930.c329 unsigned char *p_orig, *p_cur; member
509 byte = *(amd->p_cur++); in snd_amd7930_interrupt()
593 amd->p_orig = amd->p_cur = runtime->dma_area; in snd_amd7930_playback_prepare()
651 ptr = amd->p_cur - amd->p_orig; in snd_amd7930_playback_pointer()
/openbmc/linux/drivers/staging/media/rkvdec/
H A 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()
H A Drkvdec-vp9.c744 dec_params = ctrl->p_cur.p; in rkvdec_vp9_run_preamble()
755 prob_updates = ctrl->p_cur.p; in rkvdec_vp9_run_preamble()
/openbmc/qemu/util/
H A Dhbitmap.c363 static size_t hbitmap_iter_next_word(HBitmapIter *hbi, unsigned long *p_cur) in hbitmap_iter_next_word() argument
370 *p_cur = 0; in hbitmap_iter_next_word()
377 *p_cur = cur; in hbitmap_iter_next_word()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h387 u32 *p_cur, u32 *p_max);
391 u32 *p_cur, u32 *p_max);
H A Dspectrum_buffers.c1763 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_port_pool_get() argument
1772 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.cur); in mlxsw_sp_sb_occ_port_pool_get()
1780 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1791 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.cur); in mlxsw_sp_sb_occ_tc_port_bind_get()
H A Dspectrum.h612 u32 *p_cur, u32 *p_max);
616 u32 *p_cur, u32 *p_max);
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.c43 return ctrl->p_cur.p; in mtk_vdec_h264_get_ctrl_ptr()
H A Dvdec_vp8_req_if.c115 return ctrl->p_cur.p; in vdec_vp8_slice_get_ctrl_ptr()
/openbmc/linux/Documentation/driver-api/media/
H A 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);
/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-core.c227 return ctrl->p_cur.p; in visl_find_control_data()
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1981 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
1986 p_cur, p_max); in felix_sb_occ_port_pool_get()
1992 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
1997 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/openbmc/linux/include/media/
H A Dv4l2-ctrls.h308 union v4l2_ctrl_ptr p_cur; member
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.c254 return ctx->ctrls[i]->p_cur.p; in cedrus_find_control_data()
/openbmc/linux/include/net/
H A Ddsa.h1170 u32 *p_cur, u32 *p_max);
1174 u32 *p_cur, u32 *p_max);
H A Ddevlink.h1311 u32 *p_cur, u32 *p_max);
1316 u32 *p_cur, u32 *p_max);
/openbmc/linux/include/soc/mscc/
H A Docelot.h1130 u32 *p_cur, u32 *p_max);
1134 u32 *p_cur, u32 *p_max);
/openbmc/linux/drivers/media/platform/verisilicon/
H A 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()

12