Searched refs:hpad (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/net/caif/ |
H A D | caif_usb.c | 41 u8 hpad; cfusbl_receive() local 44 cfpkt_extr_head(pkt, &hpad, 1); cfusbl_receive() 45 cfpkt_extr_head(pkt, NULL, hpad); cfusbl_receive() 52 u8 hpad; cfusbl_transmit() local 63 hpad = (info->hdr_len + CFUSB_PAD_DESCR_SZ) & (CFUSB_ALIGNMENT - 1); cfusbl_transmit() 65 if (skb_headroom(skb) < ETH_HLEN + CFUSB_PAD_DESCR_SZ + hpad) { cfusbl_transmit() 70 memset(zeros, 0, hpad); cfusbl_transmit() 72 cfpkt_add_head(pkt, zeros, hpad); cfusbl_transmit() 73 cfpkt_add_head(pkt, &hpad, 1); cfusbl_transmit()
|
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_hsi.c | 86 int hpad, tpad, len; cfhsi_update_aggregation_stats() local 89 hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); cfhsi_update_aggregation_stats() 90 tpad = PAD_POW2((skb->len + hpad), cfhsi->cfg.tail_align); cfhsi_update_aggregation_stats() 91 len = skb->len + hpad + tpad; cfhsi_update_aggregation_stats() 234 int hpad; cfhsi_tx_frm() local 240 hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); cfhsi_tx_frm() 241 tpad = PAD_POW2((skb->len + hpad), cfhsi->cfg.tail_align); cfhsi_tx_frm() 244 if ((skb->len + hpad + tpad) <= CFHSI_MAX_EMB_FRM_SZ) { cfhsi_tx_frm() 247 *pemb = (u8)(hpad - 1); cfhsi_tx_frm() 248 pemb += hpad; cfhsi_tx_frm() 270 int hpad; cfhsi_tx_frm() local 282 hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); cfhsi_tx_frm() 283 tpad = PAD_POW2((skb->len + hpad), cfhsi->cfg.tail_align); cfhsi_tx_frm() 286 desc->cffrm_len[nfrms] = hpad + skb->len + tpad; cfhsi_tx_frm() 289 *pfrm = (u8)(hpad - 1); cfhsi_tx_frm() 290 pfrm += hpad; cfhsi_tx_frm()
|
Completed in 108 milliseconds