Home
last modified time | relevance | path

Searched refs:wrap_len (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/3com/
Dtyphoon.c481 int count, len, wrap_len; in typhoon_process_response() local
496 wrap_len = 0; in typhoon_process_response()
499 wrap_len = cleared + len - RESPONSE_RING_SIZE; in typhoon_process_response()
504 if (unlikely(wrap_len)) { in typhoon_process_response()
506 memcpy(resp_save, base, wrap_len); in typhoon_process_response()
579 int len, wrap_len; in typhoon_issue_command() local
604 wrap_len = 0; in typhoon_issue_command()
607 wrap_len = ring->lastWrite + len - COMMAND_RING_SIZE; in typhoon_issue_command()
612 if (unlikely(wrap_len)) { in typhoon_issue_command()
615 memcpy(ring->ringBase, wrap_ptr, wrap_len); in typhoon_issue_command()