Home
last modified time | relevance | path

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

/linux/arch/parisc/mm/
H A 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()
384 if ((vma->vm_flags & acc_type) != acc_type) { in do_page_fault()
465 unsigned long acc_type; in handle_nadtlb_fault() local
504 acc_type = (insn & 0x40) ? VM_WRITE : VM_READ; in handle_nadtlb_fault()
506 && (vma->vm_flags & acc_type) == acc_type) in handle_nadtlb_fault()
/linux/drivers/accel/habanalabs/common/
H A Ddebugfs.c939 u64 *val, enum debugfs_access_type acc_type, bool *found) in hl_access_dev_mem_by_region() argument
941 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_dev_mem_by_region()
953 return hdev->asic_funcs->access_dev_mem(hdev, i, addr, val, acc_type); in hl_access_dev_mem_by_region()
960 enum debugfs_access_type acc_type) in hl_access_host_mem() argument
965 switch (acc_type) { in hl_access_host_mem()
979 dev_err(hdev->dev, "hostmem access-type %d id not supported\n", acc_type); in hl_access_host_mem()
1092 enum debugfs_access_type acc_type) in hl_access_mem() argument
1094 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_mem()
1108 check_if_cfg_access_and_log(hdev, addr, acc_size, acc_type); in hl_access_mem()
1109 rc = hl_access_dev_mem_by_region(hdev, addr, val, acc_type, &found); in hl_access_mem()
[all …]
H A 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()