Lines Matching refs:pdc_region
49 static struct pdc_pin_region *pdc_region; variable
215 if (pin >= pdc_region[i].pin_base && in get_pin_region()
216 pin < pdc_region[i].pin_base + pdc_region[i].cnt) in get_pin_region()
217 return &pdc_region[i]; in get_pin_region()
280 pdc_region = kcalloc(pdc_region_cnt, sizeof(*pdc_region), GFP_KERNEL); in pdc_setup_pin_mapping()
281 if (!pdc_region) { in pdc_setup_pin_mapping()
289 &pdc_region[n].pin_base); in pdc_setup_pin_mapping()
294 &pdc_region[n].parent_base); in pdc_setup_pin_mapping()
299 &pdc_region[n].cnt); in pdc_setup_pin_mapping()
303 for (i = 0; i < pdc_region[n].cnt; i++) in pdc_setup_pin_mapping()
304 __pdc_enable_intr(i + pdc_region[n].pin_base, 0); in pdc_setup_pin_mapping()
364 kfree(pdc_region); in qcom_pdc_init()