Home
last modified time | relevance | path

Searched refs:poll_cfg (Results 1 – 7 of 7) sorted by relevance

/rockchip-linux_mpp/osal/driver/
H A Dvcodec_service.c669 VcodecRegCfg *poll_cfg = &p->regs[p->reg_poll_idx]; in vcodec_service_cmd_poll() local
670 void *reg_get = poll_cfg->reg_get; in vcodec_service_cmd_poll()
671 RK_S32 reg_size = poll_cfg->reg_size; in vcodec_service_cmd_poll()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c2386 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs + in hal_h264e_vepu580_wait() local
2392 poll_cfg->poll_type = 0; in hal_h264e_vepu580_wait()
2393 poll_cfg->poll_ret = 0; in hal_h264e_vepu580_wait()
2394 poll_cfg->count_max = split_out & MPP_ENC_SPLIT_OUT_LOWDELAY ? 1 : ctx->poll_slice_max; in hal_h264e_vepu580_wait()
2395 poll_cfg->count_ret = 0; in hal_h264e_vepu580_wait()
2397 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h264e_vepu580_wait()
2399 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h264e_vepu580_wait()
2400 slice_last = poll_cfg->slice_info[i].last; in hal_h264e_vepu580_wait()
2401 slice_len = poll_cfg->slice_info[i].length; in hal_h264e_vepu580_wait()
H A Dhal_h264e_vepu510.c2414 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs + in hal_h264e_vepu510_wait() local
2420 poll_cfg->poll_type = 0; in hal_h264e_vepu510_wait()
2421 poll_cfg->poll_ret = 0; in hal_h264e_vepu510_wait()
2422 poll_cfg->count_max = ctx->poll_slice_max; in hal_h264e_vepu510_wait()
2423 poll_cfg->count_ret = 0; in hal_h264e_vepu510_wait()
2425 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h264e_vepu510_wait()
2427 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h264e_vepu510_wait()
2428 slice_last = poll_cfg->slice_info[i].last; in hal_h264e_vepu510_wait()
2429 slice_len = poll_cfg->slice_info[i].length; in hal_h264e_vepu510_wait()
H A Dhal_h264e_vepu511.c2375 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs + in hal_h264e_vepu511_wait() local
2381 poll_cfg->poll_type = 0; in hal_h264e_vepu511_wait()
2382 poll_cfg->poll_ret = 0; in hal_h264e_vepu511_wait()
2383 poll_cfg->count_max = ctx->poll_slice_max; in hal_h264e_vepu511_wait()
2384 poll_cfg->count_ret = 0; in hal_h264e_vepu511_wait()
2386 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h264e_vepu511_wait()
2388 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h264e_vepu511_wait()
2389 slice_last = poll_cfg->slice_info[i].last; in hal_h264e_vepu511_wait()
2390 slice_len = poll_cfg->slice_info[i].length; in hal_h264e_vepu511_wait()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu510.c2369 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs); in hal_h265e_v510_wait() local
2375 poll_cfg->poll_type = 0; in hal_h265e_v510_wait()
2376 poll_cfg->poll_ret = 0; in hal_h265e_v510_wait()
2377 poll_cfg->count_max = ctx->poll_slice_max; in hal_h265e_v510_wait()
2378 poll_cfg->count_ret = 0; in hal_h265e_v510_wait()
2380 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h265e_v510_wait()
2381 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h265e_v510_wait()
2382 slice_last = poll_cfg->slice_info[i].last; in hal_h265e_v510_wait()
2383 slice_len = poll_cfg->slice_info[i].length; in hal_h265e_v510_wait()
H A Dhal_h265e_vepu511.c2661 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs); in hal_h265e_vepu511_wait() local
2667 poll_cfg->poll_type = 0; in hal_h265e_vepu511_wait()
2668 poll_cfg->poll_ret = 0; in hal_h265e_vepu511_wait()
2669 poll_cfg->count_max = ctx->poll_slice_max; in hal_h265e_vepu511_wait()
2670 poll_cfg->count_ret = 0; in hal_h265e_vepu511_wait()
2672 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h265e_vepu511_wait()
2673 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h265e_vepu511_wait()
2674 slice_last = poll_cfg->slice_info[i].last; in hal_h265e_vepu511_wait()
2675 slice_len = poll_cfg->slice_info[i].length; in hal_h265e_vepu511_wait()
H A Dhal_h265e_vepu580.c3213 MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs); in hal_h265e_v580_wait() local
3220 poll_cfg->poll_type = 0; in hal_h265e_v580_wait()
3221 poll_cfg->poll_ret = 0; in hal_h265e_v580_wait()
3222 poll_cfg->count_max = split_out & MPP_ENC_SPLIT_OUT_LOWDELAY ? 1 : ctx->poll_slice_max; in hal_h265e_v580_wait()
3223 poll_cfg->count_ret = 0; in hal_h265e_v580_wait()
3225 ret = mpp_dev_ioctl(ctx->dev, MPP_DEV_CMD_POLL, poll_cfg); in hal_h265e_v580_wait()
3227 for (i = 0; i < poll_cfg->count_ret; i++) { in hal_h265e_v580_wait()
3228 slice_last = poll_cfg->slice_info[i].last; in hal_h265e_v580_wait()
3229 slice_len = poll_cfg->slice_info[i].length; in hal_h265e_v580_wait()