Lines Matching defs:info
26 struct tilcdc_panel_info *info;
244 to_panel_encoder(encoder)->mod->info);
261 struct tilcdc_panel_info *info;
269 info_np = of_get_child_by_name(np, "panel-info");
271 pr_err("%s: could not find panel-info node\n", __func__);
275 info = kzalloc(sizeof(*info), GFP_KERNEL);
276 if (!info)
279 ret |= of_property_read_u32(info_np, "ac-bias", &info->ac_bias);
280 ret |= of_property_read_u32(info_np, "ac-bias-intrpt", &info->ac_bias_intrpt);
281 ret |= of_property_read_u32(info_np, "dma-burst-sz", &info->dma_burst_sz);
282 ret |= of_property_read_u32(info_np, "bpp", &info->bpp);
283 ret |= of_property_read_u32(info_np, "fdd", &info->fdd);
284 ret |= of_property_read_u32(info_np, "sync-edge", &info->sync_edge);
285 ret |= of_property_read_u32(info_np, "sync-ctrl", &info->sync_ctrl);
286 ret |= of_property_read_u32(info_np, "raster-order", &info->raster_order);
287 ret |= of_property_read_u32(info_np, "fifo-th", &info->fifo_th);
290 info->tft_alt_mode = of_property_read_bool(info_np, "tft-alt-mode");
291 info->invert_pxl_clk = of_property_read_bool(info_np, "invert-pxl-clk");
294 pr_err("%s: error reading panel-info properties\n", __func__);
295 kfree(info);
296 info = NULL;
301 return info;
355 panel_mod->info = of_get_panel_info(node);
356 if (!panel_mod->info) {
357 dev_err(&pdev->dev, "could not get panel info\n");
388 kfree(panel_mod->info);