/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_vcap.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 40 u32 tg_sw; /* Current type-group */ 45 u32 tg_value; /* Current type-group value */ 46 u32 tg_mask; /* Current type-group mask */ 52 return ocelot_target_read(ocelot, vcap->target, VCAP_CORE_UPDATE_CTRL); in vcap_read_update_ctrl() 62 if ((sel & VCAP_SEL_ENTRY) && ix >= vcap->entry_count) in vcap_cmd() 74 ocelot_target_write(ocelot, vcap->target, value, VCAP_CORE_UPDATE_CTRL); in vcap_cmd() 81 /* Convert from 0-based row to VCAP entry row and run command */ 85 vcap_cmd(ocelot, vcap, vcap->entry_count - row - 1, cmd, sel); in vcap_row_cmd() 90 struct vcap_data *data) in vcap_entry2cache() argument [all …]
|
/linux-6.12.1/kernel/trace/ |
D | trace_events_trigger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_events_trigger - trace event triggers 20 void trigger_data_free(struct event_trigger_data *data) in trigger_data_free() argument 22 if (data->cmd_ops->set_filter) in trigger_data_free() 23 data->cmd_ops->set_filter(NULL, data, NULL); in trigger_data_free() 28 kfree(data); in trigger_data_free() 32 * event_triggers_call - Call triggers associated with a trace event 36 * @event: The event meta data in the ring buffer 40 * non-NULL, it means that the trigger requires further processing and 41 * shouldn't be unconditionally invoked. If rec is non-NULL and the [all …]
|
D | trace_uprobe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * uprobes-based tracing events 5 * Copyright (C) IBM Corporation, 2010-2012 10 #include <linux/bpf-cgroup.h> 19 #include <linux/filter.h> 72 return ev->ops == &trace_uprobe_ops; in is_trace_uprobe() 81 * for_each_trace_uprobe - iterate over the trace_uprobe list 99 return addr - (n * sizeof(long)); in adjust_stack_addr() 122 * Uprobes-specific fetch functions 129 return copy_from_user(dest, vaddr, size) ? -EFAULT : 0; in probe_mem_read() [all …]
|
/linux-6.12.1/kernel/ |
D | seccomp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2004-2005 Andrea Arcangeli <andrea@cpushare.com> 10 * This defines a simple but solid secure-computing facility. 13 * Mode 2 allows user-defined system call filters in the form 41 #include <linux/filter.h> 64 /* The struct pid of the task whose filter triggered the notification */ 67 /* The "cookie" for this request; this is unique for this filter. */ 71 * The seccomp data. This pointer is valid the entire time this 75 const struct seccomp_data *data; member 105 * struct seccomp_kaddfd - container for seccomp_addfd ioctl messages [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* State of Flow Director filter 11 * *_REQUEST states are used to mark filter to be sent to PF driver to perform 12 * an action (either add or delete filter). *_PENDING states are an indication 15 * Both DELETE and DISABLE states are being used to delete a filter in PF. 16 * The difference is that after a successful response filter in DEL_PENDING 17 * state is being deleted from VF driver as well and filter in DIS_PENDING state 21 IAVF_FDIR_FLTR_ADD_REQUEST, /* User requests to add filter */ 22 IAVF_FDIR_FLTR_ADD_PENDING, /* Filter pending add by the PF */ 23 IAVF_FDIR_FLTR_DEL_REQUEST, /* User requests to delete filter */ [all …]
|
D | iavf_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * iavf_validate_fdir_fltr_masks - validate Flow Director filter fields masks 33 * @fltr: Flow Director filter data structure 41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 44 if (fltr->ip_ver == 4) { in iavf_validate_fdir_fltr_masks() 45 if (fltr->ip_mask.v4_addrs.src_ip && in iavf_validate_fdir_fltr_masks() 46 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 49 if (fltr->ip_mask.v4_addrs.dst_ip && in iavf_validate_fdir_fltr_masks() 50 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 53 if (fltr->ip_mask.tos && fltr->ip_mask.tos != U8_MAX) in iavf_validate_fdir_fltr_masks() [all …]
|
/linux-6.12.1/Documentation/admin-guide/perf/ |
D | imx-ddr.rst | 17 (AXI filter setting) fields of the perf_event_attr structure, see /sys/bus/event_source/ 20 devices/imx8_ddr0/events/. The "caps" directory describes filter features implemented 23 .. code-block:: bash 25 perf stat -a -e imx8_ddr0/cycles/ cmd 26 perf stat -a -e imx8_ddr0/read/,imx8_ddr0/write/ cmd 28 AXI filtering is only used by CSV modes 0x41 (axid-read) and 0x42 (axid-write) 29 to count reading or writing matches filter setting. Filter setting is various 32 type of AXI filter (filter, enhanced_filter and super_filter). Value 0 for 33 un-supported, and value 1 for supported. 35 * With DDR_CAP_AXI_ID_FILTER quirk(filter: 1, enhanced_filter: 0, super_filter: 0). [all …]
|
D | hisi-pcie-pmu.rst | 6 bandwidth, latency, bus utilization and buffer occupancy data of PCIe. 15 The PCIe PMU driver registers a perf PMU with the name of its sicl-id and PCIe 20 PMU driver provides description of available events and filter options in sysfs, 24 (filter options) fields of the perf_event_attr structure. The "events" directory 40 ------------------------------------------ 42 $# perf stat -e hisi_pcie0_core0/rx_mwr_latency,port=0xffff/ 43 $# perf stat -e hisi_pcie0_core0/rx_mwr_cnt,port=0xffff/ 56 …$# perf stat -e "{hisi_pcie0_core0/rx_mwr_latency,port=0xffff/,hisi_pcie0_core0/rx_mwr_cnt,port=0x… 61 Filter options 62 -------------- [all …]
|
/linux-6.12.1/arch/x86/kvm/ |
D | pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine -- Performance Monitoring Unit support 26 /* This is enough to filter the vast majority of currently defined events. */ 39 /* Instruction-Accurate PDIR (PDIR++) */ 51 * - Each perf counter is defined as "struct kvm_pmc"; 52 * - There are two types of perf counters: general purpose (gp) and fixed. 56 * - pmu.c understands the difference between gp counters and fixed counters. 57 * However AMD doesn't support fixed-counters; 58 * - There are three types of index to access perf counters (PMC): 61 * MSR_F15H_PERF_CTRn, where MSR_F15H_PERF_CTR[0-3] are [all …]
|
/linux-6.12.1/include/media/ |
D | dvb_demux.h | 4 * Copyright (C) 2000-2001 Marcus Metzler & Ralph Metzler 30 * enum dvb_dmx_filter_type - type of demux feed. 41 * enum dvb_dmx_state - state machine for a demux filter. 43 * @DMX_STATE_FREE: indicates that the filter is freed. 44 * @DMX_STATE_ALLOCATED: indicates that the filter was allocated 46 * @DMX_STATE_READY: indicates that the filter is ready 48 * @DMX_STATE_GO: indicates that the filter is running. 64 * struct dvb_demux_filter - Describes a DVB demux section filter. 66 * @filter: Section filter as defined by &struct dmx_section_filter. 69 * @doneq: flag that indicates when a filter is ready. [all …]
|
D | demux.h | 4 * The Kernel Digital TV Demux kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 40 * DMX_MAX_FILTER_SIZE: Maximum length (in bytes) of a section/PES filter. 49 * filter. 64 * enum ts_filter_type - filter type bitmap for dmx_ts_feed.set\(\) 69 * @TS_DECODER: Send stream to built-in decoder (if present). 81 * struct dmx_ts_feed - Structure that contains a TS feed filter 83 * @is_filtering: Set to non-zero when filtering in progress 85 * @priv: pointer to private data of the API client 86 * @set: sets the TS filter [all …]
|
/linux-6.12.1/drivers/hwtracing/ptt/ |
D | hisi_ptt.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 31 return !readl_poll_timeout(hisi_ptt->iobase + HISI_PTT_TUNING_INT_STAT, in hisi_ptt_wait_tuning_finish() 48 desc = ext_attr->var; in hisi_ptt_tune_attr_show() 50 mutex_lock(&hisi_ptt->tune_lock); in hisi_ptt_tune_attr_show() 52 reg = readl(hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show() 55 desc->event_code); in hisi_ptt_tune_attr_show() 56 writel(reg, hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show() 59 writel(~0U, hisi_ptt->iobase + HISI_PTT_TUNING_DATA); in hisi_ptt_tune_attr_show() 62 mutex_unlock(&hisi_ptt->tune_lock); in hisi_ptt_tune_attr_show() [all …]
|
D | hisi_ptt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 79 /* FIFO size for dynamically updating the PTT trace filter list. */ 81 /* Delay time for filter updating work */ 94 * struct hisi_ptt_tune_desc - Describe tune event for PTT tune 106 * struct hisi_ptt_dma_buffer - Describe a single trace buffer of PTT trace. 107 * The detail of the data format is described 118 * struct hisi_ptt_trace_ctrl - Control and status of PTT trace 119 * @trace_buf: array of the trace buffers for holding the trace data. 127 * @filter: filter value for tracing the TLP headers 139 u32 filter:16; member [all …]
|
/linux-6.12.1/drivers/media/dvb-core/ |
D | dmxdev.c | 1 // SPDX-License-Identifier: LGPL-2.1-or-later 3 * dmxdev.c - DVB demultiplexer device 41 if (!buf->data) in dvb_dmxdev_buffer_write() 47 return -EOVERFLOW; in dvb_dmxdev_buffer_write() 61 if (!src->data) in dvb_dmxdev_buffer_read() 64 if (src->error) { in dvb_dmxdev_buffer_read() 65 ret = src->error; in dvb_dmxdev_buffer_read() 70 for (todo = count; todo > 0; todo -= ret) { in dvb_dmxdev_buffer_read() 72 ret = -EWOULDBLOCK; in dvb_dmxdev_buffer_read() 76 ret = wait_event_interruptible(src->queue, in dvb_dmxdev_buffer_read() [all …]
|
/linux-6.12.1/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2010-2014 Imagination Technologies Ltd. 7 * This ties into the input subsystem using the RC-core. Protocol support is 18 #include <media/rc-core.h> 19 #include "img-ir.h" 59 * received any new data after an incomplete IR code is decoded. 68 if (range->max < range->min) in img_ir_timing_preprocess() 69 range->max = range->min; in img_ir_timing_preprocess() 72 range->min = (range->min*unit)/1000; in img_ir_timing_preprocess() 73 range->max = (range->max*unit + 999)/1000; /* round up */ in img_ir_timing_preprocess() [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/broadwellde/ |
D | uncore-interconnect.json | 111 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 116 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 121 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 126 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 131 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 136 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 146 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 151 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 156 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Requests", [all …]
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_llh.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2014-2019 aQuantia Corporation 5 * Copyright (C) 2019-2020 Marvell International Ltd. 34 /* get temperature sense data */ 173 /* set rx descriptor data buffer size */ 198 /* set rx descriptor write-back interrupt enable */ 256 /* set rx filter multicast filter mask register */ 260 /* set rx filter multicast filter register */ 262 u32 filter); 264 /* set rx filter rss control register 1 */ [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2023, Intel Corporation. */ 35 * ice_fltr_to_ethtool_flow - convert filter type values to ethtool 37 * @flow: filter type to be converted 69 * ice_ethtool_flow_to_fltr - convert ethtool flow type to filter enum 101 * ice_is_mask_valid - check mask field set 114 * ice_get_ethtool_fdir_entry - fill ethtool structure with fdir filter data 115 * @hw: hardware structure that contains filter list 116 * @cmd: ethtool command data structure to receive the filter data 118 * Returns 0 on success and -EINVAL on failure [all …]
|
/linux-6.12.1/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2015 - 2023 Beijing WangXun Technology Co., Ltd. */ 25 new_tx_count = clamp_t(u32, ring->tx_pending, WX_MIN_TXD, WX_MAX_TXD); in txgbe_set_ringparam() 28 new_rx_count = clamp_t(u32, ring->rx_pending, WX_MIN_RXD, WX_MAX_RXD); in txgbe_set_ringparam() 31 if (new_tx_count == wx->tx_ring_count && in txgbe_set_ringparam() 32 new_rx_count == wx->rx_ring_count) in txgbe_set_ringparam() 39 if (!netif_running(wx->netdev)) { in txgbe_set_ringparam() 40 for (i = 0; i < wx->num_tx_queues; i++) in txgbe_set_ringparam() 41 wx->tx_ring[i]->count = new_tx_count; in txgbe_set_ringparam() 42 for (i = 0; i < wx->num_rx_queues; i++) in txgbe_set_ringparam() [all …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -------- 11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>] 15 ----------- 17 from it, into perf.data - without displaying anything. 23 ------- 27 -e:: [all …]
|
/linux-6.12.1/include/uapi/linux/dvb/ |
D | dmx.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 22 * enum dmx_output - Output for the demux. 47 * enum dmx_input - Input from the demux. 49 * @DMX_IN_FRONTEND: Input from a front-end device. 58 * enum dmx_ts_pes - type of the PES filter. 125 * struct dmx_filter - Specifies a section header filter. 127 * @filter: bit array with bits to be matched at the section header. 128 * @mask: bits that are valid at the filter bit array. 135 __u8 filter[DMX_FILTER_SIZE]; member 141 * struct dmx_sct_filter_params - Specifies a section filter. [all …]
|
/linux-6.12.1/Documentation/trace/ |
D | hisi-ptt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 +--------------Core 0-------+ 25 | | [Root Port]---[Endpoint] 26 | | [Root Port]---[Endpoint] 27 | | [Root Port]---[Endpoint] 28 Root Complex |------Core 1-------+ 30 | | [Root Port]---[ Switch ]---[Endpoint] 31 | | [Root Port]---[Endpoint] `-[Endpoint] 32 | | [Root Port]---[Endpoint] 33 +---------------------------+ [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/b43/ |
D | phy_n.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* N-PHY registers. */ 18 #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */ 19 #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */ 20 #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */ 21 #define B43_NPHY_BIST_STAT0 B43_PHY_N(0x00E) /* Built-in self test status 0 */ 22 #define B43_NPHY_BIST_STAT1 B43_PHY_N(0x00F) /* Built-in self test status 1 */ 68 #define B43_NPHY_C1_FILTERGAIN B43_PHY_N(0x025) /* Core 1 filter gain */ 126 #define B43_NPHY_C2_FILTERGAIN B43_PHY_N(0x03B) /* Core 2 filter gain */ 144 #define B43_NPHY_DCFADDR B43_PHY_N(0x048) /* DC filter address */ [all …]
|
/linux-6.12.1/include/linux/ |
D | msi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * This header file contains MSI data structures and functions which are 8 * - Interrupt core code 9 * - PCI/MSI core code 10 * - MSI interrupt domain implementations 11 * - IOMMU, low level VFIO, NTB and other justified exceptions 43 u32 data; member 52 * msi_msg - Representation of a MSI message 58 * @data: MSI message data (usually 16 bits) 59 * @arch_data: Architecture specific shadow of @data [all …]
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2_llh.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 28 /* set l2 unicast filter tag */ 29 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 31 /* set l2 broadcast filter tag */ 38 /* Set VLAN filter tag */ 39 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 41 /* set tx random TC-queue mapping enable bit */ 51 /* set tx packet scheduler tc data max credit */ 56 /* set tx packet scheduler tc data weight */ 72 /* get data from firmware shared input buffer */ [all …]
|