Home
last modified time | relevance | path

Searched refs:packet_length (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/staging/most/dim2/
A Dhal.c251 u16 packet_length) in dim2_configure_cdt() argument
255 if (packet_length) in dim2_configure_cdt()
351 u16 packet_length) in dim2_configure_channel() argument
447 if (packet_length <= 0) in check_packet_length()
450 if (packet_length > max_size) in check_packet_length()
496 return packet_length * n; in norm_isoc_buffer_size()
605 ch->packet_length = packet_length; in isoc_init()
616 ch->packet_length = 0; in sync_init()
627 ch->packet_length = 0; in channel_init()
657 if (ch->packet_length && in channel_start()
[all …]
A Dhal.h52 u16 packet_length; /*< Isochronous packet length in bytes. */ member
66 u16 dim_norm_isoc_buffer_size(u16 buf_size, u16 packet_length);
77 u16 packet_length);
/linux/drivers/net/ethernet/smsc/
A Dsmc9194.c1129 word packet_length; in smc_rcv() local
1156 packet_length -= 6; in smc_rcv()
1165 packet_length++; in smc_rcv()
1184 data = skb_put( skb, packet_length); in smc_rcv()
1192 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1196 packet_length & 0x3 ); in smc_rcv()
1199 (packet_length >> 1 ), packet_length & 1 )); in smc_rcv()
1201 if ( packet_length & 1 ) { in smc_rcv()
1202 data += packet_length & ~1; in smc_rcv()
1207 print_packet( data, packet_length ); in smc_rcv()
[all …]
A Dsmc91c92_cs.c1477 int packet_length; /* Caution: not frame length, rather words in smc_rx() local
1490 packet_length = inw(ioaddr + DATA_1) & 0x07ff; in smc_rx()
1493 rx_status, packet_length); in smc_rx()
1501 skb = netdev_alloc_skb(dev, packet_length+2); in smc_rx()
1510 packet_length -= (rx_status & RS_ODDFRAME ? 5 : 6); in smc_rx()
1512 insw(ioaddr+DATA_1, skb_put(skb, packet_length), in smc_rx()
1513 (packet_length+1)>>1); in smc_rx()
1519 dev->stats.rx_bytes += packet_length; in smc_rx()
A Dsmsc9420.c744 u16 packet_length = (status & RDES0_FRAME_LENGTH_MASK_) in smsc9420_rx_handoff() local
748 packet_length -= 4; in smsc9420_rx_handoff()
751 packet_length -= 2; in smsc9420_rx_handoff()
754 dev->stats.rx_bytes += packet_length; in smsc9420_rx_handoff()
765 NET_IP_ALIGN + packet_length + 4); in smsc9420_rx_handoff()
771 skb_put(skb, packet_length); in smsc9420_rx_handoff()
/linux/drivers/media/usb/ttusb-dec/
A Dttusb_dec.c127 int packet_length; member
589 if (dec->packet_length % 2) { in ttusb_dec_process_packet()
594 for (i = 0; i < dec->packet_length; i += 2) in ttusb_dec_process_packet()
662 dec->packet_length = 0; in ttusb_dec_process_urb_frame()
674 if (dec->packet_length == 2) { in ttusb_dec_process_urb_frame()
704 dec->packet_length == 8) { in ttusb_dec_process_urb_frame()
711 dec->packet_length == 5) { in ttusb_dec_process_urb_frame()
723 dec->packet_length; in ttusb_dec_process_urb_frame()
728 dec->packet_length += remainder; in ttusb_dec_process_urb_frame()
735 dec->packet_length += length; in ttusb_dec_process_urb_frame()
[all …]
/linux/sound/soc/mediatek/common/
A Dmtk-btcvsd.c78 unsigned int packet_length; member
349 bt->tx->buffer_info.packet_length, in btcvsd_tx_clean_buffer()
359 unsigned int packet_length, in mtk_btcvsd_read_from_bt() argument
385 bt->rx->temp_packet_buf, packet_length, in mtk_btcvsd_read_from_bt()
412 unsigned int packet_length, in mtk_btcvsd_write_to_bt() argument
450 packet_length, packet_num); in mtk_btcvsd_write_to_bt()
454 bt->tx->buffer_info.packet_length = packet_length; in mtk_btcvsd_write_to_bt()
543 packet_length, in mtk_btcvsd_snd_irq_handler()
547 packet_length, in mtk_btcvsd_snd_irq_handler()
573 packet_length, in mtk_btcvsd_snd_irq_handler()
[all …]
/linux/drivers/infiniband/core/
A Dud_header.c76 { STRUCT_FIELD(lrh, packet_length),
337 u16 packet_length; in ib_ud_header_init() local
342 packet_length = (IB_LRH_BYTES + in ib_ud_header_init()
349 header->lrh.packet_length = cpu_to_be16(packet_length); in ib_ud_header_init()
/linux/drivers/platform/chrome/
A Dcros_ec_i2c.c41 uint8_t packet_length; member
130 ec_response_i2c->packet_length == 0) { in cros_ec_pkt_xfer_i2c()
136 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_pkt_xfer_i2c()
139 ec_response_i2c->packet_length); in cros_ec_pkt_xfer_i2c()
/linux/drivers/platform/x86/dell/
A Ddell_rbu.c214 int packet_length; in packetize_data() local
228 packet_length = rbu_data.packetsize; in packetize_data()
231 packet_length = end - temp; in packetize_data()
235 if ((rc = create_packet(temp, packet_length))) in packetize_data()
239 temp += packet_length; in packetize_data()
/linux/fs/ecryptfs/
A Dkeystore.c2112 size_t contents_length, size_t *packet_length) in write_tag_11_packet() argument
2118 (*packet_length) = 0; in write_tag_11_packet()
2144 (*packet_length) += packet_size_length; in write_tag_11_packet()
2146 dest[(*packet_length)++] = 8; in write_tag_11_packet()
2147 memcpy(&dest[(*packet_length)], "_CONSOLE", 8); in write_tag_11_packet()
2148 (*packet_length) += 8; in write_tag_11_packet()
2149 memset(&dest[(*packet_length)], 0x00, 4); in write_tag_11_packet()
2150 (*packet_length) += 4; in write_tag_11_packet()
2152 (*packet_length) += contents_length; in write_tag_11_packet()
2155 (*packet_length) = 0; in write_tag_11_packet()
[all …]
A Dmiscdev.c216 char packet_length[ECRYPTFS_MAX_PKT_LEN_SIZE]; in ecryptfs_miscdev_read() local
260 rc = ecryptfs_write_packet_length(packet_length, in ecryptfs_miscdev_read()
290 if (copy_to_user(&buf[i], packet_length, packet_length_size)) in ecryptfs_miscdev_read()
/linux/drivers/net/usb/
A Dgl620a.c58 __le32 packet_length; member
98 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
/linux/net/openvswitch/
A Dvport.c458 static int packet_length(const struct sk_buff *skb, in packet_length() function
498 if (unlikely(packet_length(skb, vport->dev) > mtu && in ovs_vport_send()
504 packet_length(skb, vport->dev), in ovs_vport_send()
/linux/drivers/crypto/inside-secure/
A Dsafexcel_ring.c210 cdesc->control_data.packet_length = full_data_len ?: 1; in safexcel_add_cdesc()
249 rtoken->packet_length = 0; in safexcel_add_rdesc()
A Dsafexcel.h497 u32 packet_length:17; member
543 u32 packet_length:17; member
569 token->packet_length = BIT(2); in eip197_noop_token()
586 u32 packet_length:17; member
A Dsafexcel_cipher.c127 token->packet_length = length; in safexcel_skcipher_token()
214 atoken->packet_length = AES_BLOCK_SIZE + in safexcel_aead_token()
233 atoken->packet_length = assocadj; in safexcel_aead_token()
258 atoken->packet_length = assocadj; in safexcel_aead_token()
287 atoken->packet_length = 0; in safexcel_aead_token()
293 atoken->packet_length = AES_BLOCK_SIZE; in safexcel_aead_token()
307 atoken->packet_length = cryptlen; in safexcel_aead_token()
331 atoken->packet_length = 16 - cryptlen; in safexcel_aead_token()
344 atoken->packet_length = digestsize; in safexcel_aead_token()
352 atoken->packet_length = digestsize; in safexcel_aead_token()
[all …]
/linux/sound/usb/
A Dpcm.c1342 __le32 packet_length; in copy_to_urb_quirk() local
1350 packet_length = cpu_to_le32(length); in copy_to_urb_quirk()
1351 offset += i * sizeof(packet_length); in copy_to_urb_quirk()
1353 urb->iso_frame_desc[i].length += sizeof(packet_length); in copy_to_urb_quirk()
1355 &packet_length, sizeof(packet_length)); in copy_to_urb_quirk()
1356 copy_to_urb(subs, urb, offset + sizeof(packet_length), in copy_to_urb_quirk()
1360 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk()
A Dendpoint.c275 __le32 packet_length; in prepare_silent_urb() local
280 extra = sizeof(packet_length); in prepare_silent_urb()
293 packet_length = cpu_to_le32(length); in prepare_silent_urb()
295 &packet_length, sizeof(packet_length)); in prepare_silent_urb()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_ll2.c178 data->length.packet_length, in qed_ll2b_complete_rx_packet()
185 buffer->data, data->length.packet_length, false); in qed_ll2b_complete_rx_packet()
189 if (data->length.packet_length < ETH_HLEN) in qed_ll2b_complete_rx_packet()
212 skb_put(skb, data->length.packet_length); in qed_ll2b_complete_rx_packet()
435 data->length.packet_length = in qed_ll2_rxq_parse_reg()
436 le16_to_cpu(p_cqe->rx_cqe_fp.packet_length); in qed_ll2_rxq_parse_reg()
647 u16 packet_length = 0, parse_flags = 0, vlan = 0; in qed_ll2_lb_rxq_handler() local
684 packet_length = le16_to_cpu(p_cqe_fp->packet_length); in qed_ll2_lb_rxq_handler()
722 p_buffer->packet_length = packet_length; in qed_ll2_lb_rxq_handler()
821 tx_pkt.first_frag_len = p_buffer->packet_length; in qed_ooo_submit_tx_buffers()
A Dqed_ll2.h43 u16 packet_length; member
A Dqed_ooo.h25 u16 packet_length; member
/linux/drivers/net/wireless/zydas/zd1211rw/
A Dzd_mac.c855 unsigned int packet_length; in fill_ctrlset() local
880 packet_length = frag_len + sizeof(struct zd_ctrlset) + 10; in fill_ctrlset()
881 ZD_ASSERT(packet_length <= 0xffff); in fill_ctrlset()
885 cs->packet_length = cpu_to_le16(zd_chip_is_zd1211b(&mac->chip) ? in fill_ctrlset()
886 packet_length - frag_len : packet_length); in fill_ctrlset()
/linux/drivers/tty/ipwireless/
A Dtty.c178 unsigned int packet_length) in ipw_write_packet_sent_callback() argument
186 tty->tx_bytes_queued -= packet_length; in ipw_write_packet_sent_callback()
/linux/include/linux/qed/
A Dqed_ll2_if.h90 u16 packet_length; member

Completed in 104 milliseconds

12