Lines Matching refs:ops
34 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_detect() local
36 if (!ops->detect) in sysinfo_detect()
39 ret = ops->detect(dev); in sysinfo_detect()
50 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_fit_loadable() local
55 if (!ops->get_fit_loadable) in sysinfo_get_fit_loadable()
58 return ops->get_fit_loadable(dev, index, type, strp); in sysinfo_get_fit_loadable()
64 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_bool() local
69 if (!ops->get_bool) in sysinfo_get_bool()
72 return ops->get_bool(dev, id, val); in sysinfo_get_bool()
78 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_int() local
83 if (!ops->get_int) in sysinfo_get_int()
86 return ops->get_int(dev, id, val); in sysinfo_get_int()
92 struct sysinfo_ops *ops = sysinfo_get_ops(dev); in sysinfo_get_str() local
97 if (!ops->get_str) in sysinfo_get_str()
100 return ops->get_str(dev, id, size, val); in sysinfo_get_str()