Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/test-drivers/vidtv/
Dvidtv_tuner.c97 u32 lock_status; member
192 tuner_dev->hw_state.lock_status = 0; in vidtv_tuner_get_signal_strength()
305 tuner_dev->hw_state.lock_status = 0; in vidtv_tuner_set_params()
311 tuner_dev->hw_state.lock_status = TUNER_STATUS_LOCKED; in vidtv_tuner_set_params()
317 tuner_dev->hw_state.lock_status = 0; in vidtv_tuner_set_params()
368 *status = tuner_dev->hw_state.lock_status; in vidtv_tuner_get_status()
/linux-6.6.21/drivers/media/tuners/
Dmt2131.c181 u8 lock_status = 0; in mt2131_get_status() local
186 mt2131_readreg(priv, 0x08, &lock_status); in mt2131_get_status()
187 if ((lock_status & 0x88) == 0x88) in mt2131_get_status()
192 __func__, lock_status, afc_status); in mt2131_get_status()
Dxc5000.c496 static int xc_get_lock_status(struct xc5000_priv *priv, u16 *lock_status) in xc_get_lock_status() argument
498 return xc5000_readreg(priv, XREG_LOCK, lock_status); in xc_get_lock_status()
627 u16 lock_status; in xc_debug_dump() local
650 xc_get_lock_status(priv, &lock_status); in xc_debug_dump()
652 lock_status); in xc_debug_dump()
1088 u16 lock_status = 0; in xc5000_get_status() local
1090 xc_get_lock_status(priv, &lock_status); in xc5000_get_status()
1092 dprintk(1, "%s() lock_status = 0x%08x\n", __func__, lock_status); in xc5000_get_status()
1094 *status = lock_status; in xc5000_get_status()
Dxc4000.c424 static int xc_get_lock_status(struct xc4000_priv *priv, u16 *lock_status) in xc_get_lock_status() argument
426 return xc4000_readreg(priv, XREG_LOCK, lock_status); in xc_get_lock_status()
1092 u16 lock_status; in xc_debug_dump() local
1107 xc_get_lock_status(priv, &lock_status); in xc_debug_dump()
1109 lock_status); in xc_debug_dump()
1552 u16 lock_status = 0; in xc4000_get_status() local
1557 xc_get_lock_status(priv, &lock_status); in xc4000_get_status()
1559 *status = (lock_status == 1 ? in xc4000_get_status()
1566 dprintk(2, "%s() lock_status = %d\n", __func__, lock_status); in xc4000_get_status()
Dmax2165.c303 u16 lock_status = 0; in max2165_get_status() local
311 *status = lock_status; in max2165_get_status()
/linux-6.6.21/sound/firewire/bebob/
Dbebob_hwdep.c39 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
40 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
41 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read()
/linux-6.6.21/sound/firewire/oxfw/
Doxfw-hwdep.c38 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
39 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read()
42 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/linux-6.6.21/sound/firewire/dice/
Ddice-hwdep.c32 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
33 event.lock_status.status = dice->dev_lock_count > 0; in hwdep_read()
36 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/linux-6.6.21/sound/firewire/digi00x/
Ddigi00x-hwdep.c40 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
41 event.lock_status.status = (dg00x->dev_lock_count > 0); in hwdep_read()
44 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
/linux-6.6.21/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-6.6.21/sound/firewire/motu/
Dmotu-hwdep.c48 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
49 event.lock_status.status = (motu->dev_lock_count > 0); in hwdep_read()
/linux-6.6.21/drivers/media/dvb-frontends/
Dau8522_decoder.c614 u8 lock_status; in au8522_g_tuner() local
618 lock_status = au8522_readreg(state, 0x00); in au8522_g_tuner()
620 if ((lock_status == 0xa2) && (pll_status & 0x10)) in au8522_g_tuner()
/linux-6.6.21/drivers/clk/xilinx/
Dxlnx_vcu.c239 u32 lock_status; in xvcu_pll_wait_for_lock() local
243 lock_status = xvcu_read(base, VCU_PLL_STATUS); in xvcu_pll_wait_for_lock()
244 if (lock_status & VCU_PLL_STATUS_LOCK_STATUS) in xvcu_pll_wait_for_lock()
/linux-6.6.21/drivers/clk/st/
Dclkgen-fsyn.c53 struct clkgen_field lock_status; member
120 .lock_status = CLKGEN_FIELD(0x2f0, 0x1, 24),
174 .lock_status = CLKGEN_FIELD(0x2A0, 0x1, 24),
284 while (!CLKGEN_READ(pll, lock_status)) { in quadfs_pll_enable()
/linux-6.6.21/include/uapi/sound/
Dfirewire.h102 struct snd_firewire_event_lock_status lock_status; member
/linux-6.6.21/fs/ocfs2/
Dstackglue.h189 int (*lock_status)(struct ocfs2_dlm_lksb *lksb); member
Dstack_o2cb.c413 .lock_status = o2cb_dlm_lock_status,
Dstackglue.c259 return active_stack->sp_ops->lock_status(lksb); in ocfs2_dlm_lock_status()
Dstack_user.c1074 .lock_status = user_dlm_lock_status,
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Dlmedm04.c113 enum fe_status lock_status; member
348 st->lock_status &= ~FE_HAS_LOCK; in lme2510_int_response()
849 st->lock_status = *status; in dm04_read_status()
866 st->lock_status &= ~FE_HAS_LOCK; in dm04_read_status()
868 *status = st->lock_status; in dm04_read_status()
/linux-6.6.21/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c8869 s32 tuner_freq_offset, enum drx_lock_status *lock_status) in qam64auto() argument
8883 *lock_status = DRX_NOT_LOCKED; in qam64auto()
8887 rc = ctrl_lock_status(demod, lock_status); in qam64auto()
8895 if (*lock_status == DRXJ_DEMOD_LOCK) { in qam64auto()
8910 if ((*lock_status == DRXJ_DEMOD_LOCK) && /* still demod_lock in 150ms */ in qam64auto()
8928 if (*lock_status == DRXJ_DEMOD_LOCK) { in qam64auto()
8962 if ((*lock_status == DRXJ_DEMOD_LOCK) && /* still demod_lock in 150ms */ in qam64auto()
8993 ((*lock_status != DRX_LOCKED) && in qam64auto()
8994 (*lock_status != DRX_NEVER_LOCK) && in qam64auto()
9017 s32 tuner_freq_offset, enum drx_lock_status *lock_status) in qam256auto() argument
[all …]
/linux-6.6.21/drivers/scsi/qla4xxx/
Dql4_83xx.c79 uint32_t lock_status = 0; in qla4_83xx_flash_lock() local
82 while (lock_status == 0) { in qla4_83xx_flash_lock()
83 lock_status = qla4_83xx_rd_reg(ha, QLA83XX_FLASH_LOCK); in qla4_83xx_flash_lock()
84 if (lock_status) in qla4_83xx_flash_lock()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_nx2.c451 uint32_t lock_status = 0; in qla8044_flash_lock() local
455 while (lock_status == 0) { in qla8044_flash_lock()
456 lock_status = qla8044_rd_reg(ha, QLA8044_FLASH_LOCK); in qla8044_flash_lock()
457 if (lock_status) in qla8044_flash_lock()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1732 u32 lock_status; in bnx2x_trylock_hw_lock() local
1756 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_trylock_hw_lock()
1757 if (lock_status & resource_bit) in bnx2x_trylock_hw_lock()
1999 u32 lock_status; in bnx2x_acquire_hw_lock() local
2020 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
2021 if (lock_status & resource_bit) { in bnx2x_acquire_hw_lock()
2023 lock_status, resource_bit); in bnx2x_acquire_hw_lock()
2031 lock_status = REG_RD(bp, hw_lock_control_reg); in bnx2x_acquire_hw_lock()
2032 if (lock_status & resource_bit) in bnx2x_acquire_hw_lock()
2048 u32 lock_status; in bnx2x_release_hw_lock() local
[all …]