/drivers/staging/comedi/drivers/ |
H A D | comedi_fc.c | 32 unsigned int num_bytes) 37 async->scan_progress += num_bytes; 46 void *data, unsigned int num_bytes) 51 if (num_bytes == 0) 54 retval = comedi_buf_write_alloc(async, num_bytes); 55 if (retval != num_bytes) { 61 comedi_buf_memcpy_to(async, 0, data, num_bytes); 62 comedi_buf_write_free(async, num_bytes); 63 increment_scan_progress(subd, num_bytes); 66 return num_bytes; 31 increment_scan_progress(struct comedi_subdevice *subd, unsigned int num_bytes) argument 45 cfc_write_array_to_buffer(struct comedi_subdevice *subd, void *data, unsigned int num_bytes) argument 70 cfc_read_array_from_buffer(struct comedi_subdevice *subd, void *data, unsigned int num_bytes) argument [all...] |
H A D | adl_pci9111.c | 299 unsigned int num_bytes, 946 unsigned int num_bytes, 949 unsigned int i, num_samples = num_bytes / sizeof(short); 944 pci9111_ai_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int start_chan_index) argument
|
H A D | adl_pci9118.c | 643 unsigned int num_bytes; local 650 num_bytes = 653 if (num_bytes < num_samples * sizeof(short)) 694 unsigned int num_bytes, 697 unsigned int i, num_samples = num_bytes / sizeof(short); 692 pci9118_ai_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int start_chan_index) argument
|
H A D | amplc_pci224.c | 1238 void *data, unsigned int num_bytes, unsigned int chan_index) 1242 unsigned int length = num_bytes / sizeof(*array); 1237 pci224_ao_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int chan_index) argument
|
H A D | cb_pcidas.c | 1526 unsigned int num_bytes, num_points = thisboard->fifo_size; local 1538 num_bytes = cfc_read_array_from_buffer(s, devpriv->ao_buffer, 1540 num_points = num_bytes / sizeof(short); 1545 outsw(devpriv->ao_registers + DACDATA, devpriv->ao_buffer, num_bytes); 1710 unsigned int num_bytes; local 1717 num_bytes = 1720 num_points = num_bytes / sizeof(short);
|
H A D | das16.c | 358 unsigned int num_bytes, 1241 int num_bytes, residue; local 1272 num_bytes = 0; 1274 num_bytes = devpriv->dma_transfer_size - residue; 1277 num_bytes >= devpriv->adc_byte_count) { 1278 num_bytes = devpriv->adc_byte_count; 1284 devpriv->adc_byte_count -= num_bytes; 1307 devpriv->dma_buffer[buffer_index], num_bytes); 1775 unsigned int num_bytes, 1778 unsigned int i, num_samples = num_bytes / sizeo 1773 das16_ai_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *array, unsigned int num_bytes, unsigned int start_chan_index) argument [all...] |
H A D | das1800.c | 1068 unsigned int num_bytes, num_samples; local 1078 num_bytes = devpriv->dma_transfer_size - get_dma_residue(channel); 1079 num_samples = num_bytes / sizeof(short); 1086 cfc_write_array_to_buffer(s, buffer, num_bytes);
|
H A D | ni_mio_common.c | 1573 void *data, unsigned int num_bytes, 1578 unsigned int length = num_bytes / bytes_per_sample(s); 2856 void *data, unsigned int num_bytes, 2863 unsigned int length = num_bytes / sizeof(short); 1572 ni_ai_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int chan_index) argument 2855 ni_ao_munge(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int chan_index) argument
|
H A D | cb_pcidas64.c | 3391 unsigned int num_bytes, buffer_index, prev_buffer_index; local 3400 num_bytes = comedi_buf_read_n_available(dev->write_subdev->async); 3401 if (num_bytes > DMA_BUFFER_SIZE) 3402 num_bytes = DMA_BUFFER_SIZE; 3403 if (cmd->stop_src == TRIG_COUNT && num_bytes > priv(dev)->ao_count) 3404 num_bytes = priv(dev)->ao_count; 3405 num_bytes -= num_bytes % bytes_in_sample; 3407 if (num_bytes == 0) 3410 DEBUG_PRINT("loading %i bytes\n", num_bytes); 3436 unsigned int num_bytes; local 3458 unsigned int num_bytes; local [all...] |
/drivers/firmware/google/ |
H A D | memconsole.c | 37 u16 num_bytes; member in struct:biosmemcon_ebda::__anon502::__anon504 77 "start = %d, end = %d, num_bytes = %d\n", 79 hdr->v2.end, hdr->v2.num_bytes);
|
/drivers/media/video/cx18/ |
H A D | cx18-alsa-pcm.c | 73 size_t num_bytes) 82 dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zd\n", cxsc, 83 pcm_data, num_bytes); 103 length = num_bytes / stride; 72 cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, size_t num_bytes) argument
|
/drivers/scsi/ |
H A D | ultrastor.c | 171 u32 num_bytes; member in struct:__anon5028 692 mscp->sglist[i].num_bytes = sg->length;
|
H A D | u14-34f.c | 546 unsigned int num_bytes; /* Segment Length */ member in struct:sg_list 1135 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg));
|
H A D | eata.c | 744 unsigned int num_bytes; /* Segment Length */ member in struct:sg_list 1640 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg));
|
/drivers/uwb/ |
H A D | drp.c | 106 int num_bytes = 0; local 113 num_bytes += rsv->drp_ie->hdr.length + 2; 117 num_bytes += mv->companion_drp_ie->hdr.length + 2; 121 num_bytes += sizeof(rc->drp_avail.ie); 122 cmd = kzalloc(sizeof(*cmd) + num_bytes, GFP_KERNEL); 127 cmd->wIELength = num_bytes; 152 result = uwb_rc_cmd_async(rc, "SET-DRP-IE", &cmd->rccb, sizeof(*cmd) + num_bytes,
|
/drivers/input/keyboard/ |
H A D | pmic8xxx-keypad.c | 123 u8 *data, u16 reg, unsigned num_bytes) 127 rc = pm8xxx_read_buf(kp->dev->parent, reg, data, num_bytes); 122 pmic8xxx_kp_read(struct pmic8xxx_kp *kp, u8 *data, u16 reg, unsigned num_bytes) argument
|
H A D | twl4030_keypad.c | 138 u8 *data, u32 reg, u8 num_bytes) 140 int ret = twl_i2c_read(TWL4030_MODULE_KEYPAD, data, reg, num_bytes); 137 twl4030_kpread(struct twl4030_keypad *kp, u8 *data, u32 reg, u8 num_bytes) argument
|
/drivers/staging/comedi/ |
H A D | drivers.c | 554 unsigned int num_bytes) 561 async->munge_count += num_bytes; 563 return num_bytes; 566 num_bytes -= num_bytes % num_sample_bytes; 567 while (count < num_bytes) { 570 block_size = num_bytes - count; 703 const void *data, unsigned int num_bytes) 710 while (num_bytes) { 713 if (write_ptr + num_bytes > asyn 553 comedi_buf_munge(struct comedi_async *async, unsigned int num_bytes) argument 702 comedi_buf_memcpy_to(struct comedi_async *async, unsigned int offset, const void *data, unsigned int num_bytes) argument 757 unsigned num_bytes; local [all...] |
/drivers/mfd/ |
H A D | twl-core.c | 350 * @value: an array of num_bytes+1 containing data to write 352 * @num_bytes: number of bytes to transfer 354 * IMPORTANT: for 'value' parameter: Allocate value num_bytes+1 and 359 int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) argument 389 msg->len = num_bytes + 1; 414 * @value: an array of num_bytes containing data to be read 416 * @num_bytes: number of bytes to transfer 418 * Returns result of operation - num_bytes is success else failure. 420 int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) argument 456 msg->len = num_bytes; /* onl [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 889 uint32_t num_bytes; member in struct:qla2_sgx 905 if (sgx->num_bytes == sgx->tot_bytes) 919 sgx->num_bytes += blk_sz;
|
/drivers/staging/tidspbridge/core/ |
H A D | tiomap3430.c | 1582 u32 num_bytes = size; local 1589 while (num_bytes && !status) { 1595 if ((num_bytes >= page_size[i]) && ((all_bits & 1603 num_bytes -= page_size[i];
|
H A D | io_sm.c | 300 u32 num_bytes = 0; local 454 num_bytes = ul_seg1_size; 468 while (num_bytes) { 475 "num_bytes %x\n", all_bits, pa_curr, va_curr, 476 num_bytes); 478 if ((num_bytes >= page_size[i]) && ((all_bits & 492 num_bytes -= page_size[i]; 507 num_bytes = ul_seg_size; 509 while (num_bytes) { 516 "va_curr %x, num_bytes [all...] |
/drivers/i2c/busses/ |
H A D | i2c-omap.c | 845 u8 num_bytes = 1; local 852 num_bytes = dev->fifo_size; 854 num_bytes = (omap_i2c_read_reg(dev, 858 while (num_bytes) { 859 num_bytes--; 892 u8 num_bytes = 1; local 895 num_bytes = dev->fifo_size; 897 num_bytes = omap_i2c_read_reg(dev, 901 while (num_bytes) { 902 num_bytes [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | bcmutils.c | 1963 bcm_inc_bytes(uchar *num, int num_bytes, uint8 amount) argument 1967 for (i = 0; i < num_bytes; i++) {
|
/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 2784 int num_bytes; local 2861 num_bytes = 32*1024; 2863 num_bytes = total_bytes; 2864 total_bytes -= num_bytes; 2876 memcpy(req->params.data_buf, p, num_bytes); 2877 p += num_bytes; 2879 pflashcomp[i].optype, flash_op, num_bytes);
|