Lines Matching refs:device
14 #include <linux/device.h>
85 struct device dev;
120 * FSI endpoint-device support
125 * dev: Structure passed to FSI client device drivers on probe().
126 * addr: FSI address of given device. Client should pass in its base address
161 static void fsi_device_release(struct device *_device)
163 struct fsi_device *device = to_fsi_dev(_device);
165 of_node_put(device->dev.of_node);
166 kfree(device);
415 static bool fsi_device_node_matches(struct device *dev, struct device_node *np,
515 /* create device */
642 static void fsi_slave_release(struct device *dev)
799 static ssize_t send_term_store(struct device *dev,
815 static ssize_t slave_send_echo_show(struct device *dev,
824 static ssize_t slave_send_echo_store(struct device *dev,
859 static ssize_t chip_id_show(struct device *dev,
870 static ssize_t cfam_id_show(struct device *dev,
898 static char *cfam_devnode(struct device *dev, umode_t *mode,
916 static char *fsi_cdev_devnode(struct device *dev, umode_t *mode,
1031 /* We can communicate with a slave; create the slave device and
1087 dev_err(&slave->dev, "Error %d creating slave device\n", rc);
1231 static int fsi_slave_remove_device(struct device *dev, void *arg)
1237 static int fsi_master_remove_slave(struct device *dev, void *arg)
1265 static ssize_t master_rescan_store(struct device *dev,
1280 static ssize_t master_break_store(struct device *dev,
1351 static int fsi_bus_match(struct device *dev, struct device_driver *drv)