Lines Matching refs:dm
36 const struct dt_device_match *dm; member
502 res = elt->dt_drv->probe(fdt, elt->nodeoffset, elt->dm->compat_data); in probe_driver_node()
532 const struct dt_device_match *dm) in alloc_elt_and_probe() argument
543 elt->dm = dm; in alloc_elt_and_probe()
555 const struct dt_device_match *dm = NULL; in probe_device_by_compat() local
561 for (dm = drv->match_table; dm && dm->compatible; dm++) in probe_device_by_compat()
562 if (strcmp(dm->compatible, compat) == 0) in probe_device_by_compat()
563 return alloc_elt_and_probe(fdt, node, drv, dm); in probe_device_by_compat()
680 const struct dt_device_match *dm) in add_node_to_probe() argument
686 .dm = dm, in add_node_to_probe()
735 const struct dt_device_match *dm = NULL; in add_probe_node_by_compat() local
739 for (dm = dt_drv->match_table; dm && dm->compatible; dm++) { in add_probe_node_by_compat()
740 if (strcmp(dm->compatible, compat) == 0) { in add_probe_node_by_compat()
743 res = add_node_to_probe(fdt, node, dt_drv, dm); in add_probe_node_by_compat()