Lines Matching refs:drxd_state

100 struct drxd_state {  struct
126 enum CDrxdState drxd_state; argument
225 static int Read16(struct drxd_state *state, u32 reg, u16 *data, u8 flags) in Read16()
239 static int Read32(struct drxd_state *state, u32 reg, u32 *data, u8 flags) in Read32()
255 static int Write16(struct drxd_state *state, u32 reg, u16 data, u8 flags) in Write16()
268 static int Write32(struct drxd_state *state, u32 reg, u32 data, u8 flags) in Write32()
282 static int write_chunk(struct drxd_state *state, in write_chunk()
300 static int WriteBlock(struct drxd_state *state, in WriteBlock()
315 static int WriteTable(struct drxd_state *state, u8 * pTable) in WriteTable()
345 static int ResetCEFR(struct drxd_state *state) in ResetCEFR()
350 static int InitCP(struct drxd_state *state) in InitCP()
355 static int InitCE(struct drxd_state *state) in InitCE()
395 static int StopOC(struct drxd_state *state) in StopOC()
462 static int StartOC(struct drxd_state *state) in StartOC()
493 static int InitEQ(struct drxd_state *state) in InitEQ()
498 static int InitEC(struct drxd_state *state) in InitEC()
503 static int InitSC(struct drxd_state *state) in InitSC()
508 static int InitAtomicRead(struct drxd_state *state) in InitAtomicRead()
513 static int CorrectSysClockDeviation(struct drxd_state *state);
515 static int DRX_GetLockStatus(struct drxd_state *state, u32 * pLockStatus) in DRX_GetLockStatus()
535 if (state->drxd_state != DRXD_STARTED) in DRX_GetLockStatus()
553 static int SetCfgIfAgc(struct drxd_state *state, struct SCfgAgc *cfg) in SetCfgIfAgc()
698 static int SetCfgRfAgc(struct drxd_state *state, struct SCfgAgc *cfg) in SetCfgRfAgc()
850 static int ReadIFAgc(struct drxd_state *state, u32 * pValue) in ReadIFAgc()
890 static int load_firmware(struct drxd_state *state, const char *fw_name) in load_firmware()
910 static int DownloadMicrocode(struct drxd_state *state, in DownloadMicrocode()
952 static int HI_Command(struct drxd_state *state, u16 cmd, u16 * pResult) in HI_Command()
975 static int HI_CfgCommand(struct drxd_state *state) in HI_CfgCommand()
998 static int InitHI(struct drxd_state *state) in InitHI()
1006 static int HI_ResetCommand(struct drxd_state *state) in HI_ResetCommand()
1020 static int DRX_ConfigureI2CBridge(struct drxd_state *state, int bEnableBridge) in DRX_ConfigureI2CBridge()
1037 static int AtomicReadBlock(struct drxd_state *state,
1090 static int AtomicReadReg32(struct drxd_state *state,
1106 static int StopAllProcessors(struct drxd_state *state) in StopAllProcessors()
1112 static int EnableAndResetMB(struct drxd_state *state) in EnableAndResetMB()
1125 static int InitCC(struct drxd_state *state) in InitCC()
1149 static int ResetECOD(struct drxd_state *state) in ResetECOD()
1167 static int SetCfgPga(struct drxd_state *state, int pgaSwitch) in SetCfgPga()
1233 static int InitFE(struct drxd_state *state) in InitFE()
1274 static int InitFT(struct drxd_state *state) in InitFT()
1283 static int SC_WaitForReady(struct drxd_state *state) in SC_WaitForReady()
1295 static int SC_SendCommand(struct drxd_state *state, u16 cmd) in SC_SendCommand()
1316 static int SC_ProcStartCommand(struct drxd_state *state, in SC_ProcStartCommand()
1340 static int SC_SetPrefParamCommand(struct drxd_state *state, in SC_SetPrefParamCommand()
1369 static int SC_GetOpParamCommand(struct drxd_state *state, u16 * result)
1390 static int ConfigureMPEGOutput(struct drxd_state *state, int bEnableOutput) in ConfigureMPEGOutput()
1480 static int SetDeviceTypeId(struct drxd_state *state) in SetDeviceTypeId()
1574 static int CorrectSysClockDeviation(struct drxd_state *state) in CorrectSysClockDeviation()
1665 static int DRX_Stop(struct drxd_state *state) in DRX_Stop()
1669 if (state->drxd_state != DRXD_STARTED) in DRX_Stop()
1684 state->drxd_state = DRXD_STOPPED; in DRX_Stop()
1732 static int SetOperationMode(struct drxd_state *state, int oMode)
1737 if (state->drxd_state != DRXD_STOPPED) {
1774 static int StartDiversity(struct drxd_state *state) in StartDiversity()
1815 static int SetFrequencyShift(struct drxd_state *state, in SetFrequencyShift()
1853 static int SetCfgNoiseCalibration(struct drxd_state *state, in SetCfgNoiseCalibration()
1888 static int DRX_Start(struct drxd_state *state, s32 off) in DRX_Start()
1919 if (state->drxd_state != DRXD_STOPPED) in DRX_Start()
2415 state->drxd_state = DRXD_STARTED; in DRX_Start()
2421 static int CDRXD(struct drxd_state *state, u32 IntermediateFrequency) in CDRXD()
2548 state->drxd_state = DRXD_UNINITIALIZED; in CDRXD()
2574 static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size) in DRXD_init()
2730 state->drxd_state = DRXD_STOPPED; in DRXD_init()
2737 static int DRXD_status(struct drxd_state *state, u32 *pLockStatus) in DRXD_status()
2757 struct drxd_state *state = fe->demodulator_priv; in drxd_read_signal_strength()
2771 struct drxd_state *state = fe->demodulator_priv; in drxd_read_status()
2794 struct drxd_state *state = fe->demodulator_priv; in drxd_init()
2801 struct drxd_state *state = fe->demodulator_priv; in drxd_config_i2c()
2838 struct drxd_state *state = fe->demodulator_priv; in drxd_sleep()
2852 struct drxd_state *state = fe->demodulator_priv; in drxd_set_frontend()
2871 struct drxd_state *state = fe->demodulator_priv; in drxd_release()
2911 struct drxd_state *state = NULL; in drxd_attach()