Lines Matching defs:length
228 * Read header of 32bit length
241 * @buffer_length: length of message buffer
273 unsigned long length;
304 length = ipc_link->length - sizeof(uint32_t);
329 for (i = 0, reg_addr = IPC_REG_HOST2ISH_MSG; i < length >> 2; i++,
333 rem = length & 0x3;
337 memcpy(®, &r_buf[length >> 2], rem);
371 * @length: Length of message
383 unsigned char *msg, int length)
388 if (length > IPC_FULL_MSG_SIZE)
402 ipc_link->length = length;
403 memcpy(ipc_link->inline_data, msg, length);
663 /* Sanity check: IPC dgram length in header */
666 "IPC hdr - bad length: %u; dropped\n",
875 * @length: length of message
882 static uint32_t ish_ipc_get_header(struct ishtp_device *dev, int length,
887 drbl_val = IPC_BUILD_HEADER(length, IPC_PROTOCOL_ISHTP, busy);