Home
last modified time | relevance | path

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

/drivers/net/ethernet/smsc/
Dsmc9194.c1183 word packet_length; in smc_rcv() local
1201 packet_length = inw( ioaddr + DATA_1 ); in smc_rcv()
1203 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
1205 PRINTK2(("RCV: STATUS %4x LENGTH %4x\n", status, packet_length )); in smc_rcv()
1210 packet_length -= 6; in smc_rcv()
1219 packet_length++; in smc_rcv()
1225 skb = netdev_alloc_skb(dev, packet_length + 5); in smc_rcv()
1240 data = skb_put( skb, packet_length); in smc_rcv()
1248 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1249 insl(ioaddr + DATA_1 , data, packet_length >> 2 ); in smc_rcv()
[all …]
Dsmc91c92_cs.c1479 int packet_length; /* Caution: not frame length, rather words in smc_rx() local
1492 packet_length = inw(ioaddr + DATA_1) & 0x07ff; in smc_rx()
1495 dev->name, rx_status, packet_length); in smc_rx()
1502 skb = netdev_alloc_skb(dev, packet_length+2); in smc_rx()
1511 packet_length -= (rx_status & RS_ODDFRAME ? 5 : 6); in smc_rx()
1513 insw(ioaddr+DATA_1, skb_put(skb, packet_length), in smc_rx()
1514 (packet_length+1)>>1); in smc_rx()
1520 dev->stats.rx_bytes += packet_length; in smc_rx()
Dsmsc9420.c805 u16 packet_length = (status & RDES0_FRAME_LENGTH_MASK_) in smsc9420_rx_handoff() local
809 packet_length -= 4; in smsc9420_rx_handoff()
812 packet_length -= 2; in smsc9420_rx_handoff()
815 dev->stats.rx_bytes += packet_length; in smsc9420_rx_handoff()
826 NET_IP_ALIGN + packet_length + 4); in smsc9420_rx_handoff()
832 skb_put(skb, packet_length); in smsc9420_rx_handoff()
/drivers/media/dvb/ttusb-dec/
Dttusb_dec.c134 int packet_length; member
550 if (dec->packet_length % 2) { in ttusb_dec_process_packet()
555 for (i = 0; i < dec->packet_length; i += 2) in ttusb_dec_process_packet()
563 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet()
564 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet()
628 dec->packet_length = 0; in ttusb_dec_process_urb_frame()
638 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame()
640 if (dec->packet_length == 2) { in ttusb_dec_process_urb_frame()
667 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame()
670 dec->packet_length == 8) { in ttusb_dec_process_urb_frame()
[all …]
/drivers/infiniband/core/
Dud_header.c75 { STRUCT_FIELD(lrh, packet_length),
237 u16 packet_length; in ib_ud_header_init() local
242 packet_length = (IB_LRH_BYTES + in ib_ud_header_init()
249 header->lrh.packet_length = cpu_to_be16(packet_length); in ib_ud_header_init()
/drivers/firmware/
Ddell_rbu.c228 int packet_length; in packetize_data() local
243 packet_length = rbu_data.packetsize; in packetize_data()
246 packet_length = end - temp; in packetize_data()
250 if ((rc = create_packet(temp, packet_length))) in packetize_data()
254 temp += packet_length; in packetize_data()
/drivers/net/usb/
Dgl620a.c72 __le32 packet_length; member
106 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
/drivers/net/ethernet/xscale/ixp2000/
Dixp2400_tx.uc49 .reg @packet_length
129 alu[@packet_length, --, b, $stemp2]
162 alu[mpacket_size, @packet_length, -, @packet_offset]
/drivers/net/wireless/zd1211rw/
Dzd_mac.c871 unsigned int packet_length; in fill_ctrlset() local
897 packet_length = frag_len + sizeof(struct zd_ctrlset) + 10; in fill_ctrlset()
898 ZD_ASSERT(packet_length <= 0xffff); in fill_ctrlset()
902 cs->packet_length = cpu_to_le16(zd_chip_is_zd1211b(&mac->chip) ? in fill_ctrlset()
903 packet_length - frag_len : packet_length); in fill_ctrlset()
Dzd_mac.h34 __le16 packet_length; member
/drivers/tty/ipwireless/
Dtty.c212 unsigned int packet_length) in ipw_write_packet_sent_callback() argument
220 tty->tx_bytes_queued -= packet_length; in ipw_write_packet_sent_callback()
Dnetwork.c66 static void notify_packet_sent(void *callback_data, unsigned int packet_length) in notify_packet_sent() argument
Dhardware.c308 void (*packet_callback) (void *cb_data, unsigned int packet_length);
/drivers/net/wireless/wl12xx/
Dtx.c171 unsigned int packet_length) in wl12xx_calc_packet_alignment() argument
174 return ALIGN(packet_length, WL1271_TX_ALIGN_TO); in wl12xx_calc_packet_alignment()
176 return ALIGN(packet_length, WL12XX_BUS_BLOCK_SIZE); in wl12xx_calc_packet_alignment()