Lines Matching refs:cp
251 struct channel_path *cp = to_channelpath(dev); in chp_status_write() local
261 mutex_lock(&cp->lock); in chp_status_write()
262 error = s390_vary_chpid(cp->chpid, 1); in chp_status_write()
263 mutex_unlock(&cp->lock); in chp_status_write()
265 mutex_lock(&cp->lock); in chp_status_write()
266 error = s390_vary_chpid(cp->chpid, 0); in chp_status_write()
267 mutex_unlock(&cp->lock); in chp_status_write()
279 struct channel_path *cp; in chp_configure_show() local
282 cp = to_channelpath(dev); in chp_configure_show()
283 status = chp_info_get_status(cp->chpid); in chp_configure_show()
296 struct channel_path *cp; in chp_configure_write() local
304 cp = to_channelpath(dev); in chp_configure_write()
305 chp_cfg_schedule(cp->chpid, val); in chp_configure_write()
409 struct channel_path *cp; in chp_release() local
411 cp = to_channelpath(dev); in chp_release()
412 kfree(cp); in chp_release()