Lines Matching refs:len
79 int len; in configure_memory() local
84 len=0; in configure_memory()
87 c = get_8(buf+len); in configure_memory()
93 res->start = mem_parent->start + get_24(buf+len+2); in configure_memory()
94 res->end = res->start + get_16(buf+len+5)*1024; in configure_memory()
104 len+=7; in configure_memory()
111 return len; in configure_memory()
117 int len; in configure_irq() local
121 len=0; in configure_irq()
124 c = get_8(buf+len); in configure_irq()
133 len+=2; in configure_irq()
142 return len; in configure_irq()
148 int len; in configure_dma() local
152 len=0; in configure_dma()
155 c = get_8(buf+len); in configure_dma()
158 len+=2; in configure_dma()
164 return len; in configure_dma()
170 int len; in configure_port() local
176 len=0; in configure_port()
179 c = get_8(buf+len); in configure_port()
183 res->start = get_16(buf+len+1); in configure_port()
184 res->end = get_16(buf+len+1)+(c&HPEE_PORT_SIZE_MASK)+1; in configure_port()
194 len+=3; in configure_port()
200 return len; in configure_port()
211 int len=0; in configure_port_init() local
214 while (len<HPEE_PORT_INIT_MAX_LEN) { in configure_port_init()
216 c = get_8(buf+len); in configure_port_init()
223 outb((inb(get_16(buf+len+1) & in configure_port_init()
224 get_8(buf+len+3)) | in configure_port_init()
225 get_8(buf+len+4)), get_16(buf+len+1)); in configure_port_init()
228 outb(get_8(buf+len+3), get_16(buf+len+1)); in configure_port_init()
236 outw((inw(get_16(buf+len+1)) & in configure_port_init()
237 get_16(buf+len+3)) | in configure_port_init()
238 get_16(buf+len+5), in configure_port_init()
239 get_16(buf+len+1)); in configure_port_init()
241 outw(cpu_to_le16(get_16(buf+len+3)), get_16(buf+len+1)); in configure_port_init()
248 outl((inl(get_16(buf+len+1) & in configure_port_init()
249 get_32(buf+len+3)) | in configure_port_init()
250 get_32(buf+len+7)), get_16(buf+len+1)); in configure_port_init()
252 outl(cpu_to_le32(get_32(buf+len+3)), get_16(buf+len+1)); in configure_port_init()
265 len+=s+3; in configure_port_init()
271 return len; in configure_port_init()
276 int len; in configure_choise() local
282 len = get_8(buf); in configure_choise()
283 *info=get_8(buf+len+1); in configure_choise()
285 return len+2; in configure_choise()
290 int len; in configure_type_string() local
293 len = get_8(buf); in configure_type_string()
294 if (len > 80) { in configure_type_string()
295 printk(KERN_ERR "eisa_enumerator: type info field too long (%d, max is 80)\n", len); in configure_type_string()
298 return 1+len; in configure_type_string()