Searched refs:rg (Results 1 – 9 of 9) sorted by relevance
/drivers/video/omap2/omapfb/ |
D | omapfb-main.c | 504 struct omapfb2_mem_region *rg = ofbi->region; in setup_vrfb_rotation() local 505 struct vrfb *vrfb = &rg->vrfb; in setup_vrfb_rotation() 514 if (!rg->size || ofbi->rotation_type != OMAP_DSS_ROT_VRFB) in setup_vrfb_rotation() 554 omap_vrfb_setup(&rg->vrfb, rg->paddr, in setup_vrfb_rotation() 606 struct omapfb2_mem_region *rg = ofbi->region; in set_fb_fix() local 631 fix->smem_len = rg->size; in set_fb_fix() 1078 struct omapfb2_mem_region *rg = vma->vm_private_data; in mmap_user_open() local 1080 omapfb_get_mem_region(rg); in mmap_user_open() 1081 atomic_inc(&rg->map_count); in mmap_user_open() 1082 omapfb_put_mem_region(rg); in mmap_user_open() [all …]
|
D | omapfb.h | 195 omapfb_get_mem_region(struct omapfb2_mem_region *rg) in omapfb_get_mem_region() argument 197 down_read_nested(&rg->lock, rg->id); in omapfb_get_mem_region() 198 atomic_inc(&rg->lock_count); in omapfb_get_mem_region() 199 return rg; in omapfb_get_mem_region() 202 static inline void omapfb_put_mem_region(struct omapfb2_mem_region *rg) in omapfb_put_mem_region() argument 204 atomic_dec(&rg->lock_count); in omapfb_put_mem_region() 205 up_read(&rg->lock); in omapfb_put_mem_region()
|
D | omapfb-sysfs.c | 52 struct omapfb2_mem_region *rg; in store_rotate_type() local 70 rg = omapfb_get_mem_region(ofbi->region); in store_rotate_type() 72 if (rg->size) { in store_rotate_type() 84 omapfb_put_mem_region(rg); in store_rotate_type() 445 struct omapfb2_mem_region *rg; in store_size() local 462 rg = ofbi->region; in store_size() 464 down_write_nested(&rg->lock, rg->id); in store_size() 465 atomic_inc(&rg->lock_count); in store_size() 467 if (atomic_read(&rg->map_count)) { in store_size() 476 if (ofbi2->region != rg) in store_size() [all …]
|
D | omapfb-ioctl.c | 215 struct omapfb2_mem_region *rg; in omapfb_setup_mem() local 227 rg = ofbi->region; in omapfb_setup_mem() 229 down_write_nested(&rg->lock, rg->id); in omapfb_setup_mem() 230 atomic_inc(&rg->lock_count); in omapfb_setup_mem() 232 if (rg->size == size && rg->type == mi->type) in omapfb_setup_mem() 235 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem() 244 if (ofbi2->region != rg) in omapfb_setup_mem() 264 atomic_dec(&rg->lock_count); in omapfb_setup_mem() 265 up_write(&rg->lock); in omapfb_setup_mem() 273 struct omapfb2_mem_region *rg; in omapfb_query_mem() local [all …]
|
/drivers/video/omap/ |
D | omapfb_main.c | 391 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() 399 fix->smem_start = rg->paddr; in set_fb_fix() 400 fix->smem_len = rg->size; in set_fb_fix() 403 fix->smem_start = rg->paddr; in set_fb_fix() 404 fix->smem_len = rg->size; in set_fb_fix() 852 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem() local 867 if (rg->size != size || rg->type != mi->type) { in omapfb_setup_mem() 869 unsigned long old_size = rg->size; in omapfb_setup_mem() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | hif.c | 149 struct ath6kl_irq_proc_registers *rg; in ath6kl_hif_poll_mboxmsg_rx() local 173 rg = &dev->irq_proc_reg; in ath6kl_hif_poll_mboxmsg_rx() 175 le32_to_cpu(rg->rx_lkahd[HTC_MAILBOX]); in ath6kl_hif_poll_mboxmsg_rx() 395 struct ath6kl_irq_proc_registers *rg; in proc_pending_irqs() local 456 rg = &dev->irq_proc_reg; in proc_pending_irqs() 457 lk_ahd = le32_to_cpu(rg->rx_lkahd[HTC_MAILBOX]); in proc_pending_irqs()
|
/drivers/video/omap2/dss/ |
D | manager-sysfs.c | 364 info.cpr_coefs.rg, in manager_cpr_coef_show() 386 &coefs.rr, &coefs.rg, &coefs.rb, in manager_cpr_coef_store() 391 arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, in manager_cpr_coef_store()
|
D | dispc.c | 1068 coef_r = FLD_VAL(coefs->rr, 31, 22) | FLD_VAL(coefs->rg, 20, 11) | in dispc_mgr_set_cpr_coef()
|
/drivers/scsi/libsas/ |
D | sas_expander.c | 454 struct report_general_resp *rg = &resp->rg; in ex_assign_report_general() local 456 dev->ex_dev.ex_change_count = be16_to_cpu(rg->change_count); in ex_assign_report_general() 457 dev->ex_dev.max_route_indexes = be16_to_cpu(rg->route_indexes); in ex_assign_report_general() 458 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in ex_assign_report_general() 459 dev->ex_dev.t2t_supp = rg->t2t_supp; in ex_assign_report_general() 460 dev->ex_dev.conf_route_table = rg->conf_route_table; in ex_assign_report_general() 461 dev->ex_dev.configuring = rg->configuring; in ex_assign_report_general() 462 memcpy(dev->ex_dev.enclosure_logical_id, rg->enclosure_logical_id, 8); in ex_assign_report_general() 1804 *ecc = be16_to_cpu(rg_resp->rg.change_count); in sas_get_ex_change_count()
|