Lines Matching full:fb
507 bcm2835_mbox_fb_get_w_h(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_get_w_h() argument
521 fb->xres = msg.physical_w_h.body.resp.width; in bcm2835_mbox_fb_get_w_h()
522 fb->yres = msg.physical_w_h.body.resp.height; in bcm2835_mbox_fb_get_w_h()
529 bcm2835_mbox_fb_get_bpp(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_get_bpp() argument
543 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp()
549 bcm2835_mbox_fb_init(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_init() argument
558 msg.physical_w_h.body.req.width = fb->xres; in bcm2835_mbox_fb_init()
559 msg.physical_w_h.body.req.height = fb->yres; in bcm2835_mbox_fb_init()
561 msg.virtual_w_h.body.req.width = fb->vxres; in bcm2835_mbox_fb_init()
562 msg.virtual_w_h.body.req.height = fb->vyres; in bcm2835_mbox_fb_init()
564 msg.offset.body.req.x = fb->xoffset; in bcm2835_mbox_fb_init()
565 msg.offset.body.req.y = fb->yoffset; in bcm2835_mbox_fb_init()
567 msg.depth.body.req.bpp = fb->bpp; in bcm2835_mbox_fb_init()
577 fb->xres = msg.physical_w_h.body.resp.width; in bcm2835_mbox_fb_init()
578 fb->yres = msg.physical_w_h.body.resp.height; in bcm2835_mbox_fb_init()
579 fb->vxres = msg.virtual_w_h.body.resp.width; in bcm2835_mbox_fb_init()
580 fb->vyres = msg.virtual_w_h.body.resp.height; in bcm2835_mbox_fb_init()
581 fb->xoffset = msg.offset.body.resp.x; in bcm2835_mbox_fb_init()
582 fb->yoffset = msg.offset.body.resp.y; in bcm2835_mbox_fb_init()
583 fb->pitch = msg.pitch.body.resp.pitch; in bcm2835_mbox_fb_init()
584 fb->base = VCBUS_TO_ARMC(msg.buffer.body.resp.fb_address); in bcm2835_mbox_fb_init()
585 fb->size = msg.buffer.body.resp.fb_size; in bcm2835_mbox_fb_init()