Lines Matching refs:ctx_header
829 const __be32 *ctx_header, in parse_ir_ctx_header() argument
839 payload_length = be32_to_cpu(ctx_header[0]) >> ISO_DATA_LENGTH_SHIFT; in parse_ir_ctx_header()
857 cip_header = ctx_header + IR_CTX_HEADER_DEFAULT_QUADLETS; in parse_ir_ctx_header()
935 const __be32 *ctx_header, unsigned int packet_count, in generate_tx_packet_descs() argument
956 cycle = compute_ohci_cycle_count(ctx_header[1]); in generate_tx_packet_descs()
992 err = parse_ir_ctx_header(s, cycle, ctx_header, &data_blocks, &dbc, &syt, in generate_tx_packet_descs()
1009 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(*ctx_header); in generate_tx_packet_descs()
1031 const __be32 *ctx_header, unsigned int packet_count) in generate_rx_packet_descs() argument
1046 desc->cycle = compute_ohci_it_cycle(*ctx_header, s->queue_size); in generate_rx_packet_descs()
1068 ++ctx_header; in generate_rx_packet_descs()
1176 const __be32 *ctx_header = header; in process_rx_packets() local
1190 packets = header_length / sizeof(*ctx_header); in process_rx_packets()
1192 generate_rx_packet_descs(s, desc, ctx_header, packets); in process_rx_packets()
1247 const __be32 *ctx_header = header; in skip_rx_packets() local
1255 packets = header_length / sizeof(*ctx_header); in skip_rx_packets()
1257 cycle = compute_ohci_it_cycle(ctx_header[packets - 1], s->queue_size); in skip_rx_packets()
1282 __be32 *ctx_header = header; in process_rx_packets_intermediately() local
1290 packets = header_length / sizeof(*ctx_header); in process_rx_packets_intermediately()
1294 unsigned int cycle = compute_ohci_it_cycle(ctx_header[offset], queue_size); in process_rx_packets_intermediately()
1303 unsigned int length = sizeof(*ctx_header) * offset; in process_rx_packets_intermediately()
1305 skip_rx_packets(context, tstamp, length, ctx_header, private_data); in process_rx_packets_intermediately()
1309 ctx_header += offset; in process_rx_packets_intermediately()
1320 process_rx_packets(context, tstamp, header_length, ctx_header, private_data); in process_rx_packets_intermediately()
1335 __be32 *ctx_header = header; in process_tx_packets() local
1349 err = generate_tx_packet_descs(s, desc, ctx_header, packet_count, &desc_count); in process_tx_packets()
1382 const __be32 *ctx_header = header; in drop_tx_packets() local
1392 ctx_header += (packets - 1) * s->ctx_data.tx.ctx_header_size / sizeof(*ctx_header); in drop_tx_packets()
1393 cycle = compute_ohci_cycle_count(ctx_header[1]); in drop_tx_packets()
1411 __be32 *ctx_header; in process_tx_packets_intermediately() local
1421 ctx_header = header; in process_tx_packets_intermediately()
1423 unsigned int cycle = compute_ohci_cycle_count(ctx_header[1]); in process_tx_packets_intermediately()
1428 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(__be32); in process_tx_packets_intermediately()
1432 ctx_header = header; in process_tx_packets_intermediately()
1437 drop_tx_packets(context, tstamp, length, ctx_header, s); in process_tx_packets_intermediately()
1441 ctx_header += length / sizeof(*ctx_header); in process_tx_packets_intermediately()
1449 process_tx_packets(context, tstamp, header_length, ctx_header, s); in process_tx_packets_intermediately()
1462 __be32 *ctx_header; in drop_tx_packets_initially() local
1474 ctx_header = header; in drop_tx_packets_initially()
1477 (be32_to_cpu(*ctx_header) >> ISO_DATA_LENGTH_SHIFT) / sizeof(__be32); in drop_tx_packets_initially()
1483 __be32 *cip_headers = ctx_header + IR_CTX_HEADER_DEFAULT_QUADLETS; in drop_tx_packets_initially()
1507 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(__be32); in drop_tx_packets_initially()