/linux-6.14.4/drivers/net/ethernet/marvell/prestera/ |
D | prestera_counter.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 40 COUNTER_FLAG_READY = 0, 47 return block->counter_flag[id - block->offset] == COUNTER_FLAG_READY; in prestera_counter_is_ready() 50 static void prestera_counter_lock(struct prestera_counter *counter) in prestera_counter_lock() argument 52 mutex_lock(&counter->mtx); in prestera_counter_lock() 55 static void prestera_counter_unlock(struct prestera_counter *counter) in prestera_counter_unlock() argument 57 mutex_unlock(&counter->mtx); in prestera_counter_unlock() 62 mutex_lock(&block->mtx); in prestera_counter_block_lock() 67 mutex_unlock(&block->mtx); in prestera_counter_block_unlock() 72 return refcount_inc_not_zero(&block->refcnt); in prestera_counter_block_incref() [all …]
|
/linux-6.14.4/tools/testing/selftests/net/netfilter/ |
D | nft_meta.sh | 5 # Kselftest framework requirement - SKIP code is 4. 7 sfx=$(mktemp -u "XXXXXXXX") 8 ns0="ns0-$sfx" 10 if ! nft --version > /dev/null 2>&1; then 21 ip -net "$ns0" link set lo up 22 ip -net "$ns0" addr add 127.0.0.1 dev lo 27 lastyear=$((currentyear-1)) 28 ip netns exec "$ns0" nft -f /dev/stdin <<EOF 30 counter iifcount {} 31 counter iifnamecount {} [all …]
|
/linux-6.14.4/drivers/comedi/drivers/ |
D | ni_tio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * Author: J.P. Mellor <jpmellor@rose-hulman.edu>, 19 * This module is not used directly by end-users. Rather, it 22 * originally based on the counter code from ni_660x.c and 26 * DAQ 660x Register-Level Programmer Manual (NI 370505A-01) 27 * DAQ 6601/6602 User Manual (NI 322137B-01) 28 * 340934b.pdf DAQ-STC reference manual 42 #define NI_M_TIMEBASE_1_CLK 0x0 /* 20MHz */ 43 #define NI_M_PFI_CLK(x) (((x) < 10) ? (1 + (x)) : (0xb + (x))) 44 #define NI_M_RTSI_CLK(x) (((x) == 7) ? 0x1b : (0xb + (x))) [all …]
|
D | ni_tiocmd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * Author: J.P. Mellor <jpmellor@rose-hulman.edu>, 19 * This module is not used directly by end-users. Rather, it 26 * DAQ 660x Register-Level Programmer Manual (NI 370505A-01) 27 * DAQ 6601/6602 User Manual (NI 322137B-01) 28 * 340934b.pdf DAQ-STC reference manual 38 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() argument 41 struct ni_gpct_device *counter_dev = counter->counter_dev; in ni_tio_configure_dma() 42 unsigned int cidx = counter->counter_index; in ni_tio_configure_dma() 47 bits = 0; in ni_tio_configure_dma() [all …]
|
/linux-6.14.4/drivers/counter/ |
D | counter-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic Counter interface 7 #include <linux/counter.h> 22 #include "counter-chrdev.h" 23 #include "counter-sysfs.h" 25 #define COUNTER_NAME "counter" 27 /* Provides a unique ID for each counter device */ 31 struct counter_device counter; member 43 struct counter_device *const counter = in counter_device_release() local 46 counter_chrdev_remove(counter); in counter_device_release() [all …]
|
D | counter-chrdev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic Counter character device interface 7 #include <linux/counter.h> 24 #include "counter-chrdev.h" 68 struct counter_device *const counter = filp->private_data; in counter_chrdev_read() local 72 if (!counter->ops) in counter_chrdev_read() 73 return -ENODEV; in counter_chrdev_read() 76 return -EINVAL; in counter_chrdev_read() 79 if (kfifo_is_empty(&counter->events)) { in counter_chrdev_read() 80 if (filp->f_flags & O_NONBLOCK) in counter_chrdev_read() [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/westmereex/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x14", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x2" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/westmereep-dp/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x14", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x2" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/westmereep-sp/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x14", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x2" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/knightslanding/ |
D | uncore-cache.json | 3 …ries successfully inserted into the TOR that match qualifications specified by the subevent -IPQ", 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x35", 8 "UMask": "0x18", 12 …ries successfully inserted into the TOR that match qualifications specified by the subevent -IPQ", 13 "Counter": "0,1,2,3", string 14 "EventCode": "0x35", 17 "UMask": "0x28", 21 …ries successfully inserted into the TOR that match qualifications specified by the subevent -IRQ", 22 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/nehalemex/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x14", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x2" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/nehalemep/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x14", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x2" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/bonnell/ |
D | pipeline.json | 4 "Counter": "0,1", string 5 "EventCode": "0xE4", 8 "UMask": "0x1" 12 "Counter": "0,1", string 13 "EventCode": "0xE0", 16 "UMask": "0x1" 20 "Counter": "0,1", string 21 "EventCode": "0xC4", 27 "Counter": "0,1", string 28 "EventCode": "0xC4", [all …]
|
D | other.json | 4 "Counter": "0,1", string 5 "EventCode": "0x7D", 8 "UMask": "0x40" 12 "Counter": "0,1", string 13 "EventCode": "0x61", 16 "UMask": "0x20" 20 "Counter": "0,1", string 21 "EventCode": "0x61", 27 "Counter": "0,1", string 28 "EventCode": "0x64", [all …]
|
/linux-6.14.4/drivers/infiniband/core/ |
D | counters.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 19 return -EINVAL; in __counter_set_mode() 20 if (port_counter->num_counters) in __counter_set_mode() 21 return -EBUSY; in __counter_set_mode() 24 port_counter->mode.mode = new_mode; in __counter_set_mode() 25 port_counter->mode.mask = new_mask; in __counter_set_mode() 26 return 0; in __counter_set_mode() 30 * rdma_counter_set_auto_mode() - Turn on/off per-port auto mode 37 * Return 0 on success. If counter mode wasn't changed then it is considered 39 * Return -EBUSY when changing to auto mode while there are bounded counters. [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | uncore-memory.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x4", 10 "UMask": "0x3", 15 "Counter": "0,1,2,3", string 16 "EventCode": "0x4", 21 "UMask": "0xc", 26 "Counter": "0,1,2,3", string 27 "EventCode": "0x1", 32 "UMask": "0x8", 37 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/graniterapids/ |
D | uncore-interconnect.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x01", 12 "Counter": "0,1,2,3", string 13 "EventCode": "0x17", 16 "UMask": "0x1", 21 "Counter": "0,1,2,3", string 22 "EventCode": "0x16", 25 "UMask": "0x1", 30 "Counter": "0,1,2,3", string 31 "EventCode": "0x18", [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/sierraforest/ |
D | uncore-interconnect.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x01", 12 "Counter": "0,1,2,3", string 13 "EventCode": "0x17", 17 "UMask": "0x1", 22 "Counter": "0,1,2,3", string 23 "EventCode": "0x16", 26 "UMask": "0x1", 31 "Counter": "0,1,2,3", string 32 "EventCode": "0x18", [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/sandybridge/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0xB6", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x1" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/lunarlake/ |
D | pipeline.json | 4 "Counter": "0,1,2,3,4,5,6,7", string 5 "EventCode": "0xc4", 14 "Counter": "0,1,2,3,4,5,6,7,8,9", string 15 "EventCode": "0xc4", 24 "Counter": "0,1,2,3,4,5,6,7", string 25 "EventCode": "0xc5", 28 …-speculative execution path is known. The branch prediction unit (BPU) predicts the target address… 34 "Counter": "0,1,2,3,4,5,6,7,8,9", string 35 "EventCode": "0xc5", 43 "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles", [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/skylakex/ |
D | uncore-memory.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x4", 10 "UMask": "0x3", 15 "Counter": "0,1,2,3", string 16 "EventCode": "0x4", 21 "UMask": "0xc", 26 "Counter": "0,1,2,3", string 27 "EventCode": "0x1", 32 "UMask": "0x8", 37 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/jaketown/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0xB6", 8 "UMask": "0x1" 12 "Counter": "0,1,2,3", string 15 "EventCode": "0x14", 19 "UMask": "0x1" 23 "Counter": "0,1,2,3", string 24 "EventCode": "0x14", 27 "UMask": "0x1" 31 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/broadwellx/ |
D | uncore-memory.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x4", 10 "UMask": "0x3", 15 "Counter": "0,1,2,3", string 16 "EventCode": "0x4", 21 "UMask": "0xc", 26 "Counter": "0,1,2,3", string 27 "EventCode": "0x1", 31 "UMask": "0x8", 36 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/haswellx/ |
D | uncore-memory.json | 4 "Counter": "0,1,2,3", string 5 "EventCode": "0x4", 10 "UMask": "0x3", 15 "Counter": "0,1,2,3", string 16 "EventCode": "0x4", 21 "UMask": "0xc", 26 "Counter": "0,1,2,3", string 27 "EventCode": "0x1", 31 "UMask": "0x8", 36 "Counter": "0,1,2,3", string [all …]
|
/linux-6.14.4/tools/perf/pmu-events/arch/x86/ivybridge/ |
D | pipeline.json | 4 "Counter": "0,1,2,3", string 7 "EventCode": "0x14", 11 "UMask": "0x4" 15 "Counter": "0,1,2,3", string 16 "EventCode": "0x14", 20 "UMask": "0x1" 24 "Counter": "0,1,2,3", string 25 "EventCode": "0x88", 29 "UMask": "0xff" 32 "BriefDescription": "Speculative and retired macro-conditional branches", [all …]
|