Lines Matching refs:ctx_header

798 			       const __be32 *ctx_header,  in parse_ir_ctx_header()  argument
807 payload_length = be32_to_cpu(ctx_header[0]) >> ISO_DATA_LENGTH_SHIFT; in parse_ir_ctx_header()
825 cip_header = ctx_header + IR_CTX_HEADER_DEFAULT_QUADLETS; in parse_ir_ctx_header()
891 const __be32 *ctx_header, in generate_device_pkt_descs() argument
910 cycle = compute_ohci_cycle_count(ctx_header[1]); in generate_device_pkt_descs()
946 err = parse_ir_ctx_header(s, cycle, ctx_header, &data_blocks, &dbc, &syt, in generate_device_pkt_descs()
962 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(*ctx_header); in generate_device_pkt_descs()
983 static void generate_pkt_descs(struct amdtp_stream *s, const __be32 *ctx_header, unsigned int packe… in generate_pkt_descs() argument
998 desc->cycle = compute_ohci_it_cycle(*ctx_header, s->queue_size); in generate_pkt_descs()
1019 ++ctx_header; in generate_pkt_descs()
1052 const __be32 *ctx_header = header; in process_rx_packets() local
1064 packets = header_length / sizeof(*ctx_header); in process_rx_packets()
1068 generate_pkt_descs(s, ctx_header, packets); in process_rx_packets()
1121 const __be32 *ctx_header = header; in skip_rx_packets() local
1129 packets = header_length / sizeof(*ctx_header); in skip_rx_packets()
1131 cycle = compute_ohci_it_cycle(ctx_header[packets - 1], s->queue_size); in skip_rx_packets()
1156 __be32 *ctx_header = header; in process_rx_packets_intermediately() local
1164 packets = header_length / sizeof(*ctx_header); in process_rx_packets_intermediately()
1168 unsigned int cycle = compute_ohci_it_cycle(ctx_header[offset], queue_size); in process_rx_packets_intermediately()
1177 unsigned int length = sizeof(*ctx_header) * offset; in process_rx_packets_intermediately()
1179 skip_rx_packets(context, tstamp, length, ctx_header, private_data); in process_rx_packets_intermediately()
1183 ctx_header += offset; in process_rx_packets_intermediately()
1191 process_rx_packets(context, tstamp, header_length, ctx_header, private_data); in process_rx_packets_intermediately()
1206 __be32 *ctx_header = header; in process_tx_packets() local
1219 err = generate_device_pkt_descs(s, s->pkt_descs, ctx_header, packets, &desc_count); in process_tx_packets()
1248 const __be32 *ctx_header = header; in drop_tx_packets() local
1258 ctx_header += (packets - 1) * s->ctx_data.tx.ctx_header_size / sizeof(*ctx_header); in drop_tx_packets()
1259 cycle = compute_ohci_cycle_count(ctx_header[1]); in drop_tx_packets()
1277 __be32 *ctx_header; in process_tx_packets_intermediately() local
1287 ctx_header = header; in process_tx_packets_intermediately()
1289 unsigned int cycle = compute_ohci_cycle_count(ctx_header[1]); in process_tx_packets_intermediately()
1294 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(__be32); in process_tx_packets_intermediately()
1298 ctx_header = header; in process_tx_packets_intermediately()
1303 drop_tx_packets(context, tstamp, length, ctx_header, s); in process_tx_packets_intermediately()
1307 ctx_header += length / sizeof(*ctx_header); in process_tx_packets_intermediately()
1315 process_tx_packets(context, tstamp, header_length, ctx_header, s); in process_tx_packets_intermediately()
1328 __be32 *ctx_header; in drop_tx_packets_initially() local
1340 ctx_header = header; in drop_tx_packets_initially()
1343 (be32_to_cpu(*ctx_header) >> ISO_DATA_LENGTH_SHIFT) / sizeof(__be32); in drop_tx_packets_initially()
1349 __be32 *cip_headers = ctx_header + IR_CTX_HEADER_DEFAULT_QUADLETS; in drop_tx_packets_initially()
1373 ctx_header += s->ctx_data.tx.ctx_header_size / sizeof(__be32); in drop_tx_packets_initially()