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()
743 if (!dev->core.parent) in ps3_system_bus_device_register()
744 dev->core.parent = &ps3_system_bus; in ps3_system_bus_device_register()
745 dev->core.bus = &ps3_system_bus_type; in ps3_system_bus_device_register()
746 dev->core.release = ps3_system_bus_release_device; in ps3_system_bus_device_register()
750 dev->core.dma_ops = &ps3_ioc0_dma_ops; in ps3_system_bus_device_register()
751 dev_set_name(&dev->core, "ioc0_%02x", ++dev_ioc0_count); in ps3_system_bus_device_register()
754 dev->core.dma_ops = &ps3_sb_dma_ops; in ps3_system_bus_device_register()
755 dev_set_name(&dev->core, "sb_%02x", ++dev_sb_count); in ps3_system_bus_device_register()
759 dev_set_name(&dev->core, "vuart_%02x", ++dev_vuart_count); in ps3_system_bus_device_register()
762 dev_set_name(&dev->core, "lpm_%02x", ++dev_lpm_count); in ps3_system_bus_device_register()
768 dev->core.of_node = NULL; in ps3_system_bus_device_register()
769 set_dev_node(&dev->core, 0); in ps3_system_bus_device_register()
771 pr_debug("%s:%d add %s\n", __func__, __LINE__, dev_name(&dev->core)); in ps3_system_bus_device_register()
773 result = device_register(&dev->core); in ps3_system_bus_device_register()
783 pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_register()
788 drv->core.bus = &ps3_system_bus_type; in ps3_system_bus_driver_register()
790 result = driver_register(&drv->core); in ps3_system_bus_driver_register()
791 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_register()
799 pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_unregister()
800 driver_unregister(&drv->core); in ps3_system_bus_driver_unregister()
801 pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, drv->core.name); in ps3_system_bus_driver_unregister()