Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
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), &host->led); in mmc_add_host()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/
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))
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/configs/
Dconfigs_module.c46 struct device *class_dev; member
440 mnode->class_dev = device_create(config_dev_class, NULL, in configs_init_devices()
443 if (mnode->class_dev == NULL) { in configs_init_devices()
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/configs/
Dconfigs_module.c46 struct device *class_dev; member
406 …mnode->class_dev = device_create(config_dev_class, NULL, MKDEV(config_major, i), NULL, mnode->dev_… in configs_init_devices()
407 if (mnode->class_dev == NULL) { in configs_init_devices()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/
Dstreambuf.h97 struct device *class_dev; member
Damstream.c4298 st->class_dev = device_create(amstream_dev_class, NULL, in amstream_probe()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dmlme_linux.c33 kobject_hotplug(&padapter->pnetdev->class_dev.kobj, KOBJ_LINKUP); in Linkup_workitem_callback()
48 kobject_hotplug(&padapter->pnetdev->class_dev.kobj, KOBJ_LINKDOWN); in Linkdown_workitem_callback()
Dioctl_linux.c140 kobject_hotplug(&padapter->pnetdev->class_dev.kobj, KOBJ_NET_PBC); in rtw_request_wps_pbc_event()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/mmc/
Dsunxi-mmc.c3259 dev_pm_set_driver_flags(&mmc->class_dev, DPM_FLAG_NO_DIRECT_COMPLETE); in sunxi_mmc_probe()