Home
last modified time | relevance | path

Searched refs:ptc (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c122 struct nvkm_mmu_ptc *ptc; in nvkm_mmu_ptc_find() local
124 list_for_each_entry(ptc, &mmu->ptc.list, head) { in nvkm_mmu_ptc_find()
125 if (ptc->size == size) in nvkm_mmu_ptc_find()
126 return ptc; in nvkm_mmu_ptc_find()
129 ptc = kmalloc_obj(*ptc); in nvkm_mmu_ptc_find()
130 if (ptc) { in nvkm_mmu_ptc_find()
131 INIT_LIST_HEAD(&ptc->item); in nvkm_mmu_ptc_find()
132 ptc->size = size; in nvkm_mmu_ptc_find()
133 ptc->refs = 0; in nvkm_mmu_ptc_find()
134 list_add(&ptc->head, &mmu->ptc.list); in nvkm_mmu_ptc_find()
[all …]
/linux/mm/
H A Dpage_table_check.c79 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
82 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
83 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
85 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
86 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
114 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_set() local
117 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
118 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
120 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
121 BUG_ON(atomic_inc_return(&ptc in page_table_check_set()
140 struct page_table_check *ptc = get_page_table_check(page_ext); __page_table_check_zero() local
[all...]
/linux/drivers/acpi/
H A Dprocessor_throttling.c407 union acpi_object *ptc = NULL; in acpi_processor_get_throttling_control() local
419 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control()
420 if (!ptc || (ptc->type != ACPI_TYPE_PACKAGE) in acpi_processor_get_throttling_control()
421 || (ptc->package.count != 2)) { in acpi_processor_get_throttling_control()
431 obj = ptc->package.elements[0]; in acpi_processor_get_throttling_control()
447 obj = ptc->package.elements[1]; in acpi_processor_get_throttling_control()
/linux/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c1432 u16 ptc = 0; in setup_received_irq() local
1455 ptc = wIndex >> 8; in setup_received_irq()
1475 if (ptc) { in setup_received_irq()
1479 tmp = fsl_readl(&dr_regs->portsc1) | (ptc << 16); in setup_received_irq()
1481 printk(KERN_INFO "udc: switch to test mode %d.\n", ptc); in setup_received_irq()