Lines Matching refs:result
27 int result;
31 result = -ENOMEM;
43 result = uwb_rc_cmd(rc, "SCAN", &cmd->rccb, sizeof(*cmd),
45 if (result < 0)
51 result = -EIO;
60 return result;
71 ssize_t result;
74 result = sprintf(buf, "%d %d\n", rc->scanning, rc->scan_type);
76 return result;
91 ssize_t result = -EINVAL;
93 result = sscanf(buf, "%u %u %u\n", &channel, &type, &bpst_offset);
94 if (result >= 2 && type < UWB_SCAN_TOP)
95 result = uwb_rc_scan(rc, channel, type, bpst_offset);
97 return result < 0 ? result : size;