Searched refs:trailer_len (Results 1 – 4 of 4) sorted by relevance
232 int trailer_len; in safe_prepare_write_buffer() local236 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer()238 count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len, in safe_prepare_write_buffer()246 memset(buf + count, '0', pkt_len - count - trailer_len); in safe_prepare_write_buffer()248 pkt_len = count + trailer_len; in safe_prepare_write_buffer()
302 u32 trailer_len = 0; in ath10k_htc_rx_completion_handler() local345 trailer_len = hdr->trailer_len; in ath10k_htc_rx_completion_handler()348 if ((trailer_len < min_len) || in ath10k_htc_rx_completion_handler()349 (trailer_len > payload_len)) { in ath10k_htc_rx_completion_handler()351 trailer_len); in ath10k_htc_rx_completion_handler()358 trailer -= trailer_len; in ath10k_htc_rx_completion_handler()360 trailer_len, hdr->eid); in ath10k_htc_rx_completion_handler()364 skb_trim(skb, skb->len - trailer_len); in ath10k_htc_rx_completion_handler()367 if (((int)payload_len - (int)trailer_len) <= 0) in ath10k_htc_rx_completion_handler()
286 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download() local298 if (trailer_len > 0) in ath10k_bmi_fast_download()299 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download()305 if (trailer_len > 0) in ath10k_bmi_fast_download()
68 u8 trailer_len; /* for rx */ member