Searched refs:class_dev (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/block/ |
D | bsg.c | 147 if (!q->bsg_dev.class_dev) in bsg_map_hdr() 296 strncpy(bd->name, dev_name(rq->bsg_dev.class_dev), sizeof(bd->name) - 1); in bsg_add_device() 450 if (!bcd->class_dev) in bsg_unregister_queue() 457 device_unregister(bcd->class_dev); in bsg_unregister_queue() 458 bcd->class_dev = NULL; in bsg_unregister_queue() 469 struct device *class_dev = NULL; in bsg_register_queue() local 495 class_dev = device_create(bsg_class, parent, dev, NULL, "%s", name); in bsg_register_queue() 496 if (IS_ERR(class_dev)) { in bsg_register_queue() 497 ret = PTR_ERR(class_dev); in bsg_register_queue() 500 bcd->class_dev = class_dev; in bsg_register_queue() [all …]
|
/linux-4.19.296/include/linux/mfd/ |
D | cros_ec.h | 190 struct device class_dev; member 200 #define to_cros_ec_dev(dev) container_of(dev, struct cros_ec_dev, class_dev)
|
/linux-4.19.296/include/scsi/ |
D | scsi_device.h | 237 #define transport_class_to_sdev(class_dev) \ argument 238 to_scsi_device(class_dev->parent) 323 #define transport_class_to_starget(class_dev) \ argument 324 to_scsi_target(class_dev->parent)
|
/linux-4.19.296/include/linux/ |
D | bsg.h | 19 struct device *class_dev; member
|
D | atmdev.h | 169 struct device class_dev; /* sysfs device */ member 291 put_device(&dev->class_dev); in atm_dev_put()
|
/linux-4.19.296/include/linux/mmc/ |
D | host.h | 272 struct device class_dev; member 483 #define mmc_classdev(x) (&(x)->class_dev) 484 #define mmc_hostname(x) (dev_name(&(x)->class_dev))
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-davinci.c | 172 static irqreturn_t davinci_rtc_interrupt(int irq, void *class_dev) in davinci_rtc_interrupt() argument 174 struct davinci_rtc *davinci_rtc = class_dev; in davinci_rtc_interrupt()
|