Lines Matching refs:error
30 int error; in as10x_cmd_add_PID_filter() local
53 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_add_PID_filter()
59 error = AS10X_CMD_ERROR; in as10x_cmd_add_PID_filter()
62 if (error < 0) in as10x_cmd_add_PID_filter()
66 error = as10x_rsp_parse(prsp, CONTROL_PROC_SETFILTER_RSP); in as10x_cmd_add_PID_filter()
68 if (error == 0) { in as10x_cmd_add_PID_filter()
74 return error; in as10x_cmd_add_PID_filter()
87 int error; in as10x_cmd_del_PID_filter() local
104 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_del_PID_filter()
110 error = AS10X_CMD_ERROR; in as10x_cmd_del_PID_filter()
113 if (error < 0) in as10x_cmd_del_PID_filter()
117 error = as10x_rsp_parse(prsp, CONTROL_PROC_REMOVEFILTER_RSP); in as10x_cmd_del_PID_filter()
120 return error; in as10x_cmd_del_PID_filter()
131 int error; in as10x_cmd_start_streaming() local
147 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_start_streaming()
153 error = AS10X_CMD_ERROR; in as10x_cmd_start_streaming()
156 if (error < 0) in as10x_cmd_start_streaming()
160 error = as10x_rsp_parse(prsp, CONTROL_PROC_START_STREAMING_RSP); in as10x_cmd_start_streaming()
163 return error; in as10x_cmd_start_streaming()
174 int8_t error; in as10x_cmd_stop_streaming() local
190 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_stop_streaming()
196 error = AS10X_CMD_ERROR; in as10x_cmd_stop_streaming()
199 if (error < 0) in as10x_cmd_stop_streaming()
203 error = as10x_rsp_parse(prsp, CONTROL_PROC_STOP_STREAMING_RSP); in as10x_cmd_stop_streaming()
206 return error; in as10x_cmd_stop_streaming()