• Home
  • Raw
  • Download

Lines Matching refs:header_size

1794 	while (p < end && i + ctx->base.header_size <= PAGE_SIZE) {  in handle_ir_dualbuffer_packet()
1803 memcpy(ctx->header + i + 4, p + 8, ctx->base.header_size - 4); in handle_ir_dualbuffer_packet()
1804 i += ctx->base.header_size; in handle_ir_dualbuffer_packet()
1807 p += ctx->base.header_size + 4; in handle_ir_dualbuffer_packet()
1848 if (ctx->base.header_size > 0 && in handle_ir_packet_per_buffer()
1849 i + ctx->base.header_size <= PAGE_SIZE) { in handle_ir_packet_per_buffer()
1857 memcpy(ctx->header + i + 4, p + 8, ctx->base.header_size - 4); in handle_ir_packet_per_buffer()
1858 ctx->header_length += ctx->base.header_size; in handle_ir_packet_per_buffer()
1892 ohci_allocate_iso_context(struct fw_card *card, int type, size_t header_size) in ohci_allocate_iso_context() argument
2143 int page, offset, packet_count, header_size; in ohci_queue_iso_receive_dualbuffer() local
2157 packet_count = p->header_length / ctx->base.header_size; in ohci_queue_iso_receive_dualbuffer()
2158 header_size = packet_count * (ctx->base.header_size + 4); in ohci_queue_iso_receive_dualbuffer()
2161 header_z = DIV_ROUND_UP(header_size, sizeof(*d)); in ohci_queue_iso_receive_dualbuffer()
2176 db->first_size = cpu_to_le16(ctx->base.header_size + 4); in ohci_queue_iso_receive_dualbuffer()
2181 db->first_req_count = cpu_to_le16(header_size); in ohci_queue_iso_receive_dualbuffer()
2223 int page, offset, packet_count, header_size, payload_per_buffer; in ohci_queue_iso_receive_packet_per_buffer() local
2229 packet_count = p->header_length / ctx->base.header_size; in ohci_queue_iso_receive_packet_per_buffer()
2230 header_size = ctx->base.header_size + 4; in ohci_queue_iso_receive_packet_per_buffer()
2233 header_z = DIV_ROUND_UP(header_size, sizeof(*d)); in ohci_queue_iso_receive_packet_per_buffer()
2250 d->req_count = cpu_to_le16(header_size); in ohci_queue_iso_receive_packet_per_buffer()