Home
last modified time | relevance | path

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

12

/linux/drivers/staging/most/dim2/
H A Dhal.c251 u16 packet_length) in dim2_configure_cdt() argument
255 if (packet_length) in dim2_configure_cdt()
446 if (packet_length <= 0) in check_packet_length()
449 if (packet_length > max_size) in check_packet_length()
490 n = buf_size / packet_length; in norm_isoc_buffer_size()
495 return packet_length * n; in norm_isoc_buffer_size()
604 ch->packet_length = packet_length; in isoc_init()
615 ch->packet_length = 0; in sync_init()
626 ch->packet_length = 0; in channel_init()
656 if (ch->packet_length && in channel_start()
[all …]
H 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/
H A Dsmc9194.c1131 word packet_length; in smc_rcv() local
1158 packet_length -= 6; in smc_rcv()
1167 packet_length++; in smc_rcv()
1186 data = skb_put( skb, packet_length); in smc_rcv()
1194 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1198 packet_length & 0x3 ); in smc_rcv()
1201 (packet_length >> 1 ), packet_length & 1 )); in smc_rcv()
1203 if ( packet_length & 1 ) { in smc_rcv()
1204 data += packet_length & ~1; in smc_rcv()
1209 print_packet( data, packet_length ); in smc_rcv()
[all …]
H 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()
H A Dsmsc9420.c745 u16 packet_length = (status & RDES0_FRAME_LENGTH_MASK_) in smsc9420_rx_handoff() local
749 packet_length -= 4; in smsc9420_rx_handoff()
752 packet_length -= 2; in smsc9420_rx_handoff()
755 dev->stats.rx_bytes += packet_length; in smsc9420_rx_handoff()
766 NET_IP_ALIGN + packet_length + 4); in smsc9420_rx_handoff()
772 skb_put(skb, packet_length); in smsc9420_rx_handoff()
/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c128 int packet_length; member
590 if (dec->packet_length % 2) { in ttusb_dec_process_packet()
595 for (i = 0; i < dec->packet_length; i += 2) in ttusb_dec_process_packet()
663 dec->packet_length = 0; in ttusb_dec_process_urb_frame()
675 if (dec->packet_length == 2) { in ttusb_dec_process_urb_frame()
705 dec->packet_length == 8) { in ttusb_dec_process_urb_frame()
712 dec->packet_length == 5) { in ttusb_dec_process_urb_frame()
724 dec->packet_length; in ttusb_dec_process_urb_frame()
729 dec->packet_length += remainder; in ttusb_dec_process_urb_frame()
736 dec->packet_length += length; in ttusb_dec_process_urb_frame()
[all …]
/linux/sound/soc/mediatek/common/
H 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/platform/chrome/
H A Dcros_ec_i2c.c41 uint8_t packet_length; member
138 ec_response_i2c->packet_length == 0) { in cros_ec_pkt_xfer_i2c()
144 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_pkt_xfer_i2c()
147 ec_response_i2c->packet_length); in cros_ec_pkt_xfer_i2c()
/linux/drivers/infiniband/core/
H 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/x86/dell/
H 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/drivers/net/usb/
H A Dgl620a.c58 __le32 packet_length; member
98 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
/linux/fs/ecryptfs/
H A Dkeystore.c2114 size_t contents_length, size_t *packet_length) in write_tag_11_packet() argument
2120 (*packet_length) = 0; in write_tag_11_packet()
2146 (*packet_length) += packet_size_length; in write_tag_11_packet()
2148 dest[(*packet_length)++] = 8; in write_tag_11_packet()
2149 memcpy(&dest[(*packet_length)], "_CONSOLE", 8); in write_tag_11_packet()
2150 (*packet_length) += 8; in write_tag_11_packet()
2151 memset(&dest[(*packet_length)], 0x00, 4); in write_tag_11_packet()
2152 (*packet_length) += 4; in write_tag_11_packet()
2154 (*packet_length) += contents_length; in write_tag_11_packet()
2157 (*packet_length) = 0; in write_tag_11_packet()
[all …]
H 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/net/openvswitch/
H A Dvport.c523 static int packet_length(const struct sk_buff *skb, in packet_length() function
563 if (unlikely(packet_length(skb, vport->dev) > mtu && in ovs_vport_send()
569 packet_length(skb, vport->dev), in ovs_vport_send()
/linux/drivers/crypto/inside-secure/
H 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()
H 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
H A Dsafexcel_cipher.c126 token->packet_length = length; in safexcel_skcipher_token()
213 atoken->packet_length = AES_BLOCK_SIZE + in safexcel_aead_token()
232 atoken->packet_length = assocadj; in safexcel_aead_token()
257 atoken->packet_length = assocadj; in safexcel_aead_token()
286 atoken->packet_length = 0; in safexcel_aead_token()
292 atoken->packet_length = AES_BLOCK_SIZE; in safexcel_aead_token()
306 atoken->packet_length = cryptlen; in safexcel_aead_token()
330 atoken->packet_length = 16 - cryptlen; in safexcel_aead_token()
343 atoken->packet_length = digestsize; in safexcel_aead_token()
351 atoken->packet_length = digestsize; in safexcel_aead_token()
[all …]
/linux/sound/usb/
H A Dpcm.c1448 __le32 packet_length; in copy_to_urb_quirk() local
1456 packet_length = cpu_to_le32(length); in copy_to_urb_quirk()
1457 offset += i * sizeof(packet_length); in copy_to_urb_quirk()
1459 urb->iso_frame_desc[i].length += sizeof(packet_length); in copy_to_urb_quirk()
1461 &packet_length, sizeof(packet_length)); in copy_to_urb_quirk()
1462 copy_to_urb(subs, urb, offset + sizeof(packet_length), in copy_to_urb_quirk()
1466 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_ll2.c181 data->length.packet_length, in qed_ll2b_complete_rx_packet()
188 buffer->data, data->length.packet_length, false); in qed_ll2b_complete_rx_packet()
192 if (data->length.packet_length < ETH_HLEN) in qed_ll2b_complete_rx_packet()
215 skb_put(skb, data->length.packet_length); in qed_ll2b_complete_rx_packet()
438 data->length.packet_length = in qed_ll2_rxq_parse_reg()
439 le16_to_cpu(p_cqe->rx_cqe_fp.packet_length); in qed_ll2_rxq_parse_reg()
650 u16 packet_length = 0, parse_flags = 0, vlan = 0; in qed_ll2_lb_rxq_handler() local
687 packet_length = le16_to_cpu(p_cqe_fp->packet_length); in qed_ll2_lb_rxq_handler()
725 p_buffer->packet_length = packet_length; in qed_ll2_lb_rxq_handler()
823 tx_pkt.first_frag_len = p_buffer->packet_length; in qed_ooo_submit_tx_buffers()
H A Dqed_ll2.h43 u16 packet_length; member
H A Dqed_ooo.h25 u16 packet_length; member
/linux/drivers/net/wireless/zydas/zd1211rw/
H 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/net/wireless/purelifi/plfxlc/
H A Dmac.h81 __le16 packet_length; member
/linux/include/linux/qed/
H A Dqed_ll2_if.h90 u16 packet_length; member
/linux/drivers/tty/ipwireless/
H 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()

12