Searched refs:fb_res (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-dove.c | 767 struct resource fb_res; in dove_pinctrl_probe() local 803 memcpy(&fb_res, mpp_res, sizeof(struct resource)); in dove_pinctrl_probe() 804 fb_res.start = 0; in dove_pinctrl_probe() 809 adjust_resource(&fb_res, in dove_pinctrl_probe() 811 res = &fb_res; in dove_pinctrl_probe() 823 adjust_resource(&fb_res, in dove_pinctrl_probe() 825 res = &fb_res; in dove_pinctrl_probe() 839 adjust_resource(&fb_res, in dove_pinctrl_probe() 841 gc_base = devm_ioremap_resource(&pdev->dev, &fb_res); in dove_pinctrl_probe() 856 if (fb_res.start) in dove_pinctrl_probe()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 399 struct resource *fb_res) in ofdrm_find_fb_resource() argument 409 if (resource_size(res) < resource_size(fb_res)) in ofdrm_find_fb_resource() 411 if (fb_res->start && resource_contains(res, fb_res)) in ofdrm_find_fb_resource() 1184 struct resource fb_res = DEFINE_RES_MEM(address, fb_size); in ofdrm_device_create() local 1186 res = ofdrm_find_fb_resource(odev, &fb_res); in ofdrm_device_create() 1189 if (resource_contains(res, &fb_res)) in ofdrm_device_create() 1194 struct resource fb_res = DEFINE_RES_MEM(0u, fb_size); in ofdrm_device_create() local 1196 res = ofdrm_find_fb_resource(odev, &fb_res); in ofdrm_device_create()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | controlfb.c | 936 struct resource fb_res, reg_res; in control_of_init() local 943 if (of_pci_address_to_resource(dp, 2, &fb_res) || in control_of_init() 954 p->fb_orig_base = fb_res.start; in control_of_init() 955 p->fb_orig_size = resource_size(&fb_res); in control_of_init() 957 p->frame_buffer_phys = fb_res.start + 0x800000; in control_of_init()
|