Lines Matching full:body
453 msg.tag_hdr.val_buf_size = sizeof(msg.body); in bcm2835_mbox_set_power_state()
454 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_set_power_state()
455 msg.body.req.device_id = device_id; in bcm2835_mbox_set_power_state()
456 msg.body.req.state = (on ? BCM2835_MBOX_POWER_ON : 0) | in bcm2835_mbox_set_power_state()
475 msg.tag_hdr.val_buf_size = sizeof(msg.body); in bcm2835_mbox_notify_xhci_reset()
476 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_notify_xhci_reset()
477 msg.body.req.pci_device_addr = pci_dev_addr; in bcm2835_mbox_notify_xhci_reset()
495 msg.tag_hdr.val_buf_size = sizeof(msg.body); in bcm2835_mbox_get_clock_rate()
496 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_get_clock_rate()
497 msg.body.req.clock_id = clock_id; in bcm2835_mbox_get_clock_rate()
501 *hz = msg.body.resp.rate_hz; in bcm2835_mbox_get_clock_rate()
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()
543 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp()
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()
569 msg.alpha.body.req.alpha = BCM2835_MBOX_ALPHA_MODE_IGNORED; in bcm2835_mbox_fb_init()
571 msg.buffer.body.req.alignment = PAGE_SIZE; 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()