Home
last modified time | relevance | path

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

/linux-6.12.1/arch/parisc/mm/
Dfault.c273 unsigned long acc_type; in do_page_fault() local
289 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault()
290 if (acc_type & VM_WRITE) in do_page_fault()
309 if ((vma->vm_flags & acc_type) != acc_type) in do_page_fault()
380 if ((vma->vm_flags & acc_type) != acc_type) { in do_page_fault()
461 unsigned long acc_type; in handle_nadtlb_fault() local
500 acc_type = (insn & 0x40) ? VM_WRITE : VM_READ; in handle_nadtlb_fault()
502 && (vma->vm_flags & acc_type) == acc_type) in handle_nadtlb_fault()
/linux-6.12.1/drivers/accel/habanalabs/common/
Ddebugfs.c746 u64 *val, enum debugfs_access_type acc_type, bool *found) in hl_access_dev_mem_by_region() argument
748 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_dev_mem_by_region()
760 return hdev->asic_funcs->access_dev_mem(hdev, i, addr, val, acc_type); in hl_access_dev_mem_by_region()
767 enum debugfs_access_type acc_type) in hl_access_host_mem() argument
772 switch (acc_type) { in hl_access_host_mem()
786 dev_err(hdev->dev, "hostmem access-type %d id not supported\n", acc_type); in hl_access_host_mem()
792 enum debugfs_access_type acc_type) in hl_access_mem() argument
794 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_mem()
808 rc = hl_access_dev_mem_by_region(hdev, addr, val, acc_type, &found); in hl_access_mem()
825 hl_access_host_mem(hdev, addr, val, acc_type); in hl_access_mem()
Ddevice.c74 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar) in hl_access_sram_dram_region() argument
89 switch (acc_type) { in hl_access_sram_dram_region()
288 enum debugfs_access_type acc_type) in hl_access_cfg_region() argument
298 switch (acc_type) { in hl_access_cfg_region()
316 dev_err(hdev->dev, "access type %d is not supported\n", acc_type); in hl_access_cfg_region()
333 u64 addr, u64 *val, enum debugfs_access_type acc_type) in hl_access_dev_mem() argument
337 return hl_access_cfg_region(hdev, addr, val, acc_type); in hl_access_dev_mem()
340 return hl_access_sram_dram_region(hdev, addr, val, acc_type, in hl_access_dev_mem()
Dhabanalabs.h1765 u64 addr, u64 *val, enum debugfs_access_type acc_type);
3730 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar);
3732 enum debugfs_access_type acc_type);
3734 u64 addr, u64 *val, enum debugfs_access_type acc_type);