Lines Matching refs:major
20 unsigned long major; member
81 p->major = p->minor = 0; in __put_ref()
96 int sun4v_hvapi_register(unsigned long group, unsigned long major, in sun4v_hvapi_register() argument
109 if (p->major == major) { in sun4v_hvapi_register()
117 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register()
122 p->major = major; in sun4v_hvapi_register()
128 if (major == 1) { in sun4v_hvapi_register()
129 p->major = 1; in sun4v_hvapi_register()
161 unsigned long *major, in sun4v_hvapi_get() argument
172 *major = p->major; in sun4v_hvapi_get()
184 unsigned long group, major, minor; in sun4v_hvapi_init() local
187 major = 1; in sun4v_hvapi_init()
189 if (sun4v_hvapi_register(group, major, &minor)) in sun4v_hvapi_init()
193 major = 1; in sun4v_hvapi_init()
195 if (sun4v_hvapi_register(group, major, &minor)) in sun4v_hvapi_init()
203 group, major, minor); in sun4v_hvapi_init()