Lines Matching refs:commands
45 * MIPI commands to execute when the display pipeline is enabled.
48 * The commands are stored in a byte array with the format:
51 * Some commands require a pause before the next command can be received.
68 u8 commands[];
80 struct panel_mipi_dbi_commands *commands;
104 u8 command = config->commands[i++];
105 u8 num_parameters = config->commands[i++];
106 const u8 *parameters = &config->commands[i];
127 commands = devm_kzalloc(dev, sizeof(*commands), GFP_KERNEL);
128 if (!commands)
131 commands->len = commands_len;
132 commands->buf = devm_kmemdup(dev, config->commands, commands->len, GFP_KERNEL);
133 if (!commands->buf)
136 return commands;
141 struct panel_mipi_dbi_commands *commands;
160 commands = panel_mipi_dbi_check_commands(dev, fw);
163 return commands;
167 struct panel_mipi_dbi_commands *commands)
171 if (!commands)
174 while (i < commands->len) {
175 u8 command = commands->buf[i++];
176 u8 num_parameters = commands->buf[i++];
177 const u8 *parameters = &commands->buf[i];