| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 38 #include <linux/filter.h> 62 /* The struct pid of the task whose filter triggered the notification */ 65 /* The "cookie" for this request; this is unique for this filter. */ 69 * The seccomp data. This pointer is valid the entire time this 73 const struct seccomp_data *data; member 103 * struct seccomp_kaddfd - container for seccomp_addfd ioctl messages [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/block/ |
| D | scsi_ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0 58 return jiffies_to_clock_t(q->sg_timeout); in sg_get_timeout() 66 q->sg_timeout = clock_t_to_jiffies(timeout); in sg_set_timeout() 82 int val = min_t(int, q->sg_reserved_size, max_sectors_bytes(q)); in sg_get_reserved_size() 95 return -EINVAL; in sg_set_reserved_size() 97 q->sg_reserved_size = min(size, max_sectors_bytes(q)); in sg_set_reserved_size() 110 static void blk_set_cmd_filter_defaults(struct blk_cmd_filter *filter) in blk_set_cmd_filter_defaults() argument 112 /* Basic read-only commands */ in blk_set_cmd_filter_defaults() 113 __set_bit(TEST_UNIT_READY, filter->read_ok); in blk_set_cmd_filter_defaults() 114 __set_bit(REQUEST_SENSE, filter->read_ok); in blk_set_cmd_filter_defaults() [all …]
|
| /kernel/linux/linux-6.6/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. */ 36 /* Instruction-Accurate PDIR (PDIR++) */ 48 * - Each perf counter is defined as "struct kvm_pmc"; 49 * - There are two types of perf counters: general purpose (gp) and fixed. 53 * - pmu.c understands the difference between gp counters and fixed counters. 54 * However AMD doesn't support fixed-counters; 55 * - There are three types of index to access perf counters (PMC): 58 * MSR_F15H_PERF_CTRn, where MSR_F15H_PERF_CTR[0-3] are [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 */ 78 /* FIFO size for dynamically updating the PTT trace filter list. */ 80 /* Delay time for filter updating work */ 93 * struct hisi_ptt_tune_desc - Describe tune event for PTT tune 105 * struct hisi_ptt_dma_buffer - Describe a single trace buffer of PTT trace. 106 * The detail of the data format is described 117 * struct hisi_ptt_trace_ctrl - Control and status of PTT trace 118 * @trace_buf: array of the trace buffers for holding the trace data. 126 * @filter: filter value for tracing the TLP headers 138 u32 filter:16; member [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-core/ |
| D | dmxdev.c | 2 * dmxdev.c - DVB demultiplexer device 51 if (!buf->data) in dvb_dmxdev_buffer_write() 57 return -EOVERFLOW; in dvb_dmxdev_buffer_write() 71 if (!src->data) in dvb_dmxdev_buffer_read() 74 if (src->error) { in dvb_dmxdev_buffer_read() 75 ret = src->error; in dvb_dmxdev_buffer_read() 80 for (todo = count; todo > 0; todo -= ret) { in dvb_dmxdev_buffer_read() 82 ret = -EWOULDBLOCK; in dvb_dmxdev_buffer_read() 86 ret = wait_event_interruptible(src->queue, in dvb_dmxdev_buffer_read() 88 (src->error != 0)); in dvb_dmxdev_buffer_read() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/ivytown/ |
| D | uncore-cache.json | 10 … "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)", 14 "Filter": "filter_state=0x1", string 31 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 35 "Filter": "filter_opc=0x182", string 42 …"BriefDescription": "LLC misses - Uncacheable reads. Derived from unc_c_tor_inserts.miss_opcode.un… 46 "Filter": "filter_opc=0x187", string 57 "Filter": "filter_opc=0x190", string 68 "Filter": "filter_opc=0x191", string 75 …"BriefDescription": "LLC prefetch misses for data reads. Derived from unc_c_tor_inserts.miss_opcod… 79 "Filter": "filter_opc=0x192", string [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/uapi/ |
| D | rkisp1-config.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 12 /* Vendor specific - used for RK_ISP1 camera sub-system */ 20 /* Sensor De-gamma */ 28 /* Filter */ 48 /* Denoise Pre-Filter */ 50 /* Denoise Pre-Filter Strength */ 118 * Denoising pre filter 152 * enum rkisp1_cif_isp_exp_ctrl_autostop - stop modes 162 * enum rkisp1_cif_isp_exp_meas_mode - Exposure measure mode 171 /*---------- PART1: Input Parameters ------------*/ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_ethtool_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 34 * ice_fltr_to_ethtool_flow - convert filter type values to ethtool 36 * @flow: filter type to be converted 66 * ice_ethtool_flow_to_fltr - convert ethtool flow type to filter enum 96 * ice_is_mask_valid - check mask field set 109 * ice_get_ethtool_fdir_entry - fill ethtool structure with fdir filter data 110 * @hw: hardware structure that contains filter list 111 * @cmd: ethtool command data structure to receive the filter data 113 * Returns 0 on success and -EINVAL on failure [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/jaketown/ |
| D | uncore-cache.json | 10 … "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)", 14 "Filter": "filter_state=0x1", string 31 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 35 "Filter": "filter_opc=0x182", string 42 …"BriefDescription": "LLC misses - Uncacheable reads. Derived from unc_c_tor_inserts.miss_opcode.un… 46 "Filter": "filter_opc=0x187", string 53 …"BriefDescription": "PCIe allocating writes that miss LLC - DDIO misses. Derived from unc_c_tor_in… 57 "Filter": "filter_opc=0x19c", string 68 "Filter": "filter_opc=0x1c8", string 79 "Filter": "filter_opc=0x18c", string [all …]
|
| /kernel/linux/linux-5.10/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 …]
|