Searched refs:acc_type (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.1/arch/parisc/mm/ |
| D | fault.c | 268 unsigned long acc_type; in do_page_fault() local 284 acc_type = parisc_acctyp(code, regs->iir); in do_page_fault() 285 if (acc_type & VM_WRITE) in do_page_fault() 300 if ((vma->vm_flags & acc_type) != acc_type) in do_page_fault() 370 if ((vma->vm_flags & acc_type) != acc_type) { in do_page_fault() 451 unsigned long acc_type; in handle_nadtlb_fault() local 490 acc_type = (insn & 0x40) ? VM_WRITE : VM_READ; in handle_nadtlb_fault() 493 && (vma->vm_flags & acc_type) == acc_type) in handle_nadtlb_fault()
|
| /Linux-v6.1/drivers/misc/habanalabs/common/ |
| D | debugfs.c | 774 u64 *val, enum debugfs_access_type acc_type, bool *found) in hl_access_dev_mem_by_region() argument 776 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_dev_mem_by_region() 788 return hdev->asic_funcs->access_dev_mem(hdev, i, addr, val, acc_type); in hl_access_dev_mem_by_region() 795 enum debugfs_access_type acc_type) in hl_access_host_mem() argument 800 switch (acc_type) { in hl_access_host_mem() 814 dev_err(hdev->dev, "hostmem access-type %d id not supported\n", acc_type); in hl_access_host_mem() 820 enum debugfs_access_type acc_type) in hl_access_mem() argument 822 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_mem() 836 rc = hl_access_dev_mem_by_region(hdev, addr, val, acc_type, &found); in hl_access_mem() 853 hl_access_host_mem(hdev, addr, val, acc_type); in hl_access_mem()
|
| D | device.c | 64 enum debugfs_access_type acc_type, enum pci_region region_type) in hl_access_sram_dram_region() argument 78 switch (acc_type) { in hl_access_sram_dram_region() 229 enum debugfs_access_type acc_type) in hl_access_cfg_region() argument 239 switch (acc_type) { in hl_access_cfg_region() 257 dev_err(hdev->dev, "access type %d is not supported\n", acc_type); in hl_access_cfg_region() 274 u64 addr, u64 *val, enum debugfs_access_type acc_type) in hl_access_dev_mem() argument 278 return hl_access_cfg_region(hdev, addr, val, acc_type); in hl_access_dev_mem() 281 return hl_access_sram_dram_region(hdev, addr, val, acc_type, in hl_access_dev_mem()
|
| D | habanalabs.h | 1668 u64 addr, u64 *val, enum debugfs_access_type acc_type); 3492 enum debugfs_access_type acc_type); 3494 u64 addr, u64 *val, enum debugfs_access_type acc_type);
|