Lines Matching refs:rcount
94 int rcount = 0; in wcnss_write_cal_data() local
133 rcount = read(fd_file, (void *)buf, sizeof(buf)); in wcnss_write_cal_data()
134 if (rcount < 0) { in wcnss_write_cal_data()
137 rc = rcount; in wcnss_write_cal_data()
141 if (!rcount) in wcnss_write_cal_data()
144 wcount = write(fd_dev, buf, rcount); in wcnss_write_cal_data()
152 } while (rcount); in wcnss_write_cal_data()
172 int rcount = 0; in wcnss_read_and_store_cal_data() local
183 rcount = read(fd_dev, (void *)buf, sizeof(buf)); in wcnss_read_and_store_cal_data()
184 if (rcount < 0) { in wcnss_read_and_store_cal_data()
187 rc = rcount; in wcnss_read_and_store_cal_data()
206 if (!rcount) in wcnss_read_and_store_cal_data()
209 wcount = write(fd_file, buf, rcount); in wcnss_read_and_store_cal_data()
217 } while (rcount); in wcnss_read_and_store_cal_data()