Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_backlight.c18 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local
19 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_update()
28 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local
29 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness()
41 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument
43 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()
46 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms()
48 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()
51 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument
53 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_init()
[all …]
Dshmob_drm_backlight.h15 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode);
16 int shmob_drm_backlight_init(struct shmob_drm_connector *scon);
17 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
Dshmob_drm_crtc.c534 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local
539 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms()
650 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local
652 return scon->encoder; in shmob_drm_connector_best_encoder()
662 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local
664 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()
/Linux-v6.6/security/selinux/
Dselinuxfs.c867 char *scon = NULL, *tcon = NULL; in sel_write_access() local
879 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
880 if (!scon) in sel_write_access()
889 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access()
892 length = security_context_str_to_sid(scon, &ssid, GFP_KERNEL); in sel_write_access()
909 kfree(scon); in sel_write_access()
915 char *scon = NULL, *tcon = NULL; in sel_write_create() local
931 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
932 if (!scon) in sel_write_create()
946 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
[all …]
/Linux-v6.6/arch/mips/mti-malta/
Dmalta-dtshim.c39 int scon = MIPS_REVISION_SCONID; in malta_scon() local
41 if (scon != MIPS_REVISION_SCON_OTHER) in malta_scon()
42 return scon; in malta_scon()