Home
last modified time | relevance | path

Searched refs:frame_len (Results 1 – 25 of 53) sorted by relevance

123

/drivers/target/tcm_fc/
Dtfc_io.c72 size_t frame_len = 0; in ft_queue_data_in() local
123 if (!frame_len) { in ft_queue_data_in()
129 frame_len = (lport->seq_offload) ? lport->lso_max : in ft_queue_data_in()
131 frame_len = min(frame_len, remaining); in ft_queue_data_in()
132 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in()
137 frame_off += frame_len; in ft_queue_data_in()
146 tlen = min(mem_len, frame_len); in ft_queue_data_in()
173 frame_len -= tlen; in ft_queue_data_in()
176 if (frame_len && in ft_queue_data_in()
225 size_t frame_len; in ft_recv_write_data() local
[all …]
/drivers/staging/vt6656/
Drxtx.c207 u32 frame_length = context->frame_len; in vnt_get_rtscts_duration_le()
266 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_g() local
271 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g()
272 vnt_get_phy_field(priv, frame_len, priv->top_cck_basic_rate, in vnt_rxtx_datahead_g()
301 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_g_fb() local
306 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g_fb()
308 vnt_get_phy_field(priv, frame_len, priv->top_cck_basic_rate, in vnt_rxtx_datahead_g_fb()
337 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_a_fb() local
340 vnt_get_phy_field(priv, frame_len, rate, pkt_type, &buf->a); in vnt_rxtx_datahead_a_fb()
360 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_ab() local
[all …]
Ddevice.h235 u32 frame_len; member
/drivers/net/wireless/ath/ath5k/
Ddesc.c89 unsigned int frame_len; in ath5k_hw_setup_2word_tx_desc() local
118 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_2word_tx_desc()
120 if (frame_len & ~AR5K_2W_TX_DESC_CTL0_FRAME_LEN) in ath5k_hw_setup_2word_tx_desc()
123 tx_ctl->tx_control_0 = frame_len & AR5K_2W_TX_DESC_CTL0_FRAME_LEN; in ath5k_hw_setup_2word_tx_desc()
254 unsigned int frame_len; in ath5k_hw_setup_4word_tx_desc() local
294 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_4word_tx_desc()
296 if (frame_len & ~AR5K_4W_TX_DESC_CTL0_FRAME_LEN) in ath5k_hw_setup_4word_tx_desc()
299 txctl0 = frame_len & AR5K_4W_TX_DESC_CTL0_FRAME_LEN; in ath5k_hw_setup_4word_tx_desc()
/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c224 static bool brcmf_p2p_is_pub_action(void *frame, u32 frame_len) in brcmf_p2p_is_pub_action() argument
232 if (frame_len < sizeof(struct brcmf_p2p_pub_act_frame) - 1) in brcmf_p2p_is_pub_action()
252 static bool brcmf_p2p_is_p2p_action(void *frame, u32 frame_len) in brcmf_p2p_is_p2p_action() argument
260 if (frame_len < sizeof(struct brcmf_p2p_action_frame) - 1) in brcmf_p2p_is_p2p_action()
279 static bool brcmf_p2p_is_gas_action(void *frame, u32 frame_len) in brcmf_p2p_is_gas_action() argument
287 if (frame_len < sizeof(struct brcmf_p2psd_gas_pub_act_frame) - 1) in brcmf_p2p_is_gas_action()
314 static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len) in brcmf_p2p_print_actframe() argument
320 if (!frame || frame_len <= 2) in brcmf_p2p_print_actframe()
323 if (brcmf_p2p_is_pub_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
367 } else if (brcmf_p2p_is_p2p_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
[all …]
/drivers/net/wireless/b43/
Dpio.c367 unsigned int frame_len = pack->skb->len; in pio_tx_frame_2byte_queue() local
377 ctl = tx_write_2byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_2byte_queue()
437 unsigned int frame_len = pack->skb->len; in pio_tx_frame_4byte_queue() local
447 ctl = tx_write_4byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_4byte_queue()
679 len = le16_to_cpu(rxhdr->frame_len); in pio_rx_frame()
Dxmit.h239 __le16 frame_len; /* Frame length */ member
/drivers/net/wireless/p54/
Dtxrx.c401 unsigned int pad = 0, frame_len; in p54_rx_frame_sent() local
408 frame_len = entry->len; in p54_rx_frame_sent()
470 frame_len -= 12; /* remove TKIP_MMIC + TKIP_ICV */ in p54_rx_frame_sent()
474 frame_len -= 8; /* remove CCMP_MIC */ in p54_rx_frame_sent()
477 frame_len -= 4; /* remove WEP_ICV */ in p54_rx_frame_sent()
481 skb_trim(entry, frame_len); in p54_rx_frame_sent()
Dfwio.c195 size_t frame_len = sizeof(*hdr) + payload_len; in p54_alloc_skb() local
197 if (frame_len > P54_MAX_CTRL_FRAME_LEN) in p54_alloc_skb()
203 skb = __dev_alloc_skb(priv->tx_hdr_len + frame_len, memflags); in p54_alloc_skb()
/drivers/staging/rtl8723au/include/
Dioctl_cfg80211.h59 u8 *pmgmt_frame, uint frame_len);
/drivers/scsi/fnic/
Dfnic_trace.h78 u8 frame_len; member
Dfnic_trace.c640 fc_buf->frame_len = fc_trc_frame_len; in fnic_fc_trace_set_data()
751 tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data()
755 for (j = 0; j < min_t(u8, tdata->frame_len, in copy_and_format_trace_data()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c549 u32 frame_len, u16 l2_oxid) in bnx2fc_process_l2_frame_compl() argument
570 l2_oxid, frame_len); in bnx2fc_process_l2_frame_compl()
572 payload_len = frame_len - sizeof(struct fc_frame_header); in bnx2fc_process_l2_frame_compl()
583 memcpy(fh, buf, frame_len); in bnx2fc_process_l2_frame_compl()
633 u32 frame_len, len; in bnx2fc_process_unsol_compl() local
647 frame_len = (wqe & FCOE_UNSOLICITED_CQE_PKT_LEN) >> in bnx2fc_process_unsol_compl()
650 num_rq = (frame_len + BNX2FC_RQ_BUF_SZ - 1) / BNX2FC_RQ_BUF_SZ; in bnx2fc_process_unsol_compl()
677 bnx2fc_process_l2_frame_compl(tgt, buf, frame_len, in bnx2fc_process_unsol_compl()
Dbnx2fc_els.c124 int frame_len; in bnx2fc_l2_els_compl() local
164 frame_len = hdr_len + resp_len; in bnx2fc_l2_els_compl()
166 bnx2fc_process_l2_frame_compl(tgt, buf, frame_len, l2_oxid); in bnx2fc_l2_els_compl()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_dbg.c1887 u16 frame_len; in ql_dump_ob_mac_iocb() local
1911 le32_to_cpu(ob_mac_tso_iocb->frame_len)); in ql_dump_ob_mac_iocb()
1918 frame_len = le32_to_cpu(ob_mac_tso_iocb->frame_len); in ql_dump_ob_mac_iocb()
1921 le16_to_cpu(ob_mac_iocb->frame_len)); in ql_dump_ob_mac_iocb()
1922 frame_len = le16_to_cpu(ob_mac_iocb->frame_len); in ql_dump_ob_mac_iocb()
/drivers/net/fddi/skfp/
Dhwmtm.c153 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len,
1550 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len, in hwm_tx_init() argument
1553 NDD_TRACE("THiB",fc,frag_count,frame_len) ; in hwm_tx_init()
1555 smc->os.hwm.tx_descr = TX_DESCRIPTOR | (((u_long)(frame_len-1)&3)<<27) ; in hwm_tx_init()
1556 smc->os.hwm.tx_len = frame_len ; in hwm_tx_init()
1557 DB_TX("hwm_tx_init: fc = %x, len = %d",fc,frame_len,3) ; in hwm_tx_init()
Dsmt.c866 int frame_len ; in smt_send_rdf() local
880 frame_len = rej->sm_len ; in smt_send_rdf()
903 if ((unsigned int) frame_len <= SMT_MAX_INFO_LEN - sizeof(*rdf) + in smt_send_rdf()
905 len = frame_len ; in smt_send_rdf()
917 smt_swap_para(sm,frame_len,0) ; in smt_send_rdf()
/drivers/net/wireless/rtl818x/rtl8180/
Drtl8180.h46 __le32 frame_len; member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2180 int frame_len; in stmmac_rx() local
2182 frame_len = priv->hw->desc->get_rx_frame_len(p, coe); in stmmac_rx()
2188 frame_len -= ETH_FCS_LEN; in stmmac_rx()
2193 if (frame_len > ETH_FRAME_LEN) in stmmac_rx()
2195 frame_len, status); in stmmac_rx()
2209 skb_put(skb, frame_len); in stmmac_rx()
2215 pr_debug("frame received (%dbytes)", frame_len); in stmmac_rx()
2216 print_pkt(skb->data, frame_len); in stmmac_rx()
2231 priv->dev->stats.rx_bytes += frame_len; in stmmac_rx()
/drivers/net/wireless/b43legacy/
Dxmit.h131 __le16 frame_len; /* Frame length */ member
/drivers/net/ethernet/qualcomm/
Dqca_spi.c663 u32 frame_len; in qcaspi_netdev_xmit() local
693 frame_len = skb->len + pad_len; in qcaspi_netdev_xmit()
696 qcafrm_create_header(ptmp, frame_len); in qcaspi_netdev_xmit()
/drivers/media/dvb-frontends/
Dstv090x_priv.h262 enum stv090x_frame frame_len; member
Dstv0900_priv.h291 enum fe_stv0900_frame_length frame_len; member
/drivers/net/usb/
Dhso.c866 unsigned short frame_len; in packetizeRx() local
895 frame_len = ntohs(odev->rx_ip_hdr.tot_len); in packetizeRx()
897 if ((frame_len > DEFAULT_MRU) || in packetizeRx()
898 (frame_len < sizeof(struct iphdr))) { in packetizeRx()
901 frame_len); in packetizeRx()
907 frame_len); in packetizeRx()
928 frame_len - sizeof(struct iphdr); in packetizeRx()
/drivers/net/ethernet/calxeda/
Dxgmac.c1185 int frame_len; in xgmac_rx() local
1210 frame_len = desc_get_rx_frame_len(p); in xgmac_rx()
1212 frame_len, ip_checksum); in xgmac_rx()
1214 skb_put(skb, frame_len); in xgmac_rx()

123