Lines Matching refs:ocs_ecc
112 static struct ocs_ecc_drv ocs_ecc = { variable
113 .dev_list = LIST_HEAD_INIT(ocs_ecc.dev_list),
114 .lock = __SPIN_LOCK_UNLOCKED(ocs_ecc.lock),
208 spin_lock(&ocs_ecc.lock); in kmb_ocs_ecc_find_dev()
211 tctx->ecc_dev = list_first_entry(&ocs_ecc.dev_list, struct ocs_ecc_dev, in kmb_ocs_ecc_find_dev()
214 spin_unlock(&ocs_ecc.lock); in kmb_ocs_ecc_find_dev()
918 spin_lock(&ocs_ecc.lock); in kmb_ocs_ecc_probe()
919 list_add_tail(&ecc_dev->list, &ocs_ecc.dev_list); in kmb_ocs_ecc_probe()
920 spin_unlock(&ocs_ecc.lock); in kmb_ocs_ecc_probe()
960 spin_lock(&ocs_ecc.lock); in kmb_ocs_ecc_probe()
962 spin_unlock(&ocs_ecc.lock); in kmb_ocs_ecc_probe()
976 spin_lock(&ocs_ecc.lock); in kmb_ocs_ecc_remove()
978 spin_unlock(&ocs_ecc.lock); in kmb_ocs_ecc_remove()