Home
last modified time | relevance | path

Searched refs:fec_data (Results 1 – 10 of 10) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dparams.c110 struct rkispp_fec_head *fec_data; in rkispp_param_init_fecbuf() local
132 fec_data = (struct rkispp_fec_head *)params->buf_fec[i].vaddr; in rkispp_param_init_fecbuf()
133 fec_data->stat = FEC_BUF_INIT; in rkispp_param_init_fecbuf()
134 fec_data->meshxf_oft = ALIGN(sizeof(struct rkispp_fec_head), 0x10); in rkispp_param_init_fecbuf()
135 fec_data->meshyf_oft = fec_data->meshxf_oft + ALIGN(mesh_size, 0x10); in rkispp_param_init_fecbuf()
136 fec_data->meshxi_oft = fec_data->meshyf_oft + ALIGN(mesh_size, 0x10); in rkispp_param_init_fecbuf()
137 fec_data->meshyi_oft = fec_data->meshxi_oft + ALIGN(mesh_size * 0x02, 0x10); in rkispp_param_init_fecbuf()
142 val = dma_addr + fec_data->meshxf_oft; in rkispp_param_init_fecbuf()
144 val = dma_addr + fec_data->meshyf_oft; in rkispp_param_init_fecbuf()
146 val = dma_addr + fec_data->meshxi_oft; in rkispp_param_init_fecbuf()
[all …]
Dparams_v20.c32 struct rkispp_fec_head *fec_data; in fec_config() local
61 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
62 fec_data->stat = FEC_BUF_INIT; in fec_config()
65 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
66 fec_data->stat = FEC_BUF_CHIPINUSE; in fec_config()
72 val = dma_addr + fec_data->meshxf_oft; in fec_config()
74 val = dma_addr + fec_data->meshyf_oft; in fec_config()
76 val = dma_addr + fec_data->meshxi_oft; in fec_config()
78 val = dma_addr + fec_data->meshyi_oft; in fec_config()
Dstream_v20.c59 struct rkispp_fec_head *fec_data; in config_fec() local
102 fec_data = (struct rkispp_fec_head *)dev->params_vdev.buf_fec[0].vaddr; in config_fec()
103 if (fec_data) { in config_fec()
105 addrxf = dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxf_oft; in config_fec()
106 addryf = dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyf_oft; in config_fec()
107 addrxi = dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxi_oft; in config_fec()
108 addryi = dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyi_oft; in config_fec()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dparams.c115 struct rkispp_fec_head *fec_data; in rkispp_param_init_fecbuf() local
137 fec_data = (struct rkispp_fec_head *)params->buf_fec[i].vaddr; in rkispp_param_init_fecbuf()
138 fec_data->stat = FEC_BUF_INIT; in rkispp_param_init_fecbuf()
139 fec_data->meshxf_oft = ALIGN(sizeof(struct rkispp_fec_head), 16); in rkispp_param_init_fecbuf()
140 fec_data->meshyf_oft = fec_data->meshxf_oft + ALIGN(mesh_size, 16); in rkispp_param_init_fecbuf()
141 fec_data->meshxi_oft = fec_data->meshyf_oft + ALIGN(mesh_size, 16); in rkispp_param_init_fecbuf()
142 fec_data->meshyi_oft = fec_data->meshxi_oft + ALIGN(mesh_size * 2, 16); in rkispp_param_init_fecbuf()
147 val = dma_addr + fec_data->meshxf_oft; in rkispp_param_init_fecbuf()
149 val = dma_addr + fec_data->meshyf_oft; in rkispp_param_init_fecbuf()
151 val = dma_addr + fec_data->meshxi_oft; in rkispp_param_init_fecbuf()
[all …]
Dparams_v20.c33 struct rkispp_fec_head *fec_data; in fec_config() local
63 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
64 fec_data->stat = FEC_BUF_INIT; in fec_config()
67 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
68 fec_data->stat = FEC_BUF_CHIPINUSE; in fec_config()
74 val = dma_addr + fec_data->meshxf_oft; in fec_config()
76 val = dma_addr + fec_data->meshyf_oft; in fec_config()
78 val = dma_addr + fec_data->meshxi_oft; in fec_config()
80 val = dma_addr + fec_data->meshyi_oft; in fec_config()
Dstream_v20.c62 struct rkispp_fec_head *fec_data; in config_fec() local
104 fec_data = (struct rkispp_fec_head *)dev->params_vdev.buf_fec[0].vaddr; in config_fec()
105 if (fec_data) { in config_fec()
108 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxf_oft; in config_fec()
110 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyf_oft; in config_fec()
112 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxi_oft; in config_fec()
114 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyi_oft; in config_fec()
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dparams.c115 struct rkispp_fec_head *fec_data; in rkispp_param_init_fecbuf() local
137 fec_data = (struct rkispp_fec_head *)params->buf_fec[i].vaddr; in rkispp_param_init_fecbuf()
138 fec_data->stat = FEC_BUF_INIT; in rkispp_param_init_fecbuf()
139 fec_data->meshxf_oft = ALIGN(sizeof(struct rkispp_fec_head), 16); in rkispp_param_init_fecbuf()
140 fec_data->meshyf_oft = fec_data->meshxf_oft + ALIGN(mesh_size, 16); in rkispp_param_init_fecbuf()
141 fec_data->meshxi_oft = fec_data->meshyf_oft + ALIGN(mesh_size, 16); in rkispp_param_init_fecbuf()
142 fec_data->meshyi_oft = fec_data->meshxi_oft + ALIGN(mesh_size * 2, 16); in rkispp_param_init_fecbuf()
147 val = dma_addr + fec_data->meshxf_oft; in rkispp_param_init_fecbuf()
149 val = dma_addr + fec_data->meshyf_oft; in rkispp_param_init_fecbuf()
151 val = dma_addr + fec_data->meshxi_oft; in rkispp_param_init_fecbuf()
[all …]
Dparams_v20.c33 struct rkispp_fec_head *fec_data; in fec_config() local
63 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
64 fec_data->stat = FEC_BUF_INIT; in fec_config()
67 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
68 fec_data->stat = FEC_BUF_CHIPINUSE; in fec_config()
74 val = dma_addr + fec_data->meshxf_oft; in fec_config()
76 val = dma_addr + fec_data->meshyf_oft; in fec_config()
78 val = dma_addr + fec_data->meshxi_oft; in fec_config()
80 val = dma_addr + fec_data->meshyi_oft; in fec_config()
Dstream_v20.c62 struct rkispp_fec_head *fec_data; in config_fec() local
104 fec_data = (struct rkispp_fec_head *)dev->params_vdev.buf_fec[0].vaddr; in config_fec()
105 if (fec_data) { in config_fec()
108 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxf_oft; in config_fec()
110 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyf_oft; in config_fec()
112 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshxi_oft; in config_fec()
114 dev->params_vdev.buf_fec[0].dma_addr + fec_data->meshyi_oft; in config_fec()
Dparams_v10.c499 struct rkispp_fec_head *fec_data; in fec_config() local
529 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
530 fec_data->stat = FEC_BUF_INIT; in fec_config()
533 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
534 fec_data->stat = FEC_BUF_CHIPINUSE; in fec_config()
540 val = dma_addr + fec_data->meshxf_oft; in fec_config()
542 val = dma_addr + fec_data->meshyf_oft; in fec_config()
544 val = dma_addr + fec_data->meshxi_oft; in fec_config()
546 val = dma_addr + fec_data->meshyi_oft; in fec_config()