Home
last modified time | relevance | path

Searched +full:free +full:- +full:running (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2019 Google, Inc.
10 #include <linux/dma-mapping.h>
75 /* An RX ring that contains a power-of-two sized desc and data ring. */
80 u64 rbytes; /* free-running bytes received */
81 u64 rpackets; /* free-running packets received */
82 u32 cnt; /* free-running total number of completed packets */
83 u32 fill_cnt; /* free-running total number of descs and buffs posted */
85 u64 rx_copybreak_pkt; /* free-running count of copybreak packets */
86 u64 rx_copied_pkt; /* free-running total number of copied packets */
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dpxa3xx-gcu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers
22 #include <linux/dma-mapping.h>
36 #include "pxa3xx-gcu.h"
38 #define DRV_NAME "pxa3xx-gcu"
97 struct pxa3xx_gcu_batch *free; member
100 struct pxa3xx_gcu_batch *running; member
106 return __raw_readl(priv->mmio_base + off); in gc_readl()
112 __raw_writel(val, priv->mmio_base + off); in gc_writel()
118 struct pxa3xx_gcu_shared *shared = priv->shared; \
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/
Dpxa3xx-gcu.c2 * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers
11 * This program is free software; you can redistribute it and/or modify
13 * the Free Software Foundation; either version 2 of the License, or
22 * along with this program; if not, write to the Free Software
35 #include <linux/dma-mapping.h>
49 #include "pxa3xx-gcu.h"
51 #define DRV_NAME "pxa3xx-gcu"
110 struct pxa3xx_gcu_batch *free; member
113 struct pxa3xx_gcu_batch *running; member
119 return __raw_readl(priv->mmio_base + off); in gc_readl()
[all …]
/kernel/linux/linux-4.19/arch/x86/events/intel/
Duncore.h1 /* SPDX-License-Identifier: GPL-2.0 */
133 #define UNCORE_BOX_FLAG_CTL_OFFS8 1 /* event config registers are 8-byte apart */
188 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
193 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl()
198 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr()
204 if (test_bit(UNCORE_BOX_FLAG_CTL_OFFS8, &box->flags)) in uncore_pci_event_ctl()
205 return idx * 8 + box->pmu->type->event_ctl; in uncore_pci_event_ctl()
207 return idx * 4 + box->pmu->type->event_ctl; in uncore_pci_event_ctl()
213 return idx * 8 + box->pmu->type->perf_ctr; in uncore_pci_perf_ctr()
218 struct intel_uncore_pmu *pmu = box->pmu; in uncore_msr_box_offset()
[all …]
/kernel/linux/linux-4.19/sound/core/seq/oss/
Dseq_oss_timer.c8 * This program is free software; you can redistribute it and/or modify
10 * the Free Software Foundation; either version 2 of the License, or
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
54 rec->dp = dp; in snd_seq_oss_timer_new()
55 rec->cur_tick = 0; in snd_seq_oss_timer_new()
56 rec->realtime = 0; in snd_seq_oss_timer_new()
57 rec->running = 0; in snd_seq_oss_timer_new()
58 rec->oss_tempo = 60; in snd_seq_oss_timer_new()
59 rec->oss_timebase = 100; in snd_seq_oss_timer_new()
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/powerpc/math/
Dfpu_signal.c4 * This program is free software; you can redistribute it and/or
6 * as published by the Free Software Foundation; either version
40 int running; variable
42 extern long preempt_fpu(double *darray, int *threads_starting, int *running);
48 mcontext_t *mc = &uc->uc_mcontext; in signal_fpu_sig()
52 if (mc->fp_regs[i] != darray[i - 14]) { in signal_fpu_sig()
74 rc = preempt_fpu(darray, &threads_starting, &running); in signal_fpu_c()
89 running = true; in test_signal_fpu()
112 running = 0; in test_signal_fpu()
128 free(tids); in test_signal_fpu()
Dvsx_asm.S4 * This program is free software; you can redistribute it and/or
6 * as published by the Free Software Foundation; either version
28 # int *running);
31 # validity of the VMX registers while running is not zero.
36 std r5,STACK_FRAME_PARAM(2)(sp) # int *running
45 addi r4,r4,-1
47 bne- 1b
Dvsx_preempt.c4 * This program is free software; you can redistribute it and/or
6 * as published by the Free Software Foundation; either version
36 * Ensure there is twice the number of non-volatile VMX regs!
48 int running; variable
50 extern long preempt_vsx(vector int *varray, int *threads_starting, int *running);
86 j--; in preempt_vsx_c()
88 rc = preempt_vsx(varray, &threads_starting, &running); in preempt_vsx_c()
103 running = true; in test_preempt_vsx()
124 * r5 will have loaded the value of running. in test_preempt_vsx()
126 running = 0; in test_preempt_vsx()
/kernel/linux/linux-4.19/drivers/input/serio/
Duserio.c6 * This program is free software; you can redistribute it and/or modify it
8 * the Free Software Foundation; either version 2 of the License, or (at
39 bool running; member
51 * userio_device_write - Write data from serio to a userio device in userspace
57 struct userio_device *userio = id->port_data; in userio_device_write()
60 spin_lock_irqsave(&userio->buf_lock, flags); in userio_device_write()
62 userio->buf[userio->head] = val; in userio_device_write()
63 userio->head = (userio->head + 1) % USERIO_BUFSIZE; in userio_device_write()
65 if (userio->head == userio->tail) in userio_device_write()
69 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_device_write()
[all …]
/kernel/linux/linux-5.10/drivers/input/serio/
Duserio.c6 * This program is free software; you can redistribute it and/or modify it
8 * the Free Software Foundation; either version 2 of the License, or (at
39 bool running; member
51 * userio_device_write - Write data from serio to a userio device in userspace
57 struct userio_device *userio = id->port_data; in userio_device_write()
60 spin_lock_irqsave(&userio->buf_lock, flags); in userio_device_write()
62 userio->buf[userio->head] = val; in userio_device_write()
63 userio->head = (userio->head + 1) % USERIO_BUFSIZE; in userio_device_write()
65 if (userio->head == userio->tail) in userio_device_write()
69 spin_unlock_irqrestore(&userio->buf_lock, flags); in userio_device_write()
[all …]
/kernel/linux/linux-4.19/sound/usb/line6/
Dpcm.h4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
6 * This program is free software; you can redistribute it and/or
8 * published by the Free Software Foundation, version 2.
42 (line6pcm->pcm->streams[stream].substream)
57 We define two bit flags, "opened" and "running", for each playback
64 the running flag indicates whether the stream is running.
101 /* Free frame position in the buffer. */
134 /* Bit flags for running stream types */
135 unsigned long running; member
/kernel/linux/linux-5.10/arch/x86/events/intel/
Duncore.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/io-64-nonatomic-lo-hi.h>
154 /* event config registers are 8-byte apart */
227 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
231 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
239 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
240 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
245 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
250 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl()
255 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr()
[all …]
/kernel/linux/linux-5.10/drivers/dma/sh/
Drcar-dmac.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas R-Car Gen2/Gen3 DMA Controller Driver
5 * Copyright (C) 2014-2019 Renesas Electronics Inc.
11 #include <linux/dma-mapping.h>
28 * struct rcar_dmac_xfer_chunk - Descriptor for a hardware transfer
43 * struct rcar_dmac_hw_desc - Hardware descriptor for a transfer chunk
56 * struct rcar_dmac_desc - R-Car Gen2 DMA Transfer Descriptor
63 * @running: the transfer chunk being currently processed
80 struct rcar_dmac_xfer_chunk *running; member
97 * struct rcar_dmac_desc_page - One page worth of descriptors
[all …]
/kernel/linux/linux-4.19/drivers/dma/sh/
Drcar-dmac.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas R-Car Gen2 DMA Controller Driver
11 #include <linux/dma-mapping.h>
28 * struct rcar_dmac_xfer_chunk - Descriptor for a hardware transfer
43 * struct rcar_dmac_hw_desc - Hardware descriptor for a transfer chunk
56 * struct rcar_dmac_desc - R-Car Gen2 DMA Transfer Descriptor
63 * @running: the transfer chunk being currently processed
80 struct rcar_dmac_xfer_chunk *running; member
97 * struct rcar_dmac_desc_page - One page worth of descriptors
112 ((PAGE_SIZE - offsetof(struct rcar_dmac_desc_page, descs)) / \
[all …]
/kernel/linux/linux-4.19/sound/ppc/
Dbeep.c6 * This program is free software; you can redistribute it and/or modify
8 * the Free Software Foundation; either version 2 of the License, or
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #include <linux/dma-mapping.h>
33 int running; /* boolean */ member
34 int volume; /* mixer volume: 0-100 */
44 * stop beep if running
48 struct pmac_beep *beep = chip->beep; in snd_pmac_beep_stop()
49 if (beep && beep->running) { in snd_pmac_beep_stop()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/
Dmedia_device_test.c1 // SPDX-License-Identifier: GPL-2.0
4 * media_device_test.c - Media Controller Device ioctl loop Test
23 * sudo ./media_device_test -d /dev/mediaX
25 * While test is running, remove the device and
26 * ensure there are no use after free errors and
28 * config option for use-after-free error detection.
54 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); in main()
55 exit(-1); in main()
59 while ((opt = getopt(argc, argv, "d:")) != -1) { in main()
62 strncpy(media_device, optarg, sizeof(media_device) - 1); in main()
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/media_tests/
Dmedia_device_test.c1 // SPDX-License-Identifier: GPL-2.0
4 * media_device_test.c - Media Controller Device ioctl loop Test
23 * sudo ./media_device_test -d /dev/mediaX
25 * While test is running, remove the device and
26 * ensure there are no use after free errors and
28 * config option for use-after-free error detection.
54 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]); in main()
55 exit(-1); in main()
59 while ((opt = getopt(argc, argv, "d:")) != -1) { in main()
62 strncpy(media_device, optarg, sizeof(media_device) - 1); in main()
[all …]
/kernel/linux/linux-4.19/net/core/
Dgen_estimator.c4 * This program is free software; you can redistribute it and/or
6 * as published by the Free Software Foundation; either version
13 * Jamal Hadi Salim - moved it to net/core and reshulfed
49 seqcount_t *running; member
70 if (e->stats_lock) in est_fetch_counters()
71 spin_lock(e->stats_lock); in est_fetch_counters()
73 __gnet_stats_copy_basic(e->running, b, e->cpu_bstats, e->bstats); in est_fetch_counters()
75 if (e->stats_lock) in est_fetch_counters()
76 spin_unlock(e->stats_lock); in est_fetch_counters()
87 brate = (b.bytes - est->last_bytes) << (10 - est->ewma_log - est->intvl_log); in est_timer()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/timer/
Dbrcm,bcm2835-system-timer.txt3 The System Timer peripheral provides four 32-bit timer channels and a
4 single 64-bit free running counter. Each channel has an output compare
6 free running counter values, and generates an interrupt.
10 - compatible : should be "brcm,bcm2835-system-timer"
11 - reg : Specifies base physical address and size of the registers.
12 - interrupts : A list of 4 interrupt sinks; one per timer channel.
13 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
18 compatible = "brcm,bcm2835-system-timer";
21 clock-frequency = <1000000>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dbrcm,bcm2835-system-timer.txt3 The System Timer peripheral provides four 32-bit timer channels and a
4 single 64-bit free running counter. Each channel has an output compare
6 free running counter values, and generates an interrupt.
10 - compatible : should be "brcm,bcm2835-system-timer"
11 - reg : Specifies base physical address and size of the registers.
12 - interrupts : A list of 4 interrupt sinks; one per timer channel.
13 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
18 compatible = "brcm,bcm2835-system-timer";
21 clock-frequency = <1000000>;
/kernel/linux/linux-4.19/sound/core/seq/
Dseq_timer.c3 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
7 * This program is free software; you can redistribute it and/or modify
9 * the Free Software Foundation; either version 2 of the License, or
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
38 if (tmr->tempo < 1000000) in snd_seq_timer_set_tick_resolution()
39 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution()
43 s = tmr->tempo % tmr->ppq; in snd_seq_timer_set_tick_resolution()
44 s = (s * 1000) / tmr->ppq; in snd_seq_timer_set_tick_resolution()
45 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; in snd_seq_timer_set_tick_resolution()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac_lib.c2 Copyright (C) 2007-2009 STMicroelectronics Ltd
4 This program is free software; you can redistribute it and/or modify it
6 version 2, as published by the Free Software Foundation.
39 return -EBUSY; in dwmac_dma_reset()
96 pr_debug("- TX (Stopped): Reset or Stop command\n"); in show_tx_process_state()
99 pr_debug("- TX (Running): Fetching the Tx desc\n"); in show_tx_process_state()
102 pr_debug("- TX (Running): Waiting for end of tx\n"); in show_tx_process_state()
105 pr_debug("- TX (Running): Reading the data " in show_tx_process_state()
109 pr_debug("- TX (Suspended): Tx Buff Underflow " in show_tx_process_state()
113 pr_debug("- TX (Running): Closing Tx descriptor\n"); in show_tx_process_state()
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dmembarrier.h11 * Permission is hereby granted, free of charge, to any person obtaining a copy
31 * enum membarrier_cmd - membarrier system call command
34 * @MEMBARRIER_CMD_GLOBAL: Execute a memory barrier on all running threads.
36 * is ensured that all running threads have passed
38 * user-space addresses match program order between
40 * (non-running threads are de facto in such a
42 * running on the system. This command returns 0.
44 * Execute a memory barrier on all running threads
48 * is ensured that all running threads have passed
50 * user-space addresses match program order between
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dmembarrier.h11 * Permission is hereby granted, free of charge, to any person obtaining a copy
31 * enum membarrier_cmd - membarrier system call command
34 * @MEMBARRIER_CMD_GLOBAL: Execute a memory barrier on all running threads.
36 * is ensured that all running threads have passed
38 * user-space addresses match program order between
40 * (non-running threads are de facto in such a
42 * running on the system. This command returns 0.
44 * Execute a memory barrier on all running threads
48 * is ensured that all running threads have passed
50 * user-space addresses match program order between
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/
Dhmm_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * This program is free software; you can redistribute it and/or
11 * 2 as published by the Free Software Foundation.
76 * sys_size: system mem pool size, being allocated from system at camera running time.
82 * res_cnt: track the mem allocated from reserved pool at camera running time.
83 * tol_cnt: track the total mem used by ISP pipe at camera running time.

12345678910>>...43