Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c124 list_for_each_entry(ptc, &mmu->ptc.list, head) { in nvkm_mmu_ptc_find()
126 return ptc; in nvkm_mmu_ptc_find()
129 ptc = kmalloc(sizeof(*ptc), GFP_KERNEL); in nvkm_mmu_ptc_find()
130 if (ptc) { in nvkm_mmu_ptc_find()
134 list_add(&ptc->head, &mmu->ptc.list); in nvkm_mmu_ptc_find()
137 return ptc; in nvkm_mmu_ptc_find()
184 if (!ptc) { in nvkm_mmu_ptc_get()
195 ptc->refs--; in nvkm_mmu_ptc_get()
204 pt->ptc = ptc; in nvkm_mmu_ptc_get()
223 list_for_each_entry(ptc, &mmu->ptc.list, head) { in nvkm_mmu_ptc_dump()
[all …]
H A Dpriv.h52 struct nvkm_mmu_ptc *ptc; member
/openbmc/linux/mm/
H A Dpage_table_check.c83 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
86 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
87 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
89 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
90 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
126 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
127 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
129 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
130 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
156 BUG_ON(atomic_read(&ptc->anon_map_count)); in __page_table_check_zero()
[all …]
/openbmc/linux/drivers/acpi/
H A Dprocessor_throttling.c404 union acpi_object *ptc = NULL; in acpi_processor_get_throttling_control() local
416 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control()
417 if (!ptc || (ptc->type != ACPI_TYPE_PACKAGE) in acpi_processor_get_throttling_control()
418 || (ptc->package.count != 2)) { in acpi_processor_get_throttling_control()
428 obj = ptc->package.elements[0]; in acpi_processor_get_throttling_control()
444 obj = ptc->package.elements[1]; in acpi_processor_get_throttling_control()
/openbmc/qemu/include/hw/misc/
H A Dsifive_u_otp.h75 uint32_t ptc; member
/openbmc/qemu/hw/misc/
H A Dsifive_u_otp.c85 return s->ptc; in sifive_u_otp_read()
138 s->ptc = val32; in sifive_u_otp_write()
/openbmc/linux/arch/ia64/kernel/
H A Divt.S238 (p6) ptc.l r22,r27 // purge PTE page translation
241 (p6) ptc.l r16,r27 // purge translation
286 (p7) ptc.l r16,r20
330 (p7) ptc.l r16,r20
572 (p7) ptc.l r16,r24
638 (p7) ptc.l r16,r24
692 (p7) ptc.l r16,r24
1116 ptc.l r16,r17
H A Drelocate_kernel.S83 ptc.e r18
H A Dmca_asm.S85 ptc.e r18
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dmmu.h135 } ptc, ptp; member
/openbmc/linux/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c1427 u16 ptc = 0; in setup_received_irq() local
1450 ptc = wIndex >> 8; in setup_received_irq()
1470 if (ptc) { in setup_received_irq()
1474 tmp = fsl_readl(&dr_regs->portsc1) | (ptc << 16); in setup_received_irq()
1476 printk(KERN_INFO "udc: switch to test mode %d.\n", ptc); in setup_received_irq()