/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | tablefilter.py | 6 # SPDX-License-Identifier: GPL-2.0-only 15 Stores a filter for a named field, and can retrieve the action 16 requested from the set of actions for that filter; 18 are returned in the JSON for the filter 38 Dump all filter actions as an object which can be JSON serialised; 44 # add the "all" pseudo-filter action, which just selects the whole 53 # add other filter actions 74 where date_from and date_to are Django-timezone-aware dates; then 80 # one of the values required for the filter is missing, so set 102 A filter action which displays in the filter popup for a ToasterTable [all …]
|
H A D | widgets.py | 6 # SPDX-License-Identifier: GPL-2.0-only 59 # map from field names to Filter instances 64 self.empty_state = "Sorry - no data found" 67 # prevent HTTP caching of table data 99 data = self.get_filter_info(request, **kwargs) 101 # If no cmd is specified we give you the table data 102 data = self.get_data(request, **kwargs) 104 return HttpResponse(data, content_type="application/json") 137 """Add a filter to the table. 140 table_filter: Filter instance [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | table.js | 6 throw "No url supplied for retreiving data"; 16 filter : null, property in tableInit.tableParams 38 var clearSearchElements = $('.remove-search-btn-'+ctx.tableName + 39 ', .show-all-'+ctx.tableName); 42 table.trigger("table-loading"); 47 data: tableParams, property in AnonymousClass170eed3b0101 48 headers: { 'X-CSRFToken' : $.cookie('csrftoken')}, 59 var pagination = $('#pagination-'+ctx.tableName); 61 var tableContainer = $("#table-container-"+ctx.tableName); 64 /* To avoid page re-layout flicker when paging set fixed height */ [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/ |
H A D | filtersnippet.html | 2 <!-- '{{f.class}}' filter --> 5 <div id="filter_{{f.class}}" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"> 6 <div class="modal-dialog"> 7 <div class="modal-content"> 10 <div class="modal-header"> 11 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button> 13 …<h3>Filter {{total_count}} {%if filter_search_display%}{{filter_search_display|title}}{%else%}{{ob… 15 …<h3>Filter {%if filter_search_display%}{{filter_search_display|title}}{%else%}{{objectname|title}}… 18 <div class="modal-body"> 22 …radio" name="filter" {%if request.GET.filter%}{{f.options|check_filter_status:request.GET.filter}}… [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A 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 …]
|
/openbmc/qemu/ui/ |
H A D | vnc-enc-tight.h | 6 * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved. 33 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 36 *-- The first byte of each Tight-encoded rectangle is a "compression control 43 * bits 7-4: if 1000 (0x08), then the compression type is "fill", 52 * bits 5-4: decimal representation is the index of a particular zlib 53 * stream which should be used for decompressing the data; 54 * bit 6: if 1, then a "filter id" byte is following this byte. 56 *-- The data that follows after the compression control byte described 59 *-- If the compression type is "fill", then the only pixel value follows, in 63 *-- If the compression type is "jpeg" or "png", the following data stream [all …]
|
/openbmc/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 …]
|
/openbmc/webui-vue/src/components/Global/ |
H A D | TableFilter.vue | 2 <div class="table-filter d-inline-block"> 3 <p class="d-inline-block mb-0"> 4 <b-badge v-for="(tag, index) in tags" :key="index" pill> 6 <b-button-close 8 :aria-hidden="true" 11 </b-badge> 13 <b-dropdown 15 no-caret 17 data-test-id="tableFilter-dropdown-options" 21 <template #button-content> [all …]
|
/openbmc/qemu/hw/net/can/ |
H A D | can_sja1000.c | 2 * CAN device - SJA1000 chip emulation for QEMU 4 * Copyright (c) 2013-2014 Jin Yang 5 * Copyright (c) 2014-2018 Pavel Pisa 54 s->mode &= ~0x31; in can_sja_software_reset() 55 s->mode |= 0x01; in can_sja_software_reset() 56 s->status_pel &= ~0x37; in can_sja_software_reset() 57 s->status_pel |= 0x34; in can_sja_software_reset() 59 s->rxbuf_start = 0x00; in can_sja_software_reset() 60 s->rxmsg_cnt = 0x00; in can_sja_software_reset() 61 s->rx_cnt = 0x00; in can_sja_software_reset() [all …]
|
/openbmc/linux/drivers/hwtracing/ptt/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/media/dvb-core/ |
H A 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 …]
|
/openbmc/openbmc-test-automation/gui/gui_test/hardware_status_menu/ |
H A D | test_sensors_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Sensors" sub-menu. 14 ${xpath_sensors_filter} //button[contains(text(),'Filter')] 15 ${xpath_sensors_search} //input[contains(@class,"search-input")] 16 ${xpath_filter_ok} //*[@data-test-id='tableFilter-checkbox-OK'] 17 ${xpath_filter_warning} //*[@data-test-id='tableFilter-checkbox-Warning'] 18 ${xpath_filter_critical} //*[@data-test-id='tableFilter-checkbox-Critical'] 19 ${xpath_filter_clear_all} //*[@data-test-id='tableFilter-button-clearAll'] 20 ${xpath_selected_severity} //*[@class="d-inline-block mb-0"] 60 Verify Sensors Filter From Server Health Clickable 61 [Documentation] Verify sensors filter from server health clickable [all …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-interconnect.json | 100 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 104 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 109 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 113 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 118 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 122 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 127 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 131 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 136 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 140 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Requests", [all …]
|
/openbmc/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 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 …]
|
/openbmc/qemu/qapi/ |
H A D | qom.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 8 { 'include': 'block-core.json' } 38 # @default-value: the default value, if any (since 5.0) 43 'data': { 'name': 'str', 46 '*default-value': 'any' } } 49 # @qom-list: 54 # @path: the path within the object model. See @qom-get for a 62 # .. qmp-example:: 64 # -> { "execute": "qom-list", [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A 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 …]
|