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