Home
last modified time | relevance | path

Searched refs:device_attrs (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/
Ddrm_sysfs.c131 static struct device_attribute device_attrs[] = { variable
499 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in drm_sysfs_device_add()
500 err = device_create_file(&minor->kdev, &device_attrs[i]); in drm_sysfs_device_add()
510 device_remove_file(&minor->kdev, &device_attrs[j]); in drm_sysfs_device_add()
528 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in drm_sysfs_device_remove()
529 device_remove_file(&minor->kdev, &device_attrs[i]); in drm_sysfs_device_remove()
/drivers/video/
Dfbsysfs.c490 static struct device_attribute device_attrs[] = { variable
516 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fb_init_device()
517 error = device_create_file(fb_info->dev, &device_attrs[i]); in fb_init_device()
525 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_init_device()
537 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fb_cleanup_device()
538 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_cleanup_device()
Dsstfb.c739 static struct device_attribute device_attrs[] = { variable
1435 if (device_create_file(info->dev, &device_attrs[0])) in sstfb_probe()
1466 device_remove_file(info->dev, &device_attrs[0]); in sstfb_remove()
/drivers/char/
Dvt.c3328 static struct device_attribute device_attrs[] = { variable
3340 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in vtconsole_init_device()
3341 error = device_create_file(con->dev, &device_attrs[i]); in vtconsole_init_device()
3348 device_remove_file(con->dev, &device_attrs[i]); in vtconsole_init_device()
3360 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in vtconsole_deinit_device()
3361 device_remove_file(con->dev, &device_attrs[i]); in vtconsole_deinit_device()
/drivers/video/console/
Dfbcon.c3367 static struct device_attribute device_attrs[] = { variable
3380 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fbcon_init_device()
3381 error = device_create_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()
3389 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()
3501 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fbcon_deinit_device()
3502 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_deinit_device()