/linux/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 53 size_t frame_len = 0; in ft_queue_data_in() local 104 if (!frame_len) { in ft_queue_data_in() 110 frame_len = (lport->seq_offload) ? lport->lso_max : in ft_queue_data_in() 112 frame_len = min(frame_len, remaining); in ft_queue_data_in() 113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 118 frame_off += frame_len; in ft_queue_data_in() 127 tlen = min(mem_len, 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 [all …]
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mgmt.c | 383 u16 frame_len = sizeof(struct rsi_radio_caps); in rsi_load_radio_caps() local 387 skb = dev_alloc_skb(frame_len); in rsi_load_radio_caps() 395 memset(skb->data, 0, frame_len); in rsi_load_radio_caps() 468 (frame_len - FRAME_DESC_SZ), RSI_WIFI_MGMT_Q); in rsi_load_radio_caps() 470 skb_put(skb, frame_len); in rsi_load_radio_caps() 544 u16 frame_len = sizeof(struct rsi_peer_notify); in rsi_hal_send_sta_notify_frame() local 548 skb = dev_alloc_skb(frame_len); in rsi_hal_send_sta_notify_frame() 556 memset(skb->data, 0, frame_len); in rsi_hal_send_sta_notify_frame() 581 (frame_len - FRAME_DESC_SZ), in rsi_hal_send_sta_notify_frame() 587 skb_put(skb, frame_len); in rsi_hal_send_sta_notify_frame() [all …]
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tx.c | 140 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 D | mcp251xfd-tef.c | 237 unsigned int frame_len = 0; in mcp251xfd_handle_tefif() local 239 err = mcp251xfd_handle_tefif_one(priv, &hw_tef_obj[i], &frame_len); in mcp251xfd_handle_tefif() 250 total_frame_len += frame_len; in mcp251xfd_handle_tefif()
|
/linux/drivers/nfc/nxp-nci/ |
H A D | i2c.c | 100 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()
|
/linux/drivers/media/i2c/ |
H A D | hi846.c | 228 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() 1373 if (shutter > frame_len - 6) { /* margin */ in hi846_set_ctrl() 1374 frame_len = shutter + 6; in hi846_set_ctrl() 1375 if (frame_len > 0xffff) { /* max frame len */ in hi846_set_ctrl() 1376 frame_len = 0xffff; in hi846_set_ctrl() [all …]
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-tx.c | 70 unsigned int tx_head, frame_len; in rkcanfd_start_xmit() local 126 frame_len = can_skb_get_frame_len(skb); in rkcanfd_start_xmit() 127 err = can_put_echo_skb(skb, ndev, tx_head, frame_len); in rkcanfd_start_xmit() 129 netdev_sent_queue(priv->ndev, frame_len); in rkcanfd_start_xmit()
|
H A D | rockchip_canfd-rx.c | 121 unsigned int frame_len; in rkcanfd_rxstx_filter() local 123 rkcanfd_handle_tx_done_one(priv, ts, &frame_len); in rkcanfd_rxstx_filter() 126 netif_subqueue_completed_wake(priv->ndev, 0, 1, frame_len, in rkcanfd_rxstx_filter()
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | desc.c | 89 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()
|
/linux/drivers/nfc/pn533/ |
H A D | uart.c | 152 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()
|
/linux/drivers/net/can/dev/ |
H A D | skb.c | 48 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()
|
/linux/net/mac80211/ |
H A D | fils_aead.c | 269 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 D | fils_aead.h | 13 u8 *frame, size_t *frame_len,
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 298 unsigned int frame_len = 0; in es58x_can_free_echo_skb_tail() local 300 can_free_echo_skb(netdev, priv->tx_tail & fifo_mask, &frame_len); in es58x_can_free_echo_skb_tail() 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() 509 netdev_completed_queue(netdev, 1, frame_len); in es58x_flush_pending_tx_msg() 1914 unsigned int frame_len; in es58x_start_xmit() local [all …]
|
/linux/include/linux/can/ |
H A D | skb.h | 21 unsigned int idx, unsigned int frame_len); 59 unsigned int frame_len; member
|
/linux/sound/soc/codecs/ |
H A D | cx2072x.c | 677 int frame_len = cx2072x->frame_size; in cx2072x_config_i2spcm() local 694 if (frame_len <= 0) { in cx2072x_config_i2spcm() 695 dev_err(dev, "Incorrect frame len %d\n", frame_len); in cx2072x_config_i2spcm() 729 pulse_len = frame_len / 2; in cx2072x_config_i2spcm() 734 pulse_len = frame_len / 2; in cx2072x_config_i2spcm() 739 pulse_len = frame_len / 2; in cx2072x_config_i2spcm() 778 i2s_right_slot = (frame_len / 2) / BITS_PER_SLOT; in cx2072x_config_i2spcm() 779 i2s_right_pause_interval = (frame_len / 2) % BITS_PER_SLOT; in cx2072x_config_i2spcm() 786 reg1.r.rx_frm_len = frame_len / BITS_PER_SLOT - 1; in cx2072x_config_i2spcm() 823 bclk_rate = cx2072x->sample_rate * frame_len; in cx2072x_config_i2spcm()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | ioctl_cfg80211.h | 104 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);
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_flash.c | 169 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()
|
/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 1083 unsigned int frame_len; in m_can_tx_update_stats() local 1090 &frame_len); in m_can_tx_update_stats() 1092 stats->tx_bytes += can_get_echo_skb(dev, msg_mark, &frame_len); in m_can_tx_update_stats() 1096 return frame_len; in m_can_tx_update_stats() 1273 unsigned int frame_len; in m_can_interrupt_handler() local 1277 frame_len = m_can_tx_update_stats(cdev, 0, timestamp); in m_can_interrupt_handler() 1278 m_can_finish_tx(cdev, 1, frame_len); in m_can_interrupt_handler() 1828 unsigned int frame_len = can_skb_get_frame_len(skb); in m_can_tx_handler() local 1874 can_put_echo_skb(skb, dev, 0, frame_len); in m_can_tx_handler() 1912 can_put_echo_skb(skb, dev, putidx, frame_len); in m_can_tx_handler() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | p2p.c | 220 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 …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | pio.c | 354 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()
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | txrx.c | 407 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()
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_trace.h | 64 u8 frame_len; member
|
H A D | fnic_trace.c | 705 fc_buf->frame_len = fc_trc_frame_len; in fnic_fc_trace_set_data() 809 tdata->host_no, tdata->frame_type, tdata->frame_len); in copy_and_format_trace_data() 813 for (j = 0; j < min_t(u8, tdata->frame_len, in copy_and_format_trace_data()
|
/linux/drivers/net/fjes/ |
H A D | fjes_main.c | 962 size_t frame_len; in fjes_poll() local 979 frame = fjes_rxframe_get(adapter, &frame_len, &cur_epid); in fjes_poll() 982 skb = napi_alloc_skb(napi, frame_len); in fjes_poll() 991 skb_put_data(skb, frame, frame_len); in fjes_poll() 1002 adapter->stats64.rx_bytes += frame_len; in fjes_poll() 1004 .rx_bytes += frame_len; in fjes_poll()
|