Lines Matching refs:output
34 struct atmel_hlcdc_rgb_output *output; in atmel_hlcdc_encoder_get_bus_fmt() local
36 output = atmel_hlcdc_encoder_to_rgb_output(encoder); in atmel_hlcdc_encoder_get_bus_fmt()
38 return output->bus_fmt; in atmel_hlcdc_encoder_get_bus_fmt()
68 struct atmel_hlcdc_rgb_output *output; in atmel_hlcdc_attach_endpoint() local
85 output = devm_kzalloc(dev->dev, sizeof(*output), GFP_KERNEL); in atmel_hlcdc_attach_endpoint()
86 if (!output) { in atmel_hlcdc_attach_endpoint()
91 output->bus_fmt = atmel_hlcdc_of_bus_fmt(ep); in atmel_hlcdc_attach_endpoint()
93 if (output->bus_fmt < 0) { in atmel_hlcdc_attach_endpoint()
98 ret = drm_simple_encoder_init(dev, &output->encoder, in atmel_hlcdc_attach_endpoint()
103 output->encoder.possible_crtcs = 0x1; in atmel_hlcdc_attach_endpoint()
113 ret = drm_bridge_attach(&output->encoder, bridge, NULL, 0); in atmel_hlcdc_attach_endpoint()
121 drm_encoder_cleanup(&output->encoder); in atmel_hlcdc_attach_endpoint()