| /linux/Documentation/driver-api/surface_aggregator/clients/ |
| H A D | dtx.rst | 58 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 D | mux.c | 81 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, ®, shift, mask, latch, clk_mux_flags, in of_mux_clk_setup() 235 mux->latch = -EINVAL; in ti_clk_build_component_mux()
|
| H A D | clk.c | 372 u32 latch; in ti_clk_latch() local 377 latch = 1 << shift; in ti_clk_latch() 379 ti_clk_ll_ops->clk_rmw(latch, latch, reg); in ti_clk_latch() 380 ti_clk_ll_ops->clk_rmw(0, latch, reg); in ti_clk_latch()
|
| H A D | divider.c | 263 ti_clk_latch(÷r->reg, divider->latch); in ti_clk_divider_set_rate() 485 div->latch = val; in ti_clk_divider_populate() 487 div->latch = -EINVAL; in ti_clk_divider_populate()
|
| H A D | clock.h | 16 s8 latch; member 32 s8 latch; member
|
| /linux/drivers/gpio/ |
| H A D | gpio-latch.c | 78 int latch = offset / priv->n_latched_gpios, i, ret; in gpio_latch_set_unlocked() local 84 test_bit(latch * priv->n_latched_gpios + i, in gpio_latch_set_unlocked() 91 set(priv->clk_gpios->desc[latch], 1); in gpio_latch_set_unlocked() 93 set(priv->clk_gpios->desc[latch], 0); in gpio_latch_set_unlocked()
|
| /linux/drivers/pcmcia/ |
| H A D | tcic.c | 532 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/drivers/iio/imu/smi330/ |
| H A D | smi330_core.c | 663 bool latch) in smi330_set_int_pin_config() argument 693 latch)); in smi330_set_int_pin_config() 700 bool open_drain, active_high, latch; in smi330_setup_irq() local 711 latch = false; in smi330_setup_irq() 715 latch = true; in smi330_setup_irq() 719 latch = false; in smi330_setup_irq() 723 latch = true; in smi330_setup_irq() 733 latch); in smi330_setup_irq()
|
| /linux/drivers/clocksource/ |
| H A D | timer-ixp4xx.c | 48 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/arch/x86/kernel/ |
| H A D | tsc.c | 439 static unsigned long pit_calibrate_tsc(u32 latch, unsigned long ms, int loopmin) in pit_calibrate_tsc() argument 468 outb(latch & 0xff, 0x42); in pit_calibrate_tsc() 469 outb(latch >> 8, 0x42); in pit_calibrate_tsc() 771 unsigned long flags, latch, ms; in pit_hpet_ptimer_calibrate_cpu() local 800 latch = CAL_LATCH; in pit_hpet_ptimer_calibrate_cpu() 815 tsc_pit_khz = pit_calibrate_tsc(latch, ms, loopmin); in pit_hpet_ptimer_calibrate_cpu() 861 latch = CAL2_LATCH; in pit_hpet_ptimer_calibrate_cpu()
|
| /linux/kernel/time/ |
| H A D | clockevents.c | 32 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() 46 if ((clc >> evt->shift) != (u64)latch) in cev_delta2ns() 85 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns() argument 87 return cev_delta2ns(latch, evt, false); in clockevent_delta2ns()
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | fsl-upm-nand.txt | 6 - 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 D | atmel-nand.txt | 125 - 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 D | dra76x.dtsi | 101 ti,latch-bit = <26>; 120 ti,latch-bit = <26>;
|
| /linux/drivers/iio/imu/bmi270/ |
| H A D | bmi270_core.c | 1341 bool active_high, bool open_drain, bool latch) in bmi270_int_pin_config() argument 1348 FIELD_PREP(BMI270_INT_LATCH_REG_MSK, latch)); in bmi270_int_pin_config() 1373 bool open_drain, active_high, latch; in bmi270_trigger_probe() local 1396 latch = false; in bmi270_trigger_probe() 1400 latch = true; in bmi270_trigger_probe() 1404 latch = false; in bmi270_trigger_probe() 1408 latch = true; in bmi270_trigger_probe() 1420 latch); in bmi270_trigger_probe()
|
| /linux/drivers/platform/surface/ |
| H A D | surface_dtx.c | 319 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() 878 u8 mode, latch; in sdtx_device_state_workfn() local 906 status = ssam_retry(ssam_bas_get_latch_status, ddev->ctrl, &latch); in sdtx_device_state_workfn() 929 __sdtx_device_state_update_latch(ddev, latch); in sdtx_device_state_workfn()
|
| /linux/Documentation/hwmon/ |
| H A D | adm9240.rst | 178 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 D | bmi323_core.c | 1843 bool active_high, bool open_drain, bool latch) in bmi323_int_pin_config() argument 1850 FIELD_PREP(BMI323_IO_INT_LTCH_MSK, latch)); in bmi323_int_pin_config() 1886 bool open_drain, active_high, latch; in bmi323_trigger_probe() local 1909 latch = false; in bmi323_trigger_probe() 1913 latch = true; in bmi323_trigger_probe() 1917 latch = false; in bmi323_trigger_probe() 1921 latch = true; in bmi323_trigger_probe() 1933 latch); in bmi323_trigger_probe()
|
| /linux/include/linux/ |
| H A D | clockchips.h | 182 extern u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt);
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | arm-vgic-v3.rst | 171 here is that of the latch which is set by ISPENDR and cleared by ICPENDR or 173 ISPENDR is the logical OR of the latch value and the input line level. 175 Raw access to the latch state is provided to userspace so that it can save 177 combination of the current input line level and the latch state, and cannot
|
| /linux/drivers/md/ |
| H A D | dm.c | 132 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() 1381 static noinline void __set_swap_bios_limit(struct mapped_device *md, int latch) in __set_swap_bios_limit() argument 1384 while (latch < md->swap_bios) { in __set_swap_bios_limit() 1389 while (latch > md->swap_bios) { in __set_swap_bios_limit() 1414 int latch = get_swap_bios(); in __map_bio() local 1416 if (unlikely(latch != md->swap_bios)) in __map_bio() 1417 __set_swap_bios_limit(md, latch); in __map_bio()
|
| /linux/kernel/printk/ |
| H A D | printk.c | 483 seqcount_latch_t latch; member 493 .latch = SEQCNT_LATCH_ZERO(clear_seq.latch), 541 write_seqcount_latch_begin(&ls->latch); in latched_seq_write() 543 write_seqcount_latch(&ls->latch); in latched_seq_write() 545 write_seqcount_latch_end(&ls->latch); in latched_seq_write() 556 seq = read_seqcount_latch(&ls->latch); in latched_seq_read_nolock() 559 } while (read_seqcount_latch_retry(&ls->latch, seq)); in latched_seq_read_nolock()
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx.seq | 1144 * 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/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-asrock-x570d4u.dts | 115 /* AA */ "input-cpu1-thermtrip-latch-n", "",
|
| /linux/drivers/staging/fbtft/ |
| H A D | fbtft.h | 214 struct gpio_desc *latch; member
|