Lines Matching refs:ext
284 struct drm_xe_ext_set_property ext; in xe_eu_stall_user_ext_set_property() local
288 err = copy_from_user(&ext, address, sizeof(ext)); in xe_eu_stall_user_ext_set_property()
292 if (XE_IOCTL_DBG(xe, ext.property >= ARRAY_SIZE(xe_set_eu_stall_property_funcs)) || in xe_eu_stall_user_ext_set_property()
293 XE_IOCTL_DBG(xe, ext.pad)) in xe_eu_stall_user_ext_set_property()
296 idx = array_index_nospec(ext.property, ARRAY_SIZE(xe_set_eu_stall_property_funcs)); in xe_eu_stall_user_ext_set_property()
297 return xe_set_eu_stall_property_funcs[idx](xe, ext.value, props); in xe_eu_stall_user_ext_set_property()
311 struct drm_xe_user_extension ext; in xe_eu_stall_user_extensions() local
318 err = copy_from_user(&ext, address, sizeof(ext)); in xe_eu_stall_user_extensions()
322 if (XE_IOCTL_DBG(xe, ext.pad) || in xe_eu_stall_user_extensions()
323 XE_IOCTL_DBG(xe, ext.name >= ARRAY_SIZE(xe_eu_stall_user_extension_funcs))) in xe_eu_stall_user_extensions()
326 idx = array_index_nospec(ext.name, ARRAY_SIZE(xe_eu_stall_user_extension_funcs)); in xe_eu_stall_user_extensions()
331 if (ext.next_extension) in xe_eu_stall_user_extensions()
332 return xe_eu_stall_user_extensions(xe, ext.next_extension, ++ext_number, props); in xe_eu_stall_user_extensions()