Searched refs:aplic (Results 1 – 8 of 8) sorted by relevance
| /freebsd/sys/riscv/vmm/ |
| H A D | vmm_aplic.c | 110 struct aplic { struct 120 aplic_handle_sourcecfg(struct aplic *aplic, int i, bool write, uint64_t *val) in aplic_handle_sourcecfg() argument 124 if (i <= 0 || i > aplic->nirqs) in aplic_handle_sourcecfg() 127 mtx_lock_spin(&aplic->mtx); in aplic_handle_sourcecfg() 128 irq = &aplic->irqs[i]; in aplic_handle_sourcecfg() 133 mtx_unlock_spin(&aplic->mtx); in aplic_handle_sourcecfg() 139 aplic_set_enabled(struct aplic *aplic, bool write, uint64_t *val, bool enabled) in aplic_set_enabled() argument 150 if (i <= 0 || i > aplic->nirqs) in aplic_set_enabled() 153 irq = &aplic->irqs[i]; in aplic_set_enabled() 155 mtx_lock_spin(&aplic->mtx); in aplic_set_enabled() [all …]
|
| H A D | vmm_dev_machdep.c | 106 struct vm_aplic_descr *aplic; in vmmdev_machdep_ioctl() local 108 aplic = (struct vm_aplic_descr *)data; in vmmdev_machdep_ioctl() 109 error = vm_attach_aplic(vm, aplic); in vmmdev_machdep_ioctl()
|
| H A D | riscv.h | 113 struct aplic *aplic; member
|
| /freebsd/lib/libvmmapi/riscv/ |
| H A D | vmmapi_machdep.c | 62 struct vm_aplic_descr aplic; in vm_attach_aplic() local 64 bzero(&aplic, sizeof(aplic)); in vm_attach_aplic() 65 aplic.mem_start = mem_start; in vm_attach_aplic() 66 aplic.mem_size = mem_size; in vm_attach_aplic() 68 return (ioctl(ctx->fd, VM_ATTACH_APLIC, &aplic)); in vm_attach_aplic()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | aplic.c | 184 fdt_get_hartid(device_t dev, phandle_t aplic) in fdt_get_hartid() argument 189 if (OF_searchencprop(aplic, "#interrupt-cells", &hartid, in fdt_get_hartid() 192 "Could not find #interrupt-cells for phandle %u\n", aplic); in fdt_get_hartid() 200 if (OF_searchencprop(OF_parent(aplic), "reg", (pcell_t *)&hartid, in fdt_get_hartid() 555 DEFINE_CLASS_0(aplic, aplic_driver, aplic_methods, sizeof(struct aplic_softc)); 557 EARLY_DRIVER_MODULE(aplic, simplebus, aplic_driver, 0, 0,
|
| /freebsd/sys/contrib/device-tree/src/riscv/spacemit/ |
| H A D | k3.dtsi | 874 compatible = "spacemit,k3-aplic", "riscv,aplic"; 916 compatible = "spacemit,k3-aplic", "riscv,aplic";
|
| /freebsd/sys/conf/ |
| H A D | files.riscv | 54 riscv/riscv/aplic.c standard
|
| /freebsd/share/misc/ |
| H A D | usb_vendors | 23886 ab12 aplic
|