Home
last modified time | relevance | path

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

/drivers/net/ethernet/smsc/
Dsmc9194.c1158 word packet_length; in smc_rcv() local
1176 packet_length = inw( ioaddr + DATA_1 ); in smc_rcv()
1178 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
1180 PRINTK2(("RCV: STATUS %4x LENGTH %4x\n", status, packet_length )); in smc_rcv()
1185 packet_length -= 6; in smc_rcv()
1194 packet_length++; in smc_rcv()
1200 skb = netdev_alloc_skb(dev, packet_length + 5); in smc_rcv()
1213 data = skb_put( skb, packet_length); in smc_rcv()
1221 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1222 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()
1500 skb = netdev_alloc_skb(dev, packet_length+2); in smc_rx()
1509 packet_length -= (rx_status & RS_ODDFRAME ? 5 : 6); in smc_rx()
1511 insw(ioaddr+DATA_1, skb_put(skb, packet_length), in smc_rx()
1512 (packet_length+1)>>1); in smc_rx()
1518 dev->stats.rx_bytes += packet_length; in smc_rx()
Dsmsc9420.c799 u16 packet_length = (status & RDES0_FRAME_LENGTH_MASK_) in smsc9420_rx_handoff() local
803 packet_length -= 4; in smsc9420_rx_handoff()
806 packet_length -= 2; in smsc9420_rx_handoff()
809 dev->stats.rx_bytes += packet_length; in smsc9420_rx_handoff()
820 NET_IP_ALIGN + packet_length + 4); in smsc9420_rx_handoff()
826 skb_put(skb, packet_length); in smsc9420_rx_handoff()
/drivers/media/usb/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.c70 __le32 packet_length; member
110 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
/drivers/net/wireless/zd1211rw/
Dzd_mac.c869 unsigned int packet_length; in fill_ctrlset() local
895 packet_length = frag_len + sizeof(struct zd_ctrlset) + 10; in fill_ctrlset()
896 ZD_ASSERT(packet_length <= 0xffff); in fill_ctrlset()
900 cs->packet_length = cpu_to_le16(zd_chip_is_zd1211b(&mac->chip) ? in fill_ctrlset()
901 packet_length - frag_len : packet_length); in fill_ctrlset()
Dzd_mac.h33 __le16 packet_length; member
/drivers/tty/ipwireless/
Dtty.c179 unsigned int packet_length) in ipw_write_packet_sent_callback() argument
187 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/ti/wlcore/
Dtx.h260 unsigned int packet_length);
Dtx.c193 unsigned int packet_length) in wlcore_calc_packet_alignment() argument
197 return ALIGN(packet_length, WL1271_TX_ALIGN_TO); in wlcore_calc_packet_alignment()
199 return ALIGN(packet_length, WL12XX_BUS_BLOCK_SIZE); in wlcore_calc_packet_alignment()