/openbmc/u-boot/drivers/net/ |
H A D | lan91c96.c | 304 int packet_length) in smc_send_packet() argument 317 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send_packet() 519 word packet_length; in smc_rcv() local 555 packet_length -= 4; /*4; */ in smc_rcv() 565 packet_length >> 2, packet_length & 3); in smc_rcv() 571 packet_length >> 2); in smc_rcv() 573 if (packet_length & 3) { in smc_rcv() 577 (packet_length & ~3)); in smc_rcv() 585 (packet_length >> 1), packet_length & 1); in smc_rcv() 587 packet_length >> 1); in smc_rcv() [all …]
|
H A D | smc91111.c | 434 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send() 669 word packet_length; in smc_rcv() local 697 packet_length = stat_len >> 16; in smc_rcv() 709 packet_length -= 4; /*4; */ in smc_rcv() 719 packet_length >> 2, packet_length & 3 ); in smc_rcv() 725 packet_length >> 2); in smc_rcv() 727 if (packet_length & 3) { in smc_rcv() 731 (packet_length & ~3)); in smc_rcv() 738 (packet_length >> 1 ), packet_length & 1 ); in smc_rcv() 740 packet_length >> 1); in smc_rcv() [all …]
|
H A D | altera_tse.c | 184 int packet_length; in altera_tse_recv_sgdma() local 189 packet_length = rx_desc->actual_bytes_transferred; in altera_tse_recv_sgdma() 190 debug("recv %d bytes\n", packet_length); in altera_tse_recv_sgdma() 193 return packet_length; in altera_tse_recv_sgdma()
|
/openbmc/linux/drivers/staging/most/dim2/ |
H A D | hal.c | 251 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 D | hal.h | 52 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);
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 1131 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 D | smc91c92_cs.c | 1477 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()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_i2c.c | 47 uint8_t packet_length; member 93 ec_response_i2c->packet_length == 0) in cros_ec_i2c_packet() 96 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_i2c_packet() 98 __func__, ec_response_i2c->packet_length); in cros_ec_i2c_packet()
|
H A D | gdsys_ioep.h | 23 u16 packet_length; member
|
/openbmc/linux/drivers/media/usb/ttusb-dec/ |
H A D | ttusb_dec.c | 127 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 …]
|
/openbmc/linux/sound/soc/mediatek/common/ |
H A D | mtk-btcvsd.c | 78 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 …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_i2c.c | 41 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()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | ud_header.c | 76 { 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()
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell_rbu.c | 214 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()
|
/openbmc/linux/drivers/net/usb/ |
H A D | gl620a.c | 58 __le32 packet_length; member 98 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
|
/openbmc/linux/fs/ecryptfs/ |
H A D | keystore.c | 2114 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 D | miscdev.c | 216 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()
|
/openbmc/u-boot/board/gdsys/common/ |
H A D | cmd_ioloop.c | 48 u16 packet_length; member 94 .packet_length = size, in io_send()
|
/openbmc/linux/net/openvswitch/ |
H A D | vport.c | 522 static int packet_length(const struct sk_buff *skb, in packet_length() function 562 if (unlikely(packet_length(skb, vport->dev) > mtu && in ovs_vport_send() 568 packet_length(skb, vport->dev), in ovs_vport_send()
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_ring.c | 210 cdesc->control_data.packet_length = full_data_len ?: 1; in safexcel_add_cdesc() 249 rtoken->packet_length = 0; in safexcel_add_rdesc()
|
H A D | safexcel.h | 497 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
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ll2.h | 43 u16 packet_length; member
|
H A D | qed_ll2.c | 181 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()
|
/openbmc/linux/sound/usb/ |
H A D | pcm.c | 1448 __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()
|
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.c | 855 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()
|