Lines Matching refs:compat
25 const char *type, *compat; in vio_match_device() local
29 compat = dev->compat; in vio_match_device()
32 while (matches->type[0] || matches->compat[0]) { in vio_match_device()
37 if (matches->compat[0]) { in vio_match_device()
39 of_find_in_proplist(compat, matches->compat, len); in vio_match_device()
206 const char *type, *compat, *bus_id_name; in vio_create_one() local
255 compat = mdesc_get_property(hp, mp, "device-type", &clen); in vio_create_one()
256 if (!compat) { in vio_create_one()
272 if (compat) in vio_create_one()
273 memcpy(vdev->compat, compat, clen); in vio_create_one()
275 memset(vdev->compat, 0, sizeof(vdev->compat)); in vio_create_one()
404 const char *compat; in vio_init() local
434 compat = mdesc_get_property(hp, root, "compatible", &len); in vio_init()
435 if (!compat) { in vio_init()
440 if (!of_find_in_proplist(compat, channel_devices_compat, len)) { in vio_init()