Home
last modified time | relevance | path

Searched refs:device_property_read_u8 (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_platform.c140 rv = device_property_read_u8(&pdev->dev, "addr-source", &addr_source); in platform_ipmi_probe()
154 rv = device_property_read_u8(&pdev->dev, "ipmi-type", &type); in platform_ipmi_probe()
177 rv = device_property_read_u8(&pdev->dev, "reg-size", &regsize); in platform_ipmi_probe()
182 rv = device_property_read_u8(&pdev->dev, "reg-shift", &regshift); in platform_ipmi_probe()
189 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in platform_ipmi_probe()
H A Dipmi_ssif.c2037 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in dmi_ipmi_probe()
/openbmc/linux/drivers/input/touchscreen/
H A Dad7879.c503 device_property_read_u8(dev, "adi,first-conversion-delay", in ad7879_parse_dt()
505 device_property_read_u8(dev, "adi,acquisition-time", in ad7879_parse_dt()
507 device_property_read_u8(dev, "adi,median-filter-size", &ts->median); in ad7879_parse_dt()
508 device_property_read_u8(dev, "adi,averaging", &ts->averaging); in ad7879_parse_dt()
509 device_property_read_u8(dev, "adi,conversion-interval", in ad7879_parse_dt()
/openbmc/linux/drivers/usb/dwc3/
H A Dcore.c1544 device_property_read_u8(dev, "snps,lpm-nyet-threshold", in dwc3_get_properties()
1548 device_property_read_u8(dev, "snps,hird-threshold", in dwc3_get_properties()
1558 device_property_read_u8(dev, "snps,rx-thr-num-pkt", in dwc3_get_properties()
1560 device_property_read_u8(dev, "snps,rx-max-burst", in dwc3_get_properties()
1562 device_property_read_u8(dev, "snps,tx-thr-num-pkt", in dwc3_get_properties()
1564 device_property_read_u8(dev, "snps,tx-max-burst", in dwc3_get_properties()
1566 device_property_read_u8(dev, "snps,rx-thr-num-pkt-prd", in dwc3_get_properties()
1568 device_property_read_u8(dev, "snps,rx-max-burst-prd", in dwc3_get_properties()
1570 device_property_read_u8(dev, "snps,tx-thr-num-pkt-prd", in dwc3_get_properties()
1572 device_property_read_u8(de in dwc3_get_properties()
[all...]
/openbmc/linux/drivers/video/backlight/
H A Drt4831-backlight.c119 ret = device_property_read_u8(dev, "richtek,bled-ovp-sel", &propval); in rt4831_parse_backlight_properties()
154 ret = device_property_read_u8(dev, "richtek,channel-use", &propval); in rt4831_parse_backlight_properties()
H A Dmt6370-backlight.c146 ret = device_property_read_u8(dev, in mt6370_init_backlight_properties()
216 ret = device_property_read_u8(dev, "mediatek,bled-channel-use", in mt6370_init_backlight_properties()
/openbmc/linux/drivers/phy/ti/
H A Dphy-tusb1210.c523 if (!device_property_read_u8(&ulpi->dev, "ihstx", &val)) in tusb1210_probe()
527 if (!device_property_read_u8(&ulpi->dev, "zhsdrv", &val)) in tusb1210_probe()
531 if (!device_property_read_u8(&ulpi->dev, "datapolarity", &val)) in tusb1210_probe()
/openbmc/linux/drivers/nfc/fdp/
H A Di2c.c224 r = device_property_read_u8(dev, FDP_DP_CLOCK_TYPE_NAME, clock_type); in fdp_nci_i2c_read_device_properties()
237 r = device_property_read_u8(dev, FDP_DP_FW_VSC_CFG_NAME, in fdp_nci_i2c_read_device_properties()
/openbmc/linux/sound/soc/codecs/
H A Des8326.c868 ret = device_property_read_u8(component->dev, "everest,mic1-src", &es8326->mic1_src); in es8326_probe()
875 ret = device_property_read_u8(component->dev, "everest,mic2-src", &es8326->mic2_src); in es8326_probe()
882 ret = device_property_read_u8(component->dev, "everest,jack-pol", &es8326->jack_pol); in es8326_probe()
889 ret = device_property_read_u8(component->dev, "everest,interrupt-src", in es8326_probe()
897 ret = device_property_read_u8(component->dev, "everest,interrupt-clk", in es8326_probe()
/openbmc/linux/drivers/iio/light/
H A Dgp2ap002.c483 ret = device_property_read_u8(dev, "sharp,proximity-far-hysteresis", in gp2ap002_probe()
492 ret = device_property_read_u8(dev, "sharp,proximity-close-hysteresis", in gp2ap002_probe()
H A Dus5182d.c771 if (device_property_read_u8(&data->client->dev, in us5182d_get_platform_data()
775 if (device_property_read_u8(&data->client->dev, in us5182d_get_platform_data()
/openbmc/linux/drivers/regulator/
H A Drt6245-regulator.c130 ret = device_property_read_u8(dev, rt6245_props[i].name, &propval); in rt6245_init_device_properties()
/openbmc/linux/drivers/net/phy/
H A Dadin1100.c208 ret = device_property_read_u8(dev, "phy-10base-t1l-2.4vpp", &val); in adin_get_features()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Dpsy.c39 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope()
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis_spi_cr50.c194 ret = device_property_read_u8(dev, "firmware-power-managed", &val); in tpm_cr50_spi_is_firmware_power_managed()
H A Dtpm_tis_i2c_cr50.c637 ret = device_property_read_u8(dev, "firmware-power-managed", &val); in tpm_cr50_i2c_is_firmware_power_managed()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-hisi-error.c267 if (device_property_read_u8(dev, "socket", &socket)) in hisi_pcie_notify_error()
/openbmc/linux/include/linux/
H A Dproperty.h197 static inline int device_property_read_u8(const struct device *dev, in device_property_read_u8() function
/openbmc/linux/drivers/leds/
H A Dleds-lm3532.c530 ret = device_property_read_u8(&priv->client->dev, "ti,als-input-mode", in lm3532_parse_als()
/openbmc/linux/drivers/thunderbolt/
H A Dnhi.c1013 if (device_property_read_u8(&pdev->dev, "WAKE_SUPPORTED", &val)) in nhi_wake_supported()
1302 if (!device_property_read_u8(&pdev->dev, "IMR_VALID", &val)) in nhi_imr_valid()
/openbmc/linux/drivers/pci/
H A Dpci-acpi.c1406 if (device_property_read_u8(&dev->dev, "ExternalFacingPort", &val)) in pci_acpi_set_external_facing()
/openbmc/linux/drivers/net/ieee802154/
H A Dat86rf230.c1534 rc = device_property_read_u8(&spi->dev, "xtal-trim", &xtal_trim); in at86rf230_probe()