Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/accel/
Dhid-sensor-accel-3d.c353 int channel_size; in hid_accel_3d_probe() local
371 channel_size = sizeof(accel_3d_channels); in hid_accel_3d_probe()
376 channel_size = sizeof(gravity_channels); in hid_accel_3d_probe()
385 indio_dev->channels = kmemdup(channel_spec, channel_size, GFP_KERNEL); in hid_accel_3d_probe()
/Linux-v4.19/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-v4.19/sound/pci/emu10k1/
Demupcm.c536 unsigned int channel_size; in snd_emu10k1_efx_playback_prepare() local
545 channel_size = ( end_addr - start_addr ) / NUM_EFX_PLAYBACK; in snd_emu10k1_efx_playback_prepare()
548 start_addr, start_addr + (channel_size / 2), NULL); in snd_emu10k1_efx_playback_prepare()
552 start_addr, start_addr + channel_size, in snd_emu10k1_efx_playback_prepare()
555 start_addr += channel_size; in snd_emu10k1_efx_playback_prepare()
558 start_addr, start_addr + channel_size, in snd_emu10k1_efx_playback_prepare()
560 start_addr += channel_size; in snd_emu10k1_efx_playback_prepare()