Searched refs:acc_type (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/parisc/mm/ |
H A D | fault.c | 273 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()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | debugfs.c | 753 u64 *val, enum debugfs_access_type acc_type, bool *found) in hl_access_dev_mem_by_region() argument 755 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_dev_mem_by_region() 767 return hdev->asic_funcs->access_dev_mem(hdev, i, addr, val, acc_type); in hl_access_dev_mem_by_region() 774 enum debugfs_access_type acc_type) in hl_access_host_mem() argument 779 switch (acc_type) { in hl_access_host_mem() 793 dev_err(hdev->dev, "hostmem access-type %d id not supported\n", acc_type); in hl_access_host_mem() 799 enum debugfs_access_type acc_type) in hl_access_mem() argument 801 size_t acc_size = (acc_type == DEBUGFS_READ64 || acc_type == DEBUGFS_WRITE64) ? in hl_access_mem() 815 rc = hl_access_dev_mem_by_region(hdev, addr, val, acc_type, &found); in hl_access_mem() 832 hl_access_host_mem(hdev, addr, val, acc_type); in hl_access_mem()
|
H A D | device.c | 68 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar) in hl_access_sram_dram_region() argument 83 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()
|
H A D | habanalabs.h | 1704 u64 addr, u64 *val, enum debugfs_access_type acc_type); 3620 enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar); 3622 enum debugfs_access_type acc_type); 3624 u64 addr, u64 *val, enum debugfs_access_type acc_type);
|