Lines Matching refs:cmbops
115 static struct cmb_operations *cmbops; variable
1130 cmbops->reset(cdev); in enable_cmf()
1134 ret = cmbops->alloc(cdev); in enable_cmf()
1137 cmbops->reset(cdev); in enable_cmf()
1138 ret = sysfs_create_group(&cdev->dev.kobj, cmbops->attr_group); in enable_cmf()
1140 cmbops->free(cdev); in enable_cmf()
1143 ret = cmbops->set(cdev, 2); in enable_cmf()
1145 sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group); in enable_cmf()
1146 cmbops->free(cdev); in enable_cmf()
1169 ret = cmbops->set(cdev, 0); in __disable_cmf()
1173 sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group); in __disable_cmf()
1174 cmbops->free(cdev); in __disable_cmf()
1212 return cmbops->read(cdev, index); in cmf_read()
1227 return cmbops->readall(cdev, data); in cmf_readall()
1233 cmbops->reset(cdev); in cmf_reenable()
1234 return cmbops->set(cdev, 2); in cmf_reenable()
1283 cmbops = &cmbops_basic; in init_cmf()
1287 cmbops = &cmbops_extended; in init_cmf()