Lines Matching refs:padsize
732 struct ath5k_txq *txq, int padsize, in ath5k_txbuf_setup() argument
796 ieee80211_get_hdrlen_from_skb(skb), padsize, in ath5k_txbuf_setup()
1327 int padsize = padpos & 3; in ath5k_add_padding() local
1329 if (padsize && skb->len > padpos) { in ath5k_add_padding()
1331 if (skb_headroom(skb) < padsize) in ath5k_add_padding()
1334 skb_push(skb, padsize); in ath5k_add_padding()
1335 memmove(skb->data, skb->data + padsize, padpos); in ath5k_add_padding()
1336 return padsize; in ath5k_add_padding()
1358 int padsize = padpos & 3; in ath5k_remove_padding() local
1360 if (padsize && skb->len >= padpos + padsize) { in ath5k_remove_padding()
1361 memmove(skb->data + padsize, skb->data, padpos); in ath5k_remove_padding()
1362 skb_pull(skb, padsize); in ath5k_remove_padding()
1363 return padsize; in ath5k_remove_padding()
1615 int padsize; in ath5k_tx_queue() local
1623 padsize = ath5k_add_padding(skb); in ath5k_tx_queue()
1624 if (padsize < 0) { in ath5k_tx_queue()
1650 if (ath5k_txbuf_setup(ah, bf, txq, padsize, control)) { in ath5k_tx_queue()
1816 const int padsize = 0; in ath5k_beacon_setup() local
1868 ieee80211_get_hdrlen_from_skb(skb), padsize, in ath5k_beacon_setup()