/drivers/net/ethernet/smsc/ |
D | smc9194.c | 1183 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 …]
|
D | smc91c92_cs.c | 1479 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()
|
D | smsc9420.c | 805 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/ |
D | ttusb_dec.c | 134 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/ |
D | ud_header.c | 75 { 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/ |
D | dell_rbu.c | 228 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/ |
D | gl620a.c | 72 __le32 packet_length; member 106 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup()
|
/drivers/net/ethernet/xscale/ixp2000/ |
D | ixp2400_tx.uc | 49 .reg @packet_length 129 alu[@packet_length, --, b, $stemp2] 162 alu[mpacket_size, @packet_length, -, @packet_offset]
|
/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 871 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()
|
D | zd_mac.h | 34 __le16 packet_length; member
|
/drivers/tty/ipwireless/ |
D | tty.c | 212 unsigned int packet_length) in ipw_write_packet_sent_callback() argument 220 tty->tx_bytes_queued -= packet_length; in ipw_write_packet_sent_callback()
|
D | network.c | 66 static void notify_packet_sent(void *callback_data, unsigned int packet_length) in notify_packet_sent() argument
|
D | hardware.c | 308 void (*packet_callback) (void *cb_data, unsigned int packet_length);
|
/drivers/net/wireless/wl12xx/ |
D | tx.c | 171 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()
|