Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/tilcdc/
Dtilcdc_tfp410.c45 struct tfp410_encoder { struct
50 #define to_tfp410_encoder(x) container_of(x, struct tfp410_encoder, base) argument
54 struct tfp410_encoder *tfp410_encoder = to_tfp410_encoder(encoder); in tfp410_encoder_dpms() local
56 if (tfp410_encoder->dpms == mode) in tfp410_encoder_dpms()
61 gpio_direction_output(tfp410_encoder->mod->gpio, 1); in tfp410_encoder_dpms()
64 gpio_direction_output(tfp410_encoder->mod->gpio, 0); in tfp410_encoder_dpms()
67 tfp410_encoder->dpms = mode; in tfp410_encoder_dpms()
101 struct tfp410_encoder *tfp410_encoder; in tfp410_encoder_create() local
105 tfp410_encoder = devm_kzalloc(dev->dev, sizeof(*tfp410_encoder), in tfp410_encoder_create()
107 if (!tfp410_encoder) in tfp410_encoder_create()
[all …]