Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 25 of 66) sorted by relevance

123

/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dinterrupt.h76 #define request_irq(irq, handler, flags, name, dev) \ argument
77 linux_request_irq(irq, handler, flags, name, dev)
79 #define free_irq(irq, dev_id) \ argument
80 linux_free_irq(irq, dev_id)
82 #define enable_irq(irq) \ argument
83 linux_enable_irq(irq)
85 #define disable_irq(irq) \ argument
86 linux_disable_irq(irq)
88 extern int linux_request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags,
90 extern void linux_free_irq(unsigned int irq, void *dev_id);
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_interrupt.c36 int linux_request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in linux_request_irq() argument
46 irqParam.swIrq = (INT32)irq; in linux_request_irq()
50 …ret = LOS_HwiCreate(irq, IRQ_DEFAULT_PRIORITY, (HWI_MODE_T)flags, (HWI_PROC_FUNC)handler, &irqPara… in linux_request_irq()
52 HalIrqUnmask(irq); in linux_request_irq()
57 void linux_free_irq(unsigned int irq, void *devID) in linux_free_irq() argument
65 irqParam.swIrq = (INT32)irq; in linux_free_irq()
68 (VOID)LOS_HwiDelete(irq, &irqParam); in linux_free_irq()
72 void linux_enable_irq(unsigned int irq) in linux_enable_irq() argument
74 HalIrqUnmask(irq); in linux_enable_irq()
77 void linux_disable_irq(unsigned int irq) in linux_disable_irq() argument
[all …]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/
Dcpuhotplug_report_proc_interrupts9 foreach my $irq (sort keys %{$run1}) {
12 foreach my $cpu (sort keys %{$run1->{$irq}}) {
18 printf "%-8s ", $irq;
19 foreach my $cpu (sort keys %{$run1->{$irq}}) {
20 printf "%-5s ", $run2->{$irq}->{$cpu} - $run1->{$irq}->{$cpu};
40 my $irq = shift @items;
41 $irq =~ s/:$//;
43 $run{"IRQ$irq"}->{"$cpu"} = shift @items;
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh30 for irq in ${IRQS}; do
31 echo $MASK > /proc/irq/${irq}/smp_affinity || \
32 tst_resm TINFO "It is NOT permitted to change the IRQ $irq smp_affinity"
/third_party/alsa-utils/alsaconf/
Dalsaconf.in194 for irq in $*; do
198 if grep -q '^irq '$irq'$' $i/resources; then
204 if grep -q '^ *'$irq': ' $PROCFS/interrupts ; then
209 list="$list $irq"
214 for irq in $*; do
215 grep -q '^ *'$irq': ' $PROCFS/interrupts || list="$list $irq"
/third_party/alsa-utils/axfer/
DMakefile.am54 xfer-libasound-irq-rw.c \
56 xfer-libasound-irq-mmap.c \
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h57 int irq; /* irq allocated */ member
73 void (*irq) (struct usb_hcd *hcd, struct pt_regs *regs); member
/third_party/toybox/toys/other/
Dvmstat.c33 uint64_t user, nice, sys, idle, wait, irq, sirq, intr, ctxt, running, blocked; member
113 top[idx].sys += top[idx].irq + top[idx].sirq; in vmstat_main()
/third_party/ltp/scenario_groups/
Ddefault9 irq
/third_party/ltp/testcases/kdump/lib/lkdtm/
Dlkdtm.c136 unsigned int jp_do_irq(unsigned int irq) in jp_do_irq() argument
143 irqreturn_t jp_handle_irq_event(unsigned int irq, struct irqaction * action) in jp_handle_irq_event() argument
/third_party/libwebsockets/include/libwebsockets/
Dlws-gpio.h56 int (*irq_mode)(_lws_plat_gpio_t gpio, lws_gpio_irq_t irq,
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dcpu_sampling.cc62 uint64_t user = 0, sys = 0, idle = 0, iowait = 0, nice = 0, irq = 0, softirq = 0; in GetTotalCpuTime() local
63 ….c_str(), "%*s %lu %lu %lu %lu %lu %lu %lu", &user, &nice, &sys, &idle, &iowait, &irq, &softirq) == in GetTotalCpuTime()
69 *total_stat = user + nice + sys + idle + iowait + irq + softirq; in GetTotalCpuTime()
77 uint64_t irq = 0; in ParseCpuInfo() local
80 &cpu_stat.idle_stat_, &cpu_stat.io_stat_, &irq, &softirq) == EOF) { in ParseCpuInfo()
85 …cpu_stat.user_stat_ + nice + cpu_stat.sys_stat_ + cpu_stat.idle_stat_ + cpu_stat.io_stat_ + irq + … in ParseCpuInfo()
/third_party/libuv/src/unix/
Dlinux-core.c533 uint64_t irq; in read_times() local
580 &irq)) in read_times()
587 ts.irq = irq * multiplier; in read_times()
/third_party/ltp/testcases/kernel/
DMakefile31 irq \
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c283 if(!ioctl(TT.sockfd, SIOCGIFMAP, &ifre) && (ifre.ifr_map.irq || in display_ifconfig()
287 if(ifre.ifr_map.irq) xprintf("Interrupt:%d ", ifre.ifr_map.irq); in display_ifconfig()
427 {"irq", IFREQ_OFFSZ(ifr_map.irq), SIOCSIFMAP}, in ifconfig_main()
/third_party/toybox/toys/net/
Difconfig.c284 if(!ioctl(TT.sockfd, SIOCGIFMAP, &ifre) && (ifre.ifr_map.irq || in display_ifconfig()
288 if(ifre.ifr_map.irq) xprintf("Interrupt:%d ", ifre.ifr_map.irq); in display_ifconfig()
414 {"irq", IFREQ_OFFSZ(ifr_map.irq), SIOCSIFMAP}, in ifconfig_main()
/third_party/musl/ndk_musl_include/net/
Dif.h68 unsigned char irq; member
/third_party/musl/porting/liteos_a/kernel/include/net/
Dif.h68 unsigned char irq; member
/third_party/musl/porting/uniproton/kernel/include/net/
Dif.h68 unsigned char irq; member
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h68 unsigned char irq; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h68 unsigned char irq; member
/third_party/musl/include/net/
Dif.h68 unsigned char irq; member
/third_party/libnl/include/linux-private/linux/
Dif.h196 unsigned char irq; member
/third_party/FreeBSD/sys/kern/
Dsubr_bus.c3037 bus_setup_intr(int irq, int flags, driver_intr_t *intr, void *arg) in bus_setup_intr() argument
3046 irqParam.swIrq = irq; in bus_setup_intr()
3049 ret = LOS_HwiCreate(irq, 0, (HWI_MODE_T)flags, (HWI_PROC_FUNC)intr, &irqParam); in bus_setup_intr()
3051 HalIrqUnmask(irq); in bus_setup_intr()
3056 bus_teardown_intr(int irq, void *arg) in bus_teardown_intr() argument
3064 irqParam.swIrq = irq; in bus_teardown_intr()
3067 return LOS_HwiDelete(irq, &irqParam); in bus_teardown_intr()
/third_party/libdrm/include/drm/
Dvia_drm.h241 unsigned irq; member

123