Home
last modified time | relevance | path

Searched refs:class_dev (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
H A Dhost.c33 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
518 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host()
519 host->ws = wakeup_source_register(NULL, dev_name(&host->class_dev)); in mmc_alloc_host()
522 host->class_dev.parent = dev; in mmc_alloc_host()
523 host->class_dev.class = &mmc_host_class; in mmc_alloc_host()
524 device_initialize(&host->class_dev); in mmc_alloc_host()
525 device_enable_async_suspend(&host->class_dev); in mmc_alloc_host()
528 put_device(&host->class_dev); in mmc_alloc_host()
587 err = device_add(&host->class_dev); in mmc_add_host()
592 led_trigger_register_simple(dev_name(&host->class_dev), in mmc_add_host()
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/
H A Dhost.h272 struct device class_dev; member
492 #define mmc_classdev(x) (&(x)->class_dev)
493 #define mmc_hostname(x) (dev_name(&(x)->class_dev))

Completed in 3 milliseconds