Lines Matching full:adap
14 * @adap: pointer to AS10x bus adapter
18 int as10x_cmd_turn_on(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_on() argument
23 pcmd = adap->cmd; in as10x_cmd_turn_on()
24 prsp = adap->rsp; in as10x_cmd_turn_on()
27 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_turn_on()
34 if (adap->ops->xfer_cmd) { in as10x_cmd_turn_on()
35 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_turn_on()
55 * @adap: pointer to AS10x bus adapter
59 int as10x_cmd_turn_off(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_off() argument
64 pcmd = adap->cmd; in as10x_cmd_turn_off()
65 prsp = adap->rsp; in as10x_cmd_turn_off()
68 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_turn_off()
75 if (adap->ops->xfer_cmd) { in as10x_cmd_turn_off()
76 error = adap->ops->xfer_cmd( in as10x_cmd_turn_off()
77 adap, (uint8_t *) pcmd, in as10x_cmd_turn_off()
95 * @adap: pointer to AS10x bus adapter
100 int as10x_cmd_set_tune(struct as10x_bus_adapter_t *adap, in as10x_cmd_set_tune() argument
106 preq = adap->cmd; in as10x_cmd_set_tune()
107 prsp = adap->rsp; in as10x_cmd_set_tune()
110 as10x_cmd_build(preq, (++adap->cmd_xid), in as10x_cmd_set_tune()
128 if (adap->ops->xfer_cmd) { in as10x_cmd_set_tune()
129 error = adap->ops->xfer_cmd(adap, in as10x_cmd_set_tune()
150 * @adap: pointer to AS10x bus adapter
155 int as10x_cmd_get_tune_status(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_tune_status() argument
161 preq = adap->cmd; in as10x_cmd_get_tune_status()
162 prsp = adap->rsp; in as10x_cmd_get_tune_status()
165 as10x_cmd_build(preq, (++adap->cmd_xid), in as10x_cmd_get_tune_status()
173 if (adap->ops->xfer_cmd) { in as10x_cmd_get_tune_status()
174 error = adap->ops->xfer_cmd( in as10x_cmd_get_tune_status()
175 adap, in as10x_cmd_get_tune_status()
203 * @adap: pointer to AS10x handle
208 int as10x_cmd_get_tps(struct as10x_bus_adapter_t *adap, struct as10x_tps *ptps) in as10x_cmd_get_tps() argument
213 pcmd = adap->cmd; in as10x_cmd_get_tps()
214 prsp = adap->rsp; in as10x_cmd_get_tps()
217 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_get_tps()
225 if (adap->ops->xfer_cmd) { in as10x_cmd_get_tps()
226 error = adap->ops->xfer_cmd(adap, in as10x_cmd_get_tps()
261 * @adap: pointer to AS10x bus adapter
266 int as10x_cmd_get_demod_stats(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_demod_stats() argument
272 pcmd = adap->cmd; in as10x_cmd_get_demod_stats()
273 prsp = adap->rsp; in as10x_cmd_get_demod_stats()
276 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_get_demod_stats()
284 if (adap->ops->xfer_cmd) { in as10x_cmd_get_demod_stats()
285 error = adap->ops->xfer_cmd(adap, in as10x_cmd_get_demod_stats()
320 * @adap: pointer to AS10x bus adapter
326 int as10x_cmd_get_impulse_resp(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_impulse_resp() argument
332 pcmd = adap->cmd; in as10x_cmd_get_impulse_resp()
333 prsp = adap->rsp; in as10x_cmd_get_impulse_resp()
336 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_get_impulse_resp()
344 if (adap->ops->xfer_cmd) { in as10x_cmd_get_impulse_resp()
345 error = adap->ops->xfer_cmd(adap, in as10x_cmd_get_impulse_resp()