Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/misc/
Dadutux.c658 int in_end_size; in adu_probe() local
683 in_end_size = usb_endpoint_maxp(dev->interrupt_in_endpoint); in adu_probe()
686 dev->read_buffer_primary = kmalloc((4 * in_end_size), GFP_KERNEL); in adu_probe()
691 memset(dev->read_buffer_primary, 'a', in_end_size); in adu_probe()
692 memset(dev->read_buffer_primary + in_end_size, 'b', in_end_size); in adu_probe()
693 memset(dev->read_buffer_primary + (2 * in_end_size), 'c', in_end_size); in adu_probe()
694 memset(dev->read_buffer_primary + (3 * in_end_size), 'd', in_end_size); in adu_probe()
696 dev->read_buffer_secondary = kmalloc((4 * in_end_size), GFP_KERNEL); in adu_probe()
701 memset(dev->read_buffer_secondary, 'e', in_end_size); in adu_probe()
702 memset(dev->read_buffer_secondary + in_end_size, 'f', in_end_size); in adu_probe()
[all …]