Lines Matching refs:new_tail
223 unsigned long *new_tail) in handshake_get_tx_packet() argument
232 *new_tail = t; in handshake_get_tx_packet()
254 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
259 new_tail = tx_advance(lp, tail); in tx_has_space_for()
260 if (new_tail == limit) in tx_has_space_for()
263 if (limit > new_tail) in tx_has_space_for()
264 diff = limit - new_tail; in tx_has_space_for()
267 ((lp->tx_num_entries * LDC_PACKET_SIZE) - new_tail)); in tx_has_space_for()
278 unsigned long *new_tail) in data_get_tx_packet() argument
288 *new_tail = t; in data_get_tx_packet()
344 unsigned long new_tail) in send_tx_packet() argument
348 return set_tx_tail(lp, new_tail); in send_tx_packet()
354 unsigned long *new_tail) in handshake_compose_ctrl() argument
356 struct ldc_packet *p = handshake_get_tx_packet(lp, new_tail); in handshake_compose_ctrl()
373 unsigned long new_tail; in start_handshake() local
381 ver, sizeof(*ver), &new_tail); in start_handshake()
383 int err = send_tx_packet(lp, p, new_tail); in start_handshake()
396 unsigned long new_tail; in send_version_nack() local
402 &ver, sizeof(ver), &new_tail); in send_version_nack()
407 return send_tx_packet(lp, p, new_tail); in send_version_nack()
416 unsigned long new_tail; in send_version_ack() local
419 vp, sizeof(*vp), &new_tail); in send_version_ack()
424 return send_tx_packet(lp, p, new_tail); in send_version_ack()
432 unsigned long new_tail; in send_rts() local
435 &new_tail); in send_rts()
444 return send_tx_packet(lp, p, new_tail); in send_rts()
452 unsigned long new_tail; in send_rtr() local
455 &new_tail); in send_rtr()
463 return send_tx_packet(lp, p, new_tail); in send_rtr()
471 unsigned long new_tail; in send_rdx() local
474 &new_tail); in send_rdx()
483 return send_tx_packet(lp, p, new_tail); in send_rdx()
491 unsigned long new_tail; in send_data_nack() local
494 p = data_get_tx_packet(lp, &new_tail); in send_data_nack()
507 err = send_tx_packet(lp, p, new_tail); in send_data_nack()
630 unsigned long new_tail; in process_ver_nack() local
641 &new_tail); in process_ver_nack()
645 return send_tx_packet(lp, p, new_tail); in process_ver_nack()
1415 unsigned long new_tail; in write_raw() local
1421 p = data_get_tx_packet(lp, &new_tail); in write_raw()
1427 err = send_tx_packet(lp, p, new_tail); in write_raw()
1623 unsigned long new_tail; in send_data_ack() local
1626 p = data_get_tx_packet(lp, &new_tail); in send_data_ack()
1637 err = send_tx_packet(lp, p, new_tail); in send_data_ack()