Searched refs:pdata (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_adf.cpp | 53 static int adf_surface_init(adf_pdata *pdata, drm_mode_modeinfo *mode, adf_surface_pdata *surf) { in adf_surface_init() argument 56 surf->fd = adf_interface_simple_buffer_alloc(pdata->intf_fd, mode->hdisplay, in adf_surface_init() 57 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch); in adf_surface_init() 64 surf->base.pixel_bytes = (pdata->format == DRM_FORMAT_RGB565) ? 2 : 4; in adf_surface_init() 77 static int adf_interface_init(adf_pdata *pdata) in adf_interface_init() argument 83 err = adf_get_interface_data(pdata->intf_fd, &intf_data); in adf_interface_init() 87 err = adf_surface_init(pdata, &intf_data.current_mode, &pdata->surfaces[0]); in adf_interface_init() 94 err = adf_surface_init(pdata, &intf_data.current_mode, in adf_interface_init() 95 &pdata->surfaces[1]); in adf_interface_init() 98 memset(&pdata->surfaces[1], 0, sizeof(pdata->surfaces[1])); in adf_interface_init() [all …]
|