/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 …]
|
H A D | bttv-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv - Bt848 frame grabber driver 6 Copyright (C) 1996,97,98 Ralph Metzler <rjkm@thp.uni-koeln.de> 7 & Marcus Metzler <mocm@thp.uni-koeln.de> 8 (c) 1999-2002 Gerd Knorr <kraxel@bytesex.org> 14 (c) 2005-2006 Nickolay V. Shmyrev <nshmyrev@yandex.ru> 38 #include <media/v4l2-common.h> 39 #include <media/v4l2-ioctl.h> 40 #include <media/v4l2-event.h> 42 #include <media/drv-intf/msp3400.h> [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 50 * timerlat_free_top - free runtime data 55 free(data->cpu_data); in timerlat_free_top() 60 * timerlat_alloc_histogram - alloc runtime data 71 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 73 /* one set of histograms per CPU */ in timerlat_alloc_top() 74 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 75 if (!data->cpu_data) in timerlat_alloc_top() 78 /* set the min to max */ in timerlat_alloc_top() 80 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top() [all …]
|
H A D | osnoise.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * osnoise_get_cpus - return the original "osnoise/cpus" content 30 if (context->curr_cpus) in osnoise_get_cpus() 31 return context->curr_cpus; in osnoise_get_cpus() 33 if (context->orig_cpus) in osnoise_get_cpus() 34 return context->orig_cpus; in osnoise_get_cpus() 36 context->orig_cpus = tracefs_instance_file_read(NULL, "osnoise/cpus", NULL); in osnoise_get_cpus() 42 return context->orig_cpus; in osnoise_get_cpus() 46 * osnoise_set_cpus - configure osnoise to run on *cpus 48 * "osnoise/cpus" file is used to set the cpus in which osnoise/timerlat [all …]
|
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 38 * osnoise_free_top - free runtime data 43 free(data->cpu_data); in osnoise_free_top() 48 * osnoise_alloc_histogram - alloc runtime data 58 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 60 /* one set of histograms per CPU */ in osnoise_alloc_top() 61 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 62 if (!data->cpu_data) in osnoise_alloc_top() 73 * osnoise_top_handler - this is the handler for osnoise tracer events 84 int cpu = record->cpu; in osnoise_top_handler() [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/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" -n [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 |
|
/linux/tools/tracing/rtla/tests/ |
H A D | timerlat.t | 2 # SPDX-License-Identifier: GPL-2.0 9 if ldd $RTLA | grep libbpf >/dev/null && [ -d "$timerlat_sample_event" ] 22 "timerlat --help" 23 check "verify -s/--stack" \ 24 "timerlat top -s 3 -T 10 -t" 2 25 check "verify -P/--priority" \ 26 "timerlat top -P F:1 -c 0 -d 1M -q" 28 "timerlat top -i 2 -c 0 -n -d 30s" 2 29 check "set the automatic trace mode" \ 30 "timerlat top -a 5 --dump-tasks" 2 [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/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/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 …]
|
/linux/include/media/ |
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/arch/x86/math-emu/ |
H A D | fpu_tags.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 5 | Set FPU register tags. | 9 | E-mail billm@jacobi.maths.monash.edu.au | 12 +---------------------------------------------------------------------------*/ 20 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop() 21 top++; in FPU_pop() 26 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0() 31 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi() 41 int regnr = top; in FPU_settag0() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | iowait.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 15 set_bit(flag, &wait->flags); in iowait_set_flag() 20 return test_bit(flag, &wait->flags); in iowait_flag_set() 26 clear_bit(flag, &wait->flags); in iowait_clear_flag() 30 * iowait_init() - initialize wait structure 55 wait->count = 0; in iowait_init() 56 INIT_LIST_HEAD(&wait->list); in iowait_init() 57 init_waitqueue_head(&wait->wait_dma); in iowait_init() 58 init_waitqueue_head(&wait->wait_pio); in iowait_init() 59 atomic_set(&wait->sdma_busy, 0); in iowait_init() [all …]
|
/linux/Documentation/admin-guide/cifs/ |
H A D | winucase_convert.pl | 1 #!/usr/bin/perl -w 3 # winucase_convert.pl -- convert "Windows 8 Upper Case Mapping Table.txt" to 4 # a two-level set of C arrays. 28 $top[$firstchar][$secondchar] = $uppercase; 32 next if (!$top[$i]); 41 printf("0x%4.4x,", $top[$i][$j] ? $top[$i][$j] : 0); 50 } elsif ($top[$i]) { 56 if ($top[$i]) {
|