Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/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()
32 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local
33 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness()
45 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument
47 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()
50 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms()
52 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()
55 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument
57 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.c504 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local
509 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms()
629 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local
631 return scon->encoder; in shmob_drm_connector_best_encoder()
641 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local
643 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()
/Linux-v5.4/security/selinux/
Dselinuxfs.c816 char *scon = NULL, *tcon = NULL; in sel_write_access() local
829 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
830 if (!scon) in sel_write_access()
839 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access()
842 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_access()
859 kfree(scon); in sel_write_access()
867 char *scon = NULL, *tcon = NULL; in sel_write_create() local
884 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
885 if (!scon) in sel_write_create()
899 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/clk/renesas/
Dr9a06g032-clocks.c28 scon, mirack, mistat; member
63 .scon = _scon, .mirack = _mirack, .mistat = _mistat }