Home
last modified time | relevance | path

Searched refs:device_get_property (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/sff/
H A Dsfp_fdt.c66 s = device_get_property(dev, "i2c-bus", &node, sizeof(node), in sfp_fdt_probe()
88 s = device_get_property(dev, "i2c-bus", &sc->i2c_bus, in sfp_fdt_attach()
97 (void)device_get_property(dev, "mod-def0-gpios", &sc->mod_def, in sfp_fdt_attach()
99 (void)device_get_property(dev, "los-gpios", &sc->los, sizeof(sc->los), in sfp_fdt_attach()
101 (void)device_get_property(dev, "tx-fault-gpios", &sc->tx_fault, in sfp_fdt_attach()
103 (void)device_get_property(dev, "tx-disable-gpios", &sc->tx_disable, in sfp_fdt_attach()
105 (void)device_get_property(dev, "rate-select0-gpios", &sc->rx_rate, in sfp_fdt_attach()
107 (void)device_get_property(dev, "rate-select1-gpios", &sc->tx_rate, in sfp_fdt_attach()
109 (void)device_get_property(dev, "maximum-power-milliwatt", &sc->max_power, in sfp_fdt_attach()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_fdt.c105 s = device_get_property(dev, "reg", &reg, sizeof(reg), in dpaa2_mac_dev_probe()
127 s = device_get_property(dev, "reg", &sc->reg, sizeof(sc->reg), in dpaa2_mac_fdt_attach()
134 s = device_get_property(dev, "managed", sc->managed, in dpaa2_mac_fdt_attach()
136 s = device_get_property(dev, "phy-connection-type", sc->phy_conn_type, in dpaa2_mac_fdt_attach()
138 s = device_get_property(dev, "pcs-handle", &sc->pcs_handle, in dpaa2_mac_fdt_attach()
142 s = device_get_property(dev, "sfp", &sc->sfp, sizeof(sc->sfp), in dpaa2_mac_fdt_attach()
144 s = device_get_property(dev, "phy-handle", &sc->phy_handle, in dpaa2_mac_fdt_attach()
H A Ddpaa2_mc_acpi.c74 s = device_get_property(dev, "reg", &reg, sizeof(reg), in dpaa2_mac_dev_probe()
101 s = device_get_property(dev, "reg", &sc->reg, sizeof(sc->reg), in dpaa2_mac_dev_attach()
108 s = device_get_property(dev, "managed", sc->managed, in dpaa2_mac_dev_attach()
110 s = device_get_property(dev, "phy-connection-type", sc->phy_conn_type, in dpaa2_mac_dev_attach()
112 s = device_get_property(dev, "phy-mode", sc->phy_mode, in dpaa2_mac_dev_attach()
114 s = device_get_property(dev, "phy-handle", &sc->phy_channel, in dpaa2_mac_dev_attach()
H A Dmemac_mdio_acpi.c116 s = device_get_property(dev, "phy-channel", in memacphy_acpi_attach()
122 s = device_get_property(dev, "compatible", in memacphy_acpi_attach()
H A Dmemac_mdio_fdt.c114 s = device_get_property(dev, "reg", &sc->reg, sizeof(sc->reg), in memacphy_fdt_attach()
/freebsd/sys/dev/mmc/
H A Dmmc_helpers.c92 if (device_get_property(dev, "bus-width", &bus_width, in mmc_parse()
106 if (device_get_property(dev, "max-frequency", &max_freq, in mmc_parse()
/freebsd/sys/dev/uart/
H A Duart_bus_acpi.c99 size = device_get_property(dev, "clock-frequency", &rclk, in uart_acpi_probe()
/freebsd/sys/dev/sdhci/
H A Dsdhci_xenon.c477 if (device_get_property(dev, "quirks", in sdhci_xenon_parse_prop()
481 if (device_get_property(dev, "marvell,xenon-phy-znr", in sdhci_xenon_parse_prop()
485 if (device_get_property(dev, "marvell,xenon-phy-zpr", in sdhci_xenon_parse_prop()
/freebsd/sys/dev/mii/
H A Ddp83867phy.c145 size = device_get_property(dev, "max-speed", &maxspeed, in dp_attach()
/freebsd/sys/dev/usb/controller/dwc3/
H A Ddwc3.c371 s = device_get_property(dev, "dr_mode", dr_mode, sizeof(dr_mode), in snps_dwc3_probe_common()
/freebsd/sys/sys/
H A Dbus.h711 ssize_t device_get_property(device_t dev, const char *prop, void *val,
/freebsd/sys/kern/
H A Dsubr_bus.c2236 device_get_property(device_t dev, const char *prop, void *val, size_t sz, in device_get_property() function
2264 return (device_get_property(dev, prop, NULL, 0, DEVICE_PROP_ANY) >= 0); in device_has_property()
/freebsd/share/man/man9/
H A DMakefile113 device_get_property.9 \