Lines Matching refs:tfp410_mod
260 struct tfp410_module *tfp410_mod = to_tfp410_module(mod); in tfp410_modeset_init() local
265 encoder = tfp410_encoder_create(dev, tfp410_mod); in tfp410_modeset_init()
269 connector = tfp410_connector_create(dev, tfp410_mod, encoder); in tfp410_modeset_init()
292 struct tfp410_module *tfp410_mod; in tfp410_probe() local
304 tfp410_mod = devm_kzalloc(&pdev->dev, sizeof(*tfp410_mod), GFP_KERNEL); in tfp410_probe()
305 if (!tfp410_mod) in tfp410_probe()
308 mod = &tfp410_mod->base; in tfp410_probe()
328 tfp410_mod->i2c = of_find_i2c_adapter_by_node(i2c_node); in tfp410_probe()
329 if (!tfp410_mod->i2c) { in tfp410_probe()
337 tfp410_mod->gpio = of_get_named_gpio_flags(node, "powerdn-gpio", in tfp410_probe()
339 if (tfp410_mod->gpio < 0) { in tfp410_probe()
342 ret = gpio_request(tfp410_mod->gpio, "DVI_PDn"); in tfp410_probe()
352 i2c_put_adapter(tfp410_mod->i2c); in tfp410_probe()
362 struct tfp410_module *tfp410_mod = to_tfp410_module(mod); in tfp410_remove() local
364 i2c_put_adapter(tfp410_mod->i2c); in tfp410_remove()
365 gpio_free(tfp410_mod->gpio); in tfp410_remove()