Home
last modified time | relevance | path

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

/linux/drivers/iio/temperature/
H A Dltc2983.c775 if (fwnode_property_read_bool(child, "adi,single-ended")) in ltc2983_thermocouple_new()
902 if (fwnode_property_read_bool(child, "adi,rsense-share")) { in ltc2983_rtd_new()
904 if (fwnode_property_read_bool(child, "adi,current-rotate")) { in ltc2983_rtd_new()
1038 if (fwnode_property_read_bool(child, "adi,single-ended")) { in ltc2983_thermistor_new()
1040 } else if (fwnode_property_read_bool(child, "adi,rsense-share")) { in ltc2983_thermistor_new()
1042 if (fwnode_property_read_bool(child, "adi,current-rotate")) in ltc2983_thermistor_new()
1173 ct->is_sub_ohm = fwnode_property_read_bool(child, "adi,copper-trace-sub-ohm"); in ltc2983_copper_trace_new()
1348 if (fwnode_property_read_bool(child, "adi,single-ended")) in ltc2983_diode_new()
1351 if (fwnode_property_read_bool(child, "adi,three-conversion-cycles")) in ltc2983_diode_new()
1354 if (fwnode_property_read_bool(child, "adi,average-on")) in ltc2983_diode_new()
[all …]
/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 Dad7292.c284 diff_channels = fwnode_property_read_bool(child, in ad7292_probe()
H A Dqcom-spmi-adc5-gen3.c511 if (fwnode_property_read_bool(fwnode, "qcom,ratiometric")) in adc5_gen3_get_fw_channel_data()
516 prop->adc_tm = fwnode_property_read_bool(fwnode, "qcom,adc-tm"); in adc5_gen3_get_fw_channel_data()
H A Dad7124.c1270 cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7124_parse_channel_config()
1279 fwnode_property_read_bool(child, "adi,buffered-positive"); in ad7124_parse_channel_config()
1281 fwnode_property_read_bool(child, "adi,buffered-negative"); in ad7124_parse_channel_config()
H A Dad4851.c996 st->bipolar_ch[reg] = fwnode_property_read_bool(child, "bipolar"); in ad4851_parse_channels_common()
1047 if (fwnode_property_read_bool(child, "bipolar")) { in ad4858_parse_channels()
H A Dad4695.c1549 !fwnode_property_read_bool(child, "adi,no-high-z"); in ad4695_parse_channel_cfg()
1550 chan_cfg->bipolar = fwnode_property_read_bool(child, "bipolar"); in ad4695_parse_channel_cfg()
H A Dqcom-spmi-adc5.c747 if (fwnode_property_read_bool(fwnode, "qcom,ratiometric")) in adc5_get_fw_channel_data()
H A Dad7173.c1859 is_current_chan = fwnode_property_read_bool(child, "adi,current-channel"); in ad7173_fw_parse_channel_config()
1909 chan_st_priv->cfg.bipolar = fwnode_property_read_bool(child, "bipolar"); in ad7173_fw_parse_channel_config()
H A Dqcom-spmi-vadc.c741 if (fwnode_property_read_bool(fwnode, "qcom,ratiometric")) in vadc_get_fw_channel_data()
H A Dpac1934.c1204 info->bi_dir[idx] = fwnode_property_read_bool(node, "bipolar"); in pac1934_fw_parse_channel_config()
H A Dxilinx-xadc-core.c1273 if (fwnode_property_read_bool(child, "xlnx,bipolar")) in xadc_parse_dt()
H A Dxilinx-ams.c1161 if (fwnode_property_read_bool(child, "xlnx,bipolar")) in ams_get_ext_chan()
/linux/drivers/dpll/zl3073x/
H A Dprop.c264 props->esync_control = fwnode_property_read_bool(props->fwnode, in zl3073x_pin_props_get()
/linux/drivers/base/test/
H A Dproperty-entry-test.c338 KUNIT_EXPECT_TRUE(test, fwnode_property_read_bool(node, "prop")); in pe_test_bool()
339 KUNIT_EXPECT_FALSE(test, fwnode_property_read_bool(node, "not-prop")); in pe_test_bool()
/linux/drivers/net/pcs/
H A Dpcs-mtk-lynxi.c138 if (fwnode_property_read_bool(fwnode, "mediatek,pnswap")) in mtk_pcs_config_polarity()
/linux/drivers/iio/dac/
H A Dltc2688.c760 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2688_channel_config()
820 if (fwnode_property_read_bool(child, "adi,overrange")) { in ltc2688_channel_config()
H A Dltc2664.c560 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2664_channel_config()
/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/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.c1114 if (fwnode_property_read_bool(fwnode, "read-only")) in idt_get_fw_data()
/linux/drivers/iio/addac/
H A Dad74413r.c1233 config->gpo_comparator = fwnode_property_read_bool(channel_node, in ad74413r_parse_channel_config()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c8316 if (fwnode_property_read_bool(fwnode, "accessory-mode-audio")) in tcpm_fw_get_caps()
8319 if (fwnode_property_read_bool(fwnode, "accessory-mode-debug")) in tcpm_fw_get_caps()
8323 port->pd_supported = !fwnode_property_read_bool(fwnode, "pd-disable"); in tcpm_fw_get_caps()
8324 port->slow_charger_loop = fwnode_property_read_bool(fwnode, "slow-charger-loop"); in tcpm_fw_get_caps()
8325 port->self_powered = fwnode_property_read_bool(fwnode, "self-powered"); in tcpm_fw_get_caps()