Lines Matching refs:hd_info
1489 struct brcmf_sdio_hdrinfo *hd_info) in brcmf_sdio_hdpack() argument
1494 brcmf_sdio_update_hwhdr(header, hd_info->len); in brcmf_sdio_hdpack()
1498 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack()
1500 hdrval = (u16)hd_info->tail_pad << 16; in brcmf_sdio_hdpack()
1505 hdrval = hd_info->seq_num; in brcmf_sdio_hdpack()
1506 hdrval |= (hd_info->channel << SDPCM_CHANNEL_SHIFT) & in brcmf_sdio_hdpack()
1508 hdrval |= (hd_info->dat_offset << SDPCM_DOFFSET_SHIFT) & in brcmf_sdio_hdpack()
2196 struct brcmf_sdio_hdrinfo hd_info = {0}; in brcmf_sdio_txpkt_prep() local
2219 hd_info.len = pkt_next->len; in brcmf_sdio_txpkt_prep()
2220 hd_info.lastfrm = skb_queue_is_last(pktq, pkt_next); in brcmf_sdio_txpkt_prep()
2226 hd_info.tail_pad = (u16)ret; in brcmf_sdio_txpkt_prep()
2230 hd_info.channel = chan; in brcmf_sdio_txpkt_prep()
2231 hd_info.dat_offset = head_pad + bus->tx_hdrlen; in brcmf_sdio_txpkt_prep()
2232 hd_info.seq_num = txseq++; in brcmf_sdio_txpkt_prep()
2235 brcmf_sdio_hdpack(bus, pkt_next->data, &hd_info); in brcmf_sdio_txpkt_prep()
2240 brcmf_dbg_hex_dump(true, pkt_next->data, hd_info.len, in brcmf_sdio_txpkt_prep()
2402 struct brcmf_sdio_hdrinfo hd_info = {0}; in brcmf_sdio_tx_ctrlframe() local
2430 hd_info.len = len - pad; in brcmf_sdio_tx_ctrlframe()
2431 hd_info.channel = SDPCM_CONTROL_CHANNEL; in brcmf_sdio_tx_ctrlframe()
2432 hd_info.dat_offset = doff + bus->tx_hdrlen; in brcmf_sdio_tx_ctrlframe()
2433 hd_info.seq_num = bus->tx_seq; in brcmf_sdio_tx_ctrlframe()
2434 hd_info.lastfrm = true; in brcmf_sdio_tx_ctrlframe()
2435 hd_info.tail_pad = pad; in brcmf_sdio_tx_ctrlframe()
2436 brcmf_sdio_hdpack(bus, frame, &hd_info); in brcmf_sdio_tx_ctrlframe()