Lines Matching defs:packet
472 struct mipi_dsi_packet packet;
490 ret = mipi_dsi_create_packet(&packet, msg);
496 (0x10 << 8) | (packet.header[0] & 0x3f));
499 (packet.header[2] << 8) | packet.header[1]);
504 (0x40 << 8) | (packet.header[0] & 0x3f));
505 tc358768_write(priv, TC358768_DSICMD_WC, packet.payload_length);
506 for (i = 0; i < packet.payload_length; i += 2) {
507 u16 val = packet.payload[i];
509 if (i + 1 < packet.payload_length)
510 val |= packet.payload[i + 1] << 8;
523 ret = packet.size;