Lines Matching refs:lenp
37 void *result, size_t *lenp, loff_t *ppos) in do_active_device() argument
48 *lenp = 0; in do_active_device()
62 if (len > *lenp) in do_active_device()
63 len = *lenp; in do_active_device()
65 *lenp = len; in do_active_device()
74 void *result, size_t *lenp, loff_t *ppos) in do_autoprobe() argument
85 *lenp = 0; in do_autoprobe()
104 if (len > *lenp) in do_autoprobe()
105 len = *lenp; in do_autoprobe()
107 *lenp = len; in do_autoprobe()
117 void *result, size_t *lenp, loff_t *ppos) in do_hardware_base_addr() argument
124 *lenp = 0; in do_hardware_base_addr()
133 if (len > *lenp) in do_hardware_base_addr()
134 len = *lenp; in do_hardware_base_addr()
136 *lenp = len; in do_hardware_base_addr()
144 void *result, size_t *lenp, loff_t *ppos) in do_hardware_irq() argument
151 *lenp = 0; in do_hardware_irq()
160 if (len > *lenp) in do_hardware_irq()
161 len = *lenp; in do_hardware_irq()
163 *lenp = len; in do_hardware_irq()
171 void *result, size_t *lenp, loff_t *ppos) in do_hardware_dma() argument
178 *lenp = 0; in do_hardware_dma()
187 if (len > *lenp) in do_hardware_dma()
188 len = *lenp; in do_hardware_dma()
190 *lenp = len; in do_hardware_dma()
198 void *result, size_t *lenp, loff_t *ppos) in do_hardware_modes() argument
205 *lenp = 0; in do_hardware_modes()
229 if (len > *lenp) in do_hardware_modes()
230 len = *lenp; in do_hardware_modes()
232 *lenp = len; in do_hardware_modes()