Lines Matching defs:fops
168 .fops = &w1_default_fops,
616 const struct w1_family_ops *fops;
619 fops = sl->family->fops;
621 if (!fops)
627 if (fops->add_slave) {
628 err = fops->add_slave(sl);
636 if (fops->groups) {
637 err = sysfs_create_groups(&sl->dev.kobj, fops->groups);
645 if (IS_REACHABLE(CONFIG_HWMON) && fops->chip_info) {
649 fops->chip_info,
660 if (IS_REACHABLE(CONFIG_HWMON) && fops->chip_info &&
663 if (fops->remove_slave)
664 sl->family->fops->remove_slave(sl);
665 if (fops->groups)
666 sysfs_remove_groups(&sl->dev.kobj, fops->groups);