/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/ |
D | ssp_iio.c | 28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable() 77 if (indio_dev->scan_bytes == 0) in ssp_common_process_data()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | addi_apci_3120.c | 212 unsigned int scan_bytes; in apci3120_setup_dma() local 214 scan_bytes = comedi_samples_to_bytes(s, cmd->scan_end_arg); in apci3120_setup_dma() 221 if (dmalen0 > (cmd->stop_arg * scan_bytes)) in apci3120_setup_dma() 222 dmalen0 = cmd->stop_arg * scan_bytes; in apci3120_setup_dma() 223 else if (dmalen1 > (cmd->stop_arg * scan_bytes - dmalen0)) in apci3120_setup_dma() 224 dmalen1 = cmd->stop_arg * scan_bytes - dmalen0; in apci3120_setup_dma() 229 if (dmalen0 > scan_bytes) { in apci3120_setup_dma() 230 dmalen0 = scan_bytes; in apci3120_setup_dma() 234 if (dmalen1 > scan_bytes) { in apci3120_setup_dma() 235 dmalen1 = scan_bytes; in apci3120_setup_dma()
|
D | adl_pci9118.c | 808 unsigned int scan_bytes = devpriv->ai_n_realscanlen * in pci9118_ai_setup_dma() local 823 if (dmalen0 < scan_bytes) { in pci9118_ai_setup_dma() 828 dmalen0, scan_bytes); in pci9118_ai_setup_dma() 831 dmalen0 = scan_bytes; in pci9118_ai_setup_dma() 841 if (dmalen1 < scan_bytes) { in pci9118_ai_setup_dma() 846 dmalen1, scan_bytes); in pci9118_ai_setup_dma() 849 dmalen1 = scan_bytes; in pci9118_ai_setup_dma() 865 dmalen0 = (dmalen0 / scan_bytes) * scan_bytes; in pci9118_ai_setup_dma() 870 dmalen1 = (dmalen1 / scan_bytes) * scan_bytes; in pci9118_ai_setup_dma() 881 scanlen = (unsigned long long)scan_bytes * in pci9118_ai_setup_dma()
|
/kernel/linux/linux-5.10/include/linux/iio/ |
D | buffer.h | 37 size_t ts_offset = indio_dev->scan_bytes / sizeof(int64_t) - 1; in iio_push_to_buffers_with_timestamp()
|
D | iio.h | 530 int scan_bytes; member
|
/kernel/linux/linux-5.10/drivers/iio/imu/ |
D | adis_buffer.c | 80 scan_count = indio_dev->scan_bytes / 2; in adis_update_scan_mode() 86 adis->buffer = kcalloc(indio_dev->scan_bytes, 2, GFP_KERNEL); in adis_update_scan_mode()
|
/kernel/linux/linux-5.10/drivers/iio/dummy/ |
D | iio_simple_dummy_buffer.c | 51 data = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in iio_simple_dummy_trigger_h()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ti_am335x_adc.c | 220 for (i = 0; i < (indio_dev->scan_bytes)/2; i++) { in tiadc_worker_h() 244 for (i = 0; i < dma->period_size; i += indio_dev->scan_bytes) { in tiadc_dma_rx_complete() 246 data += indio_dev->scan_bytes; in tiadc_dma_rx_complete()
|
D | stm32-adc.c | 1479 while (residue >= indio_dev->scan_bytes) { in stm32_adc_dma_buffer_done() 1484 residue -= indio_dev->scan_bytes; in stm32_adc_dma_buffer_done() 1485 adc->bufi += indio_dev->scan_bytes; in stm32_adc_dma_buffer_done() 1618 while (residue >= indio_dev->scan_bytes) { in stm32_adc_trigger_handler() 1623 residue -= indio_dev->scan_bytes; in stm32_adc_trigger_handler() 1624 adc->bufi += indio_dev->scan_bytes; in stm32_adc_trigger_handler()
|
D | cc10001_adc.c | 253 adc_dev->buf = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in cc10001_update_scan_mode()
|
D | stm32-dfsdm-adc.c | 871 while (available >= indio_dev->scan_bytes) { in stm32_dfsdm_dma_buffer_done() 876 available -= indio_dev->scan_bytes; in stm32_dfsdm_dma_buffer_done() 877 adc->bufi += indio_dev->scan_bytes; in stm32_dfsdm_dma_buffer_done()
|
D | dln2-adc.c | 134 size_t ts_offset = indio_dev->scan_bytes / sizeof(int64_t) - 1; in dln2_adc_update_demux()
|
D | ad799x.c | 239 st->rx_buf = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in ad799x_update_scan_mode()
|
D | at91_adc.c | 565 st->buffer = kmalloc(idev->scan_bytes, GFP_KERNEL); in at91_adc_configure_trigger()
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-buffer.c | 687 unsigned int scan_bytes; member 790 config->scan_bytes = iio_compute_scan_bytes(indio_dev, in iio_verify_update() 937 indio_dev->scan_bytes = config->scan_bytes; in iio_enable_buffers()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | adjd_s311.c | 234 data->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in adjd_s311_update_scan_mode()
|
D | gp2ap020a00f.c | 1422 data->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in gp2ap020a00f_buffer_postenable()
|
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 708 memset(st->samples, 0, indio_dev->scan_bytes); in cros_ec_sensors_capture()
|
/kernel/linux/linux-5.10/drivers/iio/proximity/ |
D | sx9500.c | 590 data->buffer = kzalloc(indio_dev->scan_bytes, GFP_KERNEL); in sx9500_update_scan_mode()
|