Lines Matching refs:id_size
62 unsigned long id_size; member
141 unsigned long size, unsigned long id_size, in device_id_check() argument
146 if (size % id_size || size < id_size) { in device_id_check()
149 modname, device_id, id_size, device_id, size, device_id); in device_id_check()
152 for (i = 0; i < id_size; i++ ) { in device_id_check()
153 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
156 modname, device_id, id_size, size / id_size); in device_id_check()
157 for (i = 0; i < id_size; i++ ) in device_id_check()
159 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
345 const unsigned long id_size = SIZE_usb_device_id; in do_usb_table() local
347 device_id_check(mod->name, "usb", size, id_size, symval); in do_usb_table()
350 size -= id_size; in do_usb_table()
352 for (i = 0; i < size; i += id_size) in do_usb_table()
388 const unsigned long id_size = SIZE_of_device_id; in do_of_table() local
390 device_id_check(mod->name, "of", size, id_size, symval); in do_of_table()
393 size -= id_size; in do_of_table()
395 for (i = 0; i < size; i += id_size) in do_of_table()
600 const unsigned long id_size = SIZE_pnp_device_id; in do_pnp_device_entry() local
601 const unsigned int count = (size / id_size)-1; in do_pnp_device_entry()
604 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_device_entry()
607 DEF_FIELD_ADDR(symval + i*id_size, pnp_device_id, id); in do_pnp_device_entry()
626 const unsigned long id_size = SIZE_pnp_card_device_id; in do_pnp_card_entries() local
627 const unsigned int count = (size / id_size)-1; in do_pnp_card_entries()
630 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_card_entries()
634 DEF_FIELD_ADDR(symval + i * id_size, pnp_card_device_id, devs); in do_pnp_card_entries()
646 DEF_FIELD_ADDR_VAR(symval + i2 * id_size, in do_pnp_card_entries()
1491 unsigned long id_size, in do_table() argument
1499 device_id_check(mod->name, device_id, size, id_size, symval); in do_table()
1501 size -= id_size; in do_table()
1503 for (i = 0; i < size; i += id_size) { in do_table()
1620 do_table(symval, sym->st_size, p->id_size, in handle_moddevtable()