Home
last modified time | relevance | path

Searched refs:device_property_read_u32 (Results 1 – 25 of 25) sorted by relevance

/linux-4.4.14/drivers/misc/eeprom/
Dat25.c311 if (device_property_read_u32(dev, "size", &val) == 0 || in at25_fw_to_chip()
312 device_property_read_u32(dev, "at25,byte-len", &val) == 0) { in at25_fw_to_chip()
319 if (device_property_read_u32(dev, "pagesize", &val) == 0 || in at25_fw_to_chip()
320 device_property_read_u32(dev, "at25,page-size", &val) == 0) { in at25_fw_to_chip()
327 if (device_property_read_u32(dev, "at25,addr-mode", &val) == 0) { in at25_fw_to_chip()
330 if (device_property_read_u32(dev, "address-width", &val)) { in at25_fw_to_chip()
/linux-4.4.14/drivers/input/touchscreen/
Dft6236.c248 if (device_property_read_u32(dev, "touchscreen-size-x", in ft6236_probe()
250 device_property_read_u32(dev, "touchscreen-size-y", in ft6236_probe()
256 device_property_read_u32(dev, "touchscreen-fuzz-x", &fuzz_x); in ft6236_probe()
257 device_property_read_u32(dev, "touchscreen-fuzz-y", &fuzz_y); in ft6236_probe()
Dof_touchscreen.c25 error = device_property_read_u32(dev, property, &val); in touchscreen_get_prop_u32()
Dedt-ft5x06.c824 error = device_property_read_u32(dev, "threshold", &val); in edt_ft5x06_ts_get_defaults()
828 error = device_property_read_u32(dev, "gain", &val); in edt_ft5x06_ts_get_defaults()
832 error = device_property_read_u32(dev, "offset", &val); in edt_ft5x06_ts_get_defaults()
/linux-4.4.14/sound/soc/codecs/
Dnau8825.c1140 device_property_read_u32(dev, "nuvoton,jkdet-polarity", in nau8825_read_device_properties()
1142 device_property_read_u32(dev, "nuvoton,micbias-voltage", in nau8825_read_device_properties()
1144 device_property_read_u32(dev, "nuvoton,vref-impedance", in nau8825_read_device_properties()
1146 device_property_read_u32(dev, "nuvoton,sar-threshold-num", in nau8825_read_device_properties()
1150 device_property_read_u32(dev, "nuvoton,sar-hysteresis", in nau8825_read_device_properties()
1152 device_property_read_u32(dev, "nuvoton,sar-voltage", in nau8825_read_device_properties()
1154 device_property_read_u32(dev, "nuvoton,sar-compare-time", in nau8825_read_device_properties()
1156 device_property_read_u32(dev, "nuvoton,sar-sampling-time", in nau8825_read_device_properties()
1158 device_property_read_u32(dev, "nuvoton,short-key-debounce", in nau8825_read_device_properties()
1160 device_property_read_u32(dev, "nuvoton,jack-insert-debounce", in nau8825_read_device_properties()
[all …]
Dts3a227e.c277 err = device_property_read_u32(dev, "ti,micbias", &micbias); in ts3a227e_parse_device_property()
Drt5645.c3439 device_property_read_u32(dev, in rt5645_parse_dt()
3441 device_property_read_u32(dev, in rt5645_parse_dt()
3443 device_property_read_u32(dev, in rt5645_parse_dt()
Drt5677.c5060 device_property_read_u32(dev, "realtek,jd1-gpio", in rt5677_read_device_properties()
5062 device_property_read_u32(dev, "realtek,jd2-gpio", in rt5677_read_device_properties()
5064 device_property_read_u32(dev, "realtek,jd3-gpio", in rt5677_read_device_properties()
Dmax98090.c2455 err = device_property_read_u32(codec->dev, "maxim,micbias", &micbias); in max98090_probe()
/linux-4.4.14/drivers/spi/
Dspi-dw-mmio.c78 device_property_read_u32(&pdev->dev, "reg-io-width", &dws->reg_io_width); in dw_spi_mmio_probe()
82 device_property_read_u32(&pdev->dev, "num-cs", &num_cs); in dw_spi_mmio_probe()
/linux-4.4.14/drivers/power/
Dbq24257_charger.c897 ret = device_property_read_u32(bq->dev, "ti,charge-current", &property); in bq24257_fw_probe()
904 ret = device_property_read_u32(bq->dev, "ti,battery-regulation-voltage", in bq24257_fw_probe()
912 ret = device_property_read_u32(bq->dev, "ti,termination-current", in bq24257_fw_probe()
921 ret = device_property_read_u32(bq->dev, "ti,current-limit", in bq24257_fw_probe()
938 ret = device_property_read_u32(bq->dev, "ti,ovp-voltage", in bq24257_fw_probe()
947 ret = device_property_read_u32(bq->dev, "ti,in-dpm-voltage", in bq24257_fw_probe()
Drt9455_charger.c1207 ret = device_property_read_u32(dev, "richtek,output-charge-current", in rt9455_discover_charger()
1214 ret = device_property_read_u32(dev, "richtek,end-of-charge-percentage", in rt9455_discover_charger()
1221 ret = device_property_read_u32(dev, in rt9455_discover_charger()
1229 ret = device_property_read_u32(dev, "richtek,boost-output-voltage", in rt9455_discover_charger()
1240 device_property_read_u32(dev, "richtek,min-input-voltage-regulation", in rt9455_discover_charger()
1242 device_property_read_u32(dev, "richtek,avg-input-current-regulation", in rt9455_discover_charger()
Dbq2415x_charger.c1601 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
1606 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
1611 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
1616 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
1621 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
1626 ret = device_property_read_u32(bq->dev, in bq2415x_probe()
Dbq25890_charger.c764 ret = device_property_read_u32(bq->dev, props[i].name, in bq25890_fw_read_u32_props()
/linux-4.4.14/drivers/pinctrl/qcom/
Dpinctrl-qdf2xxx.c44 ret = device_property_read_u32(&pdev->dev, "num-gpios", &num_gpios); in qdf2xxx_pinctrl_probe()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dw.c383 err = device_property_read_u32(p->dev, "reg-shift", &val); in dw8250_probe()
387 err = device_property_read_u32(p->dev, "reg-io-width", &val); in dw8250_probe()
419 device_property_read_u32(p->dev, "clock-frequency", &p->uartclk); in dw8250_probe()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c220 ret = device_property_read_u32(dev, XGBE_ACPI_DMA_FREQ, &property); in xgbe_acpi_support()
229 ret = device_property_read_u32(dev, XGBE_ACPI_PTP_FREQ, &property); in xgbe_acpi_support()
496 ret = device_property_read_u32(phy_dev, XGBE_SPEEDSET_PROPERTY, in xgbe_probe()
/linux-4.4.14/drivers/extcon/
Dextcon-arizona.c1209 device_property_read_u32(arizona->dev, "wlf,hpdet-channel", &val); in arizona_extcon_device_get_pdata()
1221 device_property_read_u32(arizona->dev, "wlf,micd-detect-debounce", in arizona_extcon_device_get_pdata()
1224 device_property_read_u32(arizona->dev, "wlf,micd-bias-start-time", in arizona_extcon_device_get_pdata()
1227 device_property_read_u32(arizona->dev, "wlf,micd-rate", in arizona_extcon_device_get_pdata()
1230 device_property_read_u32(arizona->dev, "wlf,micd-dbtime", in arizona_extcon_device_get_pdata()
1233 device_property_read_u32(arizona->dev, "wlf,micd-timeout", in arizona_extcon_device_get_pdata()
/linux-4.4.14/include/linux/
Dproperty.h102 static inline int device_property_read_u32(struct device *dev, in device_property_read_u32() function
/linux-4.4.14/drivers/nfc/fdp/
Di2c.c247 r = device_property_read_u32(dev, FDP_DP_CLOCK_FREQ_NAME, clock_freq); in fdp_nci_i2c_read_device_properties()
/linux-4.4.14/drivers/iio/light/
Dus5182d.c386 if (device_property_read_u32(&data->client->dev, "upisemi,glass-coef", in us5182d_get_platform_data()
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c165 device_property_read_u32(dev, "poll-interval", &pdata->poll_interval); in gpio_keys_polled_get_devtree_pdata()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c809 ret = device_property_read_u32(dev, "phy-channel", &phy_id); in xgene_mdiobus_register()
811 ret = device_property_read_u32(dev, "phy-addr", &phy_id); in xgene_mdiobus_register()
/linux-4.4.14/drivers/usb/dwc3/
Dcore.c927 device_property_read_u32(dev, "snps,quirk-frame-length-adjustment", in dwc3_probe()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmsc911x.c2377 err = device_property_read_u32(dev, "reg-io-width", &width); in smsc911x_probe_config()
2385 device_property_read_u32(dev, "reg-shift", &config->shift); in smsc911x_probe_config()