Lines Matching refs:ldc_packet
43 struct ldc_packet { struct
122 struct ldc_packet *tx_base;
130 struct ldc_packet *rx_base;
220 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet()
223 struct ldc_packet *p; in handshake_get_tx_packet()
275 static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp, in data_get_tx_packet()
278 struct ldc_packet *p; in data_get_tx_packet()
341 struct ldc_packet *p, in send_tx_packet()
349 static struct ldc_packet *handshake_compose_ctrl(struct ldc_channel *lp, in handshake_compose_ctrl()
354 struct ldc_packet *p = handshake_get_tx_packet(lp, new_tail); in handshake_compose_ctrl()
369 struct ldc_packet *p; in start_handshake()
392 struct ldc_packet *p; in send_version_nack()
413 struct ldc_packet *p; in send_version_ack()
429 struct ldc_packet *p; in send_rts()
449 struct ldc_packet *p; in send_rtr()
468 struct ldc_packet *p; in send_rdx()
486 static int send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt) in send_data_nack()
488 struct ldc_packet *p; in send_data_nack()
628 struct ldc_packet *p; in process_ver_nack()
648 struct ldc_packet *p) in process_version()
670 struct ldc_packet *p) in process_rts()
690 struct ldc_packet *p) in process_rtr()
713 struct ldc_packet *p) in process_rdx()
731 struct ldc_packet *p) in process_control_frame()
752 struct ldc_packet *p) in process_error_frame()
758 struct ldc_packet *ack) in process_data_ack()
764 struct ldc_packet *p = lp->tx_base + (head / LDC_PACKET_SIZE); in process_data_ack()
859 struct ldc_packet *p; in ldc_rx()
976 struct ldc_packet **base, unsigned long *ra) in alloc_queue()
999 static void free_queue(unsigned long num_entries, struct ldc_packet *q) in free_queue()
1502 struct ldc_packet *p; in write_raw()
1532 struct ldc_packet *p; in read_raw()
1596 struct ldc_packet *p = lp->tx_base + (tail / LDC_PACKET_SIZE); in write_nonraw()
1641 static int rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p, in rx_bad_seq()
1642 struct ldc_packet *first_frag) in rx_bad_seq()
1660 static int data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p) in data_ack_nack()
1720 struct ldc_packet *p; in send_data_ack()
1741 struct ldc_packet *first_frag; in read_nonraw()
1763 struct ldc_packet *p; in read_nonraw()