/linux-6.15/drivers/iio/ |
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-6.15/include/linux/iio/ |
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. 80 * struct iio_backend_ops - operations structure for an iio_backend 91 * @data_sample_trigger: Control when to sample data. 110 int (*enable)(struct iio_backend *back); 111 void (*disable)(struct iio_backend *back); 112 int (*chan_enable)(struct iio_backend *back, unsigned int chan); [all …]
|
/linux-6.15/drivers/iio/dac/ |
D | ad3552r-hs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Digital to Analog converter driver, High Speed version 20 #include "ad3552r-hs.h" 29 * access to both the regions. 31 * Due to the fact that ad3541/2r do not implement QSPI, for proper device 35 * DAC appropriately, together with the backend API to configure the bus mode 38 * Also, important to note that none of the three modes allow to read in DDR. 40 * In non-buffering operations, mode is set to simple SPI SDR for all primary 41 * and secondary region r/w accesses, to avoid to switch the mode each time DAC 42 * register is accessed (raw accesses, r/w), and to be able to dump registers [all …]
|
D | adi-axi-dac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2016-2024 Analog Devices Inc. 26 #include <linux/fpga/adi-axi-common.h> 28 #include <linux/iio/buffer-dmaengine.h> 32 #include "ad3552r-hs.h" 109 * lock to protect multiple accesses to the device registers and global 120 static int axi_dac_enable(struct iio_backend *back) in axi_dac_enable() argument 122 struct axi_dac_state *st = iio_backend_get_priv(back); in axi_dac_enable() 126 guard(mutex)(&st->lock); in axi_dac_enable() 127 ret = regmap_set_bits(st->regmap, AXI_DAC_RSTN_REG, in axi_dac_enable() [all …]
|
/linux-6.15/drivers/iio/adc/ |
D | adi-axi-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2012-2020 Analog Devices Inc. 23 #include <linux/fpga/adi-axi-common.h> 26 #include <linux/iio/buffer-dmaengine.h> 116 /* lock to protect multiple accesses to the device registers */ 120 static int axi_adc_enable(struct iio_backend *back) in axi_adc_enable() argument 122 struct adi_axi_adc_state *st = iio_backend_get_priv(back); in axi_adc_enable() 126 guard(mutex)(&st->lock); in axi_adc_enable() 127 ret = regmap_set_bits(st->regmap, ADI_AXI_REG_RSTN, in axi_adc_enable() 137 ret = regmap_read_poll_timeout(st->regmap, ADI_AXI_ADC_REG_DRP_STATUS, in axi_adc_enable() [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
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 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 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-6.15/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
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 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 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-6.15/tools/perf/pmu-events/arch/x86/graniterapids/ |
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 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 66 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 104 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 110 …er an interval where the front-end delivered no uops for a period of at least 1 cycle which was no… 115 …after an interval where the front-end delivered no uops for a period of 128 cycles which was not i… [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/alderlake/ |
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 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 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-6.15/tools/perf/pmu-events/arch/x86/meteorlake/ |
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 … 70 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 82 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 88 …ions retired that were tagged because empty issue slots were seen before the uop due to ITLB miss", [all …]
|
/linux-6.15/Documentation/ABI/testing/ |
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-6.15/Documentation/driver-api/md/ |
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-6.15/tools/perf/pmu-events/arch/x86/rocketlake/ |
D | frontend.json | 7 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 12 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 21 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 27 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 32 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 36 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 47 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 58 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/icelake/ |
D | frontend.json | 7 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 12 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 21 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 27 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 32 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 36 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 47 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 58 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/tigerlake/ |
D | frontend.json | 7 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 12 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 21 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 27 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 32 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 36 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 47 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 58 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/icelakex/ |
D | frontend.json | 7 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 12 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 16 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 21 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 27 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 32 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 36 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 47 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 58 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/linux-6.15/drivers/net/ethernet/intel/ice/ |
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 …]
|
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-6.15/include/uapi/linux/media/raspberrypi/ |
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 87 * We use the enable flags to show when blocks are "dirty", but we need some 97 * struct pisp_be_global_config - PiSP global enable bitmaps 111 * struct pisp_be_input_buffer_config - PiSP Back End input buffer 115 /* low 32 bits followed by high 32 bits (for each of up to 3 planes) */ 120 * struct pisp_be_dpc_config - PiSP Back End DPC config 138 * struct pisp_be_geq_config - PiSP Back End GEQ config 150 #define PISP_BE_GEQ_SLOPE ((1 << 10) - 1) [all …]
|
/linux-6.15/tools/perf/pmu-events/arch/x86/arrowlake/ |
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 … 80 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", [all …]
|
/linux-6.15/drivers/mmc/host/ |
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-6.15/tools/testing/selftests/bpf/benchs/ |
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-6.15/tools/perf/pmu-events/arch/x86/lunarlake/ |
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-6.15/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 35 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op() 54 nn->ktls_tx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 55 cnt = nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 56 nn->dp.ktls_tx = !!nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 59 nn->ktls_rx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 60 cnt = nn->ktls_rx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 63 /* Care only about 0 -> 1 and 1 -> 0 transitions */ in __nfp_net_tls_conn_cnt_changed() 77 /* Use the BAR lock to protect the connection counts */ in nfp_net_tls_conn_cnt_changed() 83 __nfp_net_tls_conn_cnt_changed(nn, -add, direction); in nfp_net_tls_conn_cnt_changed() [all …]
|
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
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 …]
|