Lines Matching refs:erom_cls
112 static int bcm_erom_probe_and_attach(bhnd_erom_class_t **erom_cls,
258 * @param[out] erom_cls The probed EROM class.
260 * @p erom_cls.
262 * static instance of @p erom_cls.
265 * by @p erom_cls ENOMEM will be returned.
270 bcm_erom_probe_and_attach(bhnd_erom_class_t **erom_cls, kobj_ops_t erom_ops,
278 *erom_cls = NULL;
312 if (*erom_cls == NULL || result > prio) {
316 *erom_cls = cls;
325 if (*erom_cls == NULL) {
333 kobj_class_compile_static(*erom_cls, erom_ops);
336 error = bhnd_erom_init_static(*erom_cls, erom, esize, cid, eio);