| /linux/drivers/iio/ |
| H A D | industrialio-backend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Framework to handle complex IIO aggregate devices. 5 * The typical architecture is to have one device as the frontend device which 7 * userspace interface is expected to be registers/managed by the frontend 8 * device which will callback into the backends when needed (to get/set some 11 * ------------------------------------------------------- 12 * ------------------ | ------------ ------------ ------- FPGA| 13 * | ADC |------------------------| | ADC CORE |---------| DMA CORE |------| RAM | | 14 * | (Frontend/IIO) | Serial Data (eg: LVDS) | |(backend) |---------| |------| | | 15 * | |------------------------| ------------ ------------ ------- | [all …]
|
| /linux/include/linux/iio/ |
| H A D | backend.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * IIO_BACKEND_EX_INFO - Helper for an IIO extended channel attribute 34 * @_what: Data private to the driver 45 * struct iio_backend_data_fmt - Backend data format 47 * @sign_extend: Bool to tell if the data is sign extended. 88 * struct iio_backend_ops - operations structure for an iio_backend 100 * @data_sample_trigger: Control when to sample data. 122 int (*enable)(struct iio_backend *back); 123 void (*disable)(struct iio_backend *back); 124 int (*chan_enable)(struct iio_backend *back, unsigned int chan); [all …]
|
| /linux/drivers/iio/dac/ |
| H A D | ad3552r-hs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Digital to Analog converter driver, High Speed version 21 #include "ad3552r-hs.h" 30 * access to both the regions. 32 * Due to the fact that ad3541/2r do not implement QSPI, for proper device 36 * DAC appropriately, together with the backend API to configure the bus mode 39 * Also, important to note that none of the three modes allow to read in DDR. 41 * In non-buffering operations, mode is set to simple SPI SDR for all primary 42 * and secondary region r/w accesses, to avoid to switch the mode each time DAC 43 * register is accessed (raw accesses, r/w), and to be able to dump registers [all …]
|
| H A D | adi-axi-dac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2016-2024 Analog Devices Inc. 8 #include <linux/adi-axi-common.h> 28 #include <linux/iio/buffer-dmaengine.h> 32 #include "ad3552r-hs.h" 110 * lock to protect multiple accesses to the device registers and global 121 static int axi_dac_enable(struct iio_backend *back) in axi_dac_enable() argument 123 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_enable() 127 guard(mutex)(&st->lock); in axi_dac_enable() 128 ret = regmap_set_bits(st->regmap, AXI_DAC_RSTN_REG, in axi_dac_enable() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/alderlake/ |
| H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 7 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 13 "BriefDescription": "Clears due to Unknown Branches.", 17 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 27 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 42 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 46 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 58 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… 70 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 112 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | frontend.json | 3 "BriefDescription": "Clears due to Unknown Branches.", 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 33 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 44 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… 55 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 93 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 99 …er an interval where the front-end delivered no uops for a period of at least 1 cycle which was no… 104 …after an interval where the front-end delivered no uops for a period of 128 cycles which was not i… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | frontend.json | 3 "BriefDescription": "Clears due to Unknown Branches.", 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 33 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 44 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… 55 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 93 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 99 …er an interval where the front-end delivered no uops for a period of at least 1 cycle which was no… 104 …after an interval where the front-end delivered no uops for a period of 128 cycles which was not i… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
| H A D | frontend.json | 3 "BriefDescription": "Clears due to Unknown Branches.", 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 33 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 55 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… 69 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 116 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 122 …er an interval where the front-end delivered no uops for a period of at least 1 cycle which was no… 127 …after an interval where the front-end delivered no uops for a period of 128 cycles which was not i… [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 30 Size of the read-ahead window in kilobytes 32 (read-write) 38 total write-back cache that relates to its current average 39 writeout speed in relation to the other devices. 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average [all …]
|
| /linux/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 10 refer to mdadm manual for details. By default (RAID array starts), the cache is 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 19 In both modes, all writes to the array will hit cache disk first. This means 22 write-through mode [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
| H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 7 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 13 "BriefDescription": "Clears due to Unknown Branches.", 17 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 27 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 42 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 46 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 78 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… 84 …ired that are tagged after a branch instruction causes bubbles/empty issue slots due to a baclear", 93 …red that are tagged after a branch instruction causes bubbles /empty issue slots due to a btclear", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
| H A D | frontend.json | 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 12 "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]", 21 "BriefDescription": "Decode Stream Buffer (DSB)-to [all...] |
| /linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
| H A D | frontend.json | 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 12 "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]", 21 "BriefDescription": "Decode Stream Buffer (DSB)-to [all...] |
| /linux/tools/perf/pmu-events/arch/x86/icelake/ |
| H A D | frontend.json | 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 12 "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]", 21 "BriefDescription": "Decode Stream Buffer (DSB)-to [all...] |
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | frontend.json | 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 12 "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]", 21 "BriefDescription": "Decode Stream Buffer (DSB)-to [all...] |
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_fltr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 8 * ice_fltr_free_list - free filter lists helper 9 * @dev: pointer to the device struct 10 * @h: pointer to the list head to be freed 12 * Helper function to free filter lists previously created using 20 list_del(&e->list_entry); in ice_fltr_free_list() 26 * ice_fltr_add_entry_to_list - allocate and add filter entry to list 27 * @dev: pointer to device needed by alloc function 28 * @info: filter info struct that gets added to the passed in list [all …]
|
| H A D | ice_vsi_vlan_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2019-2021, Intel Corporation. */ 11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid() 12 ice_vsi_type_str(vsi->type), vsi->idx, tpid); in print_invalid_tpid() 16 * validate_vlan - check if the ice_vlan passed in is valid 18 * @vlan: ice_vlan structure to validate 21 * VID is 0, which allows for non-zero VLAN filters with the specified VLAN TPID 22 * and untagged VLAN 0 filters to be added to the prune list respectively. 26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan() 27 vlan->tpid != ETH_P_QINQ1 && (vlan->tpid || vlan->vid)) { in validate_vlan() [all …]
|
| /linux/include/uapi/linux/media/raspberrypi/ |
| H A D | pisp_be_config.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 3 * PiSP Back End configuration definitions. 5 * Copyright (C) 2021 - Raspberry Pi Ltd 88 * We use the enable flags to show when blocks are "dirty", but we need some 98 * struct pisp_be_global_config - PiS [all...] |
| /linux/tools/perf/pmu-events/arch/x86/pantherlake/ |
| H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 7 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 13 "BriefDescription": "Clears due to Unknown Branches.", 17 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 23 "BriefDescription": "Counts the number of BACLEARS due to a conditional jump.", 32 "BriefDescription": "Counts the number of BACLEARS due to an indirect branch.", 41 "BriefDescription": "Counts the number of BACLEARS due to a return branch.", 50 "BriefDescription": "Counts the number of BACLEARS due to a direct, unconditional jump.", 63 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 78 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-bcm-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mmc/slot-gpio.h> 16 #include "sdhci-pltfm.h" 43 struct mutex write_lock; /* protect back to back writes */ 52 /* This timeout should be sufficent for core to reset */ in sdhci_bcm_kona_sd_reset() 63 return -EFAULT; in sdhci_bcm_kona_sd_reset() 72 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_reset() 73 * Back-to-Back writes to same register needs delay when SD bus clock in sdhci_bcm_kona_sd_reset() 74 * is very low w.r.t AHB clock, mainly during boot-time and during card in sdhci_bcm_kona_sd_reset() 75 * insert-removal. in sdhci_bcm_kona_sd_reset() [all …]
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_ringbufs.sh | 5 set -eufo pipefail 7 RUN_RB_BENCH="$RUN_BENCH -c1" 9 header "Single-producer, parallel producer" 10 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 14 header "Single-producer, parallel producer, sampled notification" 15 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 16 summarize $b "$($RUN_RB_BENCH --rb-sampled $b)" 19 header "Single-producer, back-to-back mode" 20 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 21 summarize $b "$($RUN_RB_BENCH --rb-b2b $b)" [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/lunarlake/ |
| H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 7 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 13 "BriefDescription": "Clears due to Unknown Branches.", 17 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 23 "BriefDescription": "Counts the number of BACLEARS due to a conditional jump.", 32 "BriefDescription": "Counts the number of BACLEARS due to an indirect branch.", 41 "BriefDescription": "Counts the number of BACLEARS due to a return branch.", 50 "BriefDescription": "Counts the number of BACLEARS due to a direct, unconditional jump.", 63 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 78 …the number of times a decode restriction reduces the decode throughput due to wrong instruction le… [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 16 /* The status for pf to vf msg cmd is u16, constrainted by HW. in hclge_errno_to_resp() 17 * We need to keep the same type with it. in hclge_errno_to_resp() 18 * The intput errno is the stander error code, it's safely to in hclge_errno_to_resp() 19 * use a u16 to store the abs(errno). in hclge_errno_to_resp() 24 /* hclge_gen_resp_to_vf: used to generate a synchronous response to VF when PF 26 * @vport: pointer to struct hclge_vport 27 * @vf_to_pf_req: pointer to hclge_mbx_vf_to_pf_cmd of the original mailbox 29 * @resp_status: indicate to VF whether its request success(0) or failed. [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/arrowlake/ |
| H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 7 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 13 "BriefDescription": "Clears due to Unknown Branches.", 17 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 23 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 27 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 37 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 52 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 56 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 96 …ions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Availabl… [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | metafmt-pisp-be.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. _v4l2-meta-fmt-rpi-be-cfg: 9 Raspberry Pi PiSP Back End configuration format 12 The Raspberry Pi PiSP Back End memory-to-memory image signal processor is 14 to the `pispbe-config` output video device node using the 17 The PiSP Back End processes images in tiles, and its configuration requires 22 <https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>`_ 23 provide detailed description of the ISP back end configuration and programming 27 ------------------------- 30 to be processed and is therefore shared across all the tiles of the image. So [all …]
|