| /freebsd-12.1/sys/isa/ |
| H A D | isahint.c | 50 if (resource_int_value(name, unit, "sensitive", &sensitive) != 0) in isa_hinted_child() 51 resource_int_value(name, -1, "sensitive", &sensitive); in isa_hinted_child() 64 resource_int_value(name, unit, "port", &start); in isa_hinted_child() 65 resource_int_value(name, unit, "portsize", &count); in isa_hinted_child() 71 resource_int_value(name, unit, "maddr", &start); in isa_hinted_child() 72 resource_int_value(name, unit, "msize", &count); in isa_hinted_child() 76 if (resource_int_value(name, unit, "irq", &start) == 0 && start > 0) in isa_hinted_child() 79 if (resource_int_value(name, unit, "drq", &start) == 0 && start >= 0) in isa_hinted_child()
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_pci.c | 154 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 163 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 178 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 183 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 188 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 193 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 198 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 227 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 232 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() 237 if (0 == resource_int_value(device_get_name(ocs->dev), device_get_unit(ocs->dev), in ocs_setup_params() [all …]
|
| /freebsd-12.1/sys/dev/etherswitch/arswitch/ |
| H A D | arswitch_8327.c | 340 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_port() 364 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_port() 370 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_port() 376 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_port() 424 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() 433 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() 439 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() 445 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() 451 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() 457 if (resource_int_value(device_get_name(sc->sc_dev), in ar8327_fetch_pdata_pad() [all …]
|
| /freebsd-12.1/sys/dev/uart/ |
| H A D | uart_cpu_x86.c | 80 if (resource_int_value("uart", i, "flags", &ivar)) in uart_cpu_getdev() 90 if (resource_int_value("uart", i, "disabled", &ivar) == 0 && in uart_cpu_getdev() 93 if (resource_int_value("uart", i, "port", &ivar) != 0 || in uart_cpu_getdev() 108 if (resource_int_value("uart", i, "baud", &ivar) != 0) in uart_cpu_getdev()
|
| /freebsd-12.1/sys/dev/gpio/ |
| H A D | gpiospi.c | 103 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 108 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 114 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 119 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 125 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 130 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 135 if (resource_int_value(device_get_name(dev), in gpio_spi_attach() 141 if (resource_int_value(device_get_name(dev), in gpio_spi_attach()
|
| H A D | gpioled.c | 116 resource_int_value(device_get_name(dev), in gpioled_attach() 118 resource_int_value(device_get_name(dev), in gpioled_attach()
|
| H A D | gpioiic.c | 114 if (resource_int_value(device_get_name(dev), in gpioiic_attach() 117 if (resource_int_value(device_get_name(dev), in gpioiic_attach()
|
| /freebsd-12.1/sys/dev/nvram2env/ |
| H A D | nvram2env.c | 58 for (i = 0; !resource_int_value("nvram", i, "base", &ivar); i++) in nvram2env_identify() 76 if (resource_int_value("nvram", device_get_unit(dev), "sig", in nvram2env_probe() 81 if (resource_int_value("nvram", device_get_unit(dev), "maxsize", in nvram2env_probe() 86 if (resource_int_value("nvram", device_get_unit(dev), "flags", in nvram2env_probe() 98 if (resource_int_value("nvram", device_get_unit(dev), in nvram2env_probe()
|
| /freebsd-12.1/sys/mips/broadcom/ |
| H A D | uart_cpu_chipc.c | 148 if (resource_int_value("uart", i, "flags", &ivar)) in uart_cpu_getdev() 158 if (resource_int_value("uart", i, "disabled", &ivar) == 0 && in uart_cpu_getdev() 163 if (resource_int_value("uart", i, "baud", &ivar) != 0) in uart_cpu_getdev()
|
| /freebsd-12.1/sys/mips/atheros/ |
| H A D | ar71xx_machdep.c | 178 if (resource_int_value("ar71xx", 0, "eeprom_mac_isascii", in ar71xx_platform_read_eeprom_mac() 257 if (resource_int_value("ar71xx_mac_map", i, "unitid", in ar71xx_platform_check_mac_hints() 260 if (resource_int_value("ar71xx_mac_map", i, "offset", in ar71xx_platform_check_mac_hints() 263 if (resource_int_value("ar71xx_mac_map", i, "is_local", in ar71xx_platform_check_mac_hints()
|
| H A D | ar933x_chip.c | 331 if ((resource_int_value("ar933x_gmac", 0, "override_phy", &val) == 0) in ar933x_chip_init_gmac() 334 if ((resource_int_value("ar933x_gmac", 0, "swap_phy", &val) == 0) in ar933x_chip_init_gmac() 337 if ((resource_int_value("ar933x_gmac", 0, "swap_phy_addr", &val) == 0) in ar933x_chip_init_gmac()
|
| H A D | ar71xx_gpio.c | 471 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 477 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 488 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 491 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar71xx_gpio_attach() 547 if (resource_int_value(device_get_name(dev), in ar71xx_gpio_attach() 554 if (resource_int_value(device_get_name(dev), in ar71xx_gpio_attach()
|
| /freebsd-12.1/sys/dev/bvm/ |
| H A D | bvm_dbg.c | 62 resource_int_value("bvmdbg", 0, "disabled", &disabled); in bvm_dbg_probe() 65 if (resource_int_value("bvmdbg", 0, "port", &port) == 0) in bvm_dbg_probe()
|
| H A D | bvm_console.c | 179 resource_int_value("bvmconsole", 0, "disabled", &disabled); in bvm_cnprobe() 181 if (resource_int_value("bvmconsole", 0, "port", &port) == 0) in bvm_cnprobe()
|
| /freebsd-12.1/sys/dev/ath/ |
| H A D | if_ath_ahb.c | 103 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ath_ahb_probe() 108 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ath_ahb_probe() 233 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ath_ahb_attach() 238 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ath_ahb_attach()
|
| /freebsd-12.1/sys/mips/atheros/ar531x/ |
| H A D | ar5315_gpio.c | 372 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 378 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 386 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 389 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in ar5315_gpio_attach() 439 if (resource_int_value(device_get_name(dev), in ar5315_gpio_attach() 446 if (resource_int_value(device_get_name(dev), in ar5315_gpio_attach()
|
| /freebsd-12.1/sys/dev/iicbus/ |
| H A D | iicbus.c | 105 if (resource_int_value(device_get_name(dev), in iicbus_attach() 245 resource_int_value(dname, dunit, "addr", &devi->addr); in iicbus_hinted_child() 246 if (resource_int_value(dname, dunit, "irq", &irq) == 0) { in iicbus_hinted_child() 297 resource_int_value(device_get_name(dev), device_get_unit(dev), in iicbus_init_frequency()
|
| H A D | icee.c | 180 resource_int_value(dname, dunit, "size", &sc->size); in icee_init() 181 resource_int_value(dname, dunit, "type", &sc->type); in icee_init() 182 resource_int_value(dname, dunit, "wr_sz", &sc->wr_sz); in icee_init()
|
| /freebsd-12.1/sys/dev/ipmi/ |
| H A D | ipmi_isa.c | 143 if (resource_int_value(name, unit, "port", &val) == 0 && val != 0) { in ipmi_hint_identify() 146 } else if (resource_int_value(name, unit, "maddr", &val) == 0 && in ipmi_hint_identify() 153 if (resource_int_value(name, unit, "spacing", &val) == 0) { in ipmi_hint_identify()
|
| /freebsd-12.1/sys/dev/spibus/ |
| H A D | spibus.c | 219 resource_int_value(dname, dunit, "clock", &devi->clock); in spibus_hinted_child() 220 resource_int_value(dname, dunit, "cs", &devi->cs); in spibus_hinted_child() 221 resource_int_value(dname, dunit, "mode", &devi->mode); in spibus_hinted_child()
|
| /freebsd-12.1/sys/dev/altera/avgen/ |
| H A D | altera_avgen_nexus.c | 87 error = resource_int_value(device_get_name(dev), device_get_unit(dev), in altera_avgen_nexus_attach() 101 (void)resource_int_value(device_get_name(dev), device_get_unit(dev), in altera_avgen_nexus_attach()
|
| /freebsd-12.1/sys/mips/sibyte/ |
| H A D | ata_zbbus.c | 83 resource_int_value(device_get_name(dev), device_get_unit(dev), in ata_zbbus_attach() 89 resource_int_value(device_get_name(dev), device_get_unit(dev), in ata_zbbus_attach()
|
| /freebsd-12.1/sys/dev/etherswitch/ukswitch/ |
| H A D | ukswitch.c | 182 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in ukswitch_attach() 184 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in ukswitch_attach() 186 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in ukswitch_attach() 188 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in ukswitch_attach() 190 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in ukswitch_attach()
|
| /freebsd-12.1/sys/dev/mii/ |
| H A D | mii.c | 240 if (resource_int_value(name, unit, "phyno", &val) != 0) in miibus_hinted_child() 277 if (resource_int_value(name, unit, "id1", &val) == 0) in miibus_hinted_child() 279 if (resource_int_value(name, unit, "id2", &val) == 0) in miibus_hinted_child() 281 if (resource_int_value(name, unit, "capmask", &val) == 0) in miibus_hinted_child() 428 if (resource_int_value(device_get_name(*miibus), in mii_attach()
|
| /freebsd-12.1/sys/dev/isp/ |
| H A D | isp_pci.c | 460 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), "debug", &tval); in isp_get_generic_options() 470 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), "vports", &tval); in isp_get_generic_options() 491 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 516 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 537 if (resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 564 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 573 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 617 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 627 (void) resource_int_value(device_get_name(dev), device_get_unit(dev), in isp_get_specific_options() 1914 resource_int_value(device_get_name(dev), in isp_pci_irqsetup() [all …]
|