Lines Matching refs:devnode
29 return &fh->adap->devnode; in cec_devnode_data()
80 strscpy(caps.driver, adap->devnode.dev.parent->driver->name, in cec_adap_g_caps()
555 struct cec_devnode *devnode = in cec_open() local
557 struct cec_adapter *adap = to_cec_adapter(devnode); in cec_open()
583 err = cec_get_device(devnode); in cec_open()
599 !adap->devnode.unregistered) { in cec_open()
608 !adap->devnode.unregistered) { in cec_open()
618 mutex_lock(&devnode->lock); in cec_open()
619 mutex_lock(&devnode->lock_fhs); in cec_open()
620 list_add(&fh->list, &devnode->fhs); in cec_open()
621 mutex_unlock(&devnode->lock_fhs); in cec_open()
622 mutex_unlock(&devnode->lock); in cec_open()
630 struct cec_devnode *devnode = cec_devnode_data(filp); in cec_release() local
631 struct cec_adapter *adap = to_cec_adapter(devnode); in cec_release()
650 mutex_lock(&devnode->lock); in cec_release()
651 mutex_lock(&devnode->lock_fhs); in cec_release()
653 mutex_unlock(&devnode->lock_fhs); in cec_release()
654 mutex_unlock(&devnode->lock); in cec_release()
686 cec_put_device(devnode); in cec_release()