/linux/drivers/net/ethernet/mscc/ |
H A 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/kernel/trace/ |
H A 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 …]
|
H A 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 93 __u64 *data); 96 __u64 *data); 101 return addr - (n * sizeof(long)); in adjust_stack_addr() [all …]
|
/linux/kernel/ |
H A 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/drivers/net/ethernet/intel/iavf/ |
H A 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 …]
|
H A 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/Documentation/admin-guide/perf/ |
H A 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 …]
|
H A 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/include/media/ |
H A 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 …]
|
H A 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/drivers/media/rc/img-ir/ |
H A 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/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A 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/drivers/net/ethernet/intel/ice/ |
H A 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/drivers/hwtracing/ptt/ |
H A 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/drivers/net/ethernet/wangxun/txgbe/ |
H A 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/tools/perf/Documentation/ |
H A D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -- [all...] |
/linux/include/uapi/linux/dvb/ |
H A 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/drivers/net/wireless/broadcom/b43/ |
H A 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/include/linux/ |
H A 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/include/uapi/linux/ |
H A D | rkisp1-config.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ 16 /* Sensor De-gamma */ 24 /* Filter */ 44 /* Denoise Pre-Filter */ 46 /* Denoise Pre-Filter Strength */ 129 /* 0-2 for sets 1-3 */ 162 * Denoising pre filter 181 * enum rkisp1_cif_isp_version - ISP variants 221 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 231 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode [all …]
|
/linux/net/ncsi/ |
H A D | ncsi-pkt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 unsigned char revision; /* NCSI version - 0x01 */ 94 /* Set VLAN Filter */ 110 unsigned char mode; /* VLAN filter mode */ 125 /* Enable Broadcast Filter */ 128 __be32 mode; /* Filter mode */ 133 /* Enable Global Multicast Filter */ 154 unsigned char data[]; /* OEM Payload Data */ member 161 unsigned char data[]; /* Payload data */ member 164 /* Mellanox Response Data */ [all …]
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 117 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \ 119 (((struct igc_adapter *)netdev_priv(netdev))->num_tx_queues * \ 126 "legacy-rx", 135 struct igc_hw *hw = &adapter->hw; in igc_ethtool_get_drvinfo() 139 strscpy(drvinfo->driver, igc_driver_name, sizeof(drvinfo->driver)); in igc_ethtool_get_drvinfo() 142 hw->nvm.ops.read(hw, IGC_NVM_DEV_STARTER, 1, &nvm_version); in igc_ethtool_get_drvinfo() 147 scnprintf(adapter->fw_version, in igc_ethtool_get_drvinfo() 148 sizeof(adapter->fw_version), in igc_ethtool_get_drvinfo() 153 strscpy(drvinfo->fw_version, adapter->fw_version, in igc_ethtool_get_drvinfo() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A 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 …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 96 if (c->log_mask & dpu_hw_util_log_mask) in dpu_reg_write() 99 writel_relaxed(val, c->blk_addr + reg_off); in dpu_reg_write() 104 return readl_relaxed(c->blk_addr + reg_off); in dpu_reg_read() 115 int i, j, filter; in _dpu_hw_setup_scaler3_lut() local 128 lut_flags = (unsigned long) scaler3_cfg->lut_flag; in _dpu_hw_setup_scaler3_lut() 130 (scaler3_cfg->dir_len == QSEED3_DIR_LUT_SIZE)) { in _dpu_hw_setup_scaler3_lut() 131 lut[0] = scaler3_cfg->dir_lut; in _dpu_hw_setup_scaler3_lut() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | pcu.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Matthew W. S. Bell <mentor@madwifi.org> 5 * Copyright (c) 2007-2008 Luis Rodriguez <mcgrof@winlab.rutgers.edu> 6 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org> 7 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 17 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 40 * - Buffering of RX and TX frames (after QCU/DCUs) 42 * - Encrypting and decrypting (using the built-in engine) 44 * - Generating ACKs, RTS/CTS frames [all …]
|