Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
Dgve.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2021 Google, Inc.
10 #include <linux/dma-mapping.h>
44 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1))
63 /* 2K buffers for DQO-QPL */
68 /* If number of free/recyclable buffers are less than this threshold; driver
69 * allocs and uses a non-qpl page on the receive path of DQO QPL to free
157 * which point every other offset is free to be reused.
161 /* Linked list index to next element in the list, or -1 if none */
165 /* `head` and `tail` are indices into an array, or -1 if empty. */
[all …]
/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-6.6/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-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-5.10/arch/x86/events/intel/
Duncore.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/io-64-nonatomic-lo-hi.h>
155 /* event config registers are 8-byte apart */
228 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
232 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
240 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
241 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
246 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
251 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl()
256 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr()
[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-6.6/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-6.6/Documentation/devicetree/bindings/net/
Dadi,adin.yaml1 # SPDX-License-Identifier: GPL-2.0+
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandru Tachici <alexandru.tachici@analog.com>
16 - $ref: ethernet-phy.yaml#
19 adi,rx-internal-delay-ps:
22 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds.
26 adi,tx-internal-delay-ps:
29 internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seconds.
33 adi,fifo-depth-bits:
[all …]
/kernel/linux/linux-6.6/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-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 …]
Dvideo_device_test.c1 // SPDX-License-Identifier: GPL-2.0
4 * video_device_test - Video Device Test
20 * sudo ./video_device_test -d /dev/videoX
22 * While test is running, remove the device or unbind the driver and
23 * ensure there are no use after free errors and other Oops in the
25 * When possible, enable KaSan kernel config option for use-after-free
51 printf("Usage: %s [-d </dev/videoX>]\n", argv[0]); in main()
52 exit(-1); in main()
56 while ((opt = getopt(argc, argv, "d:")) != -1) { in main()
59 strncpy(video_dev, optarg, sizeof(video_dev) - 1); in main()
[all …]
/kernel/linux/linux-6.6/arch/x86/events/intel/
Duncore.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <asm/intel-family.h>
6 #include <linux/io-64-nonatomic-lo-hi.h>
37 #define UNCORE_IGNORE_END -1
165 /* event config registers are 8-byte apart */
260 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
264 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
272 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
273 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
278 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
[all …]
/kernel/linux/linux-6.6/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-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-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-6.6/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/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.
/kernel/linux/linux-6.6/drivers/clocksource/
Dtimer-orion.c1 // SPDX-License-Identifier: GPL-2.0
7 * Timer 0 is used as free-running clocksource, while timer 1 is
53 * Free-running clocksource handling.
68 /* setup and enable one-shot timer */ in orion_clkevt_next_event()
87 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
88 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
124 return -ENXIO; in orion_timer_init()
143 ret = -EINVAL; in orion_timer_init()
149 /* setup timer0 as free-running clocksource */ in orion_timer_init()
189 TIMER_OF_DECLARE(orion_timer, "marvell,orion-timer", orion_timer_init);
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-orion.c10 * Timer 0 is used as free-running clocksource, while timer 1 is
56 * Free-running clocksource handling.
71 /* setup and enable one-shot timer */ in orion_clkevt_next_event()
90 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD); in orion_clkevt_set_periodic()
91 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL); in orion_clkevt_set_periodic()
127 return -ENXIO; in orion_timer_init()
146 ret = -EINVAL; in orion_timer_init()
152 /* setup timer0 as free-running clocksource */ in orion_timer_init()
192 TIMER_OF_DECLARE(orion_timer, "marvell,orion-timer", orion_timer_init);
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
Dtest_freezer.c1 /* SPDX-License-Identifier: GPL-2.0 */
32 return -1; in cg_check_frozen()
40 return -1; in cg_check_frozen()
62 int fd, ret = -1; in cg_enter_and_wait_for_frozen()
95 int fd, ret = -1; in cg_freeze_wait()
118 * A simple process running in a sleep loop until being
119 * re-parented.
133 * running processes and freeze it. Then unfreeze it. Then it kills all
169 free(cgroup); in test_cgfreezer_simple()
329 for (i = 9; i >= 0 && cgroup[i]; i--) { in test_cgfreezer_tree()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-pxa/
Dsmemc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
21 #define SXLCR (SMEMC_VIRT + 0x18) /* LCR value to be written to SDRAM-Timing Synchronous Flash */
31 #define BOOT_DEF (SMEMC_VIRT + 0x44) /* Read-Only Boot-Time Register. Contains BOOT_SEL and PKG_SE…
49 #define MECR_NOS (1 << 0) /* Number Of Sockets: 0 -> 1 sock, 1 -> 2 sock */
50 #define MECR_CIT (1 << 1) /* Card Is There: 0 -> no card, 1 -> card inserted */
58 #define MDREFR_K2FREE (1 << 25) /* SDRAM Free-Running Control */
59 #define MDREFR_K1FREE (1 << 24) /* SDRAM Free-Running Control */
60 #define MDREFR_K0FREE (1 << 23) /* SDRAM Free-Running Control */
61 #define MDREFR_SLFRSH (1 << 22) /* SDRAM Self-Refresh Control/Status */
62 #define MDREFR_APD (1 << 20) /* SDRAM/SSRAM Auto-Power-Down Enable */
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dsmemc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
21 #define SXLCR (SMEMC_VIRT + 0x18) /* LCR value to be written to SDRAM-Timing Synchronous Flash */
31 #define BOOT_DEF (SMEMC_VIRT + 0x44) /* Read-Only Boot-Time Register. Contains BOOT_SEL and PKG_SE…
49 #define MECR_NOS (1 << 0) /* Number Of Sockets: 0 -> 1 sock, 1 -> 2 sock */
50 #define MECR_CIT (1 << 1) /* Card Is There: 0 -> no card, 1 -> card inserted */
58 #define MDREFR_K2FREE (1 << 25) /* SDRAM Free-Running Control */
59 #define MDREFR_K1FREE (1 << 24) /* SDRAM Free-Running Control */
60 #define MDREFR_K0FREE (1 << 23) /* SDRAM Free-Running Control */
61 #define MDREFR_SLFRSH (1 << 22) /* SDRAM Self-Refresh Control/Status */
62 #define MDREFR_APD (1 << 20) /* SDRAM/SSRAM Auto-Power-Down Enable */
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 int running; variable
40 extern int preempt_fpu(double *darray, int *threads_starting, int *running);
51 rc = preempt_fpu(darray, &threads_starting, &running); in preempt_fpu_c()
65 running = true; in test_preempt_fpu()
86 * r5 will have loaded the value of running. in test_preempt_fpu()
88 running = 0; in test_preempt_fpu()
103 free(tids); in test_preempt_fpu()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 int running; variable
40 extern int preempt_fpu(double *darray, int *threads_starting, int *running);
51 rc = preempt_fpu(darray, &threads_starting, &running); in preempt_fpu_c()
65 running = true; in test_preempt_fpu()
86 * r5 will have loaded the value of running. in test_preempt_fpu()
88 running = 0; in test_preempt_fpu()
103 free(tids); in test_preempt_fpu()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
Dtest_freezer.c1 /* SPDX-License-Identifier: GPL-2.0 */
34 return -1; in cg_check_frozen()
42 return -1; in cg_check_frozen()
62 int fd, ret = -1; in cg_prepare_for_wait()
65 if (fd == -1) { in cg_prepare_for_wait()
72 if (ret == -1) { in cg_prepare_for_wait()
75 fd = -1; in cg_prepare_for_wait()
87 int ret = -1; in cg_wait_for()
96 if (ret == -1) { in cg_wait_for()
119 int fd, ret = -1; in cg_enter_and_wait_for_frozen()
[all …]

12345678910>>...45