Searched refs:to_ssam_device (Results 1 – 4 of 4) sorted by relevance
24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show()40 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent()50 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release()310 struct ssam_device *sdev = to_ssam_device(dev); in ssam_bus_match()321 ->probe(to_ssam_device(dev)); in ssam_bus_probe()329 sdrv->remove(to_ssam_device(dev)); in ssam_bus_remove()501 struct ssam_device *sdev = to_ssam_device(dev); in ssam_remove_device()
232 static inline struct ssam_device *to_ssam_device(struct device *d) in to_ssam_device() function311 return sdev ? to_ssam_device(get_device(&sdev->dev)) : NULL; in ssam_device_get()
33 return ssam_device_is_hot_removed(to_ssam_device(shid->dev)); in surface_hid_is_hot_removed()
119 struct ssam_device *sdev = to_ssam_device(dev); in ssam_hub_mark_hot_removed()