Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/ipmi/
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()
Dipmi_ssif.c2037 rv = device_property_read_u8(&pdev->dev, "slave-addr", &slave_addr); in dmi_ipmi_probe()
/linux-6.6.21/drivers/input/touchscreen/
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()
/linux-6.6.21/drivers/usb/dwc3/
Dcore.c1505 device_property_read_u8(dev, "snps,lpm-nyet-threshold", in dwc3_get_properties()
1509 device_property_read_u8(dev, "snps,hird-threshold", in dwc3_get_properties()
1519 device_property_read_u8(dev, "snps,rx-thr-num-pkt", in dwc3_get_properties()
1521 device_property_read_u8(dev, "snps,rx-max-burst", in dwc3_get_properties()
1523 device_property_read_u8(dev, "snps,tx-thr-num-pkt", in dwc3_get_properties()
1525 device_property_read_u8(dev, "snps,tx-max-burst", in dwc3_get_properties()
1527 device_property_read_u8(dev, "snps,rx-thr-num-pkt-prd", in dwc3_get_properties()
1529 device_property_read_u8(dev, "snps,rx-max-burst-prd", in dwc3_get_properties()
1531 device_property_read_u8(dev, "snps,tx-thr-num-pkt-prd", in dwc3_get_properties()
1533 device_property_read_u8(dev, "snps,tx-max-burst-prd", in dwc3_get_properties()
[all …]
/linux-6.6.21/drivers/video/backlight/
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()
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-6.6.21/drivers/phy/ti/
Dphy-tusb1210.c522 if (!device_property_read_u8(&ulpi->dev, "ihstx", &val)) in tusb1210_probe()
526 if (!device_property_read_u8(&ulpi->dev, "zhsdrv", &val)) in tusb1210_probe()
530 if (!device_property_read_u8(&ulpi->dev, "datapolarity", &val)) in tusb1210_probe()
/linux-6.6.21/drivers/nfc/fdp/
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-6.6.21/sound/soc/codecs/
Des8326.c866 ret = device_property_read_u8(component->dev, "everest,mic1-src", &es8326->mic1_src); in es8326_probe()
873 ret = device_property_read_u8(component->dev, "everest,mic2-src", &es8326->mic2_src); in es8326_probe()
880 ret = device_property_read_u8(component->dev, "everest,jack-pol", &es8326->jack_pol); in es8326_probe()
887 ret = device_property_read_u8(component->dev, "everest,interrupt-src", in es8326_probe()
895 ret = device_property_read_u8(component->dev, "everest,interrupt-clk", in es8326_probe()
/linux-6.6.21/drivers/iio/light/
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()
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-6.6.21/drivers/net/phy/
Dadin1100.c208 ret = device_property_read_u8(dev, "phy-10base-t1l-2.4vpp", &val); in adin_get_features()
/linux-6.6.21/drivers/regulator/
Drt6245-regulator.c130 ret = device_property_read_u8(dev, rt6245_props[i].name, &propval); in rt6245_init_device_properties()
/linux-6.6.21/drivers/usb/typec/ucsi/
Dpsy.c39 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope()
/linux-6.6.21/drivers/char/tpm/
Dtpm_tis_spi_cr50.c194 ret = device_property_read_u8(dev, "firmware-power-managed", &val); in tpm_cr50_spi_is_firmware_power_managed()
Dtpm_tis_i2c_cr50.c637 ret = device_property_read_u8(dev, "firmware-power-managed", &val); in tpm_cr50_i2c_is_firmware_power_managed()
/linux-6.6.21/drivers/pci/controller/
Dpcie-hisi-error.c267 if (device_property_read_u8(dev, "socket", &socket)) in hisi_pcie_notify_error()
/linux-6.6.21/include/linux/
Dproperty.h163 static inline int device_property_read_u8(const struct device *dev, in device_property_read_u8() function
/linux-6.6.21/drivers/leds/
Dleds-lm3532.c530 ret = device_property_read_u8(&priv->client->dev, "ti,als-input-mode", in lm3532_parse_als()
/linux-6.6.21/drivers/thunderbolt/
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-6.6.21/drivers/pci/
Dpci-acpi.c1406 if (device_property_read_u8(&dev->dev, "ExternalFacingPort", &val)) in pci_acpi_set_external_facing()
/linux-6.6.21/drivers/net/ieee802154/
Dat86rf230.c1534 rc = device_property_read_u8(&spi->dev, "xtal-trim", &xtal_trim); in at86rf230_probe()