Home
last modified time | relevance | path

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

/linux/drivers/char/ipmi/
H A Dipmi_si_platform.c141 rv = device_property_read_u8(&pdev->dev, "addr-source", &addr_source); in platform_ipmi_probe()
155 rv = device_property_read_u8(&pdev->dev, "ipmi-type", &type); in platform_ipmi_probe()
182 rv = device_property_read_u8(&pdev->dev, "reg-size", &regsize); in platform_ipmi_probe()
187 rv = device_property_read_u8(&pdev->dev, "reg-shift", &regshift); in platform_ipmi_probe()
194 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in platform_ipmi_probe()
H A Dipmi_ssif.c2057 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in dmi_ipmi_probe()
/linux/drivers/input/touchscreen/
H A Dad7879.c512 device_property_read_u8(dev, "adi,first-conversion-delay", in ad7879_parse_dt()
514 device_property_read_u8(dev, "adi,acquisition-time", in ad7879_parse_dt()
516 device_property_read_u8(dev, "adi,median-filter-size", &ts->median); in ad7879_parse_dt()
517 device_property_read_u8(dev, "adi,averaging", &ts->averaging); in ad7879_parse_dt()
518 device_property_read_u8(dev, "adi,conversion-interval", in ad7879_parse_dt()
/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()
/linux/drivers/usb/dwc3/
H A Dcore.c1744 device_property_read_u8(dev, "snps,lpm-nyet-threshold", in dwc3_get_properties()
1748 device_property_read_u8(dev, "snps,hird-threshold", in dwc3_get_properties()
1758 device_property_read_u8(dev, "snps,rx-thr-num-pkt", in dwc3_get_properties()
1760 device_property_read_u8(dev, "snps,rx-max-burst", in dwc3_get_properties()
1762 device_property_read_u8(dev, "snps,tx-thr-num-pkt", in dwc3_get_properties()
1764 device_property_read_u8(dev, "snps,tx-max-burst", in dwc3_get_properties()
1766 device_property_read_u8(dev, "snps,rx-thr-num-pkt-prd", in dwc3_get_properties()
1768 device_property_read_u8(dev, "snps,rx-max-burst-prd", in dwc3_get_properties()
1770 device_property_read_u8(dev, "snps,tx-thr-num-pkt-prd", in dwc3_get_properties()
1772 device_property_read_u8(dev, "snps,tx-max-burst-prd", in dwc3_get_properties()
[all …]
/linux/drivers/phy/ti/
H A Dphy-tusb1210.c523 if (!device_property_read_u8(dev, "ihstx", &val)) in tusb1210_probe()
527 if (!device_property_read_u8(dev, "zhsdrv", &val)) in tusb1210_probe()
531 if (!device_property_read_u8(dev, "datapolarity", &val)) in tusb1210_probe()
/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()
/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()
/linux/drivers/regulator/
H A Drt6245-regulator.c130 ret = device_property_read_u8(dev, rt6245_props[i].name, &propval); in rt6245_init_device_properties()
/linux/drivers/usb/typec/ucsi/
H A Dpsy.c40 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope()
/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.c650 ret = device_property_read_u8(dev, "firmware-power-managed", &val); in tpm_cr50_i2c_is_firmware_power_managed()
/linux/drivers/net/phy/
H A Dadin1100.c264 ret = device_property_read_u8(dev, "phy-10base-t1l-2.4vpp", &val); in adin_get_features()
/linux/sound/soc/codecs/
H A Des8326.c1159 ret = device_property_read_u8(component->dev, "everest,jack-pol", &es8326->jack_pol); in es8326_probe()
1166 ret = device_property_read_u8(component->dev, "everest,interrupt-src", in es8326_probe()
1174 ret = device_property_read_u8(component->dev, "everest,interrupt-clk", in es8326_probe()
H A Des8375.c653 ret = device_property_read_u8(dev, "everest,mclk-src", &es8375->mclk_src); in es8375_read_device_properities()
H A Des8389.c824 ret = device_property_read_u8(component->dev, "everest,mclk-src", &es8389->mclk_src); in es8389_probe()
/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c2324 if (device_property_read_u8(dev, "apt_enable", &pmc->apt_enable)) { in mlxbf_pmc_probe()
2328 if (device_property_read_u8(dev, "llt_enable", &pmc->llt_enable)) { in mlxbf_pmc_probe()
2332 if (device_property_read_u8(dev, "mss_enable", &pmc->mss_enable)) { in mlxbf_pmc_probe()
/linux/drivers/leds/
H A Dleds-lm3532.c530 ret = device_property_read_u8(&priv->client->dev, "ti,als-input-mode", in lm3532_parse_als()
/linux/include/linux/
H A Dproperty.h239 static inline int device_property_read_u8(const struct device *dev, in device_property_read_u8() function
/linux/drivers/thunderbolt/
H A Dnhi.c1013 if (device_property_read_u8(&pdev->dev, "WAKE_SUPPORTED", &val)) in nhi_wake_supported()
1300 if (!device_property_read_u8(&pdev->dev, "IMR_VALID", &val)) in nhi_imr_valid()
/linux/drivers/bluetooth/
H A Dbtnxpuart.c519 if (device_property_read_u8(&serdev->dev, "nxp,wakein-pin", &psdata->h2c_wakeup_gpio)) { in ps_setup()
534 if (device_property_read_u8(&serdev->dev, "nxp,wakeout-pin", &psdata->c2h_wakeup_gpio)) { in ps_setup()
/linux/drivers/pci/
H A Dpci-acpi.c1425 if (device_property_read_u8(&dev->dev, "ExternalFacingPort", &val)) in pci_acpi_set_external_facing()