/linux/sound/pci/ice1712/ |
H A D | juli.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * supplied by external clock provided by Xilinx array and MK73-1 PLL frequency 42 * ice1724+ak4114-based cards, detects spdif input rate correctly. 46 * Juli uses the remaining three stereo-channels of its DAC to optionally 47 * monitor analog input, digital input, and digital output. The corresponding 53 * The card itself has no HW master volume control, implemented using the 120 * Initial setup of the conversion array GPIO <-> rate 163 * If SPDIF capture and slaved to SPDIF-IN, setting runtime rate 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 170 struct snd_pcm_runtime *runtime = substream->runtime; in juli_spdif_in_open() [all …]
|
H A D | quartet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 65 /* GPIO0 - O - DATA0, def. 0 */ 67 /* GPIO1 - I/O - DATA1, Jack Detect Input0 (0:present, 1:missing), def. 1 */ 69 /* GPIO2 - I/O - DATA2, Jack Detect Input1 (0:present, 1:missing), def. 1 */ 71 /* GPIO3 - I/O - DATA3, def. 1 */ 73 /* GPIO4 - I/O - DATA4, SPI CDTO, def. 1 */ 75 /* GPIO5 - I/O - DATA5, SPI CCLK, def. 1 */ 77 /* GPIO6 - I/O - DATA6, Cable Detect Input (0:detected, 1:not detected */ 79 /* GPIO7 - I/O - DATA7, Device Detect Input (0:detected, 1:not detected */ 81 /* GPIO8 - O - CPLD Chip Select, def. 1 */ [all …]
|
/linux/tools/power/cpupower/ |
H A D | TODO | 3 - Use bitmask functions to parse CPU topology more robust 5 - Try to read out boost states and frequencies on Intel 6 - Somewhere saw the ability to read power consumption of 7 RAM from HW on Intel SandyBridge -> another monitor? 8 - Add another c1e debug idle monitor 9 -> Is by design racy with BIOS, but could be added 10 with a --force option and some "be careful" messages 11 - Add cpu_start()/cpu_stop() callbacks for monitor 12 -> This is to move the per_cpu logic from inside the 13 monitor to outside it. This can be given higher [all …]
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "idle_monitor/cpupower-monitor.h" 56 if ((end.tv_nsec - start.tv_nsec) < 0) { in timespec_diff_us() 57 temp.tv_sec = end.tv_sec - start.tv_sec - 1; in timespec_diff_us() 58 temp.tv_nsec = 1000000000 + end.tv_nsec - start.tv_nsec; in timespec_diff_us() 60 temp.tv_sec = end.tv_sec - start.tv_sec; in timespec_diff_us() 61 temp.tv_nsec = end.tv_nsec - start.tv_nsec; in timespec_diff_us() 82 return -1; in fill_string_with_spaces() 102 fill_string_with_spaces(buf, topology_depth * 5 - 1); in print_header() 106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header() [all …]
|
/linux/net/bridge/ |
H A D | br_mrp_switchdev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 err = switchdev_port_obj_add(br->dev, obj, NULL); in br_mrp_switchdev_port_obj() 16 err = switchdev_port_obj_del(br->dev, obj); in br_mrp_switchdev_port_obj() 24 if (err != -EOPNOTSUPP) in br_mrp_switchdev_port_obj() 34 .obj.orig_dev = br->dev, in br_mrp_switchdev_add() 36 .p_port = rtnl_dereference(mrp->p_port)->dev, in br_mrp_switchdev_add() 37 .s_port = rtnl_dereference(mrp->s_port)->dev, in br_mrp_switchdev_add() 38 .ring_id = mrp->ring_id, in br_mrp_switchdev_add() 39 .prio = mrp->prio, in br_mrp_switchdev_add() 45 return switchdev_port_obj_add(br->dev, &mrp_obj.obj, NULL); in br_mrp_switchdev_add() [all …]
|
/linux/arch/powerpc/perf/ |
H A D | core-fsl-emb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Performance event support - Freescale Embedded Performance Monitor 5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation. 37 * Read one performance monitor counter (PMC). 166 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_read() 170 * Performance monitor interrupts come even when interrupts in fsl_emb_pmu_read() 171 * are soft-disabled, as long as interrupts are hard-enabled. in fsl_emb_pmu_read() 175 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read() 177 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read() 178 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in fsl_emb_pmu_read() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | feature.h | 1 // SPDX-License-Identifier: ISC 12 * MCHAN: multi-channel for concurrent P2P. 14 * WOWL: Wake-On-WLAN. 15 * P2P: peer-to-peer 25 * MONITOR: firmware can pass monitor packets to host. 26 * MONITOR_FLAG: firmware flags monitor packets. 27 * MONITOR_FMT_RADIOTAP: firmware provides monitor packets with radiotap header 28 * MONITOR_FMT_HW_RX_HDR: firmware provides monitor packets with hw/ucode header 50 BRCMF_FEAT_DEF(MONITOR) \ 95 * brcmf_feat_attach() - determine features and quirks. [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | mISDNipac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #define ReadISAC(is, o) (is->read_reg(is->dch.hw, o + is->off)) 28 #define WriteISAC(is, o, v) (is->write_reg(is->dch.hw, o + is->off, v)) 29 #define ReadHSCX(h, o) (h->ip->read_reg(h->ip->hw, h->off + o)) 30 #define WriteHSCX(h, o, v) (h->ip->write_reg(h->ip->hw, h->off + o, v)) 31 #define ReadIPAC(ip, o) (ip->read_reg(ip->hw, o)) 32 #define WriteIPAC(ip, o, v) (ip->write_reg(ip->hw, o, v)) 37 pr_debug("%s: ph_command %x\n", isac->name, command); in ph_command() 38 if (isac->type & IPAC_TYPE_ISACX) in ph_command() 47 switch (isac->state) { in isac_ph_state_change() [all …]
|
/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 13 #define pr_fmt(fmt) "hw-breakpoint: " fmt 151 /* We don't support the memory-mapped interface. */ in debug_arch_supported() 216 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps() 221 * we must be running in debug monitor mode. Unfortunately, we can 237 /* If monitor mode is already enabled, just return. */ in enable_monitor_mode() 257 return -ENODEV; in enable_monitor_mode() 263 pr_warn_once("Failed to enable monitor mode on CPU %d.\n", in enable_monitor_mode() 265 return -EPERM; in enable_monitor_mode() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 25 #include "wmi-tlv.h" 26 #include "wmi-ops.h" 100 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \ 135 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx() 136 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | txq.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2019-2021, 2023-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 17 * monitor mode. Note this queue is the same as the queue for P2P device 18 * but we can't have active monitor mode along with P2P device anyway. 22 * @IWL_MVM_DQA_MIN_MGMT_QUEUE: first TXQ in pool for MGMT and non-QOS frames. 80 * enum iwl_tx_queue_cfg_actions - TXQ config options 95 * struct iwl_tx_queue_cfg_cmd - txq hw scheduler config command 99 * @cb_size: size of TFD cyclic buffer. Value is exponent - 3. [all …]
|
/linux/Documentation/gpu/ |
H A D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 ----- 30 ------ 39 ------------------- 42 the monitor or fed into wb_layer and written to memory at the same time. 47 -------------------------- 52 ----------------------------- 54 requirements of the monitor. 57 -------------------------------- 62 ------ [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.h | 48 * Usage example, e.g. a three-bit field (bits 4-6): 52 * regval = R_REG(osh, ®s->regfoo); 55 * W_REG(osh, ®s->regfoo, regval); 58 (((unsigned)1 << (width)) - 1) 67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */ 76 #define BRCMS_SHORTSLOT_AUTO -1 /* Driver will manage Shortslot setting */ 91 #define TXFID_QUEUE_MASK 0x0007 /* Bits 0-2 */ 92 #define TXFID_SEQ_MASK 0x7FE0 /* Bits 5-15 */ 136 /* hold pll for radio monitor register checking */ 145 ((uint)((wlc)->band->bandunit ? BAND_2G_INDEX : BAND_5G_INDEX)) [all …]
|
/linux/Documentation/devicetree/bindings/devfreq/ |
H A D | nvidia,tegra30-actmon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/devfreq/nvidia,tegra30-actmon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra30 Activity Monitor 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 15 The activity monitor block collects statistics about the behaviour of other 23 - nvidia,tegra30-actmon [all …]
|
/linux/drivers/mfd/ |
H A D | ti-lmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/mfd/ti-lmu.h> 17 #include <linux/mfd/ti-lmu-register.h> 30 if (lmu->en_gpio) in ti_lmu_enable_hw() 31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw() 33 /* Delay about 1ms after HW enable pin control */ in ti_lmu_enable_hw() 36 /* LM3631 has additional power up sequence - enable LCD_EN bit. */ in ti_lmu_enable_hw() 38 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw() 49 if (lmu->en_gpio) in ti_lmu_disable_hw() 50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw() [all …]
|
/linux/Documentation/devicetree/bindings/arc/ |
H A D | pct.txt | 3 The ARC700 can be configured with a pipeline performance monitor for counting 8 * The ARC 700 PCT does not support interrupts; although HW events may be 9 counted, the HW events themselves cannot serve as a trigger for a sample. 13 - compatible : should contain 14 "snps,arc700-pct" 19 compatible = "snps,arc700-pct";
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass 39 - Channel 3+4 analogue - S/PDIF input switching [all …]
|
H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 16 As default, ALSA driver assigns the first PCM device (i.e. hw:0,0 for 18 (hw:0,1) is assigned to the second DAC for rear playback. 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack [all …]
|
/linux/drivers/vdpa/solidrun/ |
H A D | snet_hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2022-2023 SolidRun 7 * Author: Alvaro Karsz <alvaro.karsz@solid-run.com> 14 /* Monitor offsets */ 30 *out = psnet_read64(psnet, psnet->cfg.hwmon_off + reg); in snet_hwmon_read_reg() 59 ret = -EOPNOTSUPP; in snet_howmon_read() 71 ret = -EOPNOTSUPP; in snet_howmon_read() 88 ret = -EOPNOTSUPP; in snet_howmon_read() 105 ret = -EOPNOTSUPP; in snet_howmon_read() 115 ret = -EOPNOTSUPP; in snet_howmon_read() [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2007-2012 Solarflare Communications Inc. 91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87() 97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87() 108 board->hwmon_client = client; in ef4_init_lm87() 118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87() 123 struct i2c_client *client = falcon_board(efx)->hwmon_client; in ef4_check_lm87() 128 /* If link is up then do not monitor temperature */ in ef4_check_lm87() 129 if (EF4_WORKAROUND_7884(efx) && efx->link_state.up) in ef4_check_lm87() 161 netif_err(efx, hw, efx->net_dev, in ef4_check_lm87() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | fsl-diu-fb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Authors: Hongjun Chen <hong-jun.chen@freescale.com> 22 #include <linux/dma-mapping.h> 33 #include <linux/fsl-diu-fb.h> 38 /* HW cursor parameters */ 52 * order if increasing resolution and frequency. The 320x240-60 mode is 345 * struct fsl_diu_data - per-DIU data structure 350 * @monitor_port: the monitor port this DIU is connected to 353 * @dummy_aoi: video buffer for the 4x4 32-bit dummy AOI 363 * This data structure must be allocated with 32-byte alignment, so that the [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-tpda.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 13 TPDA - The trace performance monitoring and diagnostics aggregator or 17 and timestamping of Monitor data. 21 --------------------------- 25 --------------------------- 30 /sys/bus/coresight/devices # ls -l | grep tpd 31 tpda0 -> ../../../devices/platform/soc@0/6004000.tpda/tpda0 32 tpdm0 -> ../../../devices/platform/soc@0/6c08000.mm.tpdm/tpdm0 49 other trace event hw components in the same HW block with tpdm, tpdm [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | ahb.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 12 #include <linux/dma-mapping.h> 28 { .compatible = "qcom,ipq8074-wifi", 31 { .compatible = "qcom,ipq6018-wifi", 34 { .compatible = "qcom,wcn6750-wifi", 37 { .compatible = "qcom,ipq5018-wifi", 48 "misc-pulse1", 49 "misc-latch", [all …]
|
/linux/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * data_breakpoint.c - Sample HW Breakpoint file to watch kernel data address 28 MODULE_PARM_DESC(ksym, "Kernel symbol to monitor; this module will report any" 47 return -ENXIO; in hw_break_module_init() 60 printk(KERN_INFO "HW Breakpoint for %s write installed\n", ksym_name); in hw_break_module_init() 76 printk(KERN_INFO "HW Breakpoint for %s write uninstalled\n", ksym_name); in hw_break_module_exit()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-mei | 6 The mei/ class sub-directory belongs to mei device class 24 registers for BIOS and OS to monitor fw health. 90 The ME FW writes Glitch Detection HW (TRC) 92 for BIOS and OS to monitor fw health. 104 - mei: generic mei device. 105 - itouch: itouch (ipts) mei device.
|