/linux-master/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 436 struct ucall uc; local 438 if (get_ucall(vcpu, &uc) != UCALL_UNHANDLED) 441 if (uc.args[2]) /* valid_ec */ { 442 assert(VECTOR_IS_SYNC(uc.args[0])); 444 uc.args[0], uc.args[1]); 446 assert(!VECTOR_IS_SYNC(uc.args[0])); 448 uc.args[0]);
|
/linux-master/tools/testing/selftests/kvm/include/s390x/ |
H A D | ucall.h | 13 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 16 asm volatile ("diag 0,%0,0x501" : : "a"(uc) : "memory");
|
/linux-master/tools/testing/selftests/kvm/include/riscv/ |
H A D | ucall.h | 14 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 18 uc, 0, 0, 0, 0, 0);
|
/linux-master/tools/testing/selftests/kvm/include/aarch64/ |
H A D | ucall.h | 15 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 17 WRITE_ONCE(*ucall_exit_mmio_addr, uc);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 114 struct ucall uc; local 123 switch (get_ucall(vcpu, &uc)) { 125 TEST_FAIL("Unknown 'args_type' = %lu", uc.args[1]); 128 TEST_ASSERT(strcmp(uc.buffer, expected_printf) == 0, 130 expected_printf, uc.buffer); 133 ucall_abort(uc.buffer, expected_assert); 138 TEST_FAIL("Unknown ucall %lu", uc.cmd); 158 struct ucall uc; local 168 TEST_ASSERT(get_ucall(vcpu, &uc) == UCALL_ABORT, 170 uc [all...] |
H A D | arch_timer.c | 50 struct ucall uc; local 62 switch (get_ucall(vcpu, &uc)) { 70 REPORT_GUEST_ASSERT(uc);
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | vpmu_counter_access.c | 463 struct ucall uc; local 467 switch (get_ucall(vcpu, &uc)) { 469 REPORT_GUEST_ASSERT(uc); 474 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | vgic_irq.c | 77 static void kvm_inject_get_call(struct kvm_vm *vm, struct ucall *uc, 714 static void kvm_inject_get_call(struct kvm_vm *vm, struct ucall *uc, argument 720 kvm_args_gva = uc->args[1]; 734 struct ucall uc; local 770 switch (get_ucall(vcpu, &uc)) { 772 kvm_inject_get_call(vm, &uc, &inject_args); 776 REPORT_GUEST_ASSERT(uc); 781 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | vgic_lpi_stress.c | 263 struct ucall uc; local 268 switch (get_ucall(vcpu, &uc)) { 275 REPORT_GUEST_ASSERT(uc); 278 TEST_FAIL("Unknown ucall: %lu", uc.cmd);
|
H A D | set_id_regs.c | 437 struct ucall uc; local 442 switch (get_ucall(vcpu, &uc)) { 444 REPORT_GUEST_ASSERT(uc); 448 TEST_ASSERT_EQ(test_reg_vals[encoding_to_range_idx(uc.args[2])], 449 uc.args[3]); 455 TEST_FAIL("Unexpected ucall: %lu", uc.cmd);
|
H A D | page_fault_test.c | 660 struct ucall uc; local 672 switch (get_ucall(vcpu, &uc)) { 674 if (!handle_cmd(vm, uc.args[1])) { 680 REPORT_GUEST_ASSERT(uc); 689 TEST_FAIL("Unknown ucall %lu", uc.cmd);
|
H A D | psci_test.c | 94 struct ucall uc; local 97 if (get_ucall(vcpu, &uc) == UCALL_ABORT) 98 REPORT_GUEST_ASSERT(uc); 137 struct ucall uc; local 150 if (get_ucall(source, &uc) != UCALL_DONE) 151 TEST_FAIL("Unhandled ucall: %lu", uc.cmd);
|
/linux-master/sound/soc/sh/rcar/ |
H A D | core.c | 1731 struct snd_ctl_elem_value *uc) 1738 uc->value.enumerated.item[i] = cfg->val[i]; 1740 uc->value.integer.value[i] = cfg->val[i]; 1746 struct snd_ctl_elem_value *uc) 1756 change |= (uc->value.enumerated.item[i] != cfg->val[i]); 1757 cfg->val[i] = uc->value.enumerated.item[i]; 1759 change |= (uc->value.integer.value[i] != cfg->val[i]); 1760 cfg->val[i] = uc->value.integer.value[i]; 1730 rsnd_kctrl_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uc) argument 1745 rsnd_kctrl_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uc) argument
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_uc_fw.c | 172 return container_of(uc_fw, struct xe_gt, uc.guc.fw); 174 return container_of(uc_fw, struct xe_gt, uc.huc.fw); 176 return container_of(uc_fw, struct xe_gt, uc.gsc.fw); 647 * before we're looked at the HW caps to see if we have uc support 839 /* make sure the status was cleared the last time we reset the uc */
|
H A D | xe_uc_debugfs.c | 16 void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent) argument 20 root = debugfs_create_dir("uc", parent); 26 xe_guc_debugfs_register(&uc->guc, root); 27 xe_huc_debugfs_register(&uc->huc, root);
|
H A D | xe_uc.c | 21 uc_to_gt(struct xe_uc *uc) argument 23 return container_of(uc, struct xe_gt, uc); 27 uc_to_xe(struct xe_uc *uc) argument 29 return gt_to_xe(uc_to_gt(uc)); 33 int xe_uc_init(struct xe_uc *uc) argument 41 ret = xe_guc_init(&uc->guc); 45 ret = xe_huc_init(&uc->huc); 49 ret = xe_gsc_init(&uc->gsc); 53 if (!xe_device_uc_enabled(uc_to_xe(uc))) 76 xe_uc_init_post_hwconfig(struct xe_uc *uc) argument 99 uc_reset(struct xe_uc *uc) argument 113 xe_uc_sanitize(struct xe_uc *uc) argument 119 xe_uc_sanitize_reset(struct xe_uc *uc) argument 132 xe_uc_init_hwconfig(struct xe_uc *uc) argument 151 xe_uc_init_hw(struct xe_uc *uc) argument 193 xe_uc_fini_hw(struct xe_uc *uc) argument 198 xe_uc_reset_prepare(struct xe_uc *uc) argument 207 xe_uc_gucrc_disable(struct xe_uc *uc) argument 212 xe_uc_stop_prepare(struct xe_uc *uc) argument 218 xe_uc_stop(struct xe_uc *uc) argument 227 xe_uc_start(struct xe_uc *uc) argument 236 uc_reset_wait(struct xe_uc *uc) argument 248 xe_uc_suspend(struct xe_uc *uc) argument 273 xe_uc_remove(struct xe_uc *uc) argument [all...] |
H A D | xe_query.c | 428 size_t size = xe_guc_hwconfig_size(>->uc.guc); 443 xe_guc_hwconfig_copy(>->uc.guc, hwconfig); 547 struct xe_guc *guc = &xe->tiles[0].primary_gt->uc.guc; 573 huc = &media_gt->uc.huc;
|
H A D | xe_pm.c | 407 xe->d3cold.power_lost = xe_guc_in_reset(>->uc.guc);
|
H A D | xe_memirq.c | 421 memirq_dispatch_guc(memirq, &map, &tile->primary_gt->uc.guc); 429 memirq_dispatch_guc(memirq, &map, &tile->media_gt->uc.guc);
|
H A D | xe_irq.c | 245 return xe_guc_irq_handler(>->uc.guc, iir); 247 return xe_guc_irq_handler(>->uc.guc, iir); 249 return xe_gsc_proxy_irq_handler(>->uc.gsc, iir);
|
H A D | xe_hw_engine.c | 717 if (!xe_uc_fw_is_available(>->uc.gsc.fw)) {
|
H A D | xe_huc_debugfs.c | 20 return container_of(huc, struct xe_gt, uc.huc);
|
H A D | xe_huc.c | 27 return container_of(huc, struct xe_gt, uc.huc); 178 err = xe_gsc_pkt_submit_kernel(>->uc.gsc, ggtt_offset, wr_offset,
|
H A D | xe_guc_submit.c | 46 return &q->gt->uc.guc;
|
H A D | xe_guc_pc.c | 79 struct xe_gt *gt = container_of(guc, struct xe_gt, uc.guc); 87 return container_of(pc, struct xe_gt, uc.guc.pc);
|