Lines Matching refs:cmd
814 static void ufx_raw_rect(struct ufx_data *dev, u16 *cmd, int x, int y, in ufx_raw_rect() argument
825 *((u32 *)&cmd[0]) = cpu_to_le32(0x01); in ufx_raw_rect()
828 *((u32 *)&cmd[2]) = cpu_to_le32(packed_rect_len + 16); in ufx_raw_rect()
830 cmd[4] = cpu_to_le16(x); in ufx_raw_rect()
831 cmd[5] = cpu_to_le16(y); in ufx_raw_rect()
832 cmd[6] = cpu_to_le16(width); in ufx_raw_rect()
833 cmd[7] = cpu_to_le16(height); in ufx_raw_rect()
836 *((u32 *)&cmd[8]) = cpu_to_le32(0); in ufx_raw_rect()
839 cmd[10] = cpu_to_le16(0x4000 | dev->info->var.xres); in ufx_raw_rect()
842 cmd[11] = cpu_to_le16(dev->info->var.yres); in ufx_raw_rect()
848 memcpy(&cmd[(24 + (packed_line_len * line)) / 2], in ufx_raw_rect()
987 static int ufx_ops_ioctl(struct fb_info *info, unsigned int cmd, in ufx_ops_ioctl() argument
997 if (cmd == UFX_IOCTL_RETURN_EDID) { in ufx_ops_ioctl()
1005 if (cmd == UFX_IOCTL_REPORT_DAMAGE) { in ufx_ops_ioctl()