Lines Matching refs:tfp410_encoder
50 struct tfp410_encoder { struct
55 #define to_tfp410_encoder(x) container_of(x, struct tfp410_encoder, base) argument
60 struct tfp410_encoder *tfp410_encoder = to_tfp410_encoder(encoder); in tfp410_encoder_destroy() local
62 kfree(tfp410_encoder); in tfp410_encoder_destroy()
67 struct tfp410_encoder *tfp410_encoder = to_tfp410_encoder(encoder); in tfp410_encoder_dpms() local
69 if (tfp410_encoder->dpms == mode) in tfp410_encoder_dpms()
74 gpio_direction_output(tfp410_encoder->mod->gpio, 1); in tfp410_encoder_dpms()
77 gpio_direction_output(tfp410_encoder->mod->gpio, 0); in tfp410_encoder_dpms()
80 tfp410_encoder->dpms = mode; in tfp410_encoder_dpms()
124 struct tfp410_encoder *tfp410_encoder; in tfp410_encoder_create() local
128 tfp410_encoder = kzalloc(sizeof(*tfp410_encoder), GFP_KERNEL); in tfp410_encoder_create()
129 if (!tfp410_encoder) { in tfp410_encoder_create()
134 tfp410_encoder->dpms = DRM_MODE_DPMS_OFF; in tfp410_encoder_create()
135 tfp410_encoder->mod = mod; in tfp410_encoder_create()
137 encoder = &tfp410_encoder->base; in tfp410_encoder_create()