Searched refs:sg_tables (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_vsp.h | 49 struct sg_table sg_tables[3]; member 66 struct sg_table sg_tables[3]); 68 struct sg_table sg_tables[3]); 82 struct sg_table sg_tables[3]) in rcar_du_vsp_map_fb() 88 struct sg_table sg_tables[3]) in rcar_du_vsp_unmap_fb()
|
D | rcar_du_vsp.c | 176 cfg.mem[i] = sg_dma_address(state->sg_tables[i].sgl) in rcar_du_vsp_plane_setup() 187 struct sg_table sg_tables[3]) in rcar_du_vsp_map_fb() 195 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() 213 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() 236 ret = rcar_du_vsp_map_fb(vsp, state->fb, rstate->sg_tables); in rcar_du_vsp_plane_prepare_fb() 244 struct sg_table sg_tables[3]) in rcar_du_vsp_unmap_fb() 249 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() 265 rcar_du_vsp_unmap_fb(vsp, state->fb, rstate->sg_tables); in rcar_du_vsp_plane_cleanup_fb()
|
D | rcar_du_writeback.c | 37 struct sg_table sg_tables[3]; member 63 ret = rcar_du_vsp_map_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_prepare_job() 82 rcar_du_vsp_unmap_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_cleanup_job() 235 cfg->mem[i] = sg_dma_address(rjob->sg_tables[i].sgl) in rcar_du_writeback_setup()
|
/drivers/target/ |
D | target_core_rd.c | 177 u32 sg_tables, total_sg_needed; in rd_build_device_space() local 194 sg_tables = (total_sg_needed / max_sg_per_table) + 1; in rd_build_device_space() 195 sg_table = kcalloc(sg_tables, sizeof(*sg_table), GFP_KERNEL); in rd_build_device_space() 200 rd_dev->sg_table_count = sg_tables; in rd_build_device_space() 236 u32 total_sg_needed, sg_tables; in rd_build_prot_space() local 251 sg_tables = (total_sg_needed / max_sg_per_table) + 1; in rd_build_prot_space() 252 sg_table = kcalloc(sg_tables, sizeof(*sg_table), GFP_KERNEL); in rd_build_prot_space() 257 rd_dev->sg_prot_count = sg_tables; in rd_build_prot_space()
|