Lines Matching defs:length
854 u32 status, length, tcode;
884 ar_context_abort(ctx, "invalid packet length");
904 length = (p.header_length + p.payload_length + 3) / 4;
905 status = cond_le32_to_cpu(buffer[length]);
944 return buffer + length + 1;
1563 int tcode, length, i;
1567 length = async_header_get_data_length(packet->header);
1569 length = 4;
1572 if (i + length > CONFIG_ROM_SIZE) {
1580 (void *) ohci->config_rom + i, length);
1592 int tcode, length, ext_tcode, sel, try;
1597 length = async_header_get_data_length(packet->header);
1602 ext_tcode == EXTCODE_COMPARE_SWAP && length == 8) {
2240 static void copy_config_rom(__be32 *dest, const __be32 *src, size_t length)
2242 size_t size = length * 4;
2246 memset(&dest[length], 0, CONFIG_ROM_SIZE - size);
2323 const __be32 *config_rom, size_t length)
2446 copy_config_rom(ohci->next_config_rom, config_rom, length);
2498 const __be32 *config_rom, size_t length)
2557 copy_config_rom(ohci->next_config_rom, config_rom, length);
3261 int page, end_page, i, length, offset;
3324 length =
3326 pd[i].req_count = cpu_to_le16(length);
3332 page_bus, offset, length,
3335 payload_index += length;
3363 int i, j, length;
3404 length = rest;
3406 length = PAGE_SIZE - offset;
3407 pd->req_count = cpu_to_le16(length);
3415 offset, length,
3418 offset = (offset + length) & ~PAGE_MASK;
3419 rest -= length;
3442 int page, offset, rest, z, i, length;
3467 length = rest;
3469 length = PAGE_SIZE - offset;
3470 d->req_count = cpu_to_le16(length);
3478 page_bus, offset, length,
3481 rest -= length;