Home
last modified time | relevance | path

Searched full:its (Results 1 – 25 of 7715) sorted by relevance

12345678910>>...309

/kernel/linux/linux-4.19/virt/kvm/arm/vgic/
Dvgic-its.c2 * GICv3 ITS emulation
37 static int vgic_its_save_tables_v0(struct vgic_its *its);
38 static int vgic_its_restore_tables_v0(struct vgic_its *its);
39 static int vgic_its_commit_v0(struct vgic_its *its);
45 * If this LPI is already mapped on another ITS, we increase its refcount
160 * struct vgic_its_abi - ITS abi ops and settings
164 * @save tables: save the ITS tables into guest RAM
165 * @restore_tables: restore the ITS internal structs from tables
174 int (*save_tables)(struct vgic_its *its);
175 int (*restore_tables)(struct vgic_its *its);
[all …]
Dvgic-v4.c30 * - The GICv4 ITS representation offered by the ITS driver
32 * - The virtual ITS, which is the only thing the guest sees
40 * (ITS instance, device, event and irq) using a process that is
55 * guest performs on its LPI through the vITS. For that, a number of
79 * tell the ITS (so that the messages reach the right redistributor).
226 * turns into a VMOVP command at the ITS level. in vgic_v4_flush_hwstate()
262 struct vgic_its *its; in kvm_vgic_v4_set_forwarding() local
271 * Get the ITS, and escape early on error (not a valid in kvm_vgic_v4_set_forwarding()
274 its = vgic_get_its(kvm, irq_entry); in kvm_vgic_v4_set_forwarding()
275 if (IS_ERR(its)) in kvm_vgic_v4_set_forwarding()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-its.c3 * GICv3 ITS emulation
26 static int vgic_its_save_tables_v0(struct vgic_its *its);
27 static int vgic_its_restore_tables_v0(struct vgic_its *its);
28 static int vgic_its_commit_v0(struct vgic_its *its);
34 * If this LPI is already mapped on another ITS, we increase its refcount
157 * struct vgic_its_abi - ITS abi ops and settings
161 * @save tables: save the ITS tables into guest RAM
162 * @restore_tables: restore the ITS internal structs from tables
171 int (*save_tables)(struct vgic_its *its);
172 int (*restore_tables)(struct vgic_its *its);
[all …]
Dvgic-v4.c19 * - The GICv4 ITS representation offered by the ITS driver
21 * - The virtual ITS, which is the only thing the guest sees
29 * (ITS instance, device, event and irq) using a process that is
44 * guest performs on its LPI through the vITS. For that, a number of
68 * tell the ITS (so that the messages reach the right redistributor).
123 * IRQ. The SGI code will do its magic. in vgic_v4_enable_vsgis()
335 * turns into a VMOVP command at the ITS level. in vgic_v4_load()
373 struct vgic_its *its; in kvm_vgic_v4_set_forwarding() local
382 * Get the ITS, and escape early on error (not a valid in kvm_vgic_v4_set_forwarding()
385 its = vgic_get_its(kvm, irq_entry); in kvm_vgic_v4_set_forwarding()
[all …]
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-gic-v3-its.c81 * value of BASER register configuration and ITS page size.
93 * The ITS structure - contains most of the infrastructure, with the
148 * The ITS view of a device - belongs to an ITS, owns an interrupt
149 * translation table, and a list of interrupts. If it some of its
155 struct its_node *its; member
187 struct its_node *its; in get_its_list() local
190 list_for_each_entry(its, &its_nodes, entry) { in get_its_list()
191 if (!its->is_v4) in get_its_list()
194 if (vm->vlpi_count[its->list_nr]) in get_its_list()
195 __set_bit(its->list_nr, &its_list); in get_its_list()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3-its.c74 * value of BASER register configuration and ITS page size.
86 * The ITS structure - contains most of the infrastructure, with the
120 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS)) argument
121 #define is_v4_1(its) (!!((its)->typer & GITS_TYPER_VMAPP)) argument
122 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1) argument
154 * The ITS view of a device - belongs to an ITS, owns an interrupt
155 * translation table, and a list of interrupts. If it some of its
161 struct its_node *its; member
203 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp() argument
205 return (gic_rdists->has_rvpeid || vm->vlpi_count[its->list_nr]); in require_its_list_vmovp()
[all …]
/kernel/linux/linux-4.19/Documentation/virtual/kvm/devices/
Darm-vgic-its.txt1 ARM Virtual Interrupt Translation Service (ITS)
7 The ITS allows MSI(-X) interrupts to be injected into guests. This extension is
8 optional. Creating a virtual ITS controller also requires a host GICv3 (see
9 arm-vgic-v3.txt), but does not depend on having physical ITS controllers.
11 There can be multiple ITS controllers per guest, each of them has to have
19 Base address in the guest physical address space of the GICv3 ITS
27 -ENODEV: Incorrect attribute or the ITS is not supported.
33 request the initialization of the ITS, no additional parameter in
37 reset the ITS, no additional parameter in kvm_device_attr.addr.
38 See "ITS Reset State" section.
[all …]
/kernel/linux/linux-5.10/Documentation/virt/kvm/devices/
Darm-vgic-its.rst4 ARM Virtual Interrupt Translation Service (ITS)
10 The ITS allows MSI(-X) interrupts to be injected into guests. This extension is
11 optional. Creating a virtual ITS controller also requires a host GICv3 (see
12 arm-vgic-v3.txt), but does not depend on having physical ITS controllers.
14 There can be multiple ITS controllers per guest, each of them has to have
26 Base address in the guest physical address space of the GICv3 ITS
37 -ENODEV Incorrect attribute or the ITS is not supported.
46 request the initialization of the ITS, no additional parameter in
50 reset the ITS, no additional parameter in kvm_device_attr.addr.
51 See "ITS Reset State" section.
[all …]
/kernel/linux/linux-4.19/arch/um/os-Linux/
Dtime.c62 struct itimerspec its; in os_timer_set_interval() local
74 its.it_value.tv_sec = its_in->it_value.tv_sec; in os_timer_set_interval()
75 its.it_value.tv_nsec = its_in->it_value.tv_nsec; in os_timer_set_interval()
77 its.it_value.tv_sec = 0; in os_timer_set_interval()
78 its.it_value.tv_nsec = nsec; in os_timer_set_interval()
81 its.it_interval.tv_sec = 0; in os_timer_set_interval()
82 its.it_interval.tv_nsec = nsec; in os_timer_set_interval()
84 if(timer_settime(*t, 0, &its, NULL) == -1) { in os_timer_set_interval()
102 struct itimerspec its; in os_timer_remain() local
109 if(timer_gettime(t, &its) == -1) { in os_timer_remain()
[all …]
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/
Dtimer_test_005.cpp15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
64 struct itimerspec its; in TimerTest() local
74 its.it_value.tv_sec = 3; // 3, timer time 3 seconds. in TimerTest()
75 its.it_value.tv_nsec = 0; in TimerTest()
76 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest()
77 its.it_interval.tv_nsec = its.it_value.tv_nsec; in TimerTest()
82 ret = timer_settime(timerid01, 0, &its, nullptr); in TimerTest()
86 its.it_value.tv_sec = 4; // 4, timer time 4 seconds. in TimerTest()
87 its.it_value.tv_nsec = 0; in TimerTest()
88 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest()
[all …]
Dtimer_test_001.cpp15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
57 struct itimerspec its; in TimerTest() local
87 its.it_value.tv_sec = 0; in TimerTest()
88 its.it_value.tv_nsec = 900000000; // 900000000, 0.9s in TimerTest()
89 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest()
90 its.it_interval.tv_nsec = its.it_value.tv_nsec; in TimerTest()
92 ret = timer_settime(timerid01, 0, &its, nullptr); in TimerTest()
102 its.it_value.tv_sec = 1; in TimerTest()
103 its.it_value.tv_nsec = 0; in TimerTest()
104 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest()
[all …]
Dtimer_test_004.cpp15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
67 struct itimerspec its; in SigInfoTimerTest() local
96 its.it_value.tv_sec = 0; in SigInfoTimerTest()
97 its.it_value.tv_nsec = 990000000; // 990000000, 0.99s in SigInfoTimerTest()
98 its.it_interval.tv_sec = its.it_value.tv_sec; in SigInfoTimerTest()
99 its.it_interval.tv_nsec = its.it_value.tv_nsec; in SigInfoTimerTest()
101 ret = timer_settime(timerid, 0, &its, nullptr); in SigInfoTimerTest()
110 ret = timer_gettime(timerid, &its); in SigInfoTimerTest()
/kernel/linux/linux-4.19/arch/mips/generic/
DPlatform16 its-y := vmlinux.its.S
17 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
18 its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S
19 its-$(CONFIG_FIT_IMAGE_FDT_OCELOT_PCB123) += board-ocelot_pcb123.its.S
20 its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S
/kernel/linux/linux-5.10/arch/mips/boot/
DMakefile115 targets += vmlinux.its.S
120 $(obj)/vmlinux.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS)) FORCE
123 targets += vmlinux.its
124 targets += vmlinux.gz.its
125 targets += vmlinux.bz2.its
126 targets += vmlinux.lzma.its
127 targets += vmlinux.lzo.its
129 quiet_cmd_cpp_its_S = ITS $@
139 $(obj)/vmlinux.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE
142 $(obj)/vmlinux.gz.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE
[all …]
/kernel/linux/linux-4.19/arch/mips/boot/
DMakefile115 targets += vmlinux.its.S
120 $(obj)/vmlinux.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS)) FORCE
123 targets += vmlinux.its
124 targets += vmlinux.gz.its
125 targets += vmlinux.bz2.its
126 targets += vmlinux.lzma.its
127 targets += vmlinux.lzo.its
129 quiet_cmd_cpp_its_S = ITS $@
139 $(obj)/vmlinux.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE
142 $(obj)/vmlinux.gz.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE
[all …]
/kernel/linux/linux-5.10/arch/mips/generic/
DPlatform19 its-y := vmlinux.its.S
20 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
21 its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S
22 its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S
23 its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/knightslanding/
Dcache.json135 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
146 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
157 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
168 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
201 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
212 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
223 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
234 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
267 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
278 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/knightslanding/
Dcache.json135 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
146 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
157 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
168 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
201 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
212 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
223 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
234 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L…
267 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
278 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same…
[all …]
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dtime.c54 struct itimerspec its; in os_timer_set_interval() local
56 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
57 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
59 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval()
60 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval()
62 if (timer_settime(event_high_res_timer, 0, &its, NULL) == -1) in os_timer_set_interval()
70 struct itimerspec its = { in os_timer_one_shot() local
78 timer_settime(event_high_res_timer, 0, &its, NULL); in os_timer_one_shot()
87 struct itimerspec its; in os_timer_disable() local
89 memset(&its, 0, sizeof(struct itimerspec)); in os_timer_disable()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-imx/
DKconfig92 configurations for the board and its peripherals.
107 configurations for the board and its peripherals.
127 configurations for the board and its peripherals.
142 Include support for Visstrim_m10 platform and its different variants.
143 This includes specific configurations for the board and its
163 includes specific configurations for the module and its peripherals.
187 configurations for the board and its peripherals.
209 specific configurations for the board and its peripherals.
225 configurations for the board and its peripherals.
242 specific configurations for the board and its peripherals.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/
Darm,gic-v3.txt81 GICv3 has one or more Interrupt Translation Services (ITS) that are
85 - compatible : Should at least contain "arm,gic-v3-its".
89 - reg: Specifies the base physical address and size of the ITS
93 - socionext,synquacer-pre-its: (u32, u32) tuple describing the untranslated
94 address and size of the pre-ITS window.
97 #size-cells and ranges properties for the reg property of all ITS
119 gic-its@2c200000 {
120 compatible = "arm,gic-v3-its";
144 gic-its@2c200000 {
145 compatible = "arm,gic-v3-its";
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dcommon.c22 * its reference counter. Return 0 if new object has been created or refcount
47 /* kfree() verifies that its argument is nonzero. */ in dev_pm_get_subsys_data()
83 * dev_pm_domain_attach - Attach a device to its PM domain.
118 * dev_pm_domain_attach_by_id - Associate a device with one of its PM domains.
129 * in case its device requires power management through multiple PM domains. The
131 * towards its original device. Depending on the use-case and if needed, the
138 * Returns the virtual created device when successfully attached to its PM
154 * dev_pm_domain_attach_by_name - Associate a device with one of its PM domains.
171 * dev_pm_domain_detach - Detach a device from its PM domain.
176 * dev_pm_domain_attach_by_id(), thus it detaches @dev from its PM domain.
[all …]
/kernel/linux/linux-4.19/Documentation/power/
Druntime_pm.txt102 the helper functions described in Section 4 for the device until its status
107 mechanism allowing the device to request a change of its power state, such as
130 4 for the device, until its status is directly set to either 'active', or
142 idle callback with the device as its argument.
259 PM core as 'suspended', regardless of its real hardware status
311 then run pm_runtime_autosuspend(dev) and return its result
365 return its result
369 return its result
382 pm_request_idle(dev) and return its result
386 pm_request_autosuspend(dev) and return its result
[all …]
/kernel/linux/linux-4.19/drivers/acpi/arm64/
Diort.c161 * ITS ID and base address to the list from where we can get it back later on.
162 * @trans_id: ITS ID.
163 * @base: ITS base address.
189 * iort_deregister_domain_token() - Deregister domain token based on ITS ID
190 * @trans_id: ITS ID.
210 * iort_find_domain_token() - Find domain token based on given ITS ID
211 * @trans_id: ITS ID.
433 * Get the special ID mapping index (if any) and skip its in iort_node_map_id()
477 * optional step 2: map the initial dev id if its parent is not in iort_node_map_platform_id()
479 * as NC (named component) -> SMMU -> ITS. If the type is matched, in iort_node_map_platform_id()
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Druntime_pm.rst108 the helper functions described in Section 4 for the device until its status
113 mechanism allowing the device to request a change of its power state, such as
136 4 for the device, until its status is directly set to either 'active', or
148 idle callback with the device as its argument.
266 PM core as 'suspended', regardless of its real hardware status
319 then run pm_runtime_autosuspend(dev) and return its result
373 return its result
377 return its result
396 pm_request_idle(dev) and return its result
400 pm_request_autosuspend(dev) and return its result
[all …]

12345678910>>...309