Home
last modified time | relevance | path

Searched +full:conversion +full:- +full:start +full:- +full:gpios (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Beniamin Bia <beniamin.bia@analog.com>
11 - Stefan Popa <stefan.popa@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf
22 - adi,ad7605-4
23 - adi,ad7606-8
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7606.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 * struct ad7606_chip_info - chip specific information
62 * struct ad7606_state - driver instance specific data
78 * @lock protect sensor state from concurrent accesses to GPIOs
79 * @gpio_convst GPIO descriptor for conversion start signal (CONVST)
80 * @gpio_reset GPIO descriptor for device hard-reset
82 * @gpio_standby GPIO descriptor for stand-by signal (STBY),
83 * controls power-down mode of device
87 * @complete completion to indicate end of conversion
121 * 16 * 16-bit samples + 64-bit timestamp
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dgpio-samsung.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd.
11 // Samsung - GPIOlib support
31 #include "regs-gpio.h"
32 #include "gpio-samsung.h"
35 #include "gpio-core.h"
36 #include "gpio-cfg.h"
37 #include "gpio-cfg-helpers.h"
43 void __iomem *reg = chip->base + 0x08; in samsung_gpio_setpull_updown()
58 void __iomem *reg = chip->base + 0x08; in samsung_gpio_getpull_updown()
[all …]
/kernel/linux/linux-4.19/arch/arm/plat-samsung/
Dgpio-samsung.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd.
11 // SAMSUNG - GPIOlib support
31 #include <mach/regs-gpio.h>
32 #include <mach/gpio-samsung.h>
35 #include <plat/gpio-core.h>
36 #include <plat/gpio-cfg.h>
37 #include <plat/gpio-cfg-helpers.h>
43 void __iomem *reg = chip->base + 0x08; in samsung_gpio_setpull_updown()
58 void __iomem *reg = chip->base + 0x08; in samsung_gpio_getpull_updown()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-imx/
Dmach-imx27_visstrim_m10.c2 * mach-imx27_visstrim_m10.c
4 * Copyright 2010 Javier Martin <javier.martin@vista-silicon.com>
6 * Based on mach-pcm038.c, mach-pca100.c, mach-mx27ads.c and others.
21 * MA 02110-1301, USA.
33 #include <linux/dma-mapping.h>
35 #include <linux/platform_data/asoc-mx27vis.h>
38 #include <asm/mach-types.h>
45 #include "devices-imx27.h"
48 #include "iomux-mx27.h"
161 { EXPBOARD_BIT0, GPIOF_IN, "exp-version-0" },
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
Dcafe-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright 2006-11 One Laptop Per Child Association, Inc.
11 * Copyright 2006-11 Jonathan Corbet <corbet@lwn.net>
16 * v4l2_device/v4l2_subdev conversion by:
28 #include <media/v4l2-device.h>
36 #include "mcam-core.h"
61 * Most of the camera controller registers are defined in mcam-core.h,
67 * "General purpose register" has a couple of GPIOs used for sensor
86 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */
134 dev_err(&(cam)->pdev->dev, fmt, ##arg);
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/marvell-ccic/
Dcafe-driver.c9 * Copyright 2006-11 One Laptop Per Child Association, Inc.
10 * Copyright 2006-11 Jonathan Corbet <corbet@lwn.net>
14 * v4l2_device/v4l2_subdev conversion by:
29 #include <media/v4l2-device.h>
35 #include "mcam-core.h"
59 * Most of the camera controller registers are defined in mcam-core.h,
65 * "General purpose register" has a couple of GPIOs used for sensor
84 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */
132 dev_err(&(cam)->pdev->dev, fmt, ##arg);
134 dev_warn(&(cam)->pdev->dev, fmt, ##arg);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
21 * and transfers them over an internal MAI (multi-channel audio
87 struct drm_info_node *node = (struct drm_info_node *)m->private; in vc4_hdmi_debugfs_regs()
88 struct vc4_hdmi *vc4_hdmi = node->info_ent->data; in vc4_hdmi_debugfs_regs()
91 drm_print_regset32(&p, &vc4_hdmi->hdmi_regset); in vc4_hdmi_debugfs_regs()
92 drm_print_regset32(&p, &vc4_hdmi->hd_regset); in vc4_hdmi_debugfs_regs()
114 reset_control_reset(vc4_hdmi->reset); in vc5_hdmi_reset()
135 clk_cnt = clk_get_rate(vc4_hdmi->hsm_clock) / CEC_CLOCK_FREQ; in vc4_hdmi_cec_update_clk_div()
149 WARN_ON(pm_runtime_resume_and_get(&vc4_hdmi->pdev->dev)); in vc4_hdmi_connector_detect()
151 if (vc4_hdmi->hpd_gpio) { in vc4_hdmi_connector_detect()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dsht15.c1 // SPDX-License-Identifier: GPL-2.0
3 * sht15.c - support for the SHT15 Temperature and Humidity Sensor
5 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc.
21 #include <linux/hwmon-sysfs.h>
65 * struct sht15_temppair - elements of voltage dependent temp calc
74 /* Table 9 from datasheet - relates temperature calculation to supply voltage */
76 { 2500000, -39400 },
77 { 3000000, -39600 },
78 { 3500000, -39700 },
79 { 4000000, -39800 },
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
Dsht15.c2 * sht15.c - support for the SHT15 Temperature and Humidity Sensor
4 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc.
24 #include <linux/hwmon-sysfs.h>
68 * struct sht15_temppair - elements of voltage dependent temp calc
77 /* Table 9 from datasheet - relates temperature calculation to supply voltage */
79 { 2500000, -39400 },
80 { 3000000, -39600 },
81 { 3500000, -39700 },
82 { 4000000, -39800 },
83 { 5000000, -40100 },
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/vc4/
Dvc4_hdmi.c32 * and transfers them over an internal MAI (multi-channel audio
102 #define HDMI_READ(offset) readl(vc4->hdmi->hdmicore_regs + offset)
103 #define HDMI_WRITE(offset, val) writel(val, vc4->hdmi->hdmicore_regs + offset)
104 #define HD_READ(offset) readl(vc4->hdmi->hd_regs + offset)
105 #define HD_WRITE(offset, val) writel(val, vc4->hdmi->hd_regs + offset)
198 struct drm_info_node *node = (struct drm_info_node *)m->private; in vc4_hdmi_debugfs_regs()
199 struct drm_device *dev = node->minor->dev; in vc4_hdmi_debugfs_regs()
239 struct drm_device *dev = connector->dev; in vc4_hdmi_connector_detect()
242 if (vc4->hdmi->hpd_gpio) { in vc4_hdmi_connector_detect()
243 if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^ in vc4_hdmi_connector_detect()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-blackbird.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
10 * - video_ioctl2 conversion
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ioctl.h>
26 #include <media/v4l2-event.h>
27 #include <media/drv-intf/cx2341x.h>
44 /* ------------------------------------------------------------------ */
48 /* defines below are from ivtv-driver.h */
142 BLACKBIRD_NOTIFICATION_NO_MAILBOX = -1,
[all …]
/kernel/linux/linux-4.19/drivers/media/pci/cx88/
Dcx88-blackbird.c8 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org>
9 * - video_ioctl2 conversion
33 #include <media/v4l2-common.h>
34 #include <media/v4l2-ioctl.h>
35 #include <media/v4l2-event.h>
36 #include <media/drv-intf/cx2341x.h>
53 /* ------------------------------------------------------------------ */
57 /* defines below are from ivtv-driver.h */
151 BLACKBIRD_NOTIFICATION_NO_MAILBOX = -1,
196 /* ------------------------------------------------------------------ */
[all …]
/kernel/linux/linux-5.10/sound/pci/
Des1968.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Rewritted from card-es1938.c source.
26 * until you start doing insane things like FM emulation and surround
27 * encoding. The codecs are almost always AC-97 compliant codecs,
88 #include <linux/dma-mapping.h>
102 #include <media/drv-intf/tea575x.h>
119 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */
122 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 };
123 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 };
124 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 };
[all …]
/kernel/linux/linux-4.19/sound/pci/
Des1968.c8 * Rewritted from card-es1938.c source.
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 * until you start doing insane things like FM emulation and surround
41 * encoding. The codecs are almost always AC-97 compliant codecs,
102 #include <linux/dma-mapping.h>
116 #include <media/drv-intf/tea575x.h>
133 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */
136 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 };
137 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 };
138 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 };
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/broadcom/
Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
97 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
99 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
101 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
129 * and dev->tx_timeout() should be called to fix the problem
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
122 * and dev->tx_timeout() should be called to fix the problem
[all …]
/kernel/linux/linux-4.19/drivers/media/i2c/
Dadv7604.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * adv7604 - Analog Devices ADV7604 video decoder driver
11 * REF_01 - Analog devices, ADV7604, Register Settings Recommendations,
13 * REF_02 - Analog devices, Register map documentation, Documentation of
15 * REF_03 - Analog devices, ADV7604, Hardware Manual, Rev. F, August 2010
26 #include <linux/v4l2-dv-timings.h>
33 #include <media/v4l2-ctrls.h>
34 #include <media/v4l2-device.h>
35 #include <media/v4l2-event.h>
36 #include <media/v4l2-dv-timings.h>
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dadv7604.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * adv7604 - Analog Devices ADV7604 video decoder driver
11 * REF_01 - Analog devices, ADV7604, Register Settings Recommendations,
13 * REF_02 - Analog devices, Register map documentation, Documentation of
15 * REF_03 - Analog devices, ADV7604, Hardware Manual, Rev. F, August 2010
26 #include <linux/v4l2-dv-timings.h>
34 #include <media/v4l2-ctrls.h>
35 #include <media/v4l2-device.h>
36 #include <media/v4l2-event.h>
37 #include <media/v4l2-dv-timings.h>
[all …]