Lines Matching refs:dev
26 * $FreeBSD: releng/11.0/sys/dev/ofw/ofw_bus.h 265310 2014-05-04 04:01:26Z loos $
34 #include <dev/ofw/openfirm.h>
39 ofw_bus_get_compat(device_t dev)
42 return (OFW_BUS_GET_COMPAT(device_get_parent(dev), dev));
46 ofw_bus_get_model(device_t dev)
49 return (OFW_BUS_GET_MODEL(device_get_parent(dev), dev));
53 ofw_bus_get_name(device_t dev)
56 return (OFW_BUS_GET_NAME(device_get_parent(dev), dev));
60 ofw_bus_get_node(device_t dev)
63 return (OFW_BUS_GET_NODE(device_get_parent(dev), dev));
67 ofw_bus_get_type(device_t dev)
70 return (OFW_BUS_GET_TYPE(device_get_parent(dev), dev));
74 ofw_bus_map_intr(device_t dev, phandle_t iparent, int icells, pcell_t *intr)
76 return (OFW_BUS_MAP_INTR(dev, dev, iparent, icells, intr));