Home
last modified time | relevance | path

Searched +full:ping +full:- +full:gpios (Results 1 – 12 of 12) sorted by relevance

/linux-5.10/Documentation/devicetree/bindings/iio/proximity/
Dparallax-ping.yaml1 # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/parallax-ping.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Parallax PING))) and LaserPING range finder
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using one GPIO:
14 - ping-gpios is raised by the driver to start measurement
15 - direction of ping-gpio is then switched into input with an interrupt
19 http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf
[all …]
/linux-5.10/drivers/iio/proximity/
Dping.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PING: ultrasonic sensor for distance measuring by using only one GPIOs
5 * Copyright (c) 2019 Andreas Klinger <ak@it-klinger.de>
8 * http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf
9 * http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf
14 * ping: __/ \____________/ \________________
16 * |<->| interrupt interrupt
18 * |<---------------------->|
20 * . --> one round trip of ultra sonic waves
47 /* ping sensors */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 module will be called pulsedlight-lite-v2
61 config PING config
70 - Parallax PING))) (ultrasonic)
71 - Parallax LaserPING (time-of-flight)
74 module will be called ping.
80 Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
92 of objects. It is using two GPIOs.
94 - Devantech SRF04
95 - Maxbotix mb1000
[all …]
/linux-5.10/drivers/watchdog/
Dmax63xx_wdt.c13 * the case for the Arcom Zeus). Should it be connected over GPIOs or
38 * to ping the watchdog.
56 void (*ping)(struct max63xx_wdt *wdt); member
105 while (table->twd) { in max63xx_select_timeout()
106 if (value <= table->twd) { in max63xx_select_timeout()
107 if (nodelay && table->tdelay == 0) in max63xx_select_timeout()
124 wdt->ping(wdt); in max63xx_wdt_ping()
132 wdt->set(wdt, wdt->timeout->wdset); in max63xx_wdt_start()
135 if (wdt->timeout->tdelay == 0) in max63xx_wdt_start()
136 wdt->ping(wdt); in max63xx_wdt_start()
[all …]
Dmena21_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
34 struct gpio_desc *gpios[NUM_GPIOS]; member
46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
88 dev_err(wdt->parent, "Only 1 and 30 allowed as timeout\n"); in a21_wdt_set_timeout()
[all …]
/linux-5.10/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
25 up to three buttons by simply using GPIOs and no mouse port. You can cut the
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
[all …]
/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 …]
/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-417.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * - CX23885/7/8 support
15 #include "cx23885-ioctl.h"
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/drv-intf/cx2341x.h>
30 #define CX23885_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"
34 MODULE_PARM_DESC(mpegbufs, "number of mpeg buffers, range 2-32");
37 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32");
41 "number of bytes in each line of an MPEG buffer, range 512-1024");
[all …]
/linux-5.10/drivers/staging/pi433/
Dpi433_if.c1 // SPDX-License-Identifier: GPL-2.0+
13 * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ...
15 * Copyright (C) 2016 Wolf-Entwicklungen
16 * Marcus Wolf <linux@wolf-entwicklungen.de>
113 /*-------------------------------------------------------------------------*/
120 if (device->irq_state[DIO0] == DIO_PACKET_SENT) { in DIO0_irq_handler()
121 device->free_in_fifo = FIFO_SIZE; in DIO0_irq_handler()
122 dev_dbg(device->dev, "DIO0 irq: Packet sent\n"); in DIO0_irq_handler()
123 wake_up_interruptible(&device->fifo_wait_queue); in DIO0_irq_handler()
124 } else if (device->irq_state[DIO0] == DIO_RSSI_DIO0) { in DIO0_irq_handler()
[all …]
/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-417.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * - CX23885/7/8 support
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/v4l2-event.h>
28 #include <media/drv-intf/cx2341x.h>
32 #define CX231xx_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"
65 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32");
70 "number of bytes in each line of an MPEG buffer, range 512-1024");
84 .name = "NTSC-M",
[all …]
/linux-5.10/drivers/usb/gadget/udc/
Dat91_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * at91_udc -- driver for at91-series USB peripheral controller
32 #include <linux/mfd/syscon/atmel-matrix.h>
38 * This controller is simple and PIO-only. It's used in many AT91-series
40 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions.
42 * This driver expects the board has been wired with two GPIOs supporting
75 EP_INFO("ep3-int",
90 __raw_readl((udc)->udp_baseaddr + (reg))
92 __raw_writel((val), (udc)->udp_baseaddr + (reg))
94 /*-------------------------------------------------------------------------*/
[all …]
/linux-5.10/sound/pci/
Des1968.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Rewritted from card-es1938.c source.
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 };
126 static int use_pm[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
[all …]