| /kernel/linux/linux-6.6/drivers/dma/qcom/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config QCOM_ADM 11 and on-chip peripheral devices. 13 config QCOM_BAM_DMA 20 provides DMA capabilities for a variety of on-chip devices. 22 config QCOM_GPI_DMA 23 tristate "Qualcomm Technologies GPI DMA support" 28 Enable support for the QCOM GPI DMA controller. This controller 30 as I2C, UART, and SPI. By using GPI dmaengine driver, bus drivers 34 config QCOM_HIDMA_MGMT [all …]
|
| D | gpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 9 #include <linux/dma-mapping.h> 14 #include <linux/dma/qcom-gpi-dma.h> 18 #include "../virt-dma.h" 68 /* Register offsets from gpi-top */ 181 /* GPII specific Global - Enable bit register */ 186 /* GPII general interrupt - Enable bit register */ 381 [CONFIG_STATE] = "CONFIG", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Dan Murphy <dmurphy@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 30 - const: ti,tlv320adc6140 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-vx855.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 * GPI 0...13 General Purpose Input 24 * GPIO 0...14 General Purpose I/O (Open-Drain) 75 * 0..13 GPI 0..13 87 /* Real GPI bits are always in input direction */ in vx855gpio_direction_input() 93 return -EINVAL; in vx855gpio_direction_input() 96 spin_lock_irqsave(&vg->lock, flags); in vx855gpio_direction_input() 97 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input() 98 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_direction_input() 99 outl(reg_out, vg->io_gpo); in vx855gpio_direction_input() [all …]
|
| D | gpio-sl28cpld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 /* input-only flavor */ 28 /* output-only flavor */ 50 struct gpio_regmap_config *config) in sl28cpld_gpio_irq_init() argument 54 struct device *dev = &pdev->dev; in sl28cpld_gpio_irq_init() 57 if (!device_property_read_bool(dev, "interrupt-controller")) in sl28cpld_gpio_irq_init() 66 return -ENOMEM; in sl28cpld_gpio_irq_init() 68 irq_chip->name = "sl28cpld-gpio-irq", in sl28cpld_gpio_irq_init() 69 irq_chip->irqs = sl28cpld_gpio_irqs; in sl28cpld_gpio_irq_init() 70 irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs); in sl28cpld_gpio_irq_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-vx855.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 * GPI 0...13 General Purpose Input 24 * GPIO 0...14 General Purpose I/O (Open-Drain) 75 * 0..13 GPI 0..13 87 /* Real GPI bits are always in input direction */ in vx855gpio_direction_input() 93 return -EINVAL; in vx855gpio_direction_input() 96 spin_lock_irqsave(&vg->lock, flags); in vx855gpio_direction_input() 97 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input() 98 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO); in vx855gpio_direction_input() 99 outl(reg_out, vg->io_gpo); in vx855gpio_direction_input() [all …]
|
| D | gpio-tn48m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 struct gpio_regmap_config config = {}; in tn48m_gpio_probe() local 49 if (!pdev->dev.parent) in tn48m_gpio_probe() 50 return -ENODEV; in tn48m_gpio_probe() 52 gpio_config = device_get_match_data(&pdev->dev); in tn48m_gpio_probe() 54 return -ENODEV; in tn48m_gpio_probe() 56 ret = device_property_read_u32(&pdev->dev, "reg", &base); in tn48m_gpio_probe() 60 regmap = dev_get_regmap(pdev->dev.parent, NULL); in tn48m_gpio_probe() 62 return -ENODEV; in tn48m_gpio_probe() 64 config.regmap = regmap; in tn48m_gpio_probe() [all …]
|
| D | gpio-sl28cpld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 /* input-only flavor */ 28 /* output-only flavor */ 50 struct gpio_regmap_config *config) in sl28cpld_gpio_irq_init() argument 54 struct device *dev = &pdev->dev; in sl28cpld_gpio_irq_init() 57 if (!device_property_read_bool(dev, "interrupt-controller")) in sl28cpld_gpio_irq_init() 66 return -ENOMEM; in sl28cpld_gpio_irq_init() 68 irq_chip->name = "sl28cpld-gpio-irq"; in sl28cpld_gpio_irq_init() 69 irq_chip->irqs = sl28cpld_gpio_irqs; in sl28cpld_gpio_irq_init() 70 irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs); in sl28cpld_gpio_irq_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | da9055-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode() 88 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode() 92 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode() 111 struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode() 116 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode() 119 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode() 122 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode() 126 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode() 127 info->mode.mask, val); in da9055_buck_set_mode() [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | da9055-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode() 88 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode() 92 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode() 111 struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode() 116 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode() 119 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode() 122 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode() 126 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode() 127 info->mode.mask, val); in da9055_buck_set_mode() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include "s3c64xx-pinctrl.h" 19 gpa: gpa-gpio-bank { 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 26 gpb: gpb-gpio-bank { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include <dt-bindings/pinctrl/samsung.h> 19 gpa: gpa-gpio-bank { 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 26 gpb: gpb-gpio-bank { [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
| D | pinctrl-mvebu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 * struct mvebu_mpp_ctrl_data - private data for the mpp ctrl operations 29 * struct mvebu_mpp_ctrl - describe a mpp control 53 unsigned long *config); 55 unsigned long config); 62 * struct mvebu_mpp_ctrl_setting - describe a mpp ctrl setting 64 * @name: ctrl setting name, e.g. uart2, spi0 - unique per mpp_mode 67 * @flags: (private) flags to store gpi/gpo/gpio capabilities 77 * If name is one of "gpi", "gpo", "gpio" gpio capabilities are [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mvebu/ |
| D | pinctrl-mvebu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 * struct mvebu_mpp_ctrl_data - private data for the mpp ctrl operations 29 * struct mvebu_mpp_ctrl - describe a mpp control 53 unsigned long *config); 55 unsigned long config); 62 * struct mvebu_mpp_ctrl_setting - describe a mpp ctrl setting 64 * @name: ctrl setting name, e.g. uart2, spi0 - unique per mpp_mode 67 * @flags: (private) flags to store gpi/gpo/gpio capabilities 77 * If name is one of "gpi", "gpo", "gpio" gpio capabilities are [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
| D | ucd9000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 /* GPIO CONFIG bits */ 91 s64 delta = ktime_us_delta(ktime_get(), data->write_time); in ucd90320_wait() 94 udelay(UCD90320_WAIT_DELAY_US - delta); in ucd90320_wait() 104 return -ENXIO; in ucd90320_read_word_data() 128 data->write_time = ktime_get(); in ucd90320_write_word_data() 141 data->write_time = ktime_get(); in ucd90320_write_byte() 152 if (data->fan_data[fan][3] & 1) in ucd9000_get_fan_config() 156 fan_config |= (data->fan_data[fan][3] & 0x06) >> 1; in ucd9000_get_fan_config() 169 return -ENXIO; in ucd9000_read_byte_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
| D | ucd9000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 /* GPIO CONFIG bits */ 91 s64 delta = ktime_us_delta(ktime_get(), data->write_time); in ucd90320_wait() 94 udelay(UCD90320_WAIT_DELAY_US - delta); in ucd90320_wait() 104 return -ENXIO; in ucd90320_read_word_data() 128 data->write_time = ktime_get(); in ucd90320_write_word_data() 141 data->write_time = ktime_get(); in ucd90320_write_byte() 152 if (data->fan_data[fan][3] & 1) in ucd9000_get_fan_config() 156 fan_config |= (data->fan_data[fan][3] & 0x06) >> 1; in ucd9000_get_fan_config() 169 return -ENXIO; in ucd9000_read_byte_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/aspeed/ |
| D | pinctrl-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include "pinctrl-aspeed.h" 18 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count() 26 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name() 35 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins() 36 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins() 44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show() 51 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count() 59 return pdata->pinmux.functions[function].name; in aspeed_pinmux_get_fn_name() 69 *groups = pdata->pinmux.functions[function].groups; in aspeed_pinmux_get_fn_groups() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/aspeed/ |
| D | pinctrl-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "pinctrl-aspeed.h" 17 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count() 25 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name() 34 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins() 35 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins() 43 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show() 50 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count() 58 return pdata->pinmux.functions[function].name; in aspeed_pinmux_get_fn_name() 68 *groups = pdata->pinmux.functions[function].groups; in aspeed_pinmux_get_fn_groups() [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-qcom-geni.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 7 #include <linux/dma-mapping.h> 8 #include <linux/dma/qcom-gpi-dma.h> 17 #include <linux/soc/qcom/geni-se.h> 117 [GP_IRQ0] = {-EIO, "Unknown I2C err GP_IRQ0"}, 118 [NACK] = {-ENXIO, "NACK: slv unresponsive, check its power/reset-ln"}, 119 [GP_IRQ2] = {-EIO, "Unknown I2C err GP IRQ2"}, 120 [BUS_PROTO] = {-EPROTO, "Bus proto err, noisy/unexpected start/stop"}, 121 [ARB_LOST] = {-EAGAIN, "Bus arbitration lost, clock line undriveable"}, [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | pruss_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * PRU-ICSS sub-system specific definitions 5 * Copyright (C) 2014-2020 Texas Instruments Incorporated - http://www.ti.com/ 6 * Suman Anna <s-anna@ti.com> 18 * enum pruss_gp_mux_sel - PRUSS GPI/O Mux modes for the 23 * values are interchanged. Also, this bit-field does not exist on 36 * enum pruss_gpi_mode - PRUSS GPI configuration modes, used 48 * enum pru_type - PRU core type identifier 50 * @PRU_TYPE_PRU: Programmable Real-time Unit 51 * @PRU_TYPE_RTU: Auxiliary Programmable Real-Time Unit [all …]
|
| /kernel/linux/linux-6.6/include/linux/input/ |
| D | adp5589.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2010-2011 Analog Devices Inc. 12 * ADP5589 specific GPI and Keymap defines 47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1) 50 * ADP5585 specific GPI and Keymap defines 76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1) 114 * ---------------- BIT ------------------ 131 * ---- BIT -- ----------- 158 unsigned char reset_cfg; /* Reset config */ 166 unsigned pullup_en_100k; /* Pull-Up 100k Enable Mask */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/input/ |
| D | adp5589.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2010-2011 Analog Devices Inc. 12 * ADP5589 specific GPI and Keymap defines 47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1) 50 * ADP5585 specific GPI and Keymap defines 76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1) 114 * ---------------- BIT ------------------ 131 * ---- BIT -- ----------- 158 unsigned char reset_cfg; /* Reset config */ 166 unsigned pullup_en_100k; /* Pull-Up 100k Enable Mask */ [all …]
|
| /kernel/linux/linux-6.6/arch/mips/sgi-ip22/ |
| D | ip22-platform.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/dma-mapping.h> 72 * Create a platform device for the GPI port that receives the 79 sgiwd93_0_pd.hregs = &hpc3c0->scsi_chan0; in sgiwd93_devinit() 80 sgiwd93_0_pd.wdregs = (unsigned char *) hpc3c0->scsi0_ext; in sgiwd93_devinit() 89 sgiwd93_1_pd.hregs = &hpc3c0->scsi_chan1; in sgiwd93_devinit() 90 sgiwd93_1_pd.wdregs = (unsigned char *) hpc3c0->scsi1_ext; in sgiwd93_devinit() 144 * Create a platform device for the GPI port that receives the 168 get_dbe(pbdma, (unsigned int *)&hpc3c1->pbdma[1])) in sgiseeq_devinit() 171 sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 | in sgiseeq_devinit() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
| D | ip22-platform.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/dma-mapping.h> 72 * Create a platform device for the GPI port that receives the 79 sgiwd93_0_pd.hregs = &hpc3c0->scsi_chan0; in sgiwd93_devinit() 80 sgiwd93_0_pd.wdregs = (unsigned char *) hpc3c0->scsi0_ext; in sgiwd93_devinit() 89 sgiwd93_1_pd.hregs = &hpc3c0->scsi_chan1; in sgiwd93_devinit() 90 sgiwd93_1_pd.wdregs = (unsigned char *) hpc3c0->scsi1_ext; in sgiwd93_devinit() 144 * Create a platform device for the GPI port that receives the 168 get_dbe(pbdma, (unsigned int *)&hpc3c1->pbdma[1])) in sgiseeq_devinit() 171 sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 | in sgiseeq_devinit() [all …]
|