Home
last modified time | relevance | path

Searched refs:falling (Results 1 – 25 of 181) sorted by relevance

12345678

/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu-gpio.c575 __clear_bit(bit, &mcu->falling); in omnia_irq_shutdown()
618 __assign_bit(bit, &mcu->falling, type & IRQ_TYPE_EDGE_FALLING); in omnia_irq_set_type()
656 omnia_mask_interleave(u8 *dst, unsigned long rising, unsigned long falling) in omnia_mask_interleave() argument
660 dst[2 * i + 1] = falling >> (8 * i); in omnia_mask_interleave()
673 unsigned long *falling) in omnia_mask_deinterleave() argument
675 *rising = *falling = 0; in omnia_mask_deinterleave()
679 *falling |= src[2 * i + 1] << (8 * i); in omnia_mask_deinterleave()
689 unsigned long rising, falling; in omnia_irq_bus_sync_unlock() local
699 falling = mcu->falling & mcu->mask; in omnia_irq_bus_sync_unlock()
702 omnia_mask_interleave(&cmd[1], rising, falling); in omnia_irq_bus_sync_unlock()
[all …]
/linux/drivers/comedi/drivers/
H A Dni_6527.c275 unsigned int falling) in ni6527_set_edge_detection() argument
280 falling &= mask; in ni6527_set_edge_detection()
289 falling |= readb(dev->mmio + in ni6527_set_edge_detection()
297 writeb(falling & 0xff, in ni6527_set_edge_detection()
301 falling >>= 8; in ni6527_set_edge_detection()
312 unsigned int rising, falling, shift; in ni6527_intr_insn_config() local
320 falling = data[2]; in ni6527_intr_insn_config()
321 ni6527_set_edge_detection(dev, mask, rising, falling); in ni6527_intr_insn_config()
331 falling = 0; in ni6527_intr_insn_config()
339 falling = 0; in ni6527_intr_insn_config()
[all …]
/linux/drivers/gpio/
H A Dgpio-xilinx.c483 DECLARE_BITMAP(falling, 64); in xgpio_irqhandler()
503 bitmap_complement(falling, hw, 64); in xgpio_irqhandler()
504 bitmap_and(falling, falling, chip->last_irq_read, 64); in xgpio_irqhandler()
505 bitmap_and(falling, falling, chip->enable, 64); in xgpio_irqhandler()
506 bitmap_and(falling, falling, chip->falling_edge, 64); in xgpio_irqhandler()
509 bitmap_or(hw, rising, falling, 64); in xgpio_irqhandler()
513 dev_dbg(gc->parent, "IRQ rising %*pb falling %*pb\n", 64, rising, 64, falling); in xgpio_irqhandler()
H A Dgpio-mt7621.c36 u32 falling; member
123 mtk_gpio_w32(rg, GPIO_REG_FEDGE, fall | (BIT(pin) & rg->falling)); in mediatek_gpio_irq_unmask()
159 if ((rg->rising | rg->falling | in mediatek_gpio_irq_type()
167 rg->falling &= ~mask; in mediatek_gpio_irq_type()
174 rg->falling |= mask; in mediatek_gpio_irq_type()
180 rg->falling |= mask; in mediatek_gpio_irq_type()
H A Dgpio-sch.c180 int rising, falling; in sch_irq_type() local
185 falling = 0; in sch_irq_type()
189 falling = 1; in sch_irq_type()
193 falling = 1; in sch_irq_type()
202 sch_gpio_reg_set(sch, gpio_num, GTNE, falling); in sch_irq_type()
H A Dgpio-hlwd.c77 u32 level, rising, falling; in hlwd_gpio_irqhandler() local
81 falling = ~level & emulated_pending; in hlwd_gpio_irqhandler()
92 falling &= hlwd->falling_edge; in hlwd_gpio_irqhandler()
95 pending |= rising | falling; in hlwd_gpio_irqhandler()
/linux/drivers/iio/proximity/
H A Dping.c58 struct completion falling; member
85 complete(&data->falling); in ping_handle_irq()
107 reinit_completion(&data->falling); in ping_read()
145 ret = wait_for_completion_killable_timeout(&data->falling, HZ/20); in ping_read()
292 init_completion(&data->falling); in ping_probe()
H A Dsrf04.c65 struct completion falling; member
89 complete(&data->falling); in srf04_handle_irq()
114 reinit_completion(&data->falling); in srf04_read()
134 ret = wait_for_completion_killable_timeout(&data->falling, HZ/20); in srf04_read()
263 init_completion(&data->falling); in srf04_probe()
/linux/arch/riscv/boot/dts/starfive/
H A Djh7100-common.dtsi317 i2c-sda-falling-time-ns = <500>;
318 i2c-scl-falling-time-ns = <500>;
337 i2c-sda-falling-time-ns = <100>;
338 i2c-scl-falling-time-ns = <100>;
347 i2c-sda-falling-time-ns = <500>;
348 i2c-scl-falling-time-ns = <500>;
H A Djh7110-common.dtsi203 i2c-sda-falling-time-ns = <510>;
204 i2c-scl-falling-time-ns = <510>;
212 i2c-sda-falling-time-ns = <510>;
213 i2c-scl-falling-time-ns = <510>;
222 i2c-sda-falling-time-ns = <510>;
223 i2c-scl-falling-time-ns = <510>;
271 i2c-sda-falling-time-ns = <510>;
272 i2c-scl-falling-time-ns = <510>;
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-hi843517 this value then the threshold falling event is pushed.
27 If falling threshold results hysteresis to odd value then rising
47 If rising threshold results hysteresis to odd value then falling
H A Dsysfs-bus-iio-timer-stm3237 OC4REF rising or falling edges generate pulses.
39 OC6REF rising or falling edges generate pulses.
43 OC4REF rising or OC6REF falling edges generate
48 OC5REF rising or OC6REF falling edges generate
H A Dsysfs-bus-iio-light-lm3533-als7 in each direction (rising|falling) and a zone change occurs.
42 in_illuminance0_threshY_{falling,rising} thresholds.
/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_arria5_socdk.dts92 * adjust the falling times to decrease the i2c frequency to 50Khz
95 i2c-sda-falling-time-ns = <5000>;
96 i2c-scl-falling-time-ns = <5000>;
H A Dsocfpga_cyclone5_socdk.dts96 * adjust the falling times to decrease the i2c frequency to 50Khz
99 i2c-sda-falling-time-ns = <5000>;
100 i2c-scl-falling-time-ns = <5000>;
H A Dsocfpga_arria10_socdk.dtsi131 * adjust the falling times to decrease the i2c frequency to 50Khz
135 i2c-sda-falling-time-ns = <6000>;
136 i2c-scl-falling-time-ns = <6000>;
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-gpio.c216 bool falling; in nsp_gpio_irq_set_type() local
220 falling = nsp_get_bit(chip, REG, NSP_GPIO_EVENT_INT_POLARITY, gpio); in nsp_gpio_irq_set_type()
225 falling = false; in nsp_gpio_irq_set_type()
229 falling = true; in nsp_gpio_irq_set_type()
247 nsp_set_bit(chip, REG, NSP_GPIO_EVENT_INT_POLARITY, gpio, falling); in nsp_gpio_irq_set_type()
258 str_true_false(level_low), str_true_false(falling)); in nsp_gpio_irq_set_type()
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcom-picoitx.dtsi73 i2c-scl-falling-time-ns = <20>;
84 i2c-scl-falling-time-ns = <20>;
H A Dstm32mp157a-stinger96.dtsi90 i2c-scl-falling-time-ns = <300>;
100 i2c-scl-falling-time-ns = <20>;
232 interrupt-names = "onkey-falling", "onkey-rising";
H A Dste-href-tvk1281618-r2.dtsi101 * the falling edge if they could be wired together.
122 * the falling edge if they could be wired together.
159 * the falling edge if they could be wired together.
H A Dstm32mp157c-emstamp-argon.dtsi192 i2c-scl-falling-time-ns = <7>;
203 i2c-scl-falling-time-ns = <20>;
337 interrupt-names = "onkey-falling", "onkey-rising";
353 i2c-scl-falling-time-ns = <20>;
/linux/Documentation/leds/
H A Dleds-mt6370-rgb.rst53 * Tf1: First falling time for 100% - 31% load.
54 * Tf2: Second falling time for 30% to 0% load.
/linux/arch/arm64/boot/dts/altera/
H A Dsocfpga_stratix10_socdk_nand.dts130 i2c-sda-falling-time-ns = <890>; /* hcnt */
131 i2c-scl-falling-time-ns = <890>; /* lcnt */
/linux/tools/gpio/
H A Dgpio-sloppy-logic-analyzer.sh46 "L" - low; "H" - high; "R" - rising; "F" - falling
48 is high while probe 2 has a falling edge. You can have multiple triggers
60 Samples 50us at 2MHz waiting for a falling edge on channel 2. CPU and instance as above:
/linux/Documentation/iio/
H A Dadxl313.rst261 … Event: time: 1748796324115962975, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
262 … Event: time: 1748796329329981772, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
263 … Event: time: 1748796334543399706, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
279 … Event: time: 1748796885543252017, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
283 … Event: time: 1748796892964368352, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling

12345678