Searched refs:devsc (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm64/rockchip/ |
H A D | rk_usb2phy.c | 256 rk_usb2phy_export_clock(struct rk_usb2phy_softc *devsc) in rk_usb2phy_export_clock() argument 268 node = ofw_bus_get_node(devsc->dev); in rk_usb2phy_export_clock() 273 device_printf(devsc->dev, "couldn't find parent clock\n"); in rk_usb2phy_export_clock() 282 clkdom = clkdom_create(devsc->dev); in rk_usb2phy_export_clock() 290 error = clk_get_by_ofw_index(devsc->dev, 0, i, &clk_parent); in rk_usb2phy_export_clock() 292 device_printf(devsc->dev, "cannot get clock %d\n", error); in rk_usb2phy_export_clock() 302 device_printf(devsc->dev, "cannot create clknode\n"); in rk_usb2phy_export_clock() 307 sc->clkdev = device_get_parent(devsc->dev); in rk_usb2phy_export_clock() 308 sc->grf = devsc->grf; in rk_usb2phy_export_clock() 309 sc->regs = (struct rk_usb2phy_regs *)ofw_bus_search_compatible(devsc->dev, compat_data)->ocd_data; in rk_usb2phy_export_clock() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_xhci.c | 2770 void *devsc, *cookie; in pci_xhci_parse_devices() local 2859 devsc = ue->ue_init(&dev->hci, nvl); in pci_xhci_parse_devices() 2860 if (devsc == NULL) { in pci_xhci_parse_devices() 2865 dev->dev_sc = devsc; in pci_xhci_parse_devices()
|