Home
last modified time | relevance | path

Searched refs:attribute_count (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_sysfs.c29 int attribute_count; member
100 num_files_to_remove = mapping->attribute_count; in put_mapping()
113 mapping->attribute_count = 0; in put_mapping()
209 mapping->attribute_count = 0; in gasket_sysfs_create_mapping()
232 if (mapping->attribute_count == GASKET_SYSFS_MAX_NODES) { in gasket_sysfs_create_entries()
248 mapping->attributes[mapping->attribute_count] = attrs[i]; in gasket_sysfs_create_entries()
249 ++mapping->attribute_count; in gasket_sysfs_create_entries()
308 num_attrs = mapping->attribute_count; in gasket_sysfs_get_attr()
332 num_attrs = mapping->attribute_count; in gasket_sysfs_put_attr()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_validate.c146 uint32_t attribute_count = pointer_bits & 7; in gl_shader_rec_size() local
149 if (attribute_count == 0) in gl_shader_rec_size()
150 attribute_count = 8; in gl_shader_rec_size()
153 return 100 + attribute_count * 4; in gl_shader_rec_size()
155 return 36 + attribute_count * 8; in gl_shader_rec_size()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_validate.c150 uint32_t attribute_count = pointer_bits & 7; in gl_shader_rec_size() local
153 if (attribute_count == 0) in gl_shader_rec_size()
154 attribute_count = 8; in gl_shader_rec_size()
157 return 100 + attribute_count * 4; in gl_shader_rec_size()
159 return 36 + attribute_count * 8; in gl_shader_rec_size()

Completed in 3 milliseconds