Lines Matching refs:prsp
30 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_on() local
33 prsp = adap->rsp; in as10x_cmd_turn_on()
47 (uint8_t *) prsp, in as10x_cmd_turn_on()
48 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on()
56 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNON_RSP); in as10x_cmd_turn_on()
71 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_off() local
74 prsp = adap->rsp; in as10x_cmd_turn_off()
88 (uint8_t *) prsp, in as10x_cmd_turn_off()
89 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off()
96 error = as10x_rsp_parse(prsp, CONTROL_PROC_TURNOFF_RSP); in as10x_cmd_turn_off()
113 struct as10x_cmd_t *preq, *prsp; in as10x_cmd_set_tune() local
116 prsp = adap->rsp; in as10x_cmd_set_tune()
142 (uint8_t *) prsp, in as10x_cmd_set_tune()
143 sizeof(prsp->body.set_tune.rsp) in as10x_cmd_set_tune()
151 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETTUNE_RSP); in as10x_cmd_set_tune()
168 struct as10x_cmd_t *preq, *prsp; in as10x_cmd_get_tune_status() local
171 prsp = adap->rsp; in as10x_cmd_get_tune_status()
187 (uint8_t *) prsp, in as10x_cmd_get_tune_status()
188 sizeof(prsp->body.get_tune_status.rsp) + HEADER_SIZE); in as10x_cmd_get_tune_status()
195 error = as10x_rsp_parse(prsp, CONTROL_PROC_GETTUNESTAT_RSP); in as10x_cmd_get_tune_status()
200 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; in as10x_cmd_get_tune_status()
202 le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength); in as10x_cmd_get_tune_status()
203 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); in as10x_cmd_get_tune_status()
204 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER); in as10x_cmd_get_tune_status()
220 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_tps() local
223 prsp = adap->rsp; in as10x_cmd_get_tps()
239 (uint8_t *) prsp, in as10x_cmd_get_tps()
240 sizeof(prsp->body.get_tps.rsp) + in as10x_cmd_get_tps()
248 error = as10x_rsp_parse(prsp, CONTROL_PROC_GETTPS_RSP); in as10x_cmd_get_tps()
253 ptps->modulation = prsp->body.get_tps.rsp.tps.modulation; in as10x_cmd_get_tps()
254 ptps->hierarchy = prsp->body.get_tps.rsp.tps.hierarchy; in as10x_cmd_get_tps()
255 ptps->interleaving_mode = prsp->body.get_tps.rsp.tps.interleaving_mode; in as10x_cmd_get_tps()
256 ptps->code_rate_HP = prsp->body.get_tps.rsp.tps.code_rate_HP; in as10x_cmd_get_tps()
257 ptps->code_rate_LP = prsp->body.get_tps.rsp.tps.code_rate_LP; in as10x_cmd_get_tps()
258 ptps->guard_interval = prsp->body.get_tps.rsp.tps.guard_interval; in as10x_cmd_get_tps()
259 ptps->transmission_mode = prsp->body.get_tps.rsp.tps.transmission_mode; in as10x_cmd_get_tps()
260 ptps->DVBH_mask_HP = prsp->body.get_tps.rsp.tps.DVBH_mask_HP; in as10x_cmd_get_tps()
261 ptps->DVBH_mask_LP = prsp->body.get_tps.rsp.tps.DVBH_mask_LP; in as10x_cmd_get_tps()
262 ptps->cell_ID = le16_to_cpu((__force __le16)prsp->body.get_tps.rsp.tps.cell_ID); in as10x_cmd_get_tps()
279 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_demod_stats() local
282 prsp = adap->rsp; in as10x_cmd_get_demod_stats()
298 (uint8_t *) prsp, in as10x_cmd_get_demod_stats()
299 sizeof(prsp->body.get_demod_stats.rsp) in as10x_cmd_get_demod_stats()
307 error = as10x_rsp_parse(prsp, CONTROL_PROC_GET_DEMOD_STATS_RSP); in as10x_cmd_get_demod_stats()
313 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.frame_count); in as10x_cmd_get_demod_stats()
315 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.bad_frame_count); in as10x_cmd_get_demod_stats()
317 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.bytes_fixed_by_rs); in as10x_cmd_get_demod_stats()
319 le16_to_cpu((__force __le16)prsp->body.get_demod_stats.rsp.stats.mer); in as10x_cmd_get_demod_stats()
321 prsp->body.get_demod_stats.rsp.stats.has_started; in as10x_cmd_get_demod_stats()
339 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_impulse_resp() local
342 prsp = adap->rsp; in as10x_cmd_get_impulse_resp()
358 (uint8_t *) prsp, in as10x_cmd_get_impulse_resp()
359 sizeof(prsp->body.get_impulse_rsp.rsp) in as10x_cmd_get_impulse_resp()
367 error = as10x_rsp_parse(prsp, CONTROL_PROC_GET_IMPULSE_RESP_RSP); in as10x_cmd_get_impulse_resp()
372 *is_ready = prsp->body.get_impulse_rsp.rsp.is_ready; in as10x_cmd_get_impulse_resp()
400 int as10x_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id) in as10x_rsp_parse() argument
405 error = prsp->body.common.rsp.error; in as10x_rsp_parse()
408 (le16_to_cpu(prsp->body.common.rsp.proc_id) == proc_id)) { in as10x_rsp_parse()