Lines Matching refs:device
33 static int slim_device_match(struct device *dev, struct device_driver *drv)
62 static int slim_device_probe(struct device *dev)
84 static int slim_device_remove(struct device *dev)
98 static int slim_device_uevent(struct device *dev, struct kobj_uevent_env *env)
117 * @drv:Client driver to be associated with client-device.
147 static void slim_dev_release(struct device *dev)
200 struct device *dev = ctrl->dev;
289 static int slim_ctrl_remove_device(struct device *dev, void *null)
311 * slim_report_absent() - Controller calls this function when a device
312 * reports absent, OR when the device cannot be communicated with
341 static int slim_match_dev(struct device *dev, void *data)
353 struct device *dev;
365 * slim_get_device() - get handle to a device.
367 * @ctrl: Controller on which this device will be added/queried
368 * @e_addr: Enumeration address of the device to be queried
370 * Return: pointer to a device if it has already reported. Creates a new
371 * device and returns pointer to it if the device has not yet enumerated.
389 static int of_slim_match_dev(struct device *dev, void *data)
401 struct device *dev;
413 * of_slim_get_device() - get handle to a device using dt node.
415 * @ctrl: Controller on which this device will be added/queried
416 * @np: node pointer to device
418 * Return: pointer to a device if it has already reported. Creates a new
419 * device and returns pointer to it if the device has not yet enumerated.
479 * slim_device_report_present() - Report enumerated device.
481 * @ctrl: Controller with which device is enumerated.
482 * @e_addr: Enumeration address of the device.
523 * slim_get_logical_addr() - get/allocate logical address of a SLIMbus device.