Lines Matching refs:tfp410_mod
244 struct tfp410_module *tfp410_mod = to_tfp410_module(mod); in tfp410_modeset_init() local
249 encoder = tfp410_encoder_create(dev, tfp410_mod); in tfp410_modeset_init()
253 connector = tfp410_connector_create(dev, tfp410_mod, encoder); in tfp410_modeset_init()
276 struct tfp410_module *tfp410_mod; in tfp410_probe() local
288 tfp410_mod = devm_kzalloc(&pdev->dev, sizeof(*tfp410_mod), GFP_KERNEL); in tfp410_probe()
289 if (!tfp410_mod) in tfp410_probe()
292 mod = &tfp410_mod->base; in tfp410_probe()
312 tfp410_mod->i2c = of_find_i2c_adapter_by_node(i2c_node); in tfp410_probe()
313 if (!tfp410_mod->i2c) { in tfp410_probe()
321 tfp410_mod->gpio = of_get_named_gpio_flags(node, "powerdn-gpio", in tfp410_probe()
323 if (tfp410_mod->gpio < 0) { in tfp410_probe()
326 ret = gpio_request(tfp410_mod->gpio, "DVI_PDn"); in tfp410_probe()
336 i2c_put_adapter(tfp410_mod->i2c); in tfp410_probe()
346 struct tfp410_module *tfp410_mod = to_tfp410_module(mod); in tfp410_remove() local
348 i2c_put_adapter(tfp410_mod->i2c); in tfp410_remove()
349 gpio_free(tfp410_mod->gpio); in tfp410_remove()