Lines Matching defs:sdev
387 struct siox_device *sdev = to_siox_device(dev);
389 return sprintf(buf, "%s\n", sdev->type);
397 struct siox_device *sdev = to_siox_device(dev);
399 return sprintf(buf, "%zu\n", sdev->inbytes);
407 struct siox_device *sdev = to_siox_device(dev);
409 return sprintf(buf, "%zu\n", sdev->outbytes);
417 struct siox_device *sdev = to_siox_device(dev);
420 siox_master_lock(sdev->smaster);
422 status_errors = sdev->status_errors;
424 siox_master_unlock(sdev->smaster);
434 struct siox_device *sdev = to_siox_device(dev);
437 siox_master_lock(sdev->smaster);
439 connected = sdev->connected;
441 siox_master_unlock(sdev->smaster);
451 struct siox_device *sdev = to_siox_device(dev);
454 siox_master_lock(sdev->smaster);
456 status = sdev->status_read_clean;
458 siox_master_unlock(sdev->smaster);
468 struct siox_device *sdev = to_siox_device(dev);
471 siox_master_lock(sdev->smaster);
473 watchdog_errors = sdev->watchdog_errors;
475 siox_master_unlock(sdev->smaster);