Home
last modified time | relevance | path

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

/drivers/video/
Dfbsysfs.c498 static struct device_attribute device_attrs[] = { variable
524 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fb_init_device()
525 error = device_create_file(fb_info->dev, &device_attrs[i]); in fb_init_device()
533 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_init_device()
545 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fb_cleanup_device()
546 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_cleanup_device()
Dsstfb.c738 static struct device_attribute device_attrs[] = { variable
1437 if (device_create_file(info->dev, &device_attrs[0])) in sstfb_probe()
1469 device_remove_file(info->dev, &device_attrs[0]); in sstfb_remove()
/drivers/tty/vt/
Dvt.c3392 static struct device_attribute device_attrs[] = { variable
3404 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in vtconsole_init_device()
3405 error = device_create_file(con->dev, &device_attrs[i]); in vtconsole_init_device()
3412 device_remove_file(con->dev, &device_attrs[i]); in vtconsole_init_device()
3424 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in vtconsole_deinit_device()
3425 device_remove_file(con->dev, &device_attrs[i]); in vtconsole_deinit_device()
/drivers/video/console/
Dfbcon.c3494 static struct device_attribute device_attrs[] = { variable
3507 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fbcon_init_device()
3508 error = device_create_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()
3516 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()
3629 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fbcon_deinit_device()
3630 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_deinit_device()