Lines Matching refs:ops
18 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_detect() local
20 if (!ops->detect) in sysinfo_detect()
23 return ops->detect(dev); in sysinfo_detect()
29 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_fit_loadable() local
31 if (!ops->get_fit_loadable) in sysinfo_get_fit_loadable()
34 return ops->get_fit_loadable(dev, index, type, strp); in sysinfo_get_fit_loadable()
39 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_bool() local
41 if (!ops->get_bool) in sysinfo_get_bool()
44 return ops->get_bool(dev, id, val); in sysinfo_get_bool()
49 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_int() local
51 if (!ops->get_int) in sysinfo_get_int()
54 return ops->get_int(dev, id, val); in sysinfo_get_int()
59 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_str() local
61 if (!ops->get_str) in sysinfo_get_str()
64 return ops->get_str(dev, id, size, val); in sysinfo_get_str()