/Linux-v6.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-v6.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 38 * non-NULL, it means that the trigger requires further processing and 39 * shouldn't be unconditionally invoked. If rec is non-NULL and the 40 * trigger has a filter associated with it, rec will checked against [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> 71 return ev->ops == &trace_uprobe_ops; in is_trace_uprobe() 80 * for_each_trace_uprobe - iterate over the trace_uprobe list 103 return addr - (n * sizeof(long)); in adjust_stack_addr() 126 * Uprobes-specific fetch functions 133 return copy_from_user(dest, vaddr, size) ? -EFAULT : 0; in probe_mem_read() [all …]
|
D | trace_events_filter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_events_filter - generic event filtering 19 "### global filter ###\n" \ 87 #define PRED_FUNC_MAX (OP_BAND - PRED_FUNC_START) 103 C(INVALID_FILTER, "Meaningless filter expression"), \ 107 C(NO_FILTER, "No filter found") 131 * prog_entry - a singe entry in the filter program 143 * update_preds- assign a program entry a label target 172 pe->lasterr = err; in parse_error() 173 pe->lasterr_pos = pos; in parse_error() [all …]
|
/Linux-v6.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-v6.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-v6.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-v6.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * iavf_pkt_udp_no_pay_len - the length of UDP packet without payload 23 * @fltr: Flow Director filter data structure 28 (fltr->ip_ver == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in iavf_pkt_udp_no_pay_len() 33 * iavf_fill_fdir_gtpu_hdr - fill the GTP-U protocol header 34 * @fltr: Flow Director filter data structure 35 * @proto_hdrs: Flow Director protocol headers data structure 37 * Returns 0 if the GTP-U protocol header is set successfully 43 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_gtpu_hdr() 44 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr() [all …]
|
D | iavf_fdir.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* State of Flow Director filter */ 11 IAVF_FDIR_FLTR_ADD_REQUEST, /* User requests to add filter */ 12 IAVF_FDIR_FLTR_ADD_PENDING, /* Filter pending add by the PF */ 13 IAVF_FDIR_FLTR_DEL_REQUEST, /* User requests to delete filter */ 14 IAVF_FDIR_FLTR_DEL_PENDING, /* Filter pending delete by the PF */ 15 IAVF_FDIR_FLTR_ACTIVE, /* Filter is active */ 19 /* NONE - used for undef/error */ 34 /* MAX - this must be last and add anything new just above it */ 38 /* Must not exceed the array element number of '__be32 data[2]' in the ethtool [all …]
|
/Linux-v6.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-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 35 * ice_fltr_to_ethtool_flow - convert filter type values to ethtool 37 * @flow: filter type to be converted 67 * ice_ethtool_flow_to_fltr - convert ethtool flow type to filter enum 97 * ice_is_mask_valid - check mask field set 110 * ice_get_ethtool_fdir_entry - fill ethtool structure with fdir filter data 111 * @hw: hardware structure that contains filter list 112 * @cmd: ethtool command data structure to receive the filter data 114 * Returns 0 on success and -EINVAL on failure [all …]
|
/Linux-v6.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-v6.1/include/uapi/linux/dvb/ |
D | dmx.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 37 * enum dmx_output - Output for the demux. 62 * enum dmx_input - Input from the demux. 64 * @DMX_IN_FRONTEND: Input from a front-end device. 73 * enum dmx_ts_pes - type of the PES filter. 140 * struct dmx_filter - Specifies a section header filter. 142 * @filter: bit array with bits to be matched at the section header. 143 * @mask: bits that are valid at the filter bit array. 150 __u8 filter[DMX_FILTER_SIZE]; member [all …]
|
/Linux-v6.1/include/uapi/linux/ |
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 176 * enum rkisp1_cif_isp_version - ISP variants 211 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 221 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode [all …]
|
/Linux-v6.1/lib/xz/ |
D | xz_dec_bcj.c | 2 * Branch/Call/Jump (BCJ) filter decoders 5 * Igor Pavlov <https://7-zip.org/> 20 /* Type of the BCJ filter being used */ 22 BCJ_X86 = 4, /* x86 or x86-64 */ 31 * Return value of the next filter in the chain. We need to preserve 33 * filter anymore once it has returned XZ_STREAM_END. 37 /* True if we are operating in single-call mode. */ 42 * data (in a single .xz Block). We care only about the lowest 32 47 /* x86 filter state */ 56 /* Amount of already filtered data in the beginning of buf */ [all …]
|
/Linux-v6.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-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 83 if (c->log_mask & dpu_hw_util_log_mask) in dpu_reg_write() 86 writel_relaxed(val, c->blk_addr + reg_off); in dpu_reg_write() 91 return readl_relaxed(c->blk_addr + reg_off); in dpu_reg_read() 102 int i, j, filter; in _dpu_hw_setup_scaler3_lut() local 115 lut_flags = (unsigned long) scaler3_cfg->lut_flag; in _dpu_hw_setup_scaler3_lut() 117 (scaler3_cfg->dir_len == QSEED3_DIR_LUT_SIZE)) { in _dpu_hw_setup_scaler3_lut() 118 lut[0] = scaler3_cfg->dir_lut; in _dpu_hw_setup_scaler3_lut() 122 (scaler3_cfg->y_rgb_cir_lut_idx < QSEED3_CIRCULAR_LUTS) && in _dpu_hw_setup_scaler3_lut() [all …]
|
/Linux-v6.1/tools/perf/tests/shell/ |
D | test_brstack.sh | 4 # SPDX-License-Identifier: GPL-2.0 9 if ! [ -x "$(command -v cc)" ]; then 15 # and if the architecture doesn't support filter types: any,save_type,u 16 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then 17 echo "skip: system doesn't support filter types: any,save_type,u" 21 TMPDIR=$(mktemp -d /tmp/__perf_test.program.XXXXX) 24 rm -rf $TMPDIR 63 cc -fno-inline -g "$TEMPDIR/program.c" -o $TMPDIR/a.out 65 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- $TMPDIR/a.out > /dev/null 2>&1 66 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script [all …]
|
/Linux-v6.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-v6.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 …]
|
/Linux-v6.1/net/ncsi/ |
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-v6.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev_api.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 77 * In case of a crash kernel over PDA - this should be set to false. 105 /* NPAR tx switching to be used for vports for tx-switching */ 108 /* Binary fw data pointer in binary fw file */ 158 * @p_hwfn: HW device data. 187 * @p_hwfn: HW device data. 199 * @p_hwfn: HW device data. 204 * Should be called at the end of a flow - at the end of the function that [all …]
|
/Linux-v6.1/drivers/hwtracing/ptt/ |
D | hisi_ptt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 84 * struct hisi_ptt_tune_desc - Describe tune event for PTT tune 96 * struct hisi_ptt_dma_buffer - Describe a single trace buffer of PTT trace. 97 * The detail of the data format is described 108 * struct hisi_ptt_trace_ctrl - Control and status of PTT trace 109 * @trace_buf: array of the trace buffers for holding the trace data. 117 * @filter: filter value for tracing the TLP headers 129 u32 filter:16; member 135 * struct hisi_ptt_filter_desc - Descriptor of the PTT trace filter 136 * @list: entry of this descriptor in the filter list [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
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 …]
|