/drivers/usb/musb/ |
H A D | musb_gadget.c | 76 * + double buffering *FAILS* with CPPI, wrong data bytes sometimes 1286 unsigned bytes; member in struct:free_record
|
/drivers/usb/serial/ |
H A D | cypress_m8.c | 269 * than 800 bytes/sec, in which case 4800 baud is the 692 dbg("%s - port %d, %d bytes", __func__, port->number, count); 815 /* do not count the line control and size bytes */ 1159 int bytes = 0; local 1208 bytes = data[1] + 2; 1210 if (bytes > 2) 1216 bytes = (data[0] & 0x07) + 1; 1218 if (bytes > 1) 1223 if (result < bytes) { 1224 dbg("%s - wrong packet size - received %d bytes bu [all...] |
/drivers/acpi/ |
H A D | ec.c | 641 int result = 0, i, bytes = bits / 8; local 653 for (i = 0; i < bytes; ++i, ++address, ++value)
|
/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 48 * 1 << 50 bytes backend storage (1 PiB) 51 * 1 << (38 - 3) bitmap bytes needed 52 * 35 --> we still need u64 to index and count bytes 59 * We probably should neither count nor point to bytes or long words 366 unsigned int i, bytes, vmalloced = 0; local 380 bytes = sizeof(struct page *)*want; 381 new_pages = kzalloc(bytes, GFP_KERNEL); 383 new_pages = vzalloc(bytes); 1507 * enr is bm-extent number, since we chose to name one sector (512 bytes)
|
/drivers/block/ |
H A D | hd.c | 193 static bool hd_end_request(int err, unsigned int bytes) argument 195 if (__blk_end_request(hd_req, err, bytes))
|
/drivers/char/ |
H A D | random.c | 74 * As random bytes are mixed into the entropy pool, the routines keep 78 * When random bytes are desired, they are obtained by taking the SHA 106 * This interface will return the requested number of random bytes, 117 * as many bytes as are requested. As more and more random bytes are 458 * This function adds bytes into the entropy "pool". It does not 476 const char *bytes = in; local 493 w = rol32(*bytes++, input_rotate & 31); 526 static void mix_pool_bytes(struct entropy_store *r, const void *in, int bytes) argument 528 mix_pool_bytes_extract(r, in, bytes, NUL 751 int bytes = nbytes; local 1108 size_t bytes; local [all...] |
/drivers/dma/ |
H A D | sa11x0-dma.c | 479 size_t bytes = 0; local 513 bytes += len; 521 bytes += txd->sg[i].len; 525 bytes += p->txd_load->size; 528 bytes += txd->size; 532 dma_set_tx_state(state, last_complete, last_used, bytes); 534 dev_vdbg(d->slave.dev, "tx_status: bytes 0x%zx\n", bytes);
|
/drivers/input/keyboard/ |
H A D | lm8323.c | 183 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); 201 dev_err(&lm->client->dev, "sent %d bytes of %d total\n", 230 dev_err(&lm->client->dev, "wanted %d bytes, got %d\n", 419 int bytes; local 421 bytes = lm8323_read(lm, LM8323_CMD_READ_ID, buf, 2); 422 if (unlikely(bytes != 2))
|
/drivers/iommu/ |
H A D | omap-iommu.c | 351 size_t bytes; local 357 bytes = iopgsz_to_bytes(cr.cam & 3); 359 if ((start <= da) && (da < start + bytes)) { 361 __func__, start, da, bytes); 393 ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) argument 400 bytes = arch_iommu->dump_ctx(obj, buf, bytes); 404 return bytes; 436 size_t omap_dump_tlb_entries(struct omap_iommu *obj, char *buf, ssize_t bytes) argument 442 num = bytes / sizeo 684 size_t bytes; local 737 size_t bytes; local 1016 omap_iommu_map(struct iommu_domain *domain, unsigned long da, phys_addr_t pa, size_t bytes, int prot) argument [all...] |
/drivers/media/video/ |
H A D | bw-qcam.c | 240 * bytes *to* the camera. Generally, these bytes are either commands 462 /* Qc_readbytes reads some bytes from the QC and puts them in 463 the supplied buffer. It returns the number of bytes read, 547 * to the camera and then reads back the correct number of bytes. In 560 int bytes; local 596 bytes = qc_readbytes(q, buffer); 597 for (k = 0; k < bytes && (pixels_read + k) < pixels_per_line; k++) { 610 pixels_read += bytes;
|
H A D | c-qcam.c | 299 /* Read some bytes from the camera and put them in the buffer. 301 us three bytes at a time. */ 305 unsigned int bytes = 0; local 310 while (bytes < nbytes) { 315 return bytes; 320 return bytes; 328 buf[bytes++] = r; 329 buf[bytes++] = g; 330 buf[bytes++] = b; 332 buf[bytes [all...] |
/drivers/misc/carma/ |
H A D | carma-fpga-program.c | 40 * 12849552 bytes for a CARMA Digitizer Board (EP2S90 FPGAs) 41 * 18662880 bytes for a CARMA Correlator Board (EP2S130 FPGAs) 70 /* max size and written bytes */ 72 size_t bytes; member in struct:fpga_dev 89 priv->bytes = 0; 346 * @count: the length of data to program (must be a multiple of 4 bytes) 419 fpga_set_byte_count(priv->regs, priv->bytes); 420 dev_dbg(priv->dev, "total byte count %u bytes\n", priv->bytes); 427 ret = fpga_program_block(priv, priv->vb.vaddr, priv->bytes); [all...] |
H A D | carma-fpga.c | 229 * @bytes: the number of bytes required 236 static struct data_buf *data_alloc_buffer(const size_t bytes) argument 243 nr_pages = DIV_ROUND_UP(bytes, PAGE_SIZE); 252 buf->size = bytes; 522 dev_dbg(priv->dev, "TOTAL BUFFER SIZE: %zu bytes\n", priv->bufsize); 1145 /* Get the number of bytes available */ 1149 /* Get the number of bytes we can transfer */
|
/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 111 /* GRU cacheline size is always 64 bytes - even on arches with 128 byte lines */ 292 * dsr_bytes - number of DSR bytes needed 553 void *p, unsigned int bytes, int nasid, int vector, int apicid) 558 qlines = bytes / GRU_CACHE_LINE_BYTES - 2; 559 memset(mq, 0, bytes); 795 * bytes message size (<= 2 CL) 798 unsigned int bytes) 806 BUG_ON(bytes < sizeof(int) || bytes > 2 * GRU_CACHE_LINE_BYTES); 808 clines = DIV_ROUND_UP(bytes, GRU_CACHE_LINE_BYTE 552 gru_create_message_queue(struct gru_message_queue_desc *mqd, void *p, unsigned int bytes, int nasid, int vector, int apicid) argument 797 gru_send_message_gpa(struct gru_message_queue_desc *mqd, void *mesg, unsigned int bytes) argument 929 gru_copy_gpa(unsigned long dest_gpa, unsigned long src_gpa, unsigned int bytes) argument 1055 int i, k, istatus, bytes; local [all...] |
/drivers/mmc/host/ |
H A D | s3cmci.c | 120 "#%u bsize:%u blocks:%u bytes:%u", 257 u32 *bytes, u32 **pointer) 274 *bytes = sg->length; 396 * read a word and get 1 to 3 bytes. If we in the 470 * write exactly the remaining number of bytes. If we 877 /* Calculate the amout of bytes transfer if there was no error */ 256 get_data_buffer(struct s3cmci_host *host, u32 *bytes, u32 **pointer) argument
|
/drivers/mtd/devices/ |
H A D | spear_smi.c | 431 * @bytes: size of command 438 u32 bank, u32 command, u32 bytes) 459 writel((bank << BANK_SHIFT) | SEND | TFIE | (bytes << TX_LEN_SHIFT), 533 * @len: Number of bytes to be read 534 * @retlen: Fills the Number of bytes actually read 625 * @len: Number of bytes to be written. 626 * @retlen: Number of bytes actually wrote. 657 /* do if all the bytes fit onto one page */ 437 spear_smi_erase_sector(struct spear_smi *dev, u32 bank, u32 command, u32 bytes) argument
|
/drivers/mtd/nand/ |
H A D | omap2.c | 164 * @len: number of bytes to read 177 * @len: number of bytes to write 199 * @len: number of bytes to read 212 * @len: number of bytes to write 236 * @len: number of bytes to read 282 * @len: number of bytes to write 344 * @len: number of data bytes to be transferred 358 /* The fifo depth is 64 bytes max. 360 * and frame length is 32 bytes. 438 * @len: number of bytes t 473 u32 bytes; local [all...] |
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 408 struct ethtool_eeprom *eeprom, u8 *bytes) 447 memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 1), 455 struct ethtool_eeprom *eeprom, u8 *bytes) 498 memcpy(ptr, bytes, eeprom->len); 407 e1000_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 454 e1000_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 451 struct ethtool_eeprom *eeprom, u8 *bytes) 497 memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 1), eeprom->len); 504 struct ethtool_eeprom *eeprom, u8 *bytes) 554 memcpy(ptr, bytes, eeprom->len); 450 e1000_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 503 e1000_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
|
/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 120 #define IGB_TX_QUEUE_STATS_LEN 3 /* packets, bytes, restart_queue */ 568 struct ethtool_eeprom *eeprom, u8 *bytes) 607 memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 1), 615 struct ethtool_eeprom *eeprom, u8 *bytes) 658 memcpy(ptr, bytes, eeprom->len); 838 * spaced 0x100 bytes apart, or in contiguous tables. We assume 2099 data[i+1] = ring->tx_stats.bytes; 2115 data[i+1] = ring->rx_stats.bytes; 567 igb_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument 614 igb_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | igbvf.h | 116 u64 bytes; member in struct:igbvf_queue_stats 153 unsigned int size; /* length of ring in bytes */
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ethtool.c | 387 u8 *bytes) 400 ret = qlcnic_rom_fast_read_words(adapter, offset, bytes, 386 qlcnic_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
|
/drivers/net/irda/ |
H A D | stir4200.c | 228 * a two byte 0x55 0xAA sequence, two little-endian length bytes, a 229 * sequence of exactly 16 XBOF bytes of 0x7E, two BOF bytes of 0x7E, 236 * Then, 4 bytes of little endian (stuffed) FCS follow, then two 237 * trailing EOF bytes of 0x7E. 378 const __u8 *bytes, int len) 384 __u8 byte = bytes[i]; 459 const __u8 *bytes, int len) 465 &stir->rx_buff, bytes[i]); 469 const __u8 *bytes, in 377 stir_fir_chars(struct stir_cb *stir, const __u8 *bytes, int len) argument 458 stir_sir_chars(struct stir_cb *stir, const __u8 *bytes, int len) argument 468 unwrap_chars(struct stir_cb *stir, const __u8 *bytes, int length) argument [all...] |
/drivers/net/wireless/bcmdhd/include/ |
H A D | linux_osl.h | 270 #define PKTPUSH(osh, skb, bytes) skb_push((struct sk_buff*)(skb), (bytes)) 271 #define PKTPULL(osh, skb, bytes) skb_pull((struct sk_buff*)(skb), (bytes)) 370 unsigned int flags:3, pkts:9, bytes:20; member in struct:chain_node 380 #define PKTCLEN(skb) (CHAIN_NODE(skb)->bytes) 383 #define PKTCSETLEN(skb, l) (CHAIN_NODE(skb)->bytes = (l) & ((1 << 20) - 1))
|
/drivers/net/wireless/mwifiex/ |
H A D | sta_ioctl.c | 1079 * Current driver only supports key length of up to 32 bytes. 1090 /* Current driver only supports key length of up to 32 bytes */ 1372 mwifiex_eeprom_read(struct mwifiex_private *priv, u16 offset, u16 bytes, argument 1379 rd_eeprom.byte_count = cpu_to_le16((u16) bytes);
|