Lines Matching defs:length
29 __le16 length;
35 u16 length;
85 h.length = cpu_to_le16(len);
96 msg->length = len;
135 int length = data_frame[(*data_index)++];
137 if (length > received_len - *data_index || length <= 0) {
138 ssp_dbg("[SSP]: MSG From MCU-invalid debug length(%d/%d)\n",
139 length, received_len);
145 *data_index += length;
185 const bool use_no_irq = msg->length == 0;
254 if (WARN_ON(!msg->length))
337 u16 length, msg_options;
346 length = le16_to_cpu(data->header_buffer[1]);
349 if (length == 0) {
350 dev_err(SSP_DEV, "length received from mcu is 0\n");
378 buffer = kmalloc(length, GFP_KERNEL | GFP_DMA);
385 ret = spi_read(data->spi, buffer, length);
400 msg->length);
405 msg->length);
409 msg->length = 1;
423 buffer = kzalloc(length, GFP_KERNEL | GFP_DMA);
427 ret = spi_read(data->spi, buffer, length);
434 ret = ssp_parse_dataframe(data, buffer, length);
480 u8 *send_buf, u8 length)
496 msg = ssp_create_msg(inst, length + 2, SSP_AP2HUB_WRITE, 0);
501 ssp_fill_buffer(msg, 1, send_buf, length);