/linux/drivers/usb/typec/tcpm/ |
H A D | fusb302.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2016-2017 Google, Inc 5 * Fairchild FUSB302 Type-C Chip Driver 38 * for the current capability offered by the SRC. As FUSB302 chip fires 39 * the BC_LVL interrupt on PD signalings, cc lvl should be handled after 40 * a delay to avoid measuring on PD activities. The delay is slightly 41 * longer than PD_T_PD_DEBPUNCE (10-20ms). 92 /* lock for sharing chip states */ 95 /* chip status */ 127 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() argument [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 depends on VIDEO_DEV 5 depends on INPUT || INPUT=n 9 on the GSPCA framework. 11 See <file:Documentation/admin-guide/media/gspca-cardlist.rst> for more info. 23 depends on VIDEO_DEV && USB_GSPCA 32 depends on VIDEO_DEV && USB_GSPCA 34 Say Y here if you want support for cameras based on the Conexant chip. 41 depends on VIDEO_DEV && USB_GSPCA 43 Say Y here if you want support for USB cameras based on the cpia [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-pca9685.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for PCA9685 16-channel 12-bit PWM LED controller 8 * based on the pwm-twl-led.c driver 26 * Because the PCA9685 has only one prescaler per chip, only the first channel 88 static inline struct pca9685 *to_pca(struct pwm_chip *chip) in to_pca() argument 90 return pwmchip_get_drvdata(chip); in to_pca() 97 if (bitmap_empty(pca->pwms_enabled, PCA9685_MAXCHAN + 1)) in pca9685_prescaler_can_change() 100 if (bitmap_weight(pca->pwms_enabled, PCA9685_MAXCHAN + 1) > 1) in pca9685_prescaler_can_change() 106 return test_bit(channel, pca->pwms_enabled); in pca9685_prescaler_can_change() 109 static int pca9685_read_reg(struct pwm_chip *chip, unsigned int reg, unsigned int *val) in pca9685_read_reg() argument [all …]
|
H A D | pwm-adp5585.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2024 Ideas on Board Oy 9 * - The .apply() operation executes atomically, but may not wait for the 11 * - Disabling the PWM drives the output pin to a low level immediately. 12 * - The hardware can only generate normal polarity output. 35 static int pwm_adp5585_request(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_adp5585_request() argument 37 struct regmap *regmap = pwmchip_get_drvdata(chip); in pwm_adp5585_request() 45 static void pwm_adp5585_free(struct pwm_chip *chip, struct pwm_device *pwm) in pwm_adp5585_free() argument 47 struct regmap *regmap = pwmchip_get_drvdata(chip); in pwm_adp5585_free() 54 static int pwm_adp5585_apply(struct pwm_chip *chip, in pwm_adp5585_apply() argument [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power10/ |
H A D | datasource.json | 10 …er this event counted only cacheable loads but in P10 both cacheable and non-cacheable loads are i… 40 …"All successful D-Side Load dispatches for this thread that missed in the L2. Since the event happ… 45 …All successful D-Side Store dispatches for this thread that missed in the L2. Since the event happ… 50 … "All successful D-side store dispatches for this thread that were L2 hits. Since the event happen… 55 … missed in the L2. Since the event happens in a 2:1 clock domain and is time-sliced across all 4 t… 120 …or's L1 data cache was reloaded with data that had a dispatch conflict on ld-hit-store from the lo… 125 …or's L1 data cache was reloaded with data that had a dispatch conflict on ld-hit-store from the lo… 130 …ta cache was reloaded with data that had a dispatch conflict other than ld-hit-store from the loca… 135 …ta cache was reloaded with data that had a dispatch conflict other than ld-hit-store from the loca… 230 …line that was not in the M (exclusive) state from another core's L2 on the same chip in the same r… [all …]
|
/linux/drivers/usb/host/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 depends on HAS_IOMEM 11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role 14 Enable this option to support this chip in host controller mode. 22 depends on HAS_DMA && HAS_IOMEM 28 module will be called xhci-hcd. 33 depends on TTY 37 you want a TTY serial device based on the xHCI debug capability 42 depends on USB_PCI 47 depends on USB_XHCI_PCI [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_micron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 * corrected by on-die ECC and should be rewritten. 20 * On chips with 8-bit ECC and additional bit can be used to distinguish 24 * ----- ----- ----- ----------- 27 * 0 1 0 4 - 6 errors corrected, recommend rewrite 29 * 1 0 0 1 - 3 errors corrected 31 * 1 1 0 7 - 8 errors corrected, recommend rewrite 69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry() argument 73 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in micron_nand_setup_read_retry() [all …]
|
/linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
H A D | extended.json | 3 "Unit": "CPU-M-CF", 6 "BriefDescription": "L1D Read-only Exclusive Writes", 7 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a … 10 "Unit": "CPU-M-CF", 14 …) and the request was made by the Level-1 Data cache. This is a replacement for what was provided … 17 "Unit": "CPU-M-CF", 21 …-1 Data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on th… 24 "Unit": "CPU-M-CF", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 31 "Unit": "CPU-M-CF", [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | frontend.json | 47 "BriefDescription": "Number of I-ERAT reloads", 59 "BriefDescription": "IERAT Miss (Not implemented as DI on POWER6)", 71 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for an instru… 72 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum… 89 …oaded with Modified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), … 90 …oaded with Modified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), … 95 …eloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Group (Distant), … 96 …eloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Group (Distant), … 101 …"BriefDescription": "The processor's Instruction cache was reloaded from another chip's L4 on a di… 102 …"PublicDescription": "The processor's Instruction cache was reloaded from another chip's L4 on a d… [all …]
|
H A D | other.json | 11 …"BriefDescription": "Cycles in 2-lpar mode. Threads 0-3 belong to Lpar0 and threads 4-7 belong to … 17 …cles in 4 LPAR mode. Threads 0-1 belong to lpar0, threads 2-3 belong to lpar1, threads 4-5 belong … 23 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for all data … 24 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum… 36 … got data from source that was at smaller scope(Chip) Final pump was group pump and initial pump w… 41 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a… 42 …urced, ended up larger than Initial Pump Scope (Chip) Final pump was group pump and initial pump w… 65 …ump Scope (system) mispredicted. Either the original scope was too small (Chip/Group) or the origi… 66 …(Chip/Group) OR Final Pump Scope(system) got data from source that was at smaller scope(Chip/group… 71 …"BriefDescription": "Final Pump Scope (system) ended up larger than Initial Pump Scope (Chip/Group… [all …]
|
H A D | cache.json | 5 …oaded with Modified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), … 6 …oaded with Modified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), … 11 …eloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Group (Distant), … 12 …eloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Group (Distant), … 17 …"BriefDescription": "The processor's data cache was reloaded from another chip's L4 on a different… 18 …"PublicDescription": "The processor's data cache was reloaded from another chip's L4 on a differen… 29 "BriefDescription": "Demand LD - L2 Miss (not L2 hit)", 53 …ata cache was reloaded from local core's L2 hit without dispatch conflicts on Mepf state due to a … 54 …ata cache was reloaded from local core's L2 hit without dispatch conflicts on Mepf state due to ei… 71 "BriefDescription": "Demand LD - L3 Miss (not L2 hit and not L3 hit)", [all …]
|
/linux/drivers/hte/ |
H A D | hte.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 NVIDIA Corporation 32 * struct hte_ts_info - Information related to requested timestamp. 71 * struct hte_device - HTE abstract device 77 * @chip: HTE chip providing this HTE device. 87 struct hte_chip *chip; member 107 const struct hte_chip *chip = gdev->chip; in hte_chip_dbgfs_init() local 108 const char *name = chip->name ? chip->name : dev_name(chip->dev); in hte_chip_dbgfs_init() 110 gdev->dbg_root = debugfs_create_dir(name, hte_root); in hte_chip_dbgfs_init() 112 debugfs_create_atomic_t("ts_requested", 0444, gdev->dbg_root, in hte_chip_dbgfs_init() [all …]
|
/linux/sound/pci/echoaudio/ |
H A D | echo3g_dsp.c | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 31 static int load_asic(struct echoaudio *chip); 32 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode); 33 static int set_digital_mode(struct echoaudio *chip, u8 mode); 34 static int check_asic_status(struct echoaudio *chip); 35 static int set_sample_rate(struct echoaudio *chip, u32 rate); 36 static int set_input_clock(struct echoaudio *chip, u16 clock); [all …]
|
/linux/sound/soc/mediatek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate "ASoC support for Mediatek MT2701 chip" 8 depends on ARCH_MEDIATEK 18 depends on SND_SOC_MT2701 && I2C 29 depends on SND_SOC_MT2701 && I2C 38 tristate "ASoC support for Mediatek MT6797 chip" 39 depends on ARCH_MEDIATEK 49 depends on SND_SOC_MT6797 && MTK_PMIC_WRAP 58 tristate "ASoC support for Mediatek MT7986 chip" 59 depends on ARCH_MEDIATEK [all …]
|
/linux/drivers/base/regmap/ |
H A D | regmap-irq.c | 1 // SPDX-License-Identifier: GPL-2.0 25 const struct regmap_irq_chip *chip; member 55 return &data->chip->irqs[irq]; in irq_to_regmap_irq() 60 struct regmap *map = data->map; in regmap_irq_can_bulk_read_status() 63 * While possible that a user-defined ->get_irq_reg() callback might in regmap_irq_can_bulk_read_status() 67 return data->irq_reg_stride == 1 && map->reg_stride == 1 && in regmap_irq_can_bulk_read_status() 68 data->get_irq_reg == regmap_irq_get_irq_reg_linear && in regmap_irq_can_bulk_read_status() 69 !map->use_single_read; in regmap_irq_can_bulk_read_status() 76 mutex_lock(&d->lock); in regmap_irq_lock() 82 struct regmap *map = d->map; in regmap_irq_sync_unlock() [all …]
|
/linux/drivers/mtd/maps/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Mapping drivers for chip access" 3 depends on MTD!=n 4 depends on HAS_IOMEM 7 bool "Support non-linear mappings of flash chips" 9 This causes the chip drivers to allow for complicated 14 depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_RAM || MTD_LPDDR 19 the physical address and size of the flash chips on your 21 with config options or at run-time. 28 depends on MTD_PHYSMAP [all …]
|
/linux/kernel/irq/ |
H A D | chip.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar 4 * Copyright (C) 2005-2006, Thomas Gleixner, Russell King 6 * This file contains the core interrupt handling code, for irq-chip based 8 * Documentation/core-api/genericirq.rst 29 * Chained handlers should never call action on their IRQ. This default 37 * irq_set_chip - set the irq chip for an irq 39 * @chip: pointer to irq chip description structure 41 int irq_set_chip(unsigned int irq, const struct irq_chip *chip) in irq_set_chip() argument 47 return -EINVAL; in irq_set_chip() [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 depends on MISDN 10 depends on PCI 12 Enable support for cards with Cologne Chip AG's 13 HFC PCI chip. 16 tristate "Support for HFC multiport cards (HFC-4S/8S/E1)" 17 depends on (PCI || CPM1) && HAS_IOPORT 18 depends on MISDN 20 Enable support for cards with Cologne Chip AG's HFC multiport 21 chip. There are three types of chips that are quite similar, [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power9/ |
H A D | translation.json | 15 …data cache was reloaded with Shared (S) data from another core's L2 on the same chip due to a dema… 20 "BriefDescription": "Double-Precion or Quad-Precision instruction completed" 25 …"BriefDescription": "A Page Table Entry was loaded into the TLB from another chip's memory on the … 35 …o the TLB with Shared (S) data from another chip's L2 or L3 on the same Node or Group (Remote), as… 60 …the TLB with Shared (S) data from another chip's L2 or L3 on a different Node or Group (Distant), … 75 …to the TLB either shared or modified data from another core's L2/L3 on the same chip due to a inst… 80 …tion cache was reloaded with Shared (S) data from another core's L2 on the same chip due to an ins… 95 …ta cache was reloaded with Modified (M) data from another core's L2 on the same chip due to a dema… 100 …"BriefDescription": "A Page Table Entry was loaded into the TLB from another chip's L4 on the same… 130 "BriefDescription": "Demand LD - L2 Miss (not L2 hit)" [all …]
|
/linux/drivers/leds/ |
H A D | leds-an30259a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Driver for Panasonic AN30259A 3-channel LED driver 24 #define AN30259A_LED_EN(x) BIT((x) - 1) 25 #define AN30259A_LED_SLOPE(x) BIT(((x) - 1) + 4) 27 #define AN30259A_REG_LEDCC(x) (0x03 + ((x) - 1)) 30 #define AN30259A_REG_SLOPE(x) (0x06 + ((x) - 1)) 34 #define AN30259A_REG_LEDCNT1(x) (0x09 + (4 * ((x) - 1))) 38 #define AN30259A_REG_LEDCNT2(x) (0x0A + (4 * ((x) - 1))) 43 #define AN30259A_REG_LEDCNT3(x) (0x0B + (4 * ((x) - 1))) 47 #define AN30259A_REG_LEDCNT4(x) (0x0C + (4 * ((x) - 1))) [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 # This library does not depend on NEW_LEDS and must be independent so it can be 13 depends on GPIOLIB 31 depends on LEDS_CLASS 41 depends on LEDS_CLASS 51 depends on LEDS_CLASS 56 See Documentation/ABI/testing/sysfs-class-led for details. 62 depends on LEDS_CLASS 63 depends on MFD_88PM860X 65 This option enables support for on-chip LED drivers found on Marvell [all …]
|
/linux/drivers/leds/rgb/ |
H A D | leds-ktd202x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Datasheet: https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf 11 #include <linux/led-class-multicolor.h> 50 /* Register 2-3 */ 63 /* Register 6-9 */ 88 struct ktd202x *chip; member 106 static int ktd202x_chip_disable(struct ktd202x *chip) in ktd202x_chip_disable() argument 110 if (!chip->enabled) in ktd202x_chip_disable() 113 regmap_write(chip->regmap, KTD202X_REG_RESET_CONTROL, KTD202X_ENABLE_CTRL_SLEEP); in ktd202x_chip_disable() 115 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), chip->regulators); in ktd202x_chip_disable() [all …]
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | smi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include "chip.h" 13 /* The switch ADDR[4:1] configuration pins define the chip SMI device address 16 * When ADDR is all zero, the chip uses Single-chip Addressing Mode, assuming it 20 * When ADDR is non-zero, the chip uses Multi-chip Addressing Mode, allowing 26 * addresses, allowing two to coexist on the same SMI interface. 29 static int mv88e6xxx_smi_direct_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_smi_direct_read() argument 34 ret = mdiobus_read_nested(chip->bus, dev, reg); in mv88e6xxx_smi_direct_read() 43 static int mv88e6xxx_smi_direct_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_smi_direct_write() argument 48 ret = mdiobus_write_nested(chip->bus, dev, reg, data); in mv88e6xxx_smi_direct_write() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-zynqmp-modepin.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the ps-mode pin configuration. 16 #include <linux/firmware/xlnx-zynqmp.h> 18 /* 4-bit boot mode pins */ 22 * modepin_gpio_get_value - Get the state of the specified pin of GPIO device 23 * @chip: gpio_chip instance to be worked on 28 * Return: 0 if the pin is low, 1 if pin is high, -EINVAL wrong pin configured 31 static int modepin_gpio_get_value(struct gpio_chip *chip, unsigned int pin) in modepin_gpio_get_value() argument 50 * modepin_gpio_set_value - Modify the state of the pin with specified value 51 * @chip: gpio_chip instance to be worked on [all …]
|
/linux/drivers/rtc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 depends on !S390 26 bool "Set system time from RTC on startup and resume" 35 depends on RTC_HCTOSYS 44 This clock should be battery-backed, so that it reads the correct 45 time when the system boots from a power-off state. Otherwise, your 54 bool "Set the RTC time based on NTP synchronization" 63 depends on RTC_SYSTOHC 80 depends on KUNIT 93 backed) storage present on RTCs. [all …]
|