Lines Matching refs:adap
32 int as10x_cmd_get_context(struct as10x_bus_adapter_t *adap, uint16_t tag, in as10x_cmd_get_context() argument
38 pcmd = adap->cmd; in as10x_cmd_get_context()
39 prsp = adap->rsp; in as10x_cmd_get_context()
42 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_get_context()
51 if (adap->ops->xfer_cmd) { in as10x_cmd_get_context()
52 error = adap->ops->xfer_cmd(adap, in as10x_cmd_get_context()
88 int as10x_cmd_set_context(struct as10x_bus_adapter_t *adap, uint16_t tag, in as10x_cmd_set_context() argument
94 pcmd = adap->cmd; in as10x_cmd_set_context()
95 prsp = adap->rsp; in as10x_cmd_set_context()
98 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_set_context()
109 if (adap->ops->xfer_cmd) { in as10x_cmd_set_context()
110 error = adap->ops->xfer_cmd(adap, in as10x_cmd_set_context()
143 int as10x_cmd_eLNA_change_mode(struct as10x_bus_adapter_t *adap, uint8_t mode) in as10x_cmd_eLNA_change_mode() argument
148 pcmd = adap->cmd; in as10x_cmd_eLNA_change_mode()
149 prsp = adap->rsp; in as10x_cmd_eLNA_change_mode()
152 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_eLNA_change_mode()
161 if (adap->ops->xfer_cmd) { in as10x_cmd_eLNA_change_mode()
162 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_eLNA_change_mode()