Home
last modified time | relevance | path

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

/drivers/clk/ti/
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()
Dclk.c338 u32 latch; in ti_clk_latch() local
343 latch = 1 << shift; in ti_clk_latch()
345 ti_clk_ll_ops->clk_rmw(latch, latch, reg); in ti_clk_latch()
346 ti_clk_ll_ops->clk_rmw(0, latch, reg); in ti_clk_latch()
Ddivider.c261 ti_clk_latch(&divider->reg, divider->latch); in ti_clk_divider_set_rate()
486 div->latch = val; in ti_clk_divider_populate()
488 div->latch = -EINVAL; in ti_clk_divider_populate()
Dclock.h16 s8 latch; member
32 s8 latch; member
/drivers/gpio/
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()
DMakefile82 obj-$(CONFIG_GPIO_LATCH) += gpio-latch.o
DKconfig434 created by attaching a 16-bit latch to the bus.
1787 tristate "GPIO latch driver"
/drivers/pcmcia/
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()
/drivers/clocksource/
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()
/drivers/platform/surface/
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()
DKconfig162 necessary) unlocking and opening the latch connecting both parts.
/drivers/md/
Ddm.c131 int latch = READ_ONCE(swap_bios); in get_swap_bios() local
133 if (unlikely(latch <= 0)) in get_swap_bios()
134 latch = DEFAULT_SWAP_BIOS; in get_swap_bios()
135 return latch; in get_swap_bios()
1378 static noinline void __set_swap_bios_limit(struct mapped_device *md, int latch) in __set_swap_bios_limit() argument
1381 while (latch < md->swap_bios) { in __set_swap_bios_limit()
1386 while (latch > md->swap_bios) { in __set_swap_bios_limit()
1411 int latch = get_swap_bios(); in __map_bio() local
1413 if (unlikely(latch != md->swap_bios)) in __map_bio()
1414 __set_swap_bios_limit(md, latch); in __map_bio()
/drivers/scsi/aic7xxx/
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.
Daic79xx.seq1078 mov NONE,SCSIDAT; /*dummy read from latch to ACK*/
1352 mov NONE,SCSIDAT; /*dummy read from latch to ACK*/
1433 mov NONE,SCSIDAT; /*dummy read from latch to ACK*/
1450 mov NONE,SCSIDAT ret; /*dummy read from latch to ACK*/
/drivers/staging/fbtft/
Dfbtft.h213 struct gpio_desc *latch; member
Dfbtft-core.c110 ret = fbtft_request_one_gpio(par, "latch", 0, &par->gpio.latch); in fbtft_request_gpios()
/drivers/gpu/drm/vc4/
Dvc4_dsi.c714 static void vc4_dsi_latch_ulps(struct vc4_dsi *dsi, bool latch) in vc4_dsi_latch_ulps() argument
718 if (latch) in vc4_dsi_latch_ulps()
/drivers/media/tuners/
Dmxl5005s.c3867 static int mxl5005s_writereg(struct dvb_frontend *fe, u8 reg, u8 val, int latch) in mxl5005s_writereg() argument
3874 if (latch == 0) in mxl5005s_writereg()