Home
last modified time | relevance | path

Searched refs:channel_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c341 int channel_size; in hid_accel_3d_probe() local
359 channel_size = sizeof(accel_3d_channels); in hid_accel_3d_probe()
364 channel_size = sizeof(gravity_channels); in hid_accel_3d_probe()
373 indio_dev->channels = kmemdup(channel_spec, channel_size, GFP_KERNEL); in hid_accel_3d_probe()
/Linux-v5.10/drivers/usb/musb/
Dmusb_cppi41.c753 int channel_size; in cppi41_dma_controller_create() local
788 channel_size = controller->num_channels * in cppi41_dma_controller_create()
790 controller->rx_channel = kzalloc(channel_size, GFP_KERNEL); in cppi41_dma_controller_create()
793 controller->tx_channel = kzalloc(channel_size, GFP_KERNEL); in cppi41_dma_controller_create()
/Linux-v5.10/sound/pci/emu10k1/
Demupcm.c522 unsigned int channel_size; in snd_emu10k1_efx_playback_prepare() local
531 channel_size = ( end_addr - start_addr ) / NUM_EFX_PLAYBACK; in snd_emu10k1_efx_playback_prepare()
534 start_addr, start_addr + (channel_size / 2), NULL); in snd_emu10k1_efx_playback_prepare()
538 start_addr, start_addr + channel_size, in snd_emu10k1_efx_playback_prepare()
541 start_addr += channel_size; in snd_emu10k1_efx_playback_prepare()
544 start_addr, start_addr + channel_size, in snd_emu10k1_efx_playback_prepare()
546 start_addr += channel_size; in snd_emu10k1_efx_playback_prepare()