Lines Matching defs:xbuf
141 uint8_t xcmd, xbuf;
146 xbuf = DS2482_REGISTER_STATUS;
149 &xbuf, 1, 0);
177 uint8_t xbuf;
192 error = ds2482_wait_with_status(tag, addr, &xbuf,
224 error = ds2482_wait_with_status(tag, addr, &xbuf,
254 xbuf = DS2482_REGISTER_STATUS;
256 &xbuf, 1, 0);
258 error = ds2482_wait_with_status(tag, addr, &xbuf,
264 xbuf = DS2482_ONEWIRE_BIT_ZERO;
266 xbuf = DS2482_ONEWIRE_BIT_ONE;
271 &xcmd, 1, &xbuf, 1, 0);
274 xbuf = 0xff;
276 &xbuf, DS2482_SLOW_DELAY,
290 xbuf = DS2482_REGISTER_STATUS;
292 &xbuf, 1, 0);
294 error = ds2482_wait_with_status(tag, addr, &xbuf,
300 xbuf = DS2482_ONEWIRE_BIT_ONE;
305 &xcmd, 1, &xbuf, 1, 0);
308 xbuf = 0xff;
310 &xbuf, DS2482_SLOW_DELAY,
313 *obuf = (xbuf & DS2482_STATUS_SBR) >>
328 xbuf = DS2482_REGISTER_STATUS;
330 &xbuf, 1, 0);
332 error = ds2482_wait_with_status(tag, addr, &xbuf,
344 xbuf = 0xff;
346 &xbuf, DS2482_SLOW_DELAY,
360 xbuf = DS2482_REGISTER_STATUS;
362 &xbuf, 1, 0);
364 error = ds2482_wait_with_status(tag, addr, &xbuf,
376 xbuf = 0xff;
378 &xbuf, DS2482_SLOW_DELAY,
382 xbuf = DS2482_REGISTER_DATA;
385 &xcmd, 1, &xbuf, 1, 0);
387 xbuf = 0xff;
391 &xbuf, 1, 0);
393 *obuf = xbuf;
411 xbuf = DS2482_REGISTER_STATUS;
413 &xbuf, 1, 0);
415 error = ds2482_wait_with_status(tag, addr, &xbuf,
420 xbuf = DS2482_TRIPLET_DIR_ZERO;
422 xbuf = DS2482_TRIPLET_DIR_ONE;
428 cmd, 1, &xbuf, 1, 0);
431 xbuf = 0xff;
433 &xbuf, DS2482_SLOW_DELAY,
450 if (xbuf & DS2482_STATUS_TSB) {
453 if (xbuf & DS2482_STATUS_SBR) {