| /OK3568_Linux_fs/u-boot/drivers/power/power_delivery/ |
| 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 17 * for the current capability offered by the SRC. As FUSB302 chip fires 18 * the BC_LVL interrupt on PD signalings, cc lvl should be handled after 19 * a delay to avoid measuring on PD activities. The delay is slightly 20 * longer than PD_T_PD_DEBPUNCE (10-20ms). 81 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write() argument 86 ret = dm_i2c_write(chip->udev, address, &data, 1); in fusb302_i2c_write() 94 static int fusb302_i2c_block_write(struct fusb302_chip *chip, u8 address, in fusb302_i2c_block_write() argument [all …]
|
| /OK3568_Linux_fs/kernel/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). 93 /* lock for sharing chip states */ 96 /* chip status */ 128 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() argument [all …]
|
| H A D | tcpci_husb311.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Author: Wang Jie <dave.wang@rock-chips.com> 6 * Hynetek Husb311 Type-C Chip Driver 35 static int husb311_read8(struct husb311_chip *chip, unsigned int reg, u8 *val) in husb311_read8() argument 37 return regmap_raw_read(chip->data.regmap, reg, val, sizeof(u8)); in husb311_read8() 40 static int husb311_write8(struct husb311_chip *chip, unsigned int reg, u8 val) in husb311_write8() argument 42 return regmap_raw_write(chip->data.regmap, reg, &val, sizeof(u8)); in husb311_write8() 45 static int husb311_write16(struct husb311_chip *chip, unsigned int reg, u16 val) in husb311_write16() argument 47 return regmap_raw_write(chip->data.regmap, reg, &val, sizeof(u16)); in husb311_write16() 61 static int husb311_sw_reset(struct husb311_chip *chip) in husb311_sw_reset() argument [all …]
|
| H A D | tcpci_et7303.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Author: Wang Jie <dave.wang@rock-chips.com> 6 * Etek ET7303 Type-C Chip Driver 39 static int et7303_read16(struct et7303_chip *chip, unsigned int reg, u16 *val) in et7303_read16() argument 41 return regmap_raw_read(chip->data.regmap, reg, val, sizeof(u16)); in et7303_read16() 44 static int et7303_write16(struct et7303_chip *chip, unsigned int reg, u16 val) in et7303_write16() argument 46 return regmap_raw_write(chip->data.regmap, reg, &val, sizeof(u16)); in et7303_write16() 49 static int et7303_read8(struct et7303_chip *chip, unsigned int reg, u8 *val) in et7303_read8() argument 51 return regmap_raw_read(chip->data.regmap, reg, val, sizeof(u8)); in et7303_read8() 54 static int et7303_write8(struct et7303_chip *chip, unsigned int reg, u8 val) in et7303_write8() argument [all …]
|
| /OK3568_Linux_fs/kernel/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 43 depends on USB_XHCI_PCI_RENESAS || !USB_XHCI_PCI_RENESAS [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 depends on VIDEO_V4L2 5 depends on INPUT || INPUT=n 10 on the GSPCA framework. 12 See <file:Documentation/admin-guide/media/gspca-cardlist.rst> for more info. 29 depends on VIDEO_V4L2 && USB_GSPCA 38 depends on VIDEO_V4L2 && USB_GSPCA 40 Say Y here if you want support for cameras based on the Conexant chip. 47 depends on VIDEO_V4L2 && USB_GSPCA 49 Say Y here if you want support for USB cameras based on the cpia [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | i2c.h | 3 * Copyright (C) 2009 - 2013 Heiko Schocher <hs@denx.de> 9 * SPDX-License-Identifier: GPL-2.0+ 13 * AIRVENT SAM s.p.a - RIMINI(ITALY) 21 * For now there are essentially two parts to this file - driver model 29 DM_I2C_CHIP_10BIT = 1 << 0, /* Use 10-bit addressing */ 36 * struct dm_i2c_chip - information about an i2c chip 38 * An I2C chip is a device on the I2C bus. It sits at a particular address 39 * and normally supports 7-bit or 10-bit addressing. 42 * the chip to examine. 44 * @chip_addr: Chip address on bus [all …]
|
| H A D | spi.h | 2 * Common SPI Interface: Controller-specific definitions 7 * SPDX-License-Identifier: GPL-2.0+ 23 #define SPI_LSB_FIRST BIT(3) /* per-word bits-on-wire */ 44 * struct dm_spi_bus - SPI bus info 62 * struct dm_spi_platdata - platform data for all SPI slaves 66 * dev_get_parent_platdata(slave->dev). 71 * @cs: Chip select number (0..n-1) 82 * struct spi_slave - Representation of a SPI slave 84 * For driver model this is the per-child data used by the SPI bus. It can 85 * be accessed using dev_get_parent_priv() on the slave device. The SPI uclass [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regmap-irq.c | 1 // SPDX-License-Identifier: GPL-2.0 25 const struct regmap_irq_chip *chip; member 52 return &data->chip->irqs[irq]; in irq_to_regmap_irq() 59 mutex_lock(&d->lock); in regmap_irq_lock() 66 if (d->chip->mask_writeonly) in regmap_irq_update_bits() 67 return regmap_write_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 69 return regmap_update_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 75 struct regmap *map = d->map; in regmap_irq_sync_unlock() 81 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 82 ret = pm_runtime_get_sync(map->dev); in regmap_irq_sync_unlock() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2012 Avionic Design GmbH 12 #include <linux/radix-tree.h> 21 #include <dt-bindings/pwm/pwm.h> 46 return -EINVAL; in alloc_pwms() 55 return -EEXIST; in alloc_pwms() 58 return -ENOSPC; in alloc_pwms() 63 static void free_pwms(struct pwm_chip *chip) in free_pwms() argument 67 for (i = 0; i < chip->npwm; i++) { in free_pwms() 68 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | Kconfig | 12 ---help--- 22 USB controller based on the DesignWare USB3 IP Core. 26 depends on DM_USB 30 USB controller based on the DesignWare USB3 IP Core. 35 depends on ARCH_MVEBU 38 Choose this option to add support for USB 3.0 driver on mvebu 43 bool "Support for PCI-based xHCI USB controller" 44 depends on DM_USB 47 Enables support for the PCI-based xHCI controller. 52 depends on ARCH_RMOBILE [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/powerpc/power8/ |
| 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 | 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 | 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/interconnect/qcom/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Qualcomm Network-on-Chip interconnect drivers" 4 depends on ARCH_QCOM 6 Support for Qualcomm's Network-on-Chip interconnect hardware. 13 depends on INTERCONNECT_QCOM 14 depends on QCOM_SMD_RPM 17 This is a driver for the Qualcomm Network-on-Chip on msm8916-based 22 depends on INTERCONNECT_QCOM 23 depends on QCOM_SMD_RPM 26 This is a driver for the Qualcomm Network-on-Chip on msm8974-based [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 30 * Chained handlers should never call action on their IRQ. This default 38 * irq_set_chip - set the irq chip for an irq 40 * @chip: pointer to irq chip description structure 42 int irq_set_chip(unsigned int irq, struct irq_chip *chip) in irq_set_chip() argument 48 return -EINVAL; in irq_set_chip() [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 depends on !S390 && !UML 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 84 backed) storage present on RTCs. 90 depends on SYSFS [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/qcom/ |
| H A D | qcom-spmi-temp-alarm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2015, 2017, 2020, The Linux Foundation. All rights reserved. 42 * Trip point values based on threshold control 75 /* protects .thresh, .stage and chip registers */ 85 static int qpnp_tm_read(struct qpnp_tm_chip *chip, u16 addr, u8 *data) in qpnp_tm_read() argument 90 ret = regmap_read(chip->map, chip->base + addr, &val); in qpnp_tm_read() 98 static int qpnp_tm_write(struct qpnp_tm_chip *chip, u16 addr, u8 data) in qpnp_tm_write() argument 100 return regmap_write(chip->map, chip->base + addr, data); in qpnp_tm_write() 104 * qpnp_tm_get_temp_stage() - return over-temperature stage 105 * @chip: Pointer to the qpnp_tm chip [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | atiixp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 33 static int ac97_codec = -1; 46 MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link."); 144 #define ATI_REG_OUT_DMA_SLOT_BIT(x) (1U << ((x) - 3)) 170 #define ATI_REG_6CH_REORDER_EN (1U<<0) /* 3,4,7,8,6,9 -> 3,4,6,9,7,8 */ 220 void (*enable_dma)(struct atiixp *chip, int on); 222 void (*enable_transfer)(struct atiixp *chip, int on); 224 void (*flush_dma)(struct atiixp *chip); 240 int ac97_pcm_type; /* index # of ac97_pcm to access, -1 = not used */ [all …]
|