Lines Matching refs:cpu_to_le32
75 cmd->cmd = cpu_to_le32(SVGA_CMD_DEFINE_ALPHA_CURSOR);
76 cmd->cursor.id = cpu_to_le32(0);
77 cmd->cursor.width = cpu_to_le32(width);
78 cmd->cursor.height = cpu_to_le32(height);
79 cmd->cursor.hotspotX = cpu_to_le32(hotspotX);
80 cmd->cursor.hotspotY = cpu_to_le32(hotspotY);
373 cmd->header.id = cpu_to_le32(SVGA_3D_CMD_PRESENT);
374 cmd->header.size = cpu_to_le32(sizeof(cmd->body) + sizeof(cmd->cr));
375 cmd->body.sid = cpu_to_le32(surf->res.id);
376 cmd->cr.x = cpu_to_le32(0);
377 cmd->cr.y = cpu_to_le32(0);
380 cmd->cr.w = cpu_to_le32(framebuffer->width);
381 cmd->cr.h = cpu_to_le32(framebuffer->height);
450 cmd->header.id = cpu_to_le32(SVGA_3D_CMD_PRESENT);
451 cmd->header.size = cpu_to_le32(sizeof(cmd->body) + num_clips * sizeof(cmd->cr));
452 cmd->body.sid = cpu_to_le32(surf->res.id);
576 cmd[i].header = cpu_to_le32(SVGA_CMD_UPDATE);
577 cmd[i].body.x = cpu_to_le32(clips->x1);
578 cmd[i].body.y = cpu_to_le32(clips->y1);
579 cmd[i].body.width = cpu_to_le32(clips->x2 - clips->x1);
580 cmd[i].body.height = cpu_to_le32(clips->y2 - clips->y1);