Searched refs:scon (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_backlight.c | 22 struct shmob_drm_connector *scon = bl_get_data(bdev); shmob_drm_backlight_update() local 23 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; shmob_drm_backlight_update() 36 struct shmob_drm_connector *scon = bl_get_data(bdev); shmob_drm_backlight_get_brightness() local 37 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; shmob_drm_backlight_get_brightness() 49 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) shmob_drm_backlight_dpms() argument 51 if (scon->backlight == NULL) shmob_drm_backlight_dpms() 54 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON shmob_drm_backlight_dpms() 56 backlight_update_status(scon->backlight); shmob_drm_backlight_dpms() 59 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) shmob_drm_backlight_init() argument 61 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; shmob_drm_backlight_init() 63 struct drm_connector *connector = &scon->connector; shmob_drm_backlight_init() 70 backlight = backlight_device_register(bdata->name, dev->dev, scon, shmob_drm_backlight_init() 83 scon->backlight = backlight; shmob_drm_backlight_init() 87 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon) shmob_drm_backlight_exit() argument 89 backlight_device_unregister(scon->backlight); shmob_drm_backlight_exit()
|
H A D | shmob_drm_backlight.h | 19 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode); 20 int shmob_drm_backlight_init(struct shmob_drm_connector *scon); 21 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
|
H A D | shmob_drm_crtc.c | 540 struct shmob_drm_connector *scon = &sdev->connector; shmob_drm_encoder_dpms() local 545 shmob_drm_backlight_dpms(scon, mode); shmob_drm_encoder_dpms() 681 struct shmob_drm_connector *scon = to_shmob_connector(connector); shmob_drm_connector_best_encoder() local 683 return scon->encoder; shmob_drm_connector_best_encoder() 693 struct shmob_drm_connector *scon = to_shmob_connector(connector); shmob_drm_connector_destroy() local 695 shmob_drm_backlight_exit(scon); shmob_drm_connector_destroy()
|
/linux-4.1.27/security/selinux/ |
H A D | selinuxfs.c | 710 char *scon = NULL, *tcon = NULL; sel_write_access() local 721 scon = kzalloc(size + 1, GFP_KERNEL); sel_write_access() 722 if (!scon) sel_write_access() 731 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_access() 734 length = security_context_to_sid(scon, strlen(scon) + 1, &ssid, sel_write_access() 753 kfree(scon); sel_write_access() 759 char *scon = NULL, *tcon = NULL; sel_write_create() local 773 scon = kzalloc(size + 1, GFP_KERNEL); sel_write_create() 774 if (!scon) sel_write_create() 788 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); sel_write_create() 822 length = security_context_to_sid(scon, strlen(scon) + 1, &ssid, sel_write_create() 854 kfree(scon); sel_write_create() 860 char *scon = NULL, *tcon = NULL; sel_write_relabel() local 872 scon = kzalloc(size + 1, GFP_KERNEL); sel_write_relabel() 873 if (!scon) sel_write_relabel() 882 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_relabel() 885 length = security_context_to_sid(scon, strlen(scon) + 1, &ssid, sel_write_relabel() 912 kfree(scon); sel_write_relabel() 978 char *scon = NULL, *tcon = NULL; sel_write_member() local 990 scon = kzalloc(size + 1, GFP_KERNEL); sel_write_member() 991 if (!scon) sel_write_member() 1000 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) sel_write_member() 1003 length = security_context_to_sid(scon, strlen(scon) + 1, &ssid, sel_write_member() 1033 kfree(scon); sel_write_member()
|
Completed in 144 milliseconds