/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | q_in_q_veto.sh | 2 # SPDX-License-Identifier: GPL-2.0 28 ip link set dev $swp1 up 29 ip link set dev $swp2 up 38 ip link set dev $swp2 down 39 ip link set dev $swp1 down 51 ip link set dev br0 addrgenmode none 53 ip link set dev br0 up 54 ip link set dev $swp1 master br0 58 check_fail $? "$netdev_proto vlan upper creation on top of an $bridge_proto bridge not rejected" 62 | grep -q mlxsw_spectrum [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-risc.c -- interfaces to other kernel modules 7 - memory management 8 - generation 10 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 25 #include <media/v4l2-ioctl.h> 31 /* ---------------------------------------------------------- */ 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 58 rp = risc->cpu; in bttv_risc_packed() 62 while (skip_lines-- > 0) { in bttv_risc_packed() [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 84 * timerlat_free_top - free runtime data 89 free(data->cpu_data); in timerlat_free_top() 94 * timerlat_alloc_histogram - alloc runtime data 105 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 107 /* one set of histograms per CPU */ in timerlat_alloc_top() 108 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 109 if (!data->cpu_data) in timerlat_alloc_top() 112 /* set the min to max */ in timerlat_alloc_top() 114 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top() [all …]
|
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * osnoise top parameters 73 * osnoise_free_top - free runtime data 78 free(data->cpu_data); in osnoise_free_top() 83 * osnoise_alloc_histogram - alloc runtime data 93 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 95 /* one set of histograms per CPU */ in osnoise_alloc_top() 96 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 97 if (!data->cpu_data) in osnoise_alloc_top() 108 * osnoise_top_handler - this is the handler for osnoise tracer events [all …]
|
H A D | osnoise.c | 1 // SPDX-License-Identifier: GPL-2.0 20 * osnoise_get_cpus - return the original "osnoise/cpus" content 26 if (context->curr_cpus) in osnoise_get_cpus() 27 return context->curr_cpus; in osnoise_get_cpus() 29 if (context->orig_cpus) in osnoise_get_cpus() 30 return context->orig_cpus; in osnoise_get_cpus() 32 context->orig_cpus = tracefs_instance_file_read(NULL, "osnoise/cpus", NULL); in osnoise_get_cpus() 38 return context->orig_cpus; in osnoise_get_cpus() 42 * osnoise_set_cpus - configure osnoise to run on *cpus 44 * "osnoise/cpus" file is used to set the cpus in which osnoise/timerlat [all …]
|
/linux/tools/perf/ |
H A D | builtin-top.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-top.c 5 * Builtin top command: Display a continuously updated profile of 24 #include "util/bpf-event.h" 39 #include "util/synthetic-events.h" 40 #include "util/top 95 perf_top__update_print_entries(struct perf_top * top) perf_top__update_print_entries() argument 105 perf_top__resize(struct perf_top * top) perf_top__resize() argument 111 perf_top__parse_source(struct perf_top * top,struct hist_entry * he) perf_top__parse_source() argument 197 perf_top__record_precise_ip(struct perf_top * top,struct hist_entry * he,struct perf_sample * sample,struct evsel * evsel,u64 ip) perf_top__record_precise_ip() argument 240 perf_top__show_details(struct perf_top * top) perf_top__show_details() argument 319 perf_top__print_sym_table(struct perf_top * top) perf_top__print_sym_table() argument 393 perf_top__prompt_symbol(struct perf_top * top,const char * msg) perf_top__prompt_symbol() argument 435 perf_top__print_mapped_keys(struct perf_top * top) perf_top__print_mapped_keys() argument 467 perf_top__key_mapped(struct perf_top * top,int c) perf_top__key_mapped() argument 491 perf_top__handle_keypress(struct perf_top * top,int c) perf_top__handle_keypress() argument 617 struct perf_top *top = arg; display_thread_tui() local 677 struct perf_top *top = arg; display_thread() local 731 struct perf_top *top = arg; hist_iter__top_callback() local 749 struct perf_top *top = container_of(tool, struct perf_top, tool); perf_event__process_sample() local 856 perf_top__process_lost(struct perf_top * top,union perf_event * event,struct evsel * evsel) perf_top__process_lost() argument 865 perf_top__process_lost_samples(struct perf_top * top,union perf_event * event,struct evsel * evsel) perf_top__process_lost_samples() argument 876 perf_top__mmap_read_idx(struct perf_top * top,int idx) perf_top__mmap_read_idx() argument 911 perf_top__mmap_read(struct perf_top * top) perf_top__mmap_read() argument 946 perf_top__overwrite_check(struct perf_top * top) perf_top__overwrite_check() argument 953 int set, overwrite = -1; perf_top__overwrite_check() local 991 perf_top_overwrite_fallback(struct perf_top * top,struct evsel * evsel) perf_top_overwrite_fallback() argument 1012 perf_top__start_counters(struct perf_top * top) perf_top__start_counters() argument 1089 rotate_queues(struct perf_top * top) rotate_queues() argument 1103 struct perf_top *top = arg; process_thread() local 1130 should_drop(struct ordered_event * qevent,struct perf_top * top) should_drop() argument 1145 struct perf_top *top = qe->data; deliver_event() local 1225 init_process_thread(struct perf_top * top) init_process_thread() argument 1236 exit_process_thread(struct perf_top * top) exit_process_thread() argument 1244 __cmd_top(struct perf_top * top) __cmd_top() argument 1424 struct perf_top *top = opt->value; parse_percent_limit() local 1436 struct perf_top top = { cmd_top() local [all...] |
/linux/include/media/ |
H A D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 38 * tuners. On those devices, the tuner set is done via 4 bytes: 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL 58 * multi-standard analog TV/Radio demodulator, with is 65 * @cb_first_if_lower_freq: Many Philips-based tuners have a comment in 76 * Set cb_first_if_lower_freq to 1, if this check [all …]
|
H A D | v4l2-rect.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * v4l2-rect.h - v4l2_rect helper functions 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 21 r->width = size->width; in v4l2_rect_set_size_to() 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 33 if (r->width < min_size->width) in v4l2_rect_set_min_size() 34 r->width = min_size->width; in v4l2_rect_set_min_size() 35 if (r->height < min_size->height) in v4l2_rect_set_min_size() [all …]
|
/linux/kernel/time/ |
H A D | timer_migration.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include "tick-internal.h" 34 * GRP0:0 - GRP0:2 GRP0:3 - GRP0:5 37 * CPUS 0-7 8-15 16-23 24-31 32-39 40-47 41 * ignore flag of events is set. 50 * no CPU is active, it also checks the groups where no migrator is set 66 * child, the ignore flag of the tmigr_event is set. This indicates, that 80 * duties up to the top level of the hierarchy (LVL2 in the example). It 86 * --------------- 96 * -------------- [all …]
|
/linux/Documentation/sound/designs/ |
H A D | channel-mapping-api.rst | 2 ALSA PCM channel-mapping API 38 the kernel/user-space ABI perspective. It uses only the existing 57 --- 61 ``type data-bytes ch0 ch1 ch2...`` 71 type is where pair-wise channels are swappable. For example, when you 88 /* this follows the alsa-lib mixer channel value + 3 */ 108 SNDRV_CHMAP_TC, /* top center */ 109 SNDRV_CHMAP_TFL, /* top front left */ 110 SNDRV_CHMAP_TFR, /* top front right */ 111 SNDRV_CHMAP_TFC, /* top front center */ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | selection-api-configuration.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 20 :ref:`constraint flags <v4l2-selection-flags>`. 26 See figure :ref:`sel-targets-capture` for examples of the selection 30 The range of coordinates of the top left corner, width and height of 32 target. It is recommended for the driver developers to put the top/left 36 The top left corner, width and height of the source rectangle, that is 45 driver writer considers the complete picture. Drivers shall set the 51 coordinates are expressed in pixels. The rectangle's top/left corner 53 the image size set by :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. 63 :ref:`constraint flags <v4l2-selection-flags>`. [all …]
|
H A D | dev-overlay.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 Video overlay devices have the ability to genlock (TV-)video into the 12 (VGA-)video signal of a graphics card, or to store captured images 48 Devices supporting the video overlay interface set the 62 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 76 set these parameters, respectively. The :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl is 77 privileged because it allows to set up DMA into physical memory, 80 supposed to run TV applications as root or with SUID bit set. A small 93 1. Chroma-keying displays the overlaid image only where pixels in the 98 the overlaid image. When the bit is set, the corresponding video [all …]
|
H A D | field-order.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _field-order: 29 combine to frames. We distinguish between top (aka odd) and bottom (aka 30 even) fields, the *spatial order*: The first line of the top field is 35 whether a frame commences with the top or bottom field is pointless. Any 36 two successive top and bottom, or bottom and top fields yield a valid 41 Counter to intuition the top field is not necessarily the older field. 42 Whether the older field contains the top or bottom lines is a convention 48 bus in the same order they were captured, so if the top field was 49 captured first (is the older field), the top field is also transmitted [all …]
|
/linux/arch/arm/mach-sti/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 34 Electronics family StiH415 parts, primarily targeted at set-top-box 43 Electronics family StiH416 parts, primarily targeted at set-top-box 53 Electronics family StiH407 parts, targetted at set-top-box
|
/linux/Documentation/tools/rtla/ |
H A D | rtla-osnoise-top.rst | 2 rtla-osnoise-top 4 ----------------------------------------------- 6 ----------------------------------------------- 12 **rtla osnoise top** [*OPTIONS*] 18 **rtla osnoise top** collects the periodic summary from the *osnoise* tracer, 20 displaying the results in a user-friendly format. 35 In the example below, the **rtla osnoise top** tool is set to run with a 36 real-time priority *FIFO:1*, on CPUs *0-3*, for *900ms* at each period 38 the rtla tool. The tool is also set to run for *one minute* and to display 41 [root@f34 ~]# rtla osnoise top -P F:1 -c 0-3 -r 900000 -d 1M -q [all …]
|
/linux/tools/tracing/rtla/tests/ |
H A D | timerlat.t | 2 # SPDX-License-Identifier: GPL-2.0 9 "timerlat --help" 10 check "verify -s/--stack" \ 11 "timerlat top -s 3 -T 10 -t" 12 check "verify -P/--priority" \ 13 "timerlat top -P F:1 -c 0 -d 1M -q" 15 "timerlat top -i 2 -c 0 -n -d 30s" 16 check "set the automatic trace mode" \ 17 "timerlat top -a 5 --dump-tasks" 18 check "print the auto-analysis if hits the stop tracing condition" \ [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | br_netfilter.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # setup is: ns1 <->,ns0 <-> ns3 10 # ns2 <-' `'-> ns4 14 checktool "nft --version" "run test without nft tool" 17 if [ "$t" -ne 0 ];then 37 if ! ip netns exec "$fromns" ping -c 1 -q "$dstip" > /dev/null; then 54 if ! ip netns exec "$fromns" ping -q -f -b -c 1 -q "$dstip" > /dev/null 2>&1; then 55 echo "ERROR: ping -b from $fromns to $dstip" 63 ip netns exec "$ns0" sysctl -q net.ipv4.conf.all.rp_filter=0 64 ip netns exec "$ns0" sysctl -q net.ipv4.conf.default.rp_filter=0 [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | pnic2.c | 5 Written/copyright 1994-2001 by Donald Becker. 15 /* Understanding the PNIC_II - everything is this file is based 24 * ----- 25 * Bit 24 - SCR 26 * Bit 23 - PCS 27 * Bit 22 - TTM (Trasmit Threshold Mode) 28 * Bit 18 - Port Select 29 * Bit 13 - Start - 1, Stop - 0 Transmissions 30 * Bit 11:10 - Loop Back Operation Mode 31 * Bit 9 - Full Duplex mode (Advertise 10BaseT-FD is CSR14<7> is set) [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_lwt_ip_encap.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # veth1 <---> veth2 veth3 <---> veth4 (the top route) 8 # veth5 <---> veth6 veth7 <---> veth8 (the bottom route) 18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route) 26 # 1. routes NS2->IPv*_DST are brought down, so the only way a ping 32 # ping: SRC->[encap at veth1:egress]->GRE:decap->DST 33 # ping replies go DST->SRC directly 38 # ping: SRC->[encap at veth2:ingress]->GRE:decap->DST 39 # ping replies go DST->SRC directly 42 if [[ $EUID -ne 0 ]]; then [all …]
|
/linux/Documentation/locking/ |
H A D | rt-mutex-design.rst | 2 RT-mutex implementation design 12 Documentation/locking/rt-mutex.rst. Although this document does explain problems 22 ---------------------------- 49 A ---+ 52 C +----+ 54 B +--------> 59 ------------------------- 74 ----------- 80 - The PI chain is an ordered series of locks and processes that cause 86 - In this document, to differentiate from locks that implement [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 9 /* forward-declare the HW struct for the compiler */ 17 * boundaries. If we do not have the width of the variable set to the correct 18 * size then we could end up shifting bits off the top of the variable when the 19 * variable is at the top of a byte and crosses over into the next byte. 44 u8 prefena; /* NOTE: normally must be set to 1 at init */ 50 * boundaries. If we do not have the width of the variable set to the correct 51 * size then we could end up shifting bits off the top of the variable when the 52 * variable is at the top of a byte and crosses over into the next byte.
|
/linux/arch/powerpc/mm/ |
H A D | pgtable_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * -- paulus 7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 44 for (; (s32)(FIXADDR_TOP - addr) > 0; in early_ioremap_init() 72 int err = -ENOME 101 __mapin_ram_chunk(unsigned long offset,unsigned long top) __mapin_ram_chunk() argument 124 phys_addr_t top = min(end, total_lowmem); mapin_ram() local [all...] |
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_top.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 31 * struct split_pipe_cfg - pipe configuration for dual display panels 47 * @mdp: top level status 56 * struct dpu_vsync_source_cfg - configure vsync source and configure the 78 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 87 * @mdp : mdp top context driver 95 * @mdp : mdp top context driver 102 * setup_clk_force_ctrl - set clock force control 103 * @mdp: mdp top context driver [all …]
|
/linux/tools/perf/util/ |
H A D | bpf_kwork_top.c | 1 // SPDX-License-Identifier: GPL-2.0 67 skel->bss->from_timestamp = (u64)ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; in perf_kwork__top_start() 68 skel->bss->enabled = 1; in perf_kwork__top_start() 69 pr_debug("perf kwork top start at: %lld\n", skel->bss->from_timestam in perf_kwork__top_start() [all...] |
/linux/drivers/md/bcache/ |
H A D | bset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * that it also filters out keys of size 0 - these are keys that have been 27 * them on disk, just unnecessary work - so we filter them out when resorting 31 * collection needs to find them to ensure bucket gens don't wrap around - 35 * front or the back of a bkey - this is mainly used for fixing overlapping 45 * 4 in memory - we lazily resort as needed. 48 * (described below) for searching an individial bset, and on top of that we 53 * Most of the code in bcache doesn't care about an individual bset - it needs 62 * Since keys are variable length, we can't use a binary search on a bset - we 68 * into the last (unwritten) set, most of the keys within a given btree node are [all …]
|