Lines Matching refs:ocd
108 const struct ofw_compat_data *ocd;
111 ocd = ofw_bus_search_compatible(dev, *cd);
112 if (ocd->ocd_data != 0)
113 return (ocd->ocd_data);
143 const struct ofw_compat_data *ocd;
145 for (ocd = cd; ocd->ocd_str != NULL; ocd++) {
146 if (ofw_bus_node_is_compatible(node, ocd->ocd_str))
147 return (ocd);
156 const struct ofw_compat_data *ocd;
160 ocd = uart_fdt_find_compatible(node, *cd);
161 if ((ocd != NULL) && (ocd->ocd_data != 0))
162 return (ocd->ocd_data);
166 ocd = uart_fdt_find_compatible(node, *cd);
167 if ((ocd != NULL) && (ocd->ocd_data != 0))
168 return (ocd->ocd_data);