| /OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun6i-csi/ |
| H A D | sun6i_video.c | 136 struct sun6i_csi_buffer *next_buf; in sun6i_video_start_streaming() local 195 next_buf = list_next_entry(buf, list); in sun6i_video_start_streaming() 196 next_buf->queued_to_csi = true; in sun6i_video_start_streaming() 197 sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr); in sun6i_video_start_streaming() 261 struct sun6i_csi_buffer *next_buf; in sun6i_video_frame_done() local 273 next_buf = list_next_entry(buf, list); in sun6i_video_frame_done() 279 if (!next_buf->queued_to_csi) { in sun6i_video_frame_done() 280 next_buf->queued_to_csi = true; in sun6i_video_frame_done() 281 sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr); in sun6i_video_frame_done() 293 if (!list_is_last(&next_buf->list, &video->dma_queue)) { in sun6i_video_frame_done() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | capture_v1x.c | 644 if (stream->next_buf) { in update_mi() 646 stream->next_buf->buff_addr[RKISP_PLANE_Y]); in update_mi() 648 stream->next_buf->buff_addr[RKISP_PLANE_CB]); in update_mi() 650 stream->next_buf->buff_addr[RKISP_PLANE_CR]); in update_mi() 738 (stream->curr_buf == stream->next_buf && in mi_frame_end() 743 stream->curr_buf = stream->next_buf; in mi_frame_end() 744 stream->next_buf = NULL; in mi_frame_end() 749 stream->next_buf = in mi_frame_end() 753 list_del(&stream->next_buf->queue); in mi_frame_end() 759 if (stream->next_buf) { in mi_frame_end() [all …]
|
| H A D | capture_v20.c | 1082 if (stream->next_buf) { in update_dmatx_v2() 1084 stream->next_buf->buff_addr[RKISP_PLANE_Y]); in update_dmatx_v2() 1126 if (stream->next_buf) { in update_mi() 1128 stream->next_buf->buff_addr[RKISP_PLANE_Y]); in update_mi() 1130 stream->next_buf->buff_addr[RKISP_PLANE_CB]); in update_mi() 1132 stream->next_buf->buff_addr[RKISP_PLANE_CR]); in update_mi() 1366 if (!stream->next_buf && stream->streaming && in mi_frame_end() 1460 (stream->curr_buf == stream->next_buf && in mi_frame_end() 1465 stream->curr_buf = stream->next_buf; in mi_frame_end() 1466 stream->next_buf = NULL; in mi_frame_end() [all …]
|
| H A D | capture_v21.c | 982 if (stream->next_buf) { in update_dmatx_v2() 983 mi_set_y_addr(stream, stream->next_buf->buff_addr[RKISP_PLANE_Y]); in update_dmatx_v2() 1022 if (stream->next_buf) { in update_mi() 1024 stream->next_buf->buff_addr[RKISP_PLANE_Y], false); in update_mi() 1026 stream->next_buf->buff_addr[RKISP_PLANE_CB], false); in update_mi() 1028 stream->next_buf->buff_addr[RKISP_PLANE_CR], false); in update_mi() 1031 stream->curr_buf = stream->next_buf; in update_mi() 1032 stream->next_buf = NULL; in update_mi() 1209 if (!stream->next_buf && stream->streaming && in mi_frame_end() 1278 (stream->curr_buf == stream->next_buf && in mi_frame_end() [all …]
|
| H A D | capture_v30.c | 774 if (stream->next_buf) { in update_mi() 776 val = stream->next_buf->buff_addr[RKISP_PLANE_Y]; in update_mi() 780 val = stream->next_buf->buff_addr[RKISP_PLANE_CB]; in update_mi() 785 val = stream->next_buf->buff_addr[RKISP_PLANE_CR]; in update_mi() 795 val = stream->next_buf->buff_addr[RKISP_PLANE_Y]; in update_mi() 800 val = stream->next_buf->buff_addr[RKISP_PLANE_CB]; in update_mi() 806 val = stream->next_buf->buff_addr[RKISP_PLANE_CR]; in update_mi() 814 stream->curr_buf = stream->next_buf; in update_mi() 815 stream->next_buf = NULL; in update_mi() 933 if (!stream->next_buf && !list_empty(&stream->buf_queue)) { in mi_frame_start() [all …]
|
| H A D | isp_rockit.c | 209 stream->streaming && !stream->next_buf) { in rkisp_rockit_buf_queue() 210 stream->next_buf = &isprk_buf->isp_buf; in rkisp_rockit_buf_queue() 344 if (stream->next_buf) { in rkisp_rockit_config_stream() 345 list_add_tail(&stream->next_buf->queue, &stream->buf_queue); in rkisp_rockit_config_stream() 346 stream->next_buf = NULL; in rkisp_rockit_config_stream() 596 if (stream->next_buf || !list_empty(&stream->buf_queue)) in rkisp_rockit_ctrl_fps()
|
| H A D | capture_v32.c | 1036 if (stream->next_buf) { in update_mi() 1038 val = stream->next_buf->buff_addr[RKISP_PLANE_Y]; in update_mi() 1042 val = stream->next_buf->buff_addr[RKISP_PLANE_CB]; in update_mi() 1047 val = stream->next_buf->buff_addr[RKISP_PLANE_CR]; in update_mi() 1066 stream->curr_buf = stream->next_buf; in update_mi() 1067 stream->next_buf = NULL; in update_mi() 1089 stream->curr_buf = stream->next_buf; in update_mi() 1090 stream->next_buf = NULL; in update_mi() 1364 stream->next_buf = list_first_entry(&stream->buf_queue, in mi_frame_start() 1366 list_del(&stream->next_buf->queue); in mi_frame_start() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/ |
| H A D | cif-scale.c | 576 if (scale_vdev->next_buf && in rkcif_scale_vb2_stop_streaming() 577 scale_vdev->next_buf != scale_vdev->curr_buf) in rkcif_scale_vb2_stop_streaming() 578 list_add_tail(&scale_vdev->next_buf->queue, &scale_vdev->buf_head); in rkcif_scale_vb2_stop_streaming() 580 scale_vdev->next_buf = NULL; in rkcif_scale_vb2_stop_streaming() 708 if (!scale_vdev->next_buf) { in rkcif_assign_scale_buffer_init() 710 scale_vdev->next_buf = list_first_entry(&scale_vdev->buf_head, in rkcif_assign_scale_buffer_init() 712 list_del(&scale_vdev->next_buf->queue); in rkcif_assign_scale_buffer_init() 716 if (scale_vdev->next_buf) in rkcif_assign_scale_buffer_init() 718 scale_vdev->next_buf->buff_addr[RKCIF_PLANE_Y]); in rkcif_assign_scale_buffer_init() 746 scale_vdev->next_buf = list_first_entry(&scale_vdev->buf_head, in rkcif_assign_scale_buffer_update() [all …]
|
| H A D | capture.c | 1540 if (!stream->next_buf) { in rkcif_assign_new_buffer_oneframe() 1542 stream->next_buf = list_first_entry(&stream->buf_head, in rkcif_assign_new_buffer_oneframe() 1544 list_del(&stream->next_buf->queue); in rkcif_assign_new_buffer_oneframe() 1548 if (stream->next_buf) { in rkcif_assign_new_buffer_oneframe() 1550 stream->next_buf->buff_addr[RKCIF_PLANE_Y]); in rkcif_assign_new_buffer_oneframe() 1552 stream->next_buf->buff_addr[RKCIF_PLANE_CBCR]); in rkcif_assign_new_buffer_oneframe() 1569 stream->next_buf = list_first_entry(&stream->buf_head, in rkcif_assign_new_buffer_oneframe() 1571 list_del(&stream->next_buf->queue); in rkcif_assign_new_buffer_oneframe() 1572 buffer = stream->next_buf; in rkcif_assign_new_buffer_oneframe() 1578 stream->next_buf = NULL; in rkcif_assign_new_buffer_oneframe() [all …]
|
| H A D | dev.h | 500 struct rkcif_buffer *next_buf; member 692 struct rkcif_buffer *next_buf; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_twt.c | 128 u8 *next_buf = twt_ele + ELEM_ID_LEN + ELEM_LEN_LEN + CONTROL_LENGTH; in _twt_parse_individual_twt_para() local 129 req_type->twt_request = GET_TWT_REQ_TYPE_TWT_REQUEST(next_buf); in _twt_parse_individual_twt_para() 130 req_type->twt_setup_cmd = GET_TWT_REQ_TYPE_TWT_SETUP_COMMAND(next_buf); in _twt_parse_individual_twt_para() 131 req_type->trigger = GET_TWT_REQ_TYPE_TRIGGER(next_buf); in _twt_parse_individual_twt_para() 132 req_type->implicit = GET_TWT_REQ_TYPE_IMPLICIT(next_buf); in _twt_parse_individual_twt_para() 133 req_type->flow_type = GET_TWT_REQ_TYPE_FLOW_TYPE(next_buf); in _twt_parse_individual_twt_para() 134 req_type->twt_flow_id = GET_TWT_REQ_TYPE_TWT_FLOW_IDENTIFER(next_buf); in _twt_parse_individual_twt_para() 136 GET_TWT_REQ_TYPE_TWT_WAKE_INTERVAL_EXPONENT(next_buf); in _twt_parse_individual_twt_para() 137 req_type->twt_protection = GET_TWT_REQ_TYPE_TWT_PROTECTION(next_buf); in _twt_parse_individual_twt_para() 138 next_buf += REQUEST_TYPE_LENGTH; in _twt_parse_individual_twt_para() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_twt.c | 128 u8 *next_buf = twt_ele + ELEM_ID_LEN + ELEM_LEN_LEN + CONTROL_LENGTH; in _twt_parse_individual_twt_para() local 129 req_type->twt_request = GET_TWT_REQ_TYPE_TWT_REQUEST(next_buf); in _twt_parse_individual_twt_para() 130 req_type->twt_setup_cmd = GET_TWT_REQ_TYPE_TWT_SETUP_COMMAND(next_buf); in _twt_parse_individual_twt_para() 131 req_type->trigger = GET_TWT_REQ_TYPE_TRIGGER(next_buf); in _twt_parse_individual_twt_para() 132 req_type->implicit = GET_TWT_REQ_TYPE_IMPLICIT(next_buf); in _twt_parse_individual_twt_para() 133 req_type->flow_type = GET_TWT_REQ_TYPE_FLOW_TYPE(next_buf); in _twt_parse_individual_twt_para() 134 req_type->twt_flow_id = GET_TWT_REQ_TYPE_TWT_FLOW_IDENTIFER(next_buf); in _twt_parse_individual_twt_para() 136 GET_TWT_REQ_TYPE_TWT_WAKE_INTERVAL_EXPONENT(next_buf); in _twt_parse_individual_twt_para() 137 req_type->twt_protection = GET_TWT_REQ_TYPE_TWT_PROTECTION(next_buf); in _twt_parse_individual_twt_para() 138 next_buf += REQUEST_TYPE_LENGTH; in _twt_parse_individual_twt_para() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/ |
| H A D | capture.c | 1012 if (stream->next_buf) in update_dmatx0() 1014 stream->next_buf->buff_addr[RKISP1_PLANE_Y]); in update_dmatx0() 1027 if (stream->next_buf) { in update_mi() 1029 stream->next_buf->buff_addr[RKISP1_PLANE_Y]); in update_mi() 1031 stream->next_buf->buff_addr[RKISP1_PLANE_CB]); in update_mi() 1033 stream->next_buf->buff_addr[RKISP1_PLANE_CR]); in update_mi() 1136 (stream->curr_buf == stream->next_buf && in mi_frame_end() 1141 stream->curr_buf = stream->next_buf; in mi_frame_end() 1142 stream->next_buf = NULL; in mi_frame_end() 1147 stream->next_buf = in mi_frame_end() [all …]
|
| H A D | capture.h | 195 struct rkisp1_buffer *next_buf; member
|
| /OK3568_Linux_fs/kernel/arch/x86/events/intel/ |
| H A D | bts.c | 372 unsigned int next_buf; in bts_buffer_reset() local 390 next_buf = buf->cur_buf + 1; in bts_buffer_reset() 391 if (next_buf >= buf->nr_bufs) in bts_buffer_reset() 392 next_buf = 0; in bts_buffer_reset() 393 next_phys = &buf->buf[next_buf]; in bts_buffer_reset() 418 buf->cur_buf = next_buf; in bts_buffer_reset()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/mxsfb/ |
| H A D | mxsfb_drv.c | 50 .next_buf = LCDC_V3_NEXT_BUF, 59 .next_buf = LCDC_V4_NEXT_BUF, 68 .next_buf = LCDC_V4_NEXT_BUF,
|
| H A D | mxsfb_drv.h | 21 unsigned int next_buf; member
|
| H A D | mxsfb_kms.c | 363 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_atomic_enable() 465 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_primary_atomic_update()
|
| /OK3568_Linux_fs/kernel/drivers/net/arcnet/ |
| H A D | arcnet.c | 299 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf() 318 if (lp->next_buf >= 5) in get_arcbuf() 319 lp->next_buf -= 5; in get_arcbuf() 321 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf() 324 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf() 325 lp->next_buf %= 5; in get_arcbuf() 332 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf() 565 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
|
| H A D | arcdevice.h | 291 int next_buf, first_free_buf; member
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/hdmirx/ |
| H A D | rk_hdmirx.c | 168 struct hdmirx_buffer *next_buf; member 1986 if ((stream->next_buf) && (stream->next_buf != stream->curr_buf)) in return_all_buffers() 1987 list_add_tail(&stream->next_buf->queue, &stream->buf_head); in return_all_buffers() 1989 stream->next_buf = NULL; in return_all_buffers() 2067 stream->next_buf = NULL; in hdmirx_start_streaming() 2140 if ((stream->curr_buf != NULL || stream->next_buf != NULL) && in hdmirx_set_mute() 2319 stream->next_buf = NULL; in hdmirx_register_stream_vdev() 2614 if (stream->next_buf) { in dma_idle_int_handler() 2628 if (stream->next_buf) { in dma_idle_int_handler() 2629 stream->curr_buf = stream->next_buf; in dma_idle_int_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | ixp4xx_crypto.c | 810 struct buffer_desc *next_buf; in chainup_buffers() local 816 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers() 817 if (!next_buf) { in chainup_buffers() 822 buf->next = next_buf; in chainup_buffers() 824 buf = next_buf; in chainup_buffers()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/marvell-ccic/ |
| H A D | mcam-core.h | 162 int next_buf; /* Next to consume (dev_lock) */ member
|
| H A D | mcam-core.c | 241 cam->next_buf = -1; in mcam_reset_buffers() 451 int bufno = cam->next_buf; in mcam_frame_tasklet() 455 if (++(cam->next_buf) >= cam->nbufs) in mcam_frame_tasklet() 456 cam->next_buf = 0; in mcam_frame_tasklet() 1686 cam->next_buf = frame; in mcam_frame_complete()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-decoder.c | 201 const unsigned char *next_buf; member 565 if (!decoder->next_buf) in intel_pt_get_next_data() 568 decoder->buf = decoder->next_buf; in intel_pt_get_next_data() 570 decoder->next_buf = 0; in intel_pt_get_next_data() 600 decoder->next_buf = decoder->buf; in intel_pt_get_split_packet() 607 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet() 927 decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) { in intel_pt_get_next_packet() 2698 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()
|