Lines Matching defs:data
24 * address then data.
30 /* Copy from data into buf while fixing endianess */
32 _fill_data(char* buf, const char* data, enum kvfmt fmt, int count)
39 buf[idx] = data[i];
41 data += bytes;
59 /* Read no more than count registers into data with correct endianess */
61 _do_kvread(i2c_kvslave_t* kvs, uint64_t reg, void* data, int count)
70 /* Limit the amount of data to read to fit our buffer */
94 _fill_data(data, d, kvs->data_fmt, count);
98 /* Write no more than count registers from data */
100 _do_kvwrite(i2c_kvslave_t* kvs, uint64_t reg, const void* data, int count)
109 /* Limit the amount of data to fit our buffer */
116 /* Load up the data */
117 _fill_data(d + abytes, data, kvs->data_fmt, count);
169 /* Validate address and data format arguments. */
198 ZF_LOGE("Invalid data format %d.", dfmt);
216 char* data = (char*)vdata;
227 this = _do_kvread(kvs, reg, data, remain);
231 data += dbytes * this;
246 char* data = (char*)vdata;
257 this = _do_kvwrite(kvs, reg, data, remain);
261 data += dbytes * this;