Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/tilcdc/
Dtilcdc_tfp410.c52 struct tfp410_encoder { struct
57 #define to_tfp410_encoder(x) container_of(x, struct tfp410_encoder, base) argument
61 struct tfp410_encoder *tfp410_encoder = to_tfp410_encoder(encoder); in tfp410_encoder_dpms() local
63 if (tfp410_encoder->dpms == mode) in tfp410_encoder_dpms()
68 gpio_direction_output(tfp410_encoder->mod->gpio, 1); in tfp410_encoder_dpms()
71 gpio_direction_output(tfp410_encoder->mod->gpio, 0); in tfp410_encoder_dpms()
74 tfp410_encoder->dpms = mode; in tfp410_encoder_dpms()
108 struct tfp410_encoder *tfp410_encoder; in tfp410_encoder_create() local
112 tfp410_encoder = devm_kzalloc(dev->dev, sizeof(*tfp410_encoder), in tfp410_encoder_create()
114 if (!tfp410_encoder) in tfp410_encoder_create()
[all …]