Lines Matching refs:mdev
319 struct mipi_dsi_device mdev; in nt35510_init() local
361 mdev.data_lanes = cfg->data_lanes; in nt35510_init()
362 mdev.mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM; in nt35510_init()
365 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB565; in nt35510_init()
367 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB888; in nt35510_init()
370 mdev.timings.hactive = data->xres; in nt35510_init()
371 mdev.timings.hbp = NT35510_480X800_HBP; in nt35510_init()
372 mdev.timings.hfp = NT35510_480X800_HFP; in nt35510_init()
373 mdev.timings.hsync = NT35510_480X800_HSYNC; in nt35510_init()
374 mdev.timings.vactive = data->yres; in nt35510_init()
375 mdev.timings.vbp = NT35510_480X800_VBP; in nt35510_init()
376 mdev.timings.vfp = NT35510_480X800_VFP; in nt35510_init()
377 mdev.timings.vsync = NT35510_480X800_VSYNC; in nt35510_init()
379 ret = mipi_dsi_attach(cfg->mipi_dsi, cfg->channel, &mdev); in nt35510_init()