Lines Matching refs:ccwdev

476 	LCS_DBF_TEXT_(4, trace,"ssch%s", dev_name(&channel->ccwdev->dev));  in lcs_start_channel()
477 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_start_channel()
478 rc = ccw_device_start(channel->ccwdev, in lcs_start_channel()
483 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_start_channel()
486 dev_name(&channel->ccwdev->dev)); in lcs_start_channel()
487 dev_err(&channel->ccwdev->dev, in lcs_start_channel()
501 LCS_DBF_TEXT_(4, trace, "%s", dev_name(&channel->ccwdev->dev)); in lcs_clear_channel()
502 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_clear_channel()
503 rc = ccw_device_clear(channel->ccwdev, 0); in lcs_clear_channel()
504 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_clear_channel()
507 dev_name(&channel->ccwdev->dev)); in lcs_clear_channel()
528 LCS_DBF_TEXT_(4, trace, "%s", dev_name(&channel->ccwdev->dev)); in lcs_stop_channel()
530 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_stop_channel()
531 rc = ccw_device_halt(channel->ccwdev, 0); in lcs_stop_channel()
532 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_stop_channel()
535 dev_name(&channel->ccwdev->dev)); in lcs_stop_channel()
603 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_get_buffer()
605 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_get_buffer()
621 LCS_DBF_TEXT_(5, trace, "rsch%s", dev_name(&channel->ccwdev->dev)); in __lcs_resume_channel()
622 rc = ccw_device_resume(channel->ccwdev); in __lcs_resume_channel()
625 dev_name(&channel->ccwdev->dev)); in __lcs_resume_channel()
626 dev_err(&channel->ccwdev->dev, in __lcs_resume_channel()
665 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_ready_buffer()
673 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_ready_buffer()
722 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_release_buffer()
724 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_release_buffer()
1369 if (card->read.ccwdev == cdev) in lcs_irq()
1426 ccw_device_halt(channel->ccwdev, 0); in lcs_irq()
1450 LCS_DBF_TEXT_(5, trace, "tlet%s", dev_name(&channel->ccwdev->dev)); in lcs_tasklet()
1465 spin_lock_irqsave(get_ccwdev_lock(channel->ccwdev), flags); in lcs_tasklet()
1469 spin_unlock_irqrestore(get_ccwdev_lock(channel->ccwdev), flags); in lcs_tasklet()
2095 card->read.ccwdev = ccwgdev->cdev[0]; in lcs_new_device()
2096 card->write.ccwdev = ccwgdev->cdev[1]; in lcs_new_device()
2099 rc = ccw_device_set_online(card->read.ccwdev); in lcs_new_device()
2102 rc = ccw_device_set_online(card->write.ccwdev); in lcs_new_device()
2170 ccw_device_set_offline(card->write.ccwdev); in lcs_new_device()
2172 ccw_device_set_offline(card->read.ccwdev); in lcs_new_device()
2200 ret2 = ccw_device_set_offline(card->read.ccwdev); in __lcs_shutdown_device()
2201 ret3 = ccw_device_set_offline(card->write.ccwdev); in __lcs_shutdown_device()