Lines Matching refs:tfp410_encoder
45 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()
110 tfp410_encoder->dpms = DRM_MODE_DPMS_OFF; in tfp410_encoder_create()
111 tfp410_encoder->mod = mod; in tfp410_encoder_create()
113 encoder = &tfp410_encoder->base; in tfp410_encoder_create()