Lines Matching defs:fops
165 .fops = &w1_default_fops,
608 const struct w1_family_ops *fops;
611 fops = sl->family->fops;
613 if (!fops)
619 if (fops->add_slave) {
620 err = fops->add_slave(sl);
628 if (fops->groups) {
629 err = sysfs_create_groups(&sl->dev.kobj, fops->groups);
637 if (IS_REACHABLE(CONFIG_HWMON) && fops->chip_info) {
641 fops->chip_info,
652 if (IS_REACHABLE(CONFIG_HWMON) && fops->chip_info &&
655 if (fops->remove_slave)
656 sl->family->fops->remove_slave(sl);
657 if (fops->groups)
658 sysfs_remove_groups(&sl->dev.kobj, fops->groups);