Home
last modified time | relevance | path

Searched refs:state_data (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/build/test/unittest/rtg/
Drtg_test.cpp243 struct proc_state_data state_data; in BeginFrameFreq() local
244 state_data.grp_id = grpId; in BeginFrameFreq()
245 state_data.state_param = stateParam; in BeginFrameFreq()
250 ret = ioctl(fd, CMD_ID_BEGIN_FRAME_FREQ, &state_data); in BeginFrameFreq()
259 struct proc_state_data state_data; in EndFrameFreq() local
260 state_data.grp_id = grpId; in EndFrameFreq()
261 state_data.state_param = 0; in EndFrameFreq()
266 ret = ioctl(fd, CMD_ID_END_FRAME_FREQ, &state_data); in EndFrameFreq()
275 struct proc_state_data state_data; in EndScene() local
276 state_data.grp_id = grpId; in EndScene()
[all …]
/kernel/linux/linux-5.10/kernel/sched/rtg/
Drtg_ctrl.c507 struct proc_state_data state_data; in ctrl_frame_state() local
512 if (copy_from_user(&state_data, uarg, sizeof(state_data))) { in ctrl_frame_state()
517 return update_frame_state(state_data.grp_id, state_data.state_param, is_enter); in ctrl_frame_state()
574 struct proc_state_data state_data; in ctrl_set_min_util() local
579 if (copy_from_user(&state_data, uarg, sizeof(state_data))) { in ctrl_set_min_util()
584 return set_min_util(state_data.grp_id, state_data.state_param); in ctrl_set_min_util()
602 struct proc_state_data state_data; in ctrl_set_margin() local
607 if (copy_from_user(&state_data, uarg, sizeof(state_data))) { in ctrl_set_margin()
612 return set_margin(state_data.grp_id, state_data.state_param); in ctrl_set_margin()
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h244 void *state_data; member
Dpvrusb2-hdw.c2336 hdw->state_data = callback_data; in pvr2_hdw_initialize()
3201 hdw->state_func(hdw->state_data); in pvr2_hdw_worker_poll()