Lines Matching refs:lenp
44 void *result, size_t *lenp, loff_t *ppos) in do_active_device() argument
55 *lenp = 0; in do_active_device()
69 if (len > *lenp) in do_active_device()
70 len = *lenp; in do_active_device()
72 *lenp = len; in do_active_device()
81 void *result, size_t *lenp, loff_t *ppos) in do_autoprobe() argument
92 *lenp = 0; in do_autoprobe()
111 if (len > *lenp) in do_autoprobe()
112 len = *lenp; in do_autoprobe()
114 *lenp = len; in do_autoprobe()
124 void *result, size_t *lenp, loff_t *ppos) in do_hardware_base_addr() argument
131 *lenp = 0; in do_hardware_base_addr()
140 if (len > *lenp) in do_hardware_base_addr()
141 len = *lenp; in do_hardware_base_addr()
143 *lenp = len; in do_hardware_base_addr()
151 void *result, size_t *lenp, loff_t *ppos) in do_hardware_irq() argument
158 *lenp = 0; in do_hardware_irq()
167 if (len > *lenp) in do_hardware_irq()
168 len = *lenp; in do_hardware_irq()
170 *lenp = len; in do_hardware_irq()
178 void *result, size_t *lenp, loff_t *ppos) in do_hardware_dma() argument
185 *lenp = 0; in do_hardware_dma()
194 if (len > *lenp) in do_hardware_dma()
195 len = *lenp; in do_hardware_dma()
197 *lenp = len; in do_hardware_dma()
205 void *result, size_t *lenp, loff_t *ppos) in do_hardware_modes() argument
212 *lenp = 0; in do_hardware_modes()
236 if (len > *lenp) in do_hardware_modes()
237 len = *lenp; in do_hardware_modes()
239 *lenp = len; in do_hardware_modes()