Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/tuners/
Dmt2131.c191 u8 lock_status = 0; in mt2131_get_status() local
196 mt2131_readreg(priv, 0x08, &lock_status); in mt2131_get_status()
197 if ((lock_status & 0x88) == 0x88) in mt2131_get_status()
202 __func__, lock_status, afc_status); in mt2131_get_status()
Dxc5000.c506 static int xc_get_lock_status(struct xc5000_priv *priv, u16 *lock_status) in xc_get_lock_status() argument
508 return xc5000_readreg(priv, XREG_LOCK, lock_status); in xc_get_lock_status()
637 u16 lock_status; in xc_debug_dump() local
660 xc_get_lock_status(priv, &lock_status); in xc_debug_dump()
662 lock_status); in xc_debug_dump()
1098 u16 lock_status = 0; in xc5000_get_status() local
1100 xc_get_lock_status(priv, &lock_status); in xc5000_get_status()
1102 dprintk(1, "%s() lock_status = 0x%08x\n", __func__, lock_status); in xc5000_get_status()
1104 *status = lock_status; in xc5000_get_status()
Dxc4000.c435 static int xc_get_lock_status(struct xc4000_priv *priv, u16 *lock_status) in xc_get_lock_status() argument
437 return xc4000_readreg(priv, XREG_LOCK, lock_status); in xc_get_lock_status()
1104 u16 lock_status; in xc_debug_dump() local
1119 xc_get_lock_status(priv, &lock_status); in xc_debug_dump()
1121 lock_status); in xc_debug_dump()
1564 u16 lock_status = 0; in xc4000_get_status() local
1569 xc_get_lock_status(priv, &lock_status); in xc4000_get_status()
1571 *status = (lock_status == 1 ? in xc4000_get_status()
1578 dprintk(2, "%s() lock_status = %d\n", __func__, lock_status); in xc4000_get_status()
Dmax2165.c313 u16 lock_status = 0; in max2165_get_status() local
321 *status = lock_status; in max2165_get_status()
/Linux-v4.19/sound/firewire/tascam/
Dtascam-hwdep.c25 .lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS, in hwdep_read()
40 event.lock_status.status = (tscm->dev_lock_count > 0); in hwdep_read()
45 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/bebob/
Dbebob_hwdep.c41 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
42 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read()
45 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/fireface/
Dff-hwdep.c40 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
41 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read()
44 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/motu/
Dmotu-hwdep.c41 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
42 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read()
45 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/oxfw/
Doxfw-hwdep.c40 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
41 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read()
44 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/dice/
Ddice-hwdep.c33 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
34 event.lock_status.status = dice->dev_lock_count > 0; in hwdep_read()
37 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/digi00x/
Ddigi00x-hwdep.c41 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
42 event.lock_status.status = (dg00x->dev_lock_count > 0); in hwdep_read()
45 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks_hwdep.c103 .lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS, in hwdep_read_locked()
108 event.lock_status.status = (efw->dev_lock_count > 0); in hwdep_read_locked()
113 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read_locked()
/Linux-v4.19/include/uapi/sound/
Dfirewire.h58 struct snd_firewire_event_lock_status lock_status; member
/Linux-v4.19/drivers/soc/xilinx/
Dxlnx_vcu.c449 u32 lock_status; in xvcu_set_pll() local
474 lock_status = xvcu_read(xvcu->vcu_slcr_ba, VCU_PLL_STATUS); in xvcu_set_pll()
475 if (lock_status & VCU_PLL_STATUS_LOCK_STATUS_MASK) { in xvcu_set_pll()
/Linux-v4.19/drivers/media/dvb-frontends/
Dau8522_decoder.c623 u8 lock_status; in au8522_g_tuner() local
627 lock_status = au8522_readreg(state, 0x00); in au8522_g_tuner()
629 if ((lock_status == 0xa2) && (pll_status & 0x10)) in au8522_g_tuner()
/Linux-v4.19/drivers/clk/st/
Dclkgen-fsyn.c57 struct clkgen_field lock_status; member
115 .lock_status = CLKGEN_FIELD(0x2f0, 0x1, 24),
157 .lock_status = CLKGEN_FIELD(0x2A0, 0x1, 24),
227 while (!CLKGEN_READ(pll, lock_status)) { in quadfs_pll_enable()
/Linux-v4.19/fs/ocfs2/
Dstackglue.h199 int (*lock_status)(struct ocfs2_dlm_lksb *lksb); member
Dstack_o2cb.c423 .lock_status = o2cb_dlm_lock_status,
Dstackglue.c275 return active_stack->sp_ops->lock_status(lksb); in ocfs2_dlm_lock_status()
Dstack_user.c1096 .lock_status = user_dlm_lock_status,
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/
Dlmedm04.c123 enum fe_status lock_status; member
386 st->lock_status &= ~FE_HAS_LOCK; in lme2510_int_response()
909 st->lock_status = *status; in dm04_read_status()
926 st->lock_status &= ~FE_HAS_LOCK; in dm04_read_status()
928 *status = st->lock_status; in dm04_read_status()
/Linux-v4.19/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c8863 s32 tuner_freq_offset, enum drx_lock_status *lock_status) in qam64auto() argument
8877 *lock_status = DRX_NOT_LOCKED; in qam64auto()
8881 rc = ctrl_lock_status(demod, lock_status); in qam64auto()
8889 if (*lock_status == DRXJ_DEMOD_LOCK) { in qam64auto()
8904 if ((*lock_status == DRXJ_DEMOD_LOCK) && /* still demod_lock in 150ms */ in qam64auto()
8922 if (*lock_status == DRXJ_DEMOD_LOCK) { in qam64auto()
8956 if ((*lock_status == DRXJ_DEMOD_LOCK) && /* still demod_lock in 150ms */ in qam64auto()
8987 ((*lock_status != DRX_LOCKED) && in qam64auto()
8988 (*lock_status != DRX_NEVER_LOCK) && in qam64auto()
9011 s32 tuner_freq_offset, enum drx_lock_status *lock_status) in qam256auto() argument
[all …]
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_83xx.c80 uint32_t lock_status = 0; in qla4_83xx_flash_lock() local
83 while (lock_status == 0) { in qla4_83xx_flash_lock()
84 lock_status = qla4_83xx_rd_reg(ha, QLA83XX_FLASH_LOCK); in qla4_83xx_flash_lock()
85 if (lock_status) in qla4_83xx_flash_lock()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nx2.c452 uint32_t lock_status = 0; in qla8044_flash_lock() local
456 while (lock_status == 0) { in qla8044_flash_lock()
457 lock_status = qla8044_rd_reg(ha, QLA8044_FLASH_LOCK); in qla8044_flash_lock()
458 if (lock_status) in qla8044_flash_lock()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1725 u32 lock_status; in bnx2x_trylock_hw_lock() local
1749 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_trylock_hw_lock()
1750 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()
1992 u32 lock_status; in bnx2x_acquire_hw_lock() local
2013 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
2014 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
2016 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
2024 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
2025 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()
2041 u32 lock_status; in bnx2x_release_hw_lock() local
[all …]