Searched defs:bytes (Results 51 - 75 of 220) sorted by relevance

123456789

/drivers/s390/block/
H A Dxpram.c190 unsigned long bytes; local
205 bytes = bvec->bv_len;
206 if ((page_addr & 4095) != 0 || (bytes & 4095) != 0)
209 while (bytes > 0) {
218 bytes -= 4096;
/drivers/scsi/aic7xxx_old/
H A Dsequencer.h103 unsigned char bytes[4]; member in union:ins_formats
/drivers/staging/bcm/
H A DInterfaceInit.c71 int bytes; local
97 bytes = rdmalt(Adapter, 0x0F0110F8, (u32 *)&ulReg, sizeof(u32));
98 if (bytes < 0) {
118 * Read 4 bytes from 508 and modify 511 and 510.
433 int bytes; local
442 bytes = rdmalt(psIntfAdapter->psAdapter, CHIP_ID_REG,
444 if (bytes < 0) {
445 retval = bytes;
H A DBcmchar.c164 int bytes; local
234 bytes = rdmalt(Adapter, (UINT)sRdmBuffer.Register,
236 if (bytes > 0) {
238 if (copy_to_user(IoBuffer.OutputBuffer, temp_buff, bytes)) {
243 Status = bytes;
331 bytes = rdmaltWithLock(Adapter, (UINT)sRdmBuffer.Register, (PUINT)temp_buff, IoBuffer.OutputLength);
333 if (bytes > 0) {
335 if (copy_to_user(IoBuffer.OutputBuffer, temp_buff, bytes)) {
340 Status = bytes;
456 bytes
[all...]
/drivers/staging/media/go7007/
H A Dsnd-go7007.c115 unsigned int bytes; local
117 bytes = params_buffer_bytes(hw_params);
121 substream->runtime->dma_area = vmalloc(bytes);
124 substream->runtime->dma_bytes = bytes;
/drivers/staging/omapdrm/
H A Domap_drm.h52 uint32_t bytes; /* (for non-tiled formats) */ member in union:omap_gem_size
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_tx.c64 802.11 frame_contorl for data frames - 2 bytes
84 Total: 28 non-data bytes `----.----'
96 Total: 8 non-data bytes `----.----'
107 Total: 8 non-data bytes
118 Total: 18 non-data bytes
125 to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP)
126 So if you have 1500 bytes of payload with ieee->fts set to 500 without
128 payload of each frame is reduced to 492 bytes.
135 * | | 14 bytes from skb->data
136 * | 2 bytes fo
317 int bytes, fc, qos_ctl, hdr_len; local
513 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); local
[all...]
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c64 802.11 frame_contorl for data frames - 2 bytes
84 Total: 28 non-data bytes `----.----'
96 Total: 8 non-data bytes `----.----'
107 Total: 8 non-data bytes
118 Total: 18 non-data bytes
125 to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP)
126 So if you have 1500 bytes of payload with ieee->fts set to 500 without
128 payload of each frame is reduced to 492 bytes.
135 * | | 14 bytes from skb->data
136 * | 2 bytes fo
600 int bytes, fc, qos_ctl = 0, hdr_len; local
816 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); local
[all...]
/drivers/usb/gadget/
H A Df_uvc.c379 unsigned int bytes; local
402 bytes = uvc_iad.bLength + uvc_control_intf.bLength
409 bytes += (*src)->bLength;
414 bytes += (*src)->bLength;
418 bytes += (*src)->bLength;
422 mem = kmalloc((n_desc + 1) * sizeof(*src) + bytes, GFP_KERNEL);
/drivers/usb/wusbcore/
H A Dsecurity.c203 int result, bytes, secd_size; local
236 bytes = 0;
243 "not enough data (%zu vs %zu bytes left)\n",
255 bytes += snprintf(buf + bytes, sizeof(buf) - bytes,
/drivers/acpi/acpica/
H A Dutmisc.c472 * RETURN: u32 integer with bytes swapped
474 * DESCRIPTION: Convert a 32-bit value to big-endian (swap the bytes)
482 u8 bytes[4]; member in union:__anon14
486 u8 bytes[4]; member in union:__anon15
493 out.bytes[0] = in.bytes[3];
494 out.bytes[1] = in.bytes[2];
495 out.bytes[2] = in.bytes[
[all...]
/drivers/ide/
H A Dide-atapi.c72 "bytes\n", s, drive->name, packet_size);
431 debug_log("Packet command completed, %d bytes transferred\n",
505 /* Get the number of bytes to transfer on this interrupt. */
522 debug_log("[cmd %x] transferred %d bytes, padded %d bytes, resid: %u\n",
605 /* ATAPI commands get padded out to 12 bytes minimum */
675 unsigned int timeout, bytes; local
692 bytes = blk_rq_bytes(rq);
693 bcount = ((drive->media == ide_tape) ? bytes
695 bytes, 6
[all...]
/drivers/iommu/
H A Dtegra-gart.c138 unsigned long iova, size_t bytes)
143 iova_end = iova_start + bytes - 1;
236 phys_addr_t pa, size_t bytes, int prot)
242 if (!gart_iova_range_valid(gart, iova, bytes))
259 size_t bytes)
264 if (!gart_iova_range_valid(gart, iova, bytes))
137 gart_iova_range_valid(struct gart_device *gart, unsigned long iova, size_t bytes) argument
235 gart_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t pa, size_t bytes, int prot) argument
258 gart_iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t bytes) argument
/drivers/isdn/gigaset/
H A Disocdata.c35 /* compute number of bytes which can be appended to buffer
128 /* retrieve a block of bytes for sending
129 * The requested number of bytes is provided as a contiguous block.
130 * If necessary, the frame is filled to the requested number of bytes
212 * write hex bytes to syslog for debugging
215 unsigned char *bytes, int count)
231 c = *bytes++;
385 * The output buffer must have sufficient length; count + count/5 + 6 bytes
389 * count number of bytes in input buffer
407 gig_dbg(DEBUG_ISO, "%s: %d bytes fre
214 dump_bytes(enum debuglevel level, const char *tag, unsigned char *bytes, int count) argument
[all...]
H A Dser-gigaset.c61 * result: number of bytes sent or error code < 0
103 * result: number of bytes sent or error code < 0
242 * number of bytes queued, or error code < 0
281 unsigned bytes; local
283 bytes = cs->cmdbytes;
284 return bytes < IF_WRITEBUF ? IF_WRITEBUF - bytes : 0;
696 gig_dbg(DEBUG_INTR, "buffer state: %u -> %u, receive %u bytes",
713 "inbuf overflow, discarding %d bytes\n",
/drivers/media/dvb/mantis/
H A Dmantis_common.h93 u32 bytes; member in struct:mantis_hwconfig
/drivers/mfd/
H A Dtwl4030-irq.c88 /* + 2 bytes padding */
500 u8 bytes[4]; member in union:__anon1755
508 status = twl_i2c_write(sih->module, imr.bytes,
518 u8 bytes[6]; local
529 status = twl_i2c_read(sih->module, bytes + 1,
547 bytes[byte] &= ~(0x03 << off);
551 bytes[byte] |= BIT(off + 1);
553 bytes[byte] |= BIT(off + 0);
559 status = twl_i2c_write(sih->module, bytes,
584 u8 bytes[ member in union:__anon1756
[all...]
H A Dwm831x-core.c547 int bytes, void *src)
552 BUG_ON(bytes % 2);
553 BUG_ON(bytes <= 0);
555 for (i = 0; i < bytes / 2; i++) {
546 wm831x_write(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) argument
/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c991 u8 *bytes)
1016 bnad->id, bytes, eeprom->len,
1033 u8 *bytes)
1058 bnad->id, bytes, eeprom->len,
990 bnad_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
1032 bnad_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c179 struct ethtool_eeprom *eeprom, u8 *bytes)
185 struct ethtool_eeprom *eeprom, u8 *bytes)
178 igbvf_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
184 igbvf_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ethtool.c362 /* return size in bytes */
368 struct ethtool_eeprom *eeprom, u8 *bytes)
405 memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 1), eeprom->len);
414 struct ethtool_eeprom *eeprom, u8 *bytes)
458 memcpy(ptr, bytes, eeprom->len);
367 ixgb_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
413 ixgb_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
/drivers/net/irda/
H A Dmcs7780.c164 /* mcs_get_reg should read exactly two bytes from the dongle */
344 /* add 2 bytes for length value and 4 bytes for fcs. */
347 /* The mcs7780 requires that the first two bytes are the packet
349 * the two bytes for the length value itself.
355 /* put the fcs in the last four bytes in little endian order. */
372 * value includes the two bytes that hold the packet length
379 /* put the fcs in last two bytes in little endian order. */
757 __u8 *bytes; local
769 bytes
[all...]
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_insformat.h164 uint8_t bytes[4]; member in union:ins_formats
/drivers/scsi/aic7xxx/
H A Daiclib.h145 scsi_4btoul(uint8_t *bytes) argument
149 rv = (bytes[0] << 24) |
150 (bytes[1] << 16) |
151 (bytes[2] << 8) |
152 bytes[3];
/drivers/spi/
H A Dspi-omap-uwire.c215 unsigned bytes; local
234 /* write one or two bytes at a time */
241 bytes = 2;
244 bytes = 1;
260 len -= bytes;
269 status += bytes;
279 /* read one or two bytes at a time */
282 bytes = 2;
284 bytes = 1;
289 len -= bytes;
[all...]

Completed in 2306 milliseconds

123456789