txhdr 281 drivers/net/ethernet/amd/am79c961a.c priv->txhdr = hdr_addr; txhdr 294 drivers/net/ethernet/amd/am79c961a.c write_rreg (dev->base_addr, BASETXL, priv->txhdr); txhdr 449 drivers/net/ethernet/amd/am79c961a.c hdraddr = priv->txhdr + (head << 3); txhdr 469 drivers/net/ethernet/amd/am79c961a.c if (am_readword(dev, priv->txhdr + (priv->txhead << 3) + 2) & TMD_OWN) txhdr 545 drivers/net/ethernet/amd/am79c961a.c hdraddr = priv->txhdr + (priv->txtail << 3); txhdr 137 drivers/net/ethernet/amd/am79c961a.h unsigned long txhdr; txhdr 524 drivers/net/ethernet/mellanox/mlxsw/spectrum.c char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); txhdr 526 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memset(txhdr, 0, MLXSW_TXHDR_LEN); txhdr 528 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); txhdr 529 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); txhdr 530 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); txhdr 531 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_swid_set(txhdr, 0); txhdr 532 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_control_tclass_set(txhdr, 1); txhdr 533 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); txhdr 534 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); txhdr 93 drivers/net/ethernet/mellanox/mlxsw/switchib.c char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); txhdr 95 drivers/net/ethernet/mellanox/mlxsw/switchib.c memset(txhdr, 0, MLXSW_TXHDR_LEN); txhdr 97 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); txhdr 98 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); txhdr 99 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); txhdr 100 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_swid_set(txhdr, 0); txhdr 101 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_control_tclass_set(txhdr, 1); txhdr 102 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_port_mid_set(txhdr, tx_info->local_port); txhdr 103 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); txhdr 134 drivers/net/ethernet/mellanox/mlxsw/switchx2.c char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); txhdr 137 drivers/net/ethernet/mellanox/mlxsw/switchx2.c memset(txhdr, 0, MLXSW_TXHDR_LEN); txhdr 140 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_0); txhdr 141 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); txhdr 142 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); txhdr 143 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_etclass_set(txhdr, is_emad ? MLXSW_TXHDR_ETCLASS_6 : txhdr 145 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_swid_set(txhdr, 0); txhdr 146 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); txhdr 147 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_ctclass3_set(txhdr, MLXSW_TXHDR_CTCLASS3); txhdr 148 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_rdq_set(txhdr, is_emad ? MLXSW_TXHDR_RDQ_EMAD : txhdr 150 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_cpu_sig_set(txhdr, MLXSW_TXHDR_CPU_SIG); txhdr 151 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_sig_set(txhdr, MLXSW_TXHDR_SIG); txhdr 152 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_stclass_set(txhdr, MLXSW_TXHDR_STCLASS_NONE); txhdr 153 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_emad_set(txhdr, is_emad ? MLXSW_TXHDR_EMAD : txhdr 155 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); txhdr 1680 drivers/net/wireless/admtek/adm8211.c struct adm8211_tx_hdr *txhdr; txhdr 1699 drivers/net/wireless/admtek/adm8211.c txhdr = skb_push(skb, sizeof(*txhdr)); txhdr 1700 drivers/net/wireless/admtek/adm8211.c memset(txhdr, 0, sizeof(*txhdr)); txhdr 1701 drivers/net/wireless/admtek/adm8211.c memcpy(txhdr->da, ieee80211_get_DA(hdr), ETH_ALEN); txhdr 1702 drivers/net/wireless/admtek/adm8211.c txhdr->signal = plcp_signal; txhdr 1703 drivers/net/wireless/admtek/adm8211.c txhdr->frame_body_size = cpu_to_le16(payload_len); txhdr 1704 drivers/net/wireless/admtek/adm8211.c txhdr->frame_control = hdr->frame_control; txhdr 1708 drivers/net/wireless/admtek/adm8211.c txhdr->frag = cpu_to_le16(0x0FFF); txhdr 1711 drivers/net/wireless/admtek/adm8211.c txhdr->plcp_frag_head_len = cpu_to_le16(plcp); txhdr 1712 drivers/net/wireless/admtek/adm8211.c txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); txhdr 1713 drivers/net/wireless/admtek/adm8211.c txhdr->dur_frag_head = cpu_to_le16(dur); txhdr 1714 drivers/net/wireless/admtek/adm8211.c txhdr->dur_frag_tail = cpu_to_le16(dur); txhdr 1716 drivers/net/wireless/admtek/adm8211.c txhdr->header_control = cpu_to_le16(ADM8211_TXHDRCTL_ENABLE_EXTEND_HEADER); txhdr 1719 drivers/net/wireless/admtek/adm8211.c txhdr->header_control |= cpu_to_le16(ADM8211_TXHDRCTL_SHORT_PREAMBLE); txhdr 1722 drivers/net/wireless/admtek/adm8211.c txhdr->header_control |= cpu_to_le16(ADM8211_TXHDRCTL_ENABLE_RTS); txhdr 1724 drivers/net/wireless/admtek/adm8211.c txhdr->retry_limit = info->control.rates[0].count; txhdr 450 drivers/net/wireless/broadcom/b43/pio.c struct b43_txhdr *txhdr = (struct b43_txhdr *)wl->pio_scratchspace; txhdr 460 drivers/net/wireless/broadcom/b43/pio.c err = b43_generate_txhdr(dev, (u8 *)txhdr, skb, txhdr 474 drivers/net/wireless/broadcom/b43/pio.c pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); txhdr 476 drivers/net/wireless/broadcom/b43/pio.c pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); txhdr 243 drivers/net/wireless/broadcom/b43/xmit.c struct b43_txhdr *txhdr = (struct b43_txhdr *)_txhdr; txhdr 262 drivers/net/wireless/broadcom/b43/xmit.c memset(txhdr, 0, sizeof(*txhdr)); txhdr 272 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_rate = b43_plcp_get_ratecode_ofdm(rate); txhdr 274 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate); txhdr 275 drivers/net/wireless/broadcom/b43/xmit.c txhdr->mac_frame_ctl = wlhdr->frame_control; txhdr 276 drivers/net/wireless/broadcom/b43/xmit.c memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); txhdr 285 drivers/net/wireless/broadcom/b43/xmit.c txhdr->dur_fb = wlhdr->duration_id; txhdr 287 drivers/net/wireless/broadcom/b43/xmit.c txhdr->dur_fb = ieee80211_generic_frame_duration( txhdr 329 drivers/net/wireless/broadcom/b43/xmit.c txhdr->iv[i * 2 + 0] = phase1key[i]; txhdr 330 drivers/net/wireless/broadcom/b43/xmit.c txhdr->iv[i * 2 + 1] = phase1key[i] >> 8; txhdr 333 drivers/net/wireless/broadcom/b43/xmit.c memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3); txhdr 336 drivers/net/wireless/broadcom/b43/xmit.c ARRAY_SIZE(txhdr->iv)); txhdr 337 drivers/net/wireless/broadcom/b43/xmit.c memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len); txhdr 342 drivers/net/wireless/broadcom/b43/xmit.c b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_598.plcp), txhdr 346 drivers/net/wireless/broadcom/b43/xmit.c b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_351.plcp), txhdr 350 drivers/net/wireless/broadcom/b43/xmit.c b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_410.plcp), txhdr 354 drivers/net/wireless/broadcom/b43/xmit.c b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->plcp_fb), txhdr 367 drivers/net/wireless/broadcom/b43/xmit.c txhdr->chan_radio_code = phy->channel; txhdr 444 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_598.rts_frame); txhdr 448 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_351.rts_frame); txhdr 452 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_410.rts_frame); txhdr 466 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_598.rts_frame); txhdr 470 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_351.rts_frame); txhdr 474 drivers/net/wireless/broadcom/b43/xmit.c (txhdr->format_410.rts_frame); txhdr 488 drivers/net/wireless/broadcom/b43/xmit.c plcp = &txhdr->format_598.rts_plcp; txhdr 491 drivers/net/wireless/broadcom/b43/xmit.c plcp = &txhdr->format_351.rts_plcp; txhdr 494 drivers/net/wireless/broadcom/b43/xmit.c plcp = &txhdr->format_410.rts_plcp; txhdr 499 drivers/net/wireless/broadcom/b43/xmit.c plcp = &txhdr->rts_plcp_fb; txhdr 506 drivers/net/wireless/broadcom/b43/xmit.c (&txhdr->format_598.rts_frame); txhdr 510 drivers/net/wireless/broadcom/b43/xmit.c (&txhdr->format_351.rts_frame); txhdr 514 drivers/net/wireless/broadcom/b43/xmit.c (&txhdr->format_410.rts_frame); txhdr 517 drivers/net/wireless/broadcom/b43/xmit.c txhdr->rts_dur_fb = hdr->duration_id; txhdr 521 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_rate_rts = txhdr 525 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_rate_rts = txhdr 535 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_ctl1_rts = cpu_to_le16( txhdr 537 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_ctl1_rts_fb = cpu_to_le16( txhdr 545 drivers/net/wireless/broadcom/b43/xmit.c txhdr->format_598.cookie = cpu_to_le16(cookie); txhdr 548 drivers/net/wireless/broadcom/b43/xmit.c txhdr->format_351.cookie = cpu_to_le16(cookie); txhdr 551 drivers/net/wireless/broadcom/b43/xmit.c txhdr->format_410.cookie = cpu_to_le16(cookie); txhdr 556 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_ctl1 = txhdr 558 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_ctl1_fb = txhdr 563 drivers/net/wireless/broadcom/b43/xmit.c txhdr->mac_ctl = cpu_to_le32(mac_ctl); txhdr 564 drivers/net/wireless/broadcom/b43/xmit.c txhdr->phy_ctl = cpu_to_le16(phy_ctl); txhdr 565 drivers/net/wireless/broadcom/b43/xmit.c txhdr->extra_ft = extra_ft; txhdr 207 drivers/net/wireless/broadcom/b43/xmit.h u8 * txhdr, txhdr 42 drivers/net/wireless/broadcom/b43legacy/pio.c static u16 tx_get_next_word(const u8 *txhdr, txhdr 52 drivers/net/wireless/broadcom/b43legacy/pio.c source = txhdr; txhdr 64 drivers/net/wireless/broadcom/b43legacy/pio.c u8 *txhdr, txhdr 72 drivers/net/wireless/broadcom/b43legacy/pio.c data = tx_get_next_word(txhdr, packet, txhdr 80 drivers/net/wireless/broadcom/b43legacy/pio.c data = tx_get_next_word(txhdr, packet, txhdr 178 drivers/net/wireless/broadcom/b43legacy/pio.c u8 *txhdr = NULL; txhdr 182 drivers/net/wireless/broadcom/b43legacy/pio.c txhdr = (u8 *)(&txhdr_data.txhdr_fw3); txhdr 186 drivers/net/wireless/broadcom/b43legacy/pio.c txhdr, skb->data, skb->len, txhdr 196 drivers/net/wireless/broadcom/b43legacy/pio.c tx_data(queue, txhdr, (u8 *)skb->data, octets); txhdr 175 drivers/net/wireless/broadcom/b43legacy/xmit.c struct b43legacy_txhdr_fw3 *txhdr, txhdr 195 drivers/net/wireless/broadcom/b43legacy/xmit.c memset(txhdr, 0, sizeof(*txhdr)); txhdr 204 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->mac_frame_ctl = wlhdr->frame_control; txhdr 205 drivers/net/wireless/broadcom/b43legacy/xmit.c memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); txhdr 214 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->dur_fb = wlhdr->duration_id; txhdr 216 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->dur_fb = ieee80211_generic_frame_duration(dev->wl->hw, txhdr 245 drivers/net/wireless/broadcom/b43legacy/xmit.c ARRAY_SIZE(txhdr->iv)); txhdr 246 drivers/net/wireless/broadcom/b43legacy/xmit.c memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); txhdr 257 drivers/net/wireless/broadcom/b43legacy/xmit.c (&txhdr->plcp), plcp_fragment_len, txhdr 259 drivers/net/wireless/broadcom/b43legacy/xmit.c b43legacy_generate_plcp_hdr(&txhdr->plcp_fb, plcp_fragment_len, txhdr 313 drivers/net/wireless/broadcom/b43legacy/xmit.c (txhdr->rts_frame)); txhdr 321 drivers/net/wireless/broadcom/b43legacy/xmit.c (txhdr->rts_frame)); txhdr 327 drivers/net/wireless/broadcom/b43legacy/xmit.c (&txhdr->rts_plcp), txhdr 329 drivers/net/wireless/broadcom/b43legacy/xmit.c b43legacy_generate_plcp_hdr(&txhdr->rts_plcp_fb, txhdr 331 drivers/net/wireless/broadcom/b43legacy/xmit.c hdr = (struct ieee80211_hdr *)(&txhdr->rts_frame); txhdr 332 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->rts_dur_fb = hdr->duration_id; txhdr 336 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->cookie = cpu_to_le16(cookie); txhdr 339 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->mac_ctl = cpu_to_le32(mac_ctl); txhdr 340 drivers/net/wireless/broadcom/b43legacy/xmit.c txhdr->phy_ctl = cpu_to_le16(phy_ctl); txhdr 346 drivers/net/wireless/broadcom/b43legacy/xmit.c u8 *txhdr, txhdr 352 drivers/net/wireless/broadcom/b43legacy/xmit.c return generate_txhdr_fw3(dev, (struct b43legacy_txhdr_fw3 *)txhdr, txhdr 83 drivers/net/wireless/broadcom/b43legacy/xmit.h u8 *txhdr, txhdr 95 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c u8 txhdr[ETH_HLEN]; txhdr 746 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); txhdr 788 drivers/net/wireless/intersil/p54/txrx.c struct p54_tx_data *txhdr; txhdr 807 drivers/net/wireless/intersil/p54/txrx.c padding = (unsigned long)(skb->data - (sizeof(*hdr) + sizeof(*txhdr))) & 3; txhdr 824 drivers/net/wireless/intersil/p54/txrx.c txhdr = skb_push(skb, sizeof(*txhdr) + padding); txhdr 838 drivers/net/wireless/intersil/p54/txrx.c memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); txhdr 895 drivers/net/wireless/intersil/p54/txrx.c txhdr->rateset[ridx] = rate; txhdr 906 drivers/net/wireless/intersil/p54/txrx.c txhdr->rts_rate_idx = 0; txhdr 908 drivers/net/wireless/intersil/p54/txrx.c txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); txhdr 909 drivers/net/wireless/intersil/p54/txrx.c txhdr->key_len = min((u8)16, info->control.hw_key->keylen); txhdr 910 drivers/net/wireless/intersil/p54/txrx.c memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); txhdr 922 drivers/net/wireless/intersil/p54/txrx.c txhdr->key_type = 0; txhdr 923 drivers/net/wireless/intersil/p54/txrx.c txhdr->key_len = 0; txhdr 925 drivers/net/wireless/intersil/p54/txrx.c txhdr->crypt_offset = crypt_offset; txhdr 926 drivers/net/wireless/intersil/p54/txrx.c txhdr->hw_queue = queue; txhdr 927 drivers/net/wireless/intersil/p54/txrx.c txhdr->backlog = priv->tx_stats[queue].len - 1; txhdr 928 drivers/net/wireless/intersil/p54/txrx.c memset(txhdr->durations, 0, sizeof(txhdr->durations)); txhdr 929 drivers/net/wireless/intersil/p54/txrx.c txhdr->tx_antenna = 2 & priv->tx_diversity_mask; txhdr 931 drivers/net/wireless/intersil/p54/txrx.c txhdr->longbow.cts_rate = cts_rate; txhdr 932 drivers/net/wireless/intersil/p54/txrx.c txhdr->longbow.output_power = cpu_to_le16(priv->output_power); txhdr 934 drivers/net/wireless/intersil/p54/txrx.c txhdr->normal.output_power = priv->output_power; txhdr 935 drivers/net/wireless/intersil/p54/txrx.c txhdr->normal.cts_rate = cts_rate; txhdr 938 drivers/net/wireless/intersil/p54/txrx.c txhdr->align[0] = padding;