Lines Matching refs:new_tail

221 						  unsigned long *new_tail)  in handshake_get_tx_packet()  argument
230 *new_tail = t; in handshake_get_tx_packet()
252 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
257 new_tail = tx_advance(lp, tail); in tx_has_space_for()
258 if (new_tail == limit) in tx_has_space_for()
261 if (limit > new_tail) in tx_has_space_for()
262 diff = limit - new_tail; in tx_has_space_for()
265 ((lp->tx_num_entries * LDC_PACKET_SIZE) - new_tail)); in tx_has_space_for()
276 unsigned long *new_tail) in data_get_tx_packet() argument
286 *new_tail = t; in data_get_tx_packet()
342 unsigned long new_tail) in send_tx_packet() argument
346 return set_tx_tail(lp, new_tail); in send_tx_packet()
352 unsigned long *new_tail) in handshake_compose_ctrl() argument
354 struct ldc_packet *p = handshake_get_tx_packet(lp, new_tail); in handshake_compose_ctrl()
371 unsigned long new_tail; in start_handshake() local
379 ver, sizeof(*ver), &new_tail); in start_handshake()
381 int err = send_tx_packet(lp, p, new_tail); in start_handshake()
394 unsigned long new_tail; in send_version_nack() local
400 &ver, sizeof(ver), &new_tail); in send_version_nack()
405 return send_tx_packet(lp, p, new_tail); in send_version_nack()
414 unsigned long new_tail; in send_version_ack() local
417 vp, sizeof(*vp), &new_tail); in send_version_ack()
422 return send_tx_packet(lp, p, new_tail); in send_version_ack()
430 unsigned long new_tail; in send_rts() local
433 &new_tail); in send_rts()
442 return send_tx_packet(lp, p, new_tail); in send_rts()
450 unsigned long new_tail; in send_rtr() local
453 &new_tail); in send_rtr()
461 return send_tx_packet(lp, p, new_tail); in send_rtr()
469 unsigned long new_tail; in send_rdx() local
472 &new_tail); in send_rdx()
481 return send_tx_packet(lp, p, new_tail); in send_rdx()
489 unsigned long new_tail; in send_data_nack() local
492 p = data_get_tx_packet(lp, &new_tail); in send_data_nack()
505 err = send_tx_packet(lp, p, new_tail); in send_data_nack()
629 unsigned long new_tail; in process_ver_nack() local
640 &new_tail); in process_ver_nack()
644 return send_tx_packet(lp, p, new_tail); in process_ver_nack()
1503 unsigned long new_tail, hv_err; in write_raw() local
1517 p = data_get_tx_packet(lp, &new_tail); in write_raw()
1523 err = send_tx_packet(lp, p, new_tail); in write_raw()
1719 unsigned long new_tail; in send_data_ack() local
1722 p = data_get_tx_packet(lp, &new_tail); in send_data_ack()
1733 err = send_tx_packet(lp, p, new_tail); in send_data_ack()