Lines Matching refs:cls
122 bhnd_erom_class_t *cls; in bhnd_erom_probe_driver_classes() local
127 cls = bhnd_driver_get_erom_class(drivers[i]); in bhnd_erom_probe_driver_classes()
128 if (cls == NULL) in bhnd_erom_probe_driver_classes()
131 kobj_class_compile(cls); in bhnd_erom_probe_driver_classes()
134 result = bhnd_erom_probe(cls, eio, hint, &pcid); in bhnd_erom_probe_driver_classes()
145 erom_cls = cls; in bhnd_erom_probe_driver_classes()
171 bhnd_erom_alloc(bhnd_erom_class_t *cls, const struct bhnd_chipid *cid, in bhnd_erom_alloc() argument
177 erom = (bhnd_erom_t *)kobj_create((kobj_class_t)cls, M_BHND, in bhnd_erom_alloc()
181 printf("error initializing %s parser at %#jx: %d\n", cls->name, in bhnd_erom_alloc()
213 bhnd_erom_init_static(bhnd_erom_class_t *cls, bhnd_erom_t *erom, size_t esize, in bhnd_erom_init_static() argument
218 kcls = (kobj_class_t)cls; in bhnd_erom_init_static()