Home
last modified time | relevance | path

Searched refs:rg (Results 1 – 3 of 3) sorted by relevance

/drivers/video/omap/
Ddispc.c1214 struct omapfb_mem_region *rg; in omap_dispc_setup_mem() local
1223 rg = &dispc.mem_desc.region[plane]; in omap_dispc_setup_mem()
1224 if (size == rg->size && mem_type == rg->type) in omap_dispc_setup_mem()
1228 if (rg->size != 0) in omap_dispc_setup_mem()
1229 resmap_free_region(rg->paddr, rg->size); in omap_dispc_setup_mem()
1234 resmap_reserve_region(rg->paddr, rg->size); in omap_dispc_setup_mem()
1238 rg->paddr = new_addr; in omap_dispc_setup_mem()
1239 rg->size = size; in omap_dispc_setup_mem()
1240 rg->type = mem_type; in omap_dispc_setup_mem()
1249 struct omapfb_mem_region *rg; in setup_fbmem() local
[all …]
Domapfb_main.c391 struct omapfb_mem_region *rg; in set_fb_fix() local
394 rg = &plane->fbdev->mem_desc.region[plane->idx]; in set_fb_fix()
395 fbi->screen_base = rg->vaddr; in set_fb_fix()
396 fix->smem_start = rg->paddr; in set_fb_fix()
397 fix->smem_len = rg->size; in set_fb_fix()
830 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem() local
845 if (rg->size != size || rg->type != mi->type) { in omapfb_setup_mem()
847 unsigned long old_size = rg->size; in omapfb_setup_mem()
848 u8 old_type = rg->type; in omapfb_setup_mem()
851 rg->size = size; in omapfb_setup_mem()
[all …]
/drivers/scsi/libsas/
Dsas_expander.c318 struct report_general_resp *rg = &resp->rg; in ex_assign_report_general() local
320 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count); in ex_assign_report_general()
321 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes); in ex_assign_report_general()
322 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in ex_assign_report_general()
323 dev->ex_dev.conf_route_table = rg->conf_route_table; in ex_assign_report_general()
324 dev->ex_dev.configuring = rg->configuring; in ex_assign_report_general()
325 memcpy(dev->ex_dev.enclosure_logical_id, rg->enclosure_logical_id, 8); in ex_assign_report_general()
1650 *ecc = be16_to_cpu(rg_resp->rg.change_count); in sas_get_ex_change_count()