Home
last modified time | relevance | path

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

12

/linux/drivers/iio/temperature/
H A Dltc2983.c667 if (fwnode_property_read_bool(child, "adi,single-ended")) in ltc2983_thermocouple_new()
784 if (fwnode_property_read_bool(child, "adi,rsense-share")) { in ltc2983_rtd_new()
786 if (fwnode_property_read_bool(child, "adi,current-rotate")) { in ltc2983_rtd_new()
911 if (fwnode_property_read_bool(child, "adi,single-ended")) { in ltc2983_thermistor_new()
913 } else if (fwnode_property_read_bool(child, "adi,rsense-share")) { in ltc2983_thermistor_new()
915 if (fwnode_property_read_bool(child, "adi,current-rotate")) in ltc2983_thermistor_new()
1027 if (fwnode_property_read_bool(child, "adi,single-ended")) in ltc2983_diode_new()
1030 if (fwnode_property_read_bool(child, "adi,three-conversion-cycles")) in ltc2983_diode_new()
1033 if (fwnode_property_read_bool(child, "adi,average-on")) in ltc2983_diode_new()
1124 if (fwnode_property_read_bool(child, "adi,single-ended")) in ltc2983_adc_new()
[all …]
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c186 fwnode_property_read_bool(child, "wakeup-source") || in gpio_keys_polled_get_devtree_pdata()
188 fwnode_property_read_bool(child, "gpio-key,wakeup"); in gpio_keys_polled_get_devtree_pdata()
/linux/drivers/base/
H A Dproperty.c90 return fwnode_property_read_bool(dev_fwnode(dev), propname); in device_property_read_bool()
103 bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() function
117 EXPORT_SYMBOL_GPL(fwnode_property_read_bool);
/linux/drivers/iio/adc/
H A Dmax11410.c771 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in max11410_parse_channels()
772 cfg->buffered_vrefp = fwnode_property_read_bool(child, "adi,buffered-vrefp"); in max11410_parse_channels()
773 cfg->buffered_vrefn = fwnode_property_read_bool(child, "adi,buffered-vrefn"); in max11410_parse_channels()
H A Dad7292.c285 diff_channels = fwnode_property_read_bool(child, in ad7292_probe()
H A Dqcom-spmi-adc5-gen3.c536 if (fwnode_property_read_bool(fwnode, "qcom,ratiometric")) in adc5_gen3_get_fw_channel_data()
541 prop->adc_tm = fwnode_property_read_bool(fwnode, "qcom,adc-tm"); in adc5_gen3_get_fw_channel_data()
H A Dad7124.c1271 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7124_parse_channel_config()
1280 fwnode_property_read_bool(child, "adi,buffered-positive"); in ad7124_parse_channel_config()
1282 fwnode_property_read_bool(child, "adi,buffered-negative"); in ad7124_parse_channel_config()
H A Dad4851.c997 st->bipolar_ch[reg] = fwnode_property_read_bool(child, "bipolar"); in ad4851_parse_channels_common()
1048 if (fwnode_property_read_bool(child, "bipolar")) { in ad4858_parse_channels()
H A Dad4695.c1556 !fwnode_property_read_bool(child, "adi,no-high-z"); in ad4695_parse_channel_cfg()
1557 chan_cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad4695_parse_channel_cfg()
H A Dad7173.c1860 is_current_chan = fwnode_property_read_bool(child, "adi,current-channel"); in ad7173_fw_parse_channel_config()
1910 chan_st_priv->cfg.bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7173_fw_parse_channel_config()
/linux/drivers/leds/rgb/
H A Dleds-pwm-multicolor.c89 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()
/linux/drivers/base/test/
H A Dproperty-entry-test.c336 KUNIT_EXPECT_TRUE(test, fwnode_property_read_bool(node, "prop")); in pe_test_bool()
337 KUNIT_EXPECT_FALSE(test, fwnode_property_read_bool(node, "not-prop")); in pe_test_bool()
/linux/drivers/dpll/zl3073x/
H A Dprop.c264 props->esync_control = fwnode_property_read_bool(props->fwnode, in zl3073x_pin_props_get()
/linux/drivers/iio/dac/
H A Dad5755.c760 fwnode_property_read_bool(pp, "adi,ext-current-sense-resistor"); in ad5755_parse_fw()
763 fwnode_property_read_bool(pp, "adi,enable-voltage-overrange"); in ad5755_parse_fw()
H A Dltc2688.c761 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2688_channel_config()
821 if (fwnode_property_read_bool(child, "adi,overrange")) { in ltc2688_channel_config()
H A Dad5770r.c570 st->external_res = fwnode_property_read_bool(st->spi->dev.fwnode, in ad5770r_init()
H A Dltc2664.c561 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2664_channel_config()
/linux/drivers/net/pcs/
H A Dpcs-mtk-lynxi.c132 if (fwnode_property_read_bool(fwnode, "mediatek,pnswap")) in mtk_pcs_config_polarity()
/linux/drivers/hwmon/
H A Dltc2991.c332 ret = fwnode_property_read_bool(child, in ltc2991_init()
/linux/drivers/dma/lgm/
H A Dlgm-dma.c923 if (fwnode_property_read_bool(fwnode, "intel,dma-byte-en")) in ldma_parse_dt()
926 if (fwnode_property_read_bool(fwnode, "intel,dma-dburst-wr")) in ldma_parse_dt()
929 if (fwnode_property_read_bool(fwnode, "intel,dma-drb")) in ldma_parse_dt()
/linux/drivers/video/backlight/
H A Dlm3630a_bl.c428 linear = fwnode_property_read_bool(node, in lm3630a_parse_bank()
/linux/include/linux/
H A Dproperty.h59 bool fwnode_property_read_bool(const struct fwnode_handle *fwnode,
/linux/drivers/base/regmap/
H A Dregmap.c653 if (fwnode_property_read_bool(fwnode, "big-endian")) in regmap_get_val_endian()
655 else if (fwnode_property_read_bool(fwnode, "little-endian")) in regmap_get_val_endian()
657 else if (fwnode_property_read_bool(fwnode, "native-endian")) in regmap_get_val_endian()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c1115 if (fwnode_property_read_bool(fwnode, "read-only")) in idt_get_fw_data()
/linux/drivers/pinctrl/
H A Dpinctrl-equilibrium.c196 if (!fwnode_property_read_bool(gctrl->fwnode, "interrupt-controller")) { in gpiochip_setup()

12