Home
last modified time | relevance | path

Searched refs:access_rw (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.c182 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw() function
488 access_rw(vcpu, p, r); in trap_debug_regs()
2189 { SYS_DESC(SYS_VBAR_EL1), access_rw, reset_val, VBAR_EL1, 0 },
2416 EL2_REG(VPIDR_EL2, access_rw, reset_unknown, 0),
2417 EL2_REG(VMPIDR_EL2, access_rw, reset_unknown, 0),
2418 EL2_REG(SCTLR_EL2, access_rw, reset_val, SCTLR_EL2_RES1),
2419 EL2_REG(ACTLR_EL2, access_rw, reset_val, 0),
2420 EL2_REG(HCR_EL2, access_rw, reset_val, 0),
2421 EL2_REG(MDCR_EL2, access_rw, reset_val, 0),
2422 EL2_REG(CPTR_EL2, access_rw, reset_val, CPTR_NVHE_EL2_RES1),
[all …]
/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c381 TEST_FAIL_NTH(basic_fail_nth, access_rw) in TEST_FAIL_NTH() argument
413 .access_rw = { .iova = iova, in TEST_FAIL_NTH()
423 access_cmd.access_rw.flags = MOCK_ACCESS_RW_WRITE; in TEST_FAIL_NTH()
428 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH; in TEST_FAIL_NTH()
432 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH | in TEST_FAIL_NTH()
444 .access_rw = { .iova = iova, in TEST_FAIL_NTH()
H A Diommufd.c771 .access_rw = { .uptr = (uintptr_t)tmp }, in check_access_rw()
780 for (access_cmd.access_rw.iova = iova + PAGE_SIZE - 50; in check_access_rw()
781 access_cmd.access_rw.iova < iova + PAGE_SIZE + 50; in check_access_rw()
782 access_cmd.access_rw.iova++) { in check_access_rw()
783 for (access_cmd.access_rw.length = 1; in check_access_rw()
784 access_cmd.access_rw.length < sizeof(tmp); in check_access_rw()
785 access_cmd.access_rw.length++) { in check_access_rw()
786 access_cmd.access_rw.flags = def_flags; in check_access_rw()
792 memcmp(buffer + (access_cmd.access_rw.iova - in check_access_rw()
794 tmp, access_cmd.access_rw.length)); in check_access_rw()
[all …]
/openbmc/linux/drivers/iommu/iommufd/
H A Diommufd_test.h91 } access_rw; member
H A Dselftest.c973 &cmd->access_rw.iova); in iommufd_test_access_rw()
1045 ucmd, cmd->id, cmd->access_rw.iova, in iommufd_test()
1046 cmd->access_rw.length, in iommufd_test()
1047 u64_to_user_ptr(cmd->access_rw.uptr), in iommufd_test()
1048 cmd->access_rw.flags); in iommufd_test()