Lines Matching refs:core
350 dev->match_id, dev->match_sub_id, dev_name(&dev->core), in ps3_system_bus_match()
351 drv->match_id, drv->match_sub_id, drv->core.name); in ps3_system_bus_match()
355 dev->match_id, dev->match_sub_id, dev_name(&dev->core), in ps3_system_bus_match()
356 drv->match_id, drv->match_sub_id, drv->core.name); in ps3_system_bus_match()
377 dev_name(&dev->core)); in ps3_system_bus_probe()
379 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev_name(&dev->core)); in ps3_system_bus_probe()
398 dev_dbg(&dev->core, "%s:%d %s: no remove method\n", in ps3_system_bus_remove()
399 __func__, __LINE__, drv->core.name); in ps3_system_bus_remove()
401 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev_name(&dev->core)); in ps3_system_bus_remove()
412 dev_dbg(&dev->core, " -> %s:%d: match_id %d\n", __func__, __LINE__, in ps3_system_bus_shutdown()
415 if (!dev->core.driver) { in ps3_system_bus_shutdown()
416 dev_dbg(&dev->core, "%s:%d: no driver bound\n", __func__, in ps3_system_bus_shutdown()
425 dev_dbg(&dev->core, "%s:%d: %s -> %s\n", __func__, __LINE__, in ps3_system_bus_shutdown()
426 dev_name(&dev->core), drv->core.name); in ps3_system_bus_shutdown()
431 dev_dbg(&dev->core, "%s:%d %s: no shutdown, calling remove\n", in ps3_system_bus_shutdown()
432 __func__, __LINE__, drv->core.name); in ps3_system_bus_shutdown()
435 dev_dbg(&dev->core, "%s:%d %s: no shutdown method\n", in ps3_system_bus_shutdown()
436 __func__, __LINE__, drv->core.name); in ps3_system_bus_shutdown()
440 dev_dbg(&dev->core, " <- %s:%d\n", __func__, __LINE__); in ps3_system_bus_shutdown()
739 if (!dev->core.parent) in ps3_system_bus_device_register()
740 dev->core.parent = &ps3_system_bus; in ps3_system_bus_device_register()
741 dev->core.bus = &ps3_system_bus_type; in ps3_system_bus_device_register()
742 dev->core.release = ps3_system_bus_release_device; in ps3_system_bus_device_register()
746 dev->core.dma_ops = &ps3_ioc0_dma_ops; in ps3_system_bus_device_register()
747 dev_set_name(&dev->core, "ioc0_%02x", ++dev_ioc0_count); in ps3_system_bus_device_register()
750 dev->core.dma_ops = &ps3_sb_dma_ops; in ps3_system_bus_device_register()
751 dev_set_name(&dev->core, "sb_%02x", ++dev_sb_count); in ps3_system_bus_device_register()
755 dev_set_name(&dev->core, "vuart_%02x", ++dev_vuart_count); in ps3_system_bus_device_register()
758 dev_set_name(&dev->core, "lpm_%02x", ++dev_lpm_count); in ps3_system_bus_device_register()
764 dev->core.of_node = NULL; in ps3_system_bus_device_register()
765 set_dev_node(&dev->core, 0); in ps3_system_bus_device_register()
767 pr_debug("%s:%d add %s\n", __func__, __LINE__, dev_name(&dev->core)); in ps3_system_bus_device_register()
769 result = device_register(&dev->core); in ps3_system_bus_device_register()
779 pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_register()
784 drv->core.bus = &ps3_system_bus_type; in ps3_system_bus_driver_register()
786 result = driver_register(&drv->core); in ps3_system_bus_driver_register()
787 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_register()
795 pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_unregister()
796 driver_unregister(&drv->core); in ps3_system_bus_driver_unregister()
797 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_unregister()