| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_caldata.c | 106 device_get_unit(dev), in ar71xx_platform_create_cal_data() 135 device_get_unit(dev), buf, &addr) != 0) in ar71xx_platform_check_eeprom_hints() 139 device_get_unit(dev), buf, &size) != 0) in ar71xx_platform_check_eeprom_hints()
|
| H A D | ar71xx_gpio.c | 439 KASSERT((device_get_unit(dev) == 0), in ar71xx_gpio_attach() 473 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 479 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 490 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 493 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 550 device_get_unit(dev), in ar71xx_gpio_attach() 557 device_get_unit(dev), in ar71xx_gpio_attach()
|
| H A D | ar71xx_fixup.c | 105 device_get_name(dev), device_get_unit(dev), bus, slot, func); in ar71xx_pci_slot_create_eeprom_firmware()
|
| H A D | if_arge.c | 557 device_get_unit(sc->arge_dev), in arge_fetch_mdiobus_clock_rate() 626 device_get_unit(sc->arge_dev), in arge_fetch_pll_config() 633 device_get_unit(sc->arge_dev), in arge_fetch_pll_config() 640 device_get_unit(sc->arge_dev), in arge_fetch_pll_config() 666 sc->arge_mac_unit = device_get_unit(dev); in arge_attach() 678 device_get_unit(dev)); in arge_attach() 741 device_get_unit(dev), "eeprommac", &eeprom_mac_addr) == 0) { in arge_attach() 771 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in arge_attach() 800 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in arge_attach() 859 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); in arge_attach() [all …]
|
| H A D | ar71xx_pci.c | 349 if (resource_long_value(device_get_name(dev), device_get_unit(dev), in ar71xx_pci_slot_fixup() 354 device_get_unit(dev), buf, &size) != 0) { in ar71xx_pci_slot_fixup() 402 device_get_unit(dev), "baseslot", &sc->sc_baseslot) != 0) { in ar71xx_pci_attach()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | ar5315_gpio.c | 336 KASSERT((device_get_unit(dev) == 0), in ar5315_gpio_attach() 370 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 376 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 384 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 387 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 438 device_get_unit(dev), in ar5315_gpio_attach() 445 device_get_unit(dev), in ar5315_gpio_attach()
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | obio.c | 79 if (device_get_unit(dev) != 0) in obio_probe() 134 switch (device_get_unit(child)) { in obio_alloc_resource() 151 bh = CVMX_MIO_UARTX_RBR(device_get_unit(child)); in obio_alloc_resource()
|
| H A D | uart_bus_octeonusart.c | 91 unit = device_get_unit(dev); in uart_octeon_probe()
|
| H A D | if_octm.c | 132 result = cvmx_mgmt_port_initialize(device_get_unit(dev)); in octm_probe() 163 sc->sc_port = device_get_unit(dev); in octm_attach() 223 if_initname(ifp, device_get_name(dev), device_get_unit(dev)); in octm_attach()
|
| H A D | octeon_pmc.c | 72 if (device_get_unit(dev) != 0) in octeon_pmc_probe()
|
| H A D | octeon_rtc.c | 77 if (device_get_unit(dev) != 0) in octeon_rtc_probe()
|
| H A D | octeon_rnd.c | 86 if (device_get_unit(dev) != 0) in octeon_rnd_probe()
|
| /f-stack/freebsd/arm64/intel/ |
| H A D | stratix10-soc-fpga-mgr.c | 238 0600, "fpga%d", device_get_unit(sc->dev)); in fpgamgr_s10_attach() 245 0600, "fpga_partial%d", device_get_unit(sc->dev)); in fpgamgr_s10_attach()
|
| H A D | stratix10-svc.c | 243 if (device_get_unit(dev) != 0) in s10_svc_attach()
|
| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | octebus.c | 91 if (device_get_unit(dev) != 0) in octebus_probe()
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_reset.c | 72 if (device_get_unit(dev) != 0) { in mtk_reset_attach()
|
| H A D | mtk_clock.c | 72 if (device_get_unit(dev) != 0) { in mtk_clock_attach()
|
| H A D | mtk_sysctl.c | 102 if (device_get_unit(dev) != 0 || mtk_sysctl_sc != NULL) { in mtk_sysctl_attach()
|
| H A D | mtk_pinctrl.c | 74 if (device_get_unit(dev) != 0) { in mtk_pinctrl_attach()
|
| /f-stack/freebsd/i386/bios/ |
| H A D | smapi.c | 228 device_get_unit(sc->dev), in smapi_attach() 232 device_get_unit(sc->dev)); in smapi_attach()
|
| /f-stack/freebsd/arm/mv/ |
| H A D | mv_cp110_clock.c | 148 unit = device_get_unit(dev); in mv_cp110_clock_name() 204 unit = device_get_unit(dev); in mv_cp110_clock_attach()
|
| /f-stack/freebsd/arm/freescale/imx/ |
| H A D | imx_gpt.c | 129 if (device_get_unit(dev) > 0) in imx_gpt_probe() 281 if (device_get_unit(dev) == 0) { in imx_gpt_attach()
|
| H A D | imx_epit.c | 354 unit = device_get_unit(dev); in epit_probe() 467 if (device_get_unit(sc->dev) == 0) in epit_attach()
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_clkman.c | 98 if (device_get_unit(dev) != 0) { in bcm2835_clkman_attach()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | cpu.c | 539 if (device_get_unit(dev) != 0) in cpu_attach() 544 clock = device_add_child(dev, "clock", device_get_unit(dev)); in cpu_attach()
|