/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 402 /* ensure buf is aligned to 8 bytes */ 661 const size_t bytes = sizeof(struct mcp_gen_header); local 676 hdr = kmalloc(bytes, GFP_KERNEL); 681 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes); 786 * do not. Therefore the handoff copy must skip the first 8 bytes 928 size_t bytes; local 944 * Use non-ndis mcp_slot (eg, 4 bytes total, 954 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry); 955 cmd.data0 = (u32) bytes; 1059 memset(ss->rx_done.entry, 0, bytes); 1237 myri10ge_alloc_rx_pages(struct myri10ge_priv *mgp, struct myri10ge_rx_buf *rx, int bytes, int watchdog) argument 1301 myri10ge_unmap_rx_page(struct pci_dev *pdev, struct myri10ge_rx_buffer_state *info, int bytes) argument 1324 int i, idx, hlen, remainder, bytes; local 1991 size_t bytes; local 3696 size_t bytes; local 3727 size_t bytes; local [all...] |
/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 193 Threshold is bytes transferred to chip before transmission starts. */ 194 #define TX_FIFO_THRESH 256 /* In bytes, rounded down to 32 byte units. */ 196 /* The following settings are log_2(bytes)-4: 0 == 16 bytes .. 6==1024, 7==end of packet. */ 324 FlashReg = 0xD4, /* Communication with Flash ROM, four bytes. */ 570 u64 bytes; member in struct:rtl8139_stats 1822 tp->tx_stats.bytes += txstatus & 0x7ff; 2067 tp->rx_stats.bytes += pkt_size; 2552 stats->rx_bytes = tp->rx_stats.bytes; 2558 stats->tx_bytes = tp->tx_stats.bytes; [all...] |
H A D | r8169.c | 333 EarlyTxThres = 0xec, /* 8169. Unit of 32 bytes. */ 337 MaxTxPacketSize = 0xec, /* 8101/8168. Unit of 128 bytes. */ 679 u64 bytes; member in struct:rtl8169_stats 5258 int bytes; member in struct:rtl_txc 5287 txc.bytes += skb->len; 5297 tx_stats->bytes += txc.bytes; 5300 netdev_completed_queue(dev, txc.packets, txc.bytes); 5444 tp->rx_stats.bytes += pkt_size; 5675 * Rx and Tx desscriptors needs 256 bytes alignmen [all...] |
/drivers/usb/gadget/ |
H A D | pch_udc.c | 1555 unsigned long bytes = req->req.length, i = 0; local 1568 for (; ; bytes -= buf_len, ++len) { 1569 td->status = PCH_UDC_BS_HST_BSY | min(buf_len, bytes); 1570 if (bytes <= buf_len)
|
/drivers/video/matrox/ |
H A D | matroxfb_base.h | 255 unsigned int bytes; member in struct:matroxfb_par::__anon5825 475 unsigned int ydstorg; /* offset in bytes from video start to usable memory */
|
/drivers/ata/ |
H A D | sata_mv.c | 1239 static void mv_dump_mem(void __iomem *start, unsigned bytes) argument 1242 for (b = 0; b < bytes; ) { 1244 for (w = 0; b < bytes && w < 4; w++) { 1253 static void mv_dump_pci_cfg(struct pci_dev *pdev, unsigned bytes) argument 1258 for (b = 0; b < bytes; ) { 1260 for (w = 0; b < bytes && w < 4; w++) { 1969 * It's not clear if this errata really means "4K bytes", 2048 * only 11 bytes...so we must pick and choose required
|
/drivers/dma/ |
H A D | pl330.c | 262 * With 256 bytes, we can do more than 2.5MB and 5MB xfers per req 365 u32 bytes; member in struct:pl330_xfer 462 /* Number of bytes taken to setup MC for the req */ 1327 /* Returns bytes consumed and updates bursts */ 1411 unsigned long c, bursts = BYTE_TO_BURST(x->bytes, ccr); 1442 * Returns the number of bytes taken to setup the MC for the req. 1460 if (x->bytes % (BRST_SIZE(pxs->ccr) * BRST_LEN(pxs->ccr))) 2634 px->bytes = len; 2653 * those that can be programmed with 256 bytes of
|
/drivers/net/ethernet/intel/ |
H A D | e100.c | 1104 config->byte_count = 0x16; /* bytes in this struct */ 1105 config->rx_fifo_limit = 0x8; /* bytes in FIFO before DMA */ 1115 config->preamble_length = 0x2; /* 0=1, 1=3, 2=7, 3=15 bytes */ 1161 config->byte_count = 0x20; /* extended bytes */ 1214 * that any frame less than 128 bytes in length will not be bundled, 1217 * bytes or large will be bundled normally. This feature is meant 1225 * This means that any frame which is x7F (127) bytes or smaller 1232 * standard Ethernet frames are <= 2047 bytes in length. 1282 /* Firmware should be precisely UCODE_SIZE (words) plus three bytes 1743 * Use the last 4 bytes o 2514 e100_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 2525 e100_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 831 tx_ring->stats.bytes += total_bytes; 1451 * In addition if skb is not at least 60 bytes we need to pad it so that 1496 * 60 bytes if the skb->len is less than 60 for skb_pad. 1786 rx_ring->stats.bytes += total_rx_bytes; 1897 int bytes = ring_container->total_bytes; local 1913 bytes_perint = bytes / timepassed_us; /* bytes/usec */ 3143 /* MHADD will allow an extra 4 bytes past for vlan tagged frames */ 4988 u64 bytes = 0, packets = 0, hw_csum_rx_error = 0; local 5019 bytes 6467 u64 bytes, packets; local 6483 u64 bytes, packets; local [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic79xx.h | 412 * If the embedded CDB is 12 bytes or less, we embed 680 uint8_t bytes[22]; /* member in struct:target_cmd 682 * bytes terminated by 0xFF. The remainder
|
H A D | aic7xxx.h | 148 * support 32bit stores, we must clear the array 4 bytes at a 210 AHC_MORE_SRAM = 0x00010, /* 80 bytes instead of 64 */ 407 * If the cdb is 12 bytes or less, we embed it directly 626 uint8_t bytes[22]; /* member in struct:target_cmd 628 * bytes terminated by 0xFF. The remainder
|
/drivers/usb/host/ |
H A D | xhci.h | 493 * @bytes: The raw context data given to HW 494 * @dma: dma address of the bytes 497 * memory used for the context (bytes) and dma address of it (dma). 506 u8 *bytes; member in struct:xhci_container_ctx 518 * structures. If the HC uses 64-byte contexts, there is an additional 32 bytes 599 * structures. If the HC uses 64-byte contexts, there is an additional 32 bytes 775 /* "Block" sizes in bytes the hardware uses for different device speeds. 797 /* The TTs need to claim roughly twice as much bandwidth (94 bytes per 1327 * (1K bytes * 8bytes/bi [all...] |
/drivers/atm/ |
H A D | iphase.h | 285 u32 bytes; member in struct:dle 308 unsigned short bytes; member in struct:tx_buf_desc 319 unsigned short bytes; member in struct:rx_buf_desc
|
/drivers/block/drbd/ |
H A D | drbd_int.h | 129 DRBD_FAULT_RECEIVE = 9, /* Changes some bytes upon receiving a [rs]data block */ 297 unsigned bytes[2]; member in struct:bm_xfer_ctx 339 u16 length; /* bytes of data after this header */ 424 struct p_header80 head; /* 8 bytes */ 436 /* 80 bytes, FIXED for the next century */ 570 * used to pad up to head.length bytes 1361 /* (9+3) : 512 bytes @ 8 bits; representing 16M storage 1394 * we need that many (long words/bytes) to store the bitmap
|
/drivers/net/ethernet/sun/ |
H A D | niu.c | 4698 * our ring, 8 bytes each, thus we divide by 8 bytes more 6238 u64 pkts, dropped, errors, bytes; local 6242 pkts = dropped = errors = bytes = 0; 6254 bytes += rp->rx_bytes; 6261 stats->rx_bytes = bytes; 6269 u64 pkts, errors, bytes; local 6273 pkts = errors = bytes = 0; 6283 bytes += rp->tx_bytes; 6289 stats->tx_bytes = bytes; [all...] |
/drivers/net/wireless/ipw2x00/ |
H A D | ipw2200.c | 423 IPW_DEBUG_IO("%s %d: read_indirect(0x%08X) %u bytes\n", __FILE__, \ 432 IPW_DEBUG_IO("%s %d: write_indirect(0x%08X) %u bytes\n", __FILE__, \ 848 priv->table2_len &= 0x0000ffff; /* use first two bytes */ 2216 IPW_DEBUG_HC("%s command (#%d) %d bytes: 0x%08X\n", 3265 /* dma to chunk->address, the chunk->length bytes from data + 3431 IPW_DEBUG_INFO("Read firmware '%s' image v%d.%d (%zd bytes)\n", 3895 /* First 3 bytes are manufacturer */ 3900 /* Last bytes are random */ 4498 IPW_DEBUG_NOTIF("type = %i (%d bytes)\n", notif->subtype, size); 7826 IPW_DEBUG_RX("Rx packet of %d bytes 10589 ipw_ethtool_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 * bytes) argument 10602 ipw_ethtool_set_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 * bytes) argument [all...] |
/drivers/scsi/ |
H A D | ncr53c8xx.c | 193 #define MEMO_SHIFT 4 /* 16 bytes minimum memory chunk */ 1217 u_long bytes; member in struct:tcb 1278 ** Address is allocated on 256 bytes boundary in order to 1404 ** The status bytes are used by the host and the script processor. 1412 ** The last four bytes (status[4]) are copied to the scratchb register 1417 ** The first four bytes (scr_st[4]) are used inside the script by 1427 ** Last four bytes (script) 1437 ** Last four bytes (host) 1452 ** First four bytes (script) 1460 ** First four bytes (hos [all...] |
H A D | advansys.c | 359 ASC_DCNT bytes; member in struct:asc_sg_list 1578 #define FIFO_THRESH_16B 0x00 /* 16 bytes */ 1579 #define FIFO_THRESH_32B 0x20 /* 32 bytes */ 1580 #define FIFO_THRESH_48B 0x30 /* 48 bytes */ 1581 #define FIFO_THRESH_64B 0x40 /* 64 bytes */ 1582 #define FIFO_THRESH_80B 0x50 /* 80 bytes (default) */ 1583 #define FIFO_THRESH_96B 0x60 /* 96 bytes */ 1584 #define FIFO_THRESH_112B 0x70 /* 112 bytes */ 1669 #define ASC_MC_BIOS_VERSION 0x005A /* BIOS Version (2 bytes) */ 1853 uchar cdb_len; /* SCSI CDB length. Must <= 16 bytes [all...] |
/drivers/staging/telephony/ |
H A D | ixj.h | 68 BYTES bytes; member in union:__anon5400 112 BYTES bytes; member in union:__anon5404 139 BYTES bytes; member in union:__anon5406 170 BYTES bytes; member in union:__anon5408 194 BYTES bytes; member in union:__anon5410 209 BYTES bytes; member in union:__anon5412
|
/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 2211 u64 bytes; member in struct:sky2_stats
|