Searched refs:tfp410_encoder (Results 1 – 1 of 1) sorted by relevance
45 struct tfp410_encoder { struct50 #define to_tfp410_encoder(x) container_of(x, struct tfp410_encoder, base) argument54 struct tfp410_encoder *tfp410_encoder = to_tfp410_encoder(encoder); in tfp410_encoder_dpms() local56 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() local105 tfp410_encoder = devm_kzalloc(dev->dev, sizeof(*tfp410_encoder), in tfp410_encoder_create()107 if (!tfp410_encoder) in tfp410_encoder_create()[all …]