Home
last modified time | relevance | path

Searched refs:device_property_read_u8 (Results 1 – 15 of 15) 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()
/linux/drivers/usb/dwc3/
H A Dcore.c1777 device_property_read_u8(dev, "snps,lpm-nyet-threshold", in dwc3_get_properties()
1781 device_property_read_u8(dev, "snps,hird-threshold", in dwc3_get_properties()
1791 device_property_read_u8(dev, "snps,rx-thr-num-pkt", in dwc3_get_properties()
1793 device_property_read_u8(dev, "snps,rx-max-burst", in dwc3_get_properties()
1795 device_property_read_u8(dev, "snps,tx-thr-num-pkt", in dwc3_get_properties()
1797 device_property_read_u8(dev, "snps,tx-max-burst", in dwc3_get_properties()
1799 device_property_read_u8(dev, "snps,rx-thr-num-pkt-prd", in dwc3_get_properties()
1801 device_property_read_u8(dev, "snps,rx-max-burst-prd", in dwc3_get_properties()
1803 device_property_read_u8(dev, "snps,tx-thr-num-pkt-prd", in dwc3_get_properties()
1805 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/video/backlight/
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/regulator/
H A Drt6245-regulator.c130 ret = device_property_read_u8(dev, rt6245_props[i].name, &propval); in rt6245_init_device_properties()
/linux/sound/soc/codecs/
H A Des8326.c1171 ret = device_property_read_u8(component->dev, "everest,jack-pol", &es8326->jack_pol); in es8326_probe()
1178 ret = device_property_read_u8(component->dev, "everest,interrupt-src", in es8326_probe()
1186 ret = device_property_read_u8(component->dev, "everest,interrupt-clk", in es8326_enable_jack_detect()
H A Des8375.c651 ret = device_property_read_u8(dev, "everest,mclk-src", &es8375->mclk_src); in es8375_read_device_properities()
H A Des8389.c881 ret = device_property_read_u8(component->dev, "everest,mclk-src", &es8389->mclk_src);
/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c2325 if (device_property_read_u8(dev, "apt_enable", &pmc->apt_enable)) { in mlxbf_pmc_probe()
2329 if (device_property_read_u8(dev, "llt_enable", &pmc->llt_enable)) { in mlxbf_pmc_probe()
2333 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/drivers/thunderbolt/
H A Dnhi.c1023 if (!device_property_read_u8(&pdev->dev, "WAKE_SUPPORTED", &val)) in nhi_wake_supported()
1310 if (!device_property_read_u8(&pdev->dev, "IMR_VALID", &val)) in nhi_imr_valid()
/linux/include/linux/
H A Dproperty.h249 static inline int device_property_read_u8(const struct device *dev, in device_property_read_u8() function
/linux/drivers/pci/
H A Dpci-acpi.c1422 if (device_property_read_u8(&dev->dev, "ExternalFacingPort", &val)) in pci_acpi_set_external_facing()
/linux/drivers/net/ieee802154/
H A Dat86rf230.c1533 rc = device_property_read_u8(&spi->dev, "xtal-trim", &xtal_trim); in at86rf230_probe()