Home
last modified time | relevance | path

Searched refs:latch (Results 1 – 25 of 39) sorted by relevance

12

/linux/Documentation/driver-api/surface_aggregator/clients/
H A Ddtx.rst58 The latch mechanism has two major states: *open* and *closed*. In the
62 The latch can additionally be locked and, correspondingly, unlocked, which
66 documentation for the detachment procedure below. By default, the latch is
82 instructions/commands. In case the latch is unlocked, the led will flash
83 green. If the latch has been locked, the led will be solid red
93 - If the latch is unlocked, the EC will open the latch and the clipboard
98 - If the latch is locked, the EC will *not* open the latch, meaning the
111 latch, after which the user can separate clipboard and base.
113 As this changes the latch state, a *latch-status* event
114 (``SDTX_EVENT_LATCH_STATUS``) will be sent once the latch has been opened
[all …]
/linux/drivers/clk/ti/
H A Dmux.c81 ti_clk_latch(&mux->reg, mux->latch); in ti_clk_mux_set_parent()
125 s8 latch, u8 clk_mux_flags, u32 *table) in _register_mux() argument
146 mux->latch = latch; in _register_mux()
175 s32 latch = -EINVAL; in of_mux_clk_setup() local
194 of_property_read_u32(node, "ti,latch-bit", &latch); in of_mux_clk_setup()
211 flags, &reg, shift, mask, latch, clk_mux_flags, in of_mux_clk_setup()
235 mux->latch = -EINVAL; in ti_clk_build_component_mux()
H A Dclk.c387 u32 latch; in ti_clk_latch() local
392 latch = 1 << shift; in ti_clk_latch()
394 ti_clk_ll_ops->clk_rmw(latch, latch, reg); in ti_clk_latch()
395 ti_clk_ll_ops->clk_rmw(0, latch, reg); in ti_clk_latch()
H A Ddivider.c261 ti_clk_latch(&divider->reg, divider->latch); in ti_clk_divider_set_rate()
483 div->latch = val; in ti_clk_divider_populate()
485 div->latch = -EINVAL; in ti_clk_divider_populate()
H A Dclock.h16 s8 latch; member
32 s8 latch; member
/linux/drivers/gpio/
H A Dgpio-latch.c78 int latch = offset / priv->n_latched_gpios; in gpio_latch_set_unlocked() local
85 test_bit(latch * priv->n_latched_gpios + i, priv->shadow)); in gpio_latch_set_unlocked()
88 set(priv->clk_gpios->desc[latch], 1); in gpio_latch_set_unlocked()
90 set(priv->clk_gpios->desc[latch], 0); in gpio_latch_set_unlocked()
/linux/drivers/pcmcia/
H A Dtcic.c532 u_char latch, sstat; in tcic_interrupt() local
550 latch = sstat ^ socket_table[psock].last_sstat; in tcic_interrupt()
556 if (latch == 0) in tcic_interrupt()
558 events = (latch & TCIC_SSTAT_CD) ? SS_DETECT : 0; in tcic_interrupt()
559 events |= (latch & TCIC_SSTAT_WP) ? SS_WRPROT : 0; in tcic_interrupt()
561 events |= (latch & TCIC_SSTAT_LBAT1) ? SS_STSCHG : 0; in tcic_interrupt()
563 events |= (latch & TCIC_SSTAT_RDY) ? SS_READY : 0; in tcic_interrupt()
564 events |= (latch & TCIC_SSTAT_LBAT1) ? SS_BATDEAD : 0; in tcic_interrupt()
565 events |= (latch & TCIC_SSTAT_LBAT2) ? SS_BATWARN : 0; in tcic_interrupt()
/linux/Documentation/devicetree/bindings/clock/
H A Darmada3700-xtal-clock.txt4 reading the gpio latch register.
7 of the GPIO block where the gpio latch is located.
/linux/drivers/clocksource/
H A Dtimer-ixp4xx.c48 u32 latch; member
138 val = tmr->latch & ~IXP4XX_OST_RELOAD_MASK; in ixp4xx_set_periodic()
180 tmr->latch = DIV_ROUND_CLOSEST(timer_freq, in ixp4xx_timer_register()
/linux/kernel/time/
H A Dclockevents.c32 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns() argument
35 u64 clc = (u64) latch << evt->shift; in cev_delta2ns()
44 * not equal latch, we know that the above shift overflowed. in cev_delta2ns()
46 if ((clc >> evt->shift) != (u64)latch) in cev_delta2ns()
59 * than latch by up to (mult - 1) >> shift. For the min_delta in cev_delta2ns()
62 * we would end up with a latch value larger than the upper in cev_delta2ns()
79 * clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds
80 * @latch: value to convert
83 * Math helper, returns latch value converted to nanoseconds (bound checked)
85 u64 clockevent_delta2ns(unsigned long latch, struc argument
[all...]
/linux/Documentation/devicetree/bindings/mtd/
H A Dfsl-upm-nand.txt6 - fsl,upm-addr-offset : UPM pattern offset for the address latch.
7 - fsl,upm-cmd-offset : UPM pattern offset for the command latch.
H A Datmel-nand.txt125 - atmel,nand-addr-offset : offset for the address latch.
126 - atmel,nand-cmd-offset : offset for the command latch.
/linux/arch/arm/boot/dts/ti/omap/
H A Ddra76x.dtsi101 ti,latch-bit = <26>;
120 ti,latch-bit = <26>;
/linux/Documentation/devicetree/bindings/clock/ti/
H A Dmux.txt50 - ti,latch-bit : latch the mux value to HW, only needed if the register
H A Ddivider.txt76 - ti,latch-bit : latch the divider value to HW, only needed if the register
/linux/drivers/platform/surface/
H A Dsurface_dtx.c319 u8 latch; in sdtx_ioctl_get_latch_status() local
324 status = ssam_retry(ssam_bas_get_latch_status, ddev->ctrl, &latch); in sdtx_ioctl_get_latch_status()
328 return put_user(sdtx_translate_latch_status(ddev, latch), buf); in sdtx_ioctl_get_latch_status()
879 u8 mode, latch; in sdtx_device_state_workfn() local
907 status = ssam_retry(ssam_bas_get_latch_status, ddev->ctrl, &latch); in sdtx_device_state_workfn()
930 __sdtx_device_state_update_latch(ddev, latch); in sdtx_device_state_workfn()
/linux/Documentation/hwmon/
H A Dadm9240.rst178 a 20 ms active low pulse to reset an external Chassis Intrusion latch.
180 Clear the CI latch by writing value 0 to the sysfs intrusion0_alarm file.
200 that alarm bits may be cleared on read, user-space may latch alarms and
/linux/drivers/iio/imu/bmi323/
H A Dbmi323_core.c1804 bool active_high, bool open_drain, bool latch) in bmi323_int_pin_config() argument
1811 FIELD_PREP(BMI323_IO_INT_LTCH_MSK, latch)); in bmi323_int_pin_config()
1847 bool open_drain, active_high, latch; in bmi323_trigger_probe() local
1876 latch = false; in bmi323_trigger_probe()
1880 latch = true; in bmi323_trigger_probe()
1884 latch = false; in bmi323_trigger_probe()
1888 latch = true; in bmi323_trigger_probe()
1900 latch); in bmi323_trigger_probe()
/linux/include/linux/
H A Dclockchips.h182 extern u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt);
/linux/Documentation/virt/kvm/devices/
H A Darm-vgic-v3.rst156 here is that of the latch which is set by ISPENDR and cleared by ICPENDR or
158 ISPENDR is the logical OR of the latch value and the input line level.
160 Raw access to the latch state is provided to userspace so that it can save
162 combination of the current input line level and the latch state, and cannot
/linux/drivers/md/
H A Ddm.c132 int latch = READ_ONCE(swap_bios); in get_swap_bios() local
134 if (unlikely(latch <= 0)) in get_swap_bios()
135 latch = DEFAULT_SWAP_BIOS; in get_swap_bios()
136 return latch; in get_swap_bios()
1392 static noinline void __set_swap_bios_limit(struct mapped_device *md, int latch) in __set_swap_bios_limit() argument
1395 while (latch < md->swap_bios) { in __set_swap_bios_limit()
1400 while (latch > md->swap_bios) { in __set_swap_bios_limit()
1425 int latch = get_swap_bios(); in __map_bio() local
1427 if (unlikely(latch != md->swap_bios)) in __map_bio()
1428 __set_swap_bios_limit(md, latch); in __map_bio()
/linux/kernel/printk/
H A Dprintk.c505 seqcount_latch_t latch;
515 .latch = SEQCNT_LATCH_ZERO(clear_seq.latch),
563 raw_write_seqcount_latch(&ls->latch); in log_buf_len_get()
565 raw_write_seqcount_latch(&ls->latch);
577 seq = raw_read_seqcount_latch(&ls->latch); in truncate_msg()
580 } while (raw_read_seqcount_latch_retry(&ls->latch, seq)); in truncate_msg()
473 seqcount_latch_t latch; global() member
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,armada-37xx-pinctrl.txt6 Inside this set of register the gpio latch allows exposing some
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx.seq1144 * data fifo is full, but the PCI input latch is not empty,
1147 * there is space for the input latch to drain.
1598 mov NONE,SCSIDATL; /*dummy read from latch to ACK*/
1732 mov NONE,SCSIDATL; /*dummy read from latch to ACK*/
1762 mov NONE,SCSIDATL; /*dummy read from latch to ACK*/
1768 mov NONE,SCSIDATL; /*dummy read from latch to ACK*/
1977 mov NONE,SCSIDATL; /*dummy read from latch to ACK*/
1993 mov NONE,SCSIDATL ret; /*dummy read from latch to ACK*/
2259 * module has an 8 byte input latch that only
2261 * latch is full.
/linux/drivers/staging/fbtft/
H A Dfbtft.h213 struct gpio_desc *latch; member

12