Home
last modified time | relevance | path

Searched refs:class_dev (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/block/
Dbsg.c147 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/
Dcros_ec.h190 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/
Dscsi_device.h237 #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/
Dbsg.h19 struct device *class_dev; member
Datmdev.h169 struct device class_dev; /* sysfs device */ member
291 put_device(&dev->class_dev); in atm_dev_put()
/linux-4.19.296/include/linux/mmc/
Dhost.h272 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/
Drtc-davinci.c172 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()