Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/staging/most/dim2/
Dhal.c251 u16 packet_length) in dim2_configure_cdt() argument
255 if (packet_length) in dim2_configure_cdt()
256 cdt[1] = ((packet_length - 1) << CDT1_BS_ISOC_SHIFT); in dim2_configure_cdt()
350 u16 hw_buffer_size, u16 packet_length) in dim2_configure_channel() argument
352 dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length); in dim2_configure_channel()
442 static inline bool check_packet_length(u32 packet_length) in check_packet_length() argument
446 if (packet_length <= 0) in check_packet_length()
449 if (packet_length > max_size) in check_packet_length()
452 if (packet_length - 1u > (u32)CDT1_BS_ISOC_MASK) in check_packet_length()
482 static inline u16 norm_isoc_buffer_size(u16 buf_size, u16 packet_length) in norm_isoc_buffer_size() argument
[all …]
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-6.12.1/drivers/net/ethernet/smsc/
Dsmc9194.c1131 word packet_length; in smc_rcv() local
1149 packet_length = inw( ioaddr + DATA_1 ); in smc_rcv()
1151 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
1153 PRINTK2(("RCV: STATUS %4x LENGTH %4x\n", status, packet_length )); in smc_rcv()
1158 packet_length -= 6; in smc_rcv()
1167 packet_length++; in smc_rcv()
1173 skb = netdev_alloc_skb(dev, packet_length + 5); in smc_rcv()
1186 data = skb_put( skb, packet_length); in smc_rcv()
1194 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1195 insl(ioaddr + DATA_1 , data, packet_length >> 2 ); in smc_rcv()
[all …]
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()
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-6.12.1/drivers/media/usb/ttusb-dec/
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()
603 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet()
604 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet()
663 dec->packet_length = 0; in ttusb_dec_process_urb_frame()
673 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame()
675 if (dec->packet_length == 2) { in ttusb_dec_process_urb_frame()
702 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame()
705 dec->packet_length == 8) { in ttusb_dec_process_urb_frame()
[all …]
/linux-6.12.1/sound/soc/mediatek/common/
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()
484 unsigned int packet_type, packet_num, packet_length; in mtk_btcvsd_snd_irq_handler() local
512 packet_length = btsco_packet_info[packet_type][0]; in mtk_btcvsd_snd_irq_handler()
543 packet_length, in mtk_btcvsd_snd_irq_handler()
[all …]
/linux-6.12.1/drivers/infiniband/core/
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-6.12.1/drivers/platform/chrome/
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-6.12.1/drivers/platform/x86/dell/
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-6.12.1/fs/ecryptfs/
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()
2137 dest[(*packet_length)++] = ECRYPTFS_TAG_11_PACKET_TYPE; in write_tag_11_packet()
2138 rc = ecryptfs_write_packet_length(&dest[(*packet_length)], in write_tag_11_packet()
2146 (*packet_length) += packet_size_length; in write_tag_11_packet()
2147 dest[(*packet_length)++] = 0x62; /* binary data format specifier */ 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()
[all …]
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-6.12.1/drivers/net/usb/
Dgl620a.c58 __le32 packet_length; member
98 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
/linux-6.12.1/net/openvswitch/
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-6.12.1/drivers/crypto/inside-secure/
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()
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
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()
240 atoken->packet_length = assocadj && aadalign ? in safexcel_aead_token()
257 atoken->packet_length = assocadj; in safexcel_aead_token()
267 atoken->packet_length = EIP197_AEAD_IPSEC_IV_SIZE; in safexcel_aead_token()
276 atoken->packet_length = 16; /* According to Op Manual */ 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()
[all …]
/linux-6.12.1/sound/usb/
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-6.12.1/drivers/net/ethernet/qlogic/qed/
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()
Dqed_ll2.h43 u16 packet_length; member
Dqed_ooo.h25 u16 packet_length; member
/linux-6.12.1/drivers/net/wireless/zydas/zd1211rw/
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-6.12.1/drivers/net/wireless/purelifi/plfxlc/
Dmac.h81 __le16 packet_length; member
/linux-6.12.1/include/linux/qed/
Dqed_ll2_if.h90 u16 packet_length; member
/linux-6.12.1/drivers/tty/ipwireless/
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