Lines Matching refs:device
6 #include <linux/device.h>
14 * The lowest bit in the SIOX status word signals if the in-device watchdog is
15 * ok. If the bit is set, the device is functional.
79 * If the device knows which value the type bits should have, check
103 * If there is a type or counter error the device is called "unsynced".
116 * A device is called "connected" if it is synced and the watchdog is not
161 * If the device or a previous one is unsynced, don't pet the
162 * watchdog. This is done to ensure that the device is kept in
238 /* If the device is unsynced report the watchdog as active */
269 /* only give data read to driver if the device is connected */
384 static ssize_t type_show(struct device *dev,
394 static ssize_t inbytes_show(struct device *dev,
404 static ssize_t outbytes_show(struct device *dev,
414 static ssize_t status_errors_show(struct device *dev,
431 static ssize_t connected_show(struct device *dev,
448 static ssize_t watchdog_show(struct device *dev,
465 static ssize_t watchdog_errors_show(struct device *dev,
494 static void siox_device_release(struct device *dev)
506 static int siox_match(struct device *dev, struct device_driver *drv)
515 static int siox_probe(struct device *dev)
523 static void siox_remove(struct device *dev)
533 static void siox_shutdown(struct device *dev)
554 static ssize_t active_show(struct device *dev,
562 static ssize_t active_store(struct device *dev,
591 static ssize_t device_add_store(struct device *dev,
618 static ssize_t device_remove_store(struct device *dev,
632 static ssize_t poll_interval_ns_show(struct device *dev,
640 static ssize_t poll_interval_ns_store(struct device *dev,
672 static void siox_master_release(struct device *dev)
684 struct siox_master *siox_master_alloc(struct device *dev,
743 /* remove device */
816 dev_err(&smaster->dev, "failed to register device: %d\n", ret);