/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | tx.c | 69 struct txpd *txpd; in lbs_hard_start_xmit() local 110 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit() 111 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit() 116 BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); in lbs_hard_start_xmit() 120 /* set txpd fields from the radiotap header */ in lbs_hard_start_xmit() 121 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit() 128 memcpy(&txpd->tx_dest_addr, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit() 131 memcpy(&txpd in lbs_hard_start_xmit() [all...] |
H A D | mesh.h | 35 struct txpd; 40 struct net_device *dev, struct txpd *txpd); 69 #define lbs_mesh_set_txpd(priv, dev, txpd) do { } while (0)
|
H A D | mesh.c | 1083 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() 1087 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd() 1089 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd() 1082 lbs_mesh_set_txpd(struct lbs_private *priv, struct net_device *dev, struct txpd *txpd) lbs_mesh_set_txpd() argument
|
H A D | defs.h | 263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | tx.c | 69 struct txpd *txpd; in lbs_hard_start_xmit() local 110 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit() 111 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit() 119 /* set txpd fields from the radiotap header */ in lbs_hard_start_xmit() 120 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit() 127 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit() 130 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN); in lbs_hard_start_xmit() 133 txpd in lbs_hard_start_xmit() [all...] |
H A D | mesh.h | 35 struct txpd; 40 struct net_device *dev, struct txpd *txpd); 69 #define lbs_mesh_set_txpd(priv, dev, txpd)
|
H A D | mesh.c | 1061 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() 1065 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd() 1067 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd() 1060 lbs_mesh_set_txpd(struct lbs_private *priv, struct net_device *dev, struct txpd *txpd) lbs_mesh_set_txpd() argument
|
H A D | defs.h | 263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_tx.c | 36 struct txpd *local_tx_pd; in mwifiex_process_sta_txpd() 48 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd() 49 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd() 53 (sizeof(struct txpd) + in mwifiex_process_sta_txpd() 88 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd() 114 struct txpd *local_tx_pd; in mwifiex_send_null_packet() 116 /* sizeof(struct txpd) + Interface specific header */ in mwifiex_send_null_packet() 145 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet() 146 skb_reserve(skb, sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet() 147 skb_push(skb, sizeof(struct txpd)); in mwifiex_send_null_packet() [all...] |
H A D | uap_txrx.c | 477 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local 485 pad = ((uintptr_t)skb->data - (sizeof(*txpd) + hroom)) & in mwifiex_process_uap_txpd() 488 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd() 490 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd() 491 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd() 492 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd() 493 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd() 494 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) in mwifiex_process_uap_txpd() [all...] |
H A D | 11n_aggr.c | 90 struct txpd *local_tx_pd; in mwifiex_11n_form_amsdu_txpd() 95 local_tx_pd = (struct txpd *) skb->data; in mwifiex_11n_form_amsdu_txpd() 96 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd() 104 /* Always zero as the data is followed by struct txpd */ in mwifiex_11n_form_amsdu_txpd() 105 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd() 154 struct txpd *ptx_pd = NULL; 172 * header and txpd. 174 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); 227 ptx_pd = (struct txpd *)skb_aggr->data; 238 tx_param.next_pkt_len = skb_src->len + sizeof(struct txpd); [all...] |
H A D | txrx.c | 77 struct txpd *local_tx_pd = NULL; in mwifiex_process_tx() 108 local_tx_pd = (struct txpd *)(skb->data + hroom); in mwifiex_process_tx() 162 struct txpd *local_tx_pd = NULL; in mwifiex_host_to_card() 179 local_tx_pd = (struct txpd *)(head_ptr + adapter->intf_hdr_len); in mwifiex_host_to_card()
|
H A D | wmm.c | 1264 sizeof(struct txpd) : 0); 1353 sizeof(struct txpd) : 0);
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | uap_txrx.c | 489 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local 506 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd() 509 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd() 511 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd() 512 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd() 513 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd() 514 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd() 515 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) in mwifiex_process_uap_txpd() [all...] |
H A D | sta_tx.c | 48 struct txpd *local_tx_pd; in mwifiex_process_sta_txpd() 69 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd() 70 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd() 74 (sizeof(struct txpd) + in mwifiex_process_sta_txpd() 109 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd() 137 struct txpd *local_tx_pd; in mwifiex_send_null_packet() 139 /* sizeof(struct txpd) + Interface specific header */ in mwifiex_send_null_packet() 168 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet() 169 skb_reserve(skb, sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet() 170 skb_push(skb, sizeof(struct txpd)); in mwifiex_send_null_packet() [all...] |
H A D | 11n_aggr.c | 102 struct txpd *local_tx_pd; in mwifiex_11n_form_amsdu_txpd() 107 local_tx_pd = (struct txpd *) skb->data; in mwifiex_11n_form_amsdu_txpd() 108 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd() 116 /* Always zero as the data is followed by struct txpd */ in mwifiex_11n_form_amsdu_txpd() 117 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd() 166 struct txpd *ptx_pd = NULL; 184 * header and txpd. 186 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); 239 ptx_pd = (struct txpd *)skb_aggr->data; 250 tx_param.next_pkt_len = skb_src->len + sizeof(struct txpd); [all...] |
H A D | txrx.c | 90 struct txpd *local_tx_pd = NULL; in mwifiex_process_tx() 116 local_tx_pd = (struct txpd *)(head_ptr + hroom); in mwifiex_process_tx() 166 struct txpd *local_tx_pd = NULL; in mwifiex_host_to_card() 183 local_tx_pd = (struct txpd *)(head_ptr + adapter->intf_hdr_len); in mwifiex_host_to_card()
|
H A D | wmm.c | 1276 sizeof(struct txpd) : 0); 1365 sizeof(struct txpd) : 0);
|
H A D | usb.c | 949 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_usb_prepare_tx_aggr_skb() 977 struct txpd *local_tx_pd = in mwifiex_usb_aggr_tx_data() 978 (struct txpd *)((u8 *)skb->data + adapter->intf_hdr_len); in mwifiex_usb_aggr_tx_data()
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 202 struct txpd *txpd; in lbtf_tx_work() local 221 txpd = skb_push(skb, sizeof(struct txpd)); in lbtf_tx_work() 229 memset(txpd, 0, sizeof(struct txpd)); in lbtf_tx_work() 231 txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE | in lbtf_tx_work() 235 BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); in lbtf_tx_work() 236 memcpy(&txpd->tx_dest_addr, skb->data + sizeof(struct txpd) in lbtf_tx_work() [all...] |
H A D | libertas_tf.h | 131 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN) 263 struct txpd { struct
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 202 struct txpd *txpd; in lbtf_tx_work() local 221 txpd = skb_push(skb, sizeof(struct txpd)); in lbtf_tx_work() 229 memset(txpd, 0, sizeof(struct txpd)); in lbtf_tx_work() 231 txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE | in lbtf_tx_work() 235 memcpy(txpd->tx_dest_addr_high, skb->data + sizeof(struct txpd) + 4, in lbtf_tx_work() 237 txpd in lbtf_tx_work() [all...] |
H A D | libertas_tf.h | 131 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN) 263 struct txpd { struct
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | txc43128_phy.c | 375 int txpd = (1 << TXC_ATXCTL_TXPD3_LBN) | (1 << TXC_ATXCTL_TXPD2_LBN) in txc_analog_lane_power() local 383 txctl &= ~txpd; in txc_analog_lane_power() 386 txctl |= txpd; in txc_analog_lane_power()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | txc43128_phy.c | 375 int txpd = (1 << TXC_ATXCTL_TXPD3_LBN) | (1 << TXC_ATXCTL_TXPD2_LBN) in txc_analog_lane_power() local 383 txctl &= ~txpd; in txc_analog_lane_power() 386 txctl |= txpd; in txc_analog_lane_power()
|