Lines Matching refs:ldc_packet
38 struct ldc_packet { struct
117 struct ldc_packet *tx_base;
125 struct ldc_packet *rx_base;
222 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet()
225 struct ldc_packet *p; in handshake_get_tx_packet()
277 static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp, in data_get_tx_packet()
280 struct ldc_packet *p; in data_get_tx_packet()
343 struct ldc_packet *p, in send_tx_packet()
351 static struct ldc_packet *handshake_compose_ctrl(struct ldc_channel *lp, in handshake_compose_ctrl()
356 struct ldc_packet *p = handshake_get_tx_packet(lp, new_tail); in handshake_compose_ctrl()
371 struct ldc_packet *p; in start_handshake()
394 struct ldc_packet *p; in send_version_nack()
415 struct ldc_packet *p; in send_version_ack()
431 struct ldc_packet *p; in send_rts()
451 struct ldc_packet *p; in send_rtr()
470 struct ldc_packet *p; in send_rdx()
488 static int send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt) in send_data_nack()
490 struct ldc_packet *p; in send_data_nack()
629 struct ldc_packet *p; in process_ver_nack()
649 struct ldc_packet *p) in process_version()
671 struct ldc_packet *p) in process_rts()
691 struct ldc_packet *p) in process_rtr()
714 struct ldc_packet *p) in process_rdx()
732 struct ldc_packet *p) in process_control_frame()
753 struct ldc_packet *p) in process_error_frame()
759 struct ldc_packet *ack) in process_data_ack()
765 struct ldc_packet *p = lp->tx_base + (head / LDC_PACKET_SIZE); in process_data_ack()
855 struct ldc_packet *p; in ldc_rx()
966 struct ldc_packet **base, unsigned long *ra) in alloc_queue()
989 static void free_queue(unsigned long num_entries, struct ldc_packet *q) in free_queue()
1414 struct ldc_packet *p; in write_raw()
1436 struct ldc_packet *p; in read_raw()
1500 struct ldc_packet *p = lp->tx_base + (tail / LDC_PACKET_SIZE); in write_nonraw()
1545 static int rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p, in rx_bad_seq()
1546 struct ldc_packet *first_frag) in rx_bad_seq()
1564 static int data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p) in data_ack_nack()
1624 struct ldc_packet *p; in send_data_ack()
1645 struct ldc_packet *first_frag; in read_nonraw()
1667 struct ldc_packet *p; in read_nonraw()