Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/target/tcm_fc/
H A Dtfc_io.c53 size_t frame_len = 0; in ft_queue_data_in() local
104 if (!frame_len) { in ft_queue_data_in()
112 frame_len = min(frame_len, remaining); in ft_queue_data_in()
118 frame_off += frame_len; in ft_queue_data_in()
153 frame_len -= tlen; in ft_queue_data_in()
156 if (frame_len && in ft_queue_data_in()
205 size_t frame_len; in ft_recv_write_data() local
261 frame_len = fr_len(fp); in ft_recv_write_data()
275 if (frame_len) { in ft_recv_write_data()
282 while (frame_len) { in ft_recv_write_data()
[all …]
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c470 skb_put(skb, frame_len); in rsi_load_radio_caps()
587 skb_put(skb, frame_len); in rsi_hal_send_sta_notify_frame()
652 skb_put(skb, frame_len); in rsi_send_aggregation_params_frame()
696 skb_put(skb, frame_len); in rsi_program_bb_rf()
775 skb_put(skb, frame_len); in rsi_set_vap_capabilities()
857 skb_put(skb, frame_len); in rsi_hal_load_key()
870 u16 frame_len; in rsi_send_common_dev_params() local
904 skb_put(skb, frame_len); in rsi_send_common_dev_params()
1166 skb_put(skb, frame_len); in rsi_set_channel()
1447 skb_put(skb, frame_len); in rsi_send_auto_rate_request()
[all …]
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tx.c140 unsigned int frame_len = 0; in mcp251xfd_tx_failure_drop() local
146 can_free_echo_skb(ndev, tx_head, &frame_len); in mcp251xfd_tx_failure_drop()
147 netdev_completed_queue(ndev, 1, frame_len); in mcp251xfd_tx_failure_drop()
209 unsigned int frame_len; in mcp251xfd_start_xmit() local
229 frame_len = can_skb_get_frame_len(skb); in mcp251xfd_start_xmit()
230 err = can_put_echo_skb(skb, ndev, tx_head, frame_len); in mcp251xfd_start_xmit()
232 netdev_sent_queue(priv->ndev, frame_len); in mcp251xfd_start_xmit()
H A Dmcp251xfd-tef.c206 unsigned int frame_len = 0; in mcp251xfd_handle_tefif() local
208 err = mcp251xfd_handle_tefif_one(priv, &hw_tef_obj[i], &frame_len); in mcp251xfd_handle_tefif()
219 total_frame_len += frame_len; in mcp251xfd_handle_tefif()
/openbmc/linux/drivers/nfc/nxp-nci/
H A Di2c.c100 size_t frame_len; in nxp_nci_i2c_fw_read() local
113 frame_len = (be16_to_cpu(header) & NXP_NCI_FW_FRAME_LEN_MASK) + in nxp_nci_i2c_fw_read()
116 *skb = alloc_skb(NXP_NCI_FW_HDR_LEN + frame_len, GFP_KERNEL); in nxp_nci_i2c_fw_read()
124 r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len); in nxp_nci_i2c_fw_read()
127 } else if (r != frame_len) { in nxp_nci_i2c_fw_read()
130 r, frame_len); in nxp_nci_i2c_fw_read()
/openbmc/linux/drivers/net/ethernet/ezchip/
H A Dnps_enet.c24 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) in nps_enet_clean_rx_fifo() argument
27 u32 i, len = DIV_ROUND_UP(frame_len, sizeof(u32)); in nps_enet_clean_rx_fifo()
64 u32 frame_len, err = 0; in nps_enet_rx_handler() local
73 frame_len = (rx_ctrl_value & RX_CTL_NR_MASK) >> RX_CTL_NR_SHIFT; in nps_enet_rx_handler()
96 if (unlikely(frame_len < ETH_ZLEN)) { in nps_enet_rx_handler()
106 skb = netdev_alloc_skb_ip_align(ndev, frame_len); in nps_enet_rx_handler()
114 nps_enet_read_rx_fifo(ndev, skb->data, frame_len); in nps_enet_rx_handler()
116 skb_put(skb, frame_len); in nps_enet_rx_handler()
121 ndev->stats.rx_bytes += frame_len; in nps_enet_rx_handler()
128 nps_enet_clean_rx_fifo(ndev, frame_len); in nps_enet_rx_handler()
/openbmc/linux/drivers/nfc/pn533/
H A Duart.c152 u16 frame_len; in pn532_uart_rx_is_frame() local
181 frame_len = be16_to_cpu(ext->datalen); in pn532_uart_rx_is_frame()
182 if (skb->len >= frame_len + in pn532_uart_rx_is_frame()
191 frame_len = std->datalen; in pn532_uart_rx_is_frame()
192 if (skb->len >= frame_len + in pn532_uart_rx_is_frame()
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A 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()
/openbmc/linux/drivers/staging/vt6656/
H A Drxtx.c156 context->frame_len, in vnt_rxtx_rsvtime_le16()
166 context->frame_len, info); in vnt_get_rts_duration()
175 context->frame_len, info); in vnt_get_cts_duration()
184 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_g() local
188 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g()
189 vnt_get_phy_field(priv, frame_len, priv->top_cck_basic_rate, in vnt_rxtx_datahead_g()
206 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_ab() local
210 vnt_get_phy_field(priv, frame_len, rate, in vnt_rxtx_datahead_ab()
538 tx_context->frame_len = skb->len + 4; in vnt_tx_packet()
593 tx_context->frame_len += info->control.hw_key->icv_len; in vnt_tx_packet()
/openbmc/linux/drivers/media/i2c/
H A Dhi846.c228 u16 frame_len; member
1066 .frame_len = 631,
1091 .frame_len = 842,
1117 .frame_len = 2526,
1343 u32 shutter, frame_len; in hi846_set_ctrl() local
1371 frame_len = hi846->cur_mode->frame_len; in hi846_set_ctrl()
1374 frame_len = shutter + 6; in hi846_set_ctrl()
1376 frame_len = 0xffff; in hi846_set_ctrl()
1442 hi846->cur_mode->frame_len - in hi846_init_controls()
1446 hi846->cur_mode->frame_len - in hi846_init_controls()
[all …]
/openbmc/linux/drivers/net/can/dev/
H A Dskb.c48 unsigned int idx, unsigned int frame_len) in can_put_echo_skb() argument
77 can_skb_prv(skb)->frame_len = frame_len; in can_put_echo_skb()
123 *frame_len_ptr = can_skb_priv->frame_len; in __can_get_echo_skb()
186 *frame_len_ptr = can_skb_priv->frame_len; in can_free_echo_skb()
/openbmc/linux/net/mac80211/
H A Dfils_aead.c269 u8 *frame, size_t *frame_len, in fils_decrypt_assoc_resp() argument
280 if (*frame_len < 24 + 6) in fils_decrypt_assoc_resp()
286 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp()
316 crypt_len = frame + *frame_len - encr; in fils_decrypt_assoc_resp()
331 *frame_len -= AES_BLOCK_SIZE; in fils_decrypt_assoc_resp()
H A Dfils_aead.h13 u8 *frame, size_t *frame_len,
/openbmc/linux/include/linux/can/
H A Dskb.h21 unsigned int idx, unsigned int frame_len);
59 unsigned int frame_len; member
/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c298 unsigned int frame_len = 0; in es58x_can_free_echo_skb_tail() local
301 netdev_completed_queue(netdev, 1, frame_len); in es58x_can_free_echo_skb_tail()
440 unsigned int frame_len = 0; in es58x_can_get_echo_skb() local
446 &frame_len); in es58x_can_get_echo_skb()
447 rx_total_frame_len += frame_len; in es58x_can_get_echo_skb()
502 unsigned int frame_len = 0; in es58x_flush_pending_tx_msg() local
508 &frame_len); in es58x_flush_pending_tx_msg()
1914 unsigned int frame_len; in es58x_start_xmit() local
1944 frame_len = can_skb_get_frame_len(skb); in es58x_start_xmit()
1947 frame_len); in es58x_start_xmit()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dioctl_cfg80211.h104 void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len);
107 void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char *msg);
/openbmc/linux/sound/soc/codecs/
H A Dcx2072x.c682 int frame_len = cx2072x->frame_size; in cx2072x_config_i2spcm() local
699 if (frame_len <= 0) { in cx2072x_config_i2spcm()
700 dev_err(dev, "Incorrect frame len %d\n", frame_len); in cx2072x_config_i2spcm()
734 pulse_len = frame_len / 2; in cx2072x_config_i2spcm()
739 pulse_len = frame_len / 2; in cx2072x_config_i2spcm()
744 pulse_len = frame_len / 2; in cx2072x_config_i2spcm()
783 i2s_right_slot = (frame_len / 2) / BITS_PER_SLOT; in cx2072x_config_i2spcm()
784 i2s_right_pause_interval = (frame_len / 2) % BITS_PER_SLOT; in cx2072x_config_i2spcm()
791 reg1.r.rx_frm_len = frame_len / BITS_PER_SLOT - 1; in cx2072x_config_i2spcm()
828 bclk_rate = cx2072x->sample_rate * frame_len; in cx2072x_config_i2spcm()
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_flash.c169 size_t frame_len = IOSM_EBL_DW_PACK_SIZE; in ipc_flash_send_receive() local
173 frame_len = IOSM_EBL_W_PACK_SIZE; in ipc_flash_send_receive()
175 ret = ipc_flash_send_data(ipc_devlink, frame_len, pack_id, payload, in ipc_flash_send_receive()
181 frame_len - IOSM_EBL_HEAD_SIZE, mdm_rsp); in ipc_flash_send_receive()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c220 static bool brcmf_p2p_is_pub_action(void *frame, u32 frame_len) in brcmf_p2p_is_pub_action() argument
228 if (frame_len < sizeof(*pact_frm)) in brcmf_p2p_is_pub_action()
248 static bool brcmf_p2p_is_p2p_action(void *frame, u32 frame_len) in brcmf_p2p_is_p2p_action() argument
256 if (frame_len < sizeof(*act_frm)) in brcmf_p2p_is_p2p_action()
275 static bool brcmf_p2p_is_gas_action(void *frame, u32 frame_len) in brcmf_p2p_is_gas_action() argument
283 if (frame_len < sizeof(*sd_act_frm)) in brcmf_p2p_is_gas_action()
310 static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len) in brcmf_p2p_print_actframe() argument
316 if (!frame || frame_len <= 2) in brcmf_p2p_print_actframe()
319 if (brcmf_p2p_is_pub_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
363 } else if (brcmf_p2p_is_p2p_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dpio.c354 unsigned int frame_len = pack->skb->len; in pio_tx_frame_2byte_queue() local
364 ctl = tx_write_2byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_2byte_queue()
424 unsigned int frame_len = pack->skb->len; in pio_tx_frame_4byte_queue() local
434 ctl = tx_write_4byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_4byte_queue()
666 len = le16_to_cpu(rxhdr->frame_len); in pio_rx_frame()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dtxrx.c407 unsigned int pad = 0, frame_len; in p54_rx_frame_sent() local
414 frame_len = entry->len; in p54_rx_frame_sent()
472 frame_len -= 12; /* remove TKIP_MMIC + TKIP_ICV */ in p54_rx_frame_sent()
476 frame_len -= 8; /* remove CCMP_MIC */ in p54_rx_frame_sent()
479 frame_len -= 4; /* remove WEP_ICV */ in p54_rx_frame_sent()
483 skb_trim(entry, frame_len); in p54_rx_frame_sent()
/openbmc/u-boot/drivers/net/
H A Dzynq_gem.c589 int frame_len; in zynq_gem_recv() local
603 frame_len = current_bd->status & ZYNQ_GEM_RXBUF_LEN_MASK; in zynq_gem_recv()
604 if (!frame_len) { in zynq_gem_recv()
622 return frame_len; in zynq_gem_recv()
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_trace.h64 u8 frame_len; member
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c802 unsigned int frame_len = 0; in wilc_frmw_to_host() local
820 frame_len = size; in wilc_frmw_to_host()
823 skb = dev_alloc_skb(frame_len); in wilc_frmw_to_host()
829 skb_put_data(skb, buff_to_send, frame_len); in wilc_frmw_to_host()
833 vif->netstats.rx_bytes += frame_len; in wilc_frmw_to_host()
/openbmc/linux/drivers/media/pci/tw5864/
H A Dtw5864-video.c1369 int frame_len = frame->vlc_len - SKIP_VLCBUF_BYTES; in tw5864_handle_frame() local
1381 tw5864_vlc_checksum((u32 *)frame->vlc.addr, frame_len)) in tw5864_handle_frame()
1402 if (input->buf_cur_space_left < frame_len * 5 / 4) { in tw5864_handle_frame()
1405 input->buf_cur_space_left, frame_len); in tw5864_handle_frame()
1414 frame_len--; in tw5864_handle_frame()
1419 src_end = src + frame_len; in tw5864_handle_frame()

1234