fwnode_property_read_bool
EXPORT_SYMBOL_GPL(fwnode_property_read_bool);
return fwnode_property_read_bool(dev_fwnode(dev), propname);
if (fwnode_property_read_bool(fwnode, "big-endian"))
else if (fwnode_property_read_bool(fwnode, "little-endian"))
else if (fwnode_property_read_bool(fwnode, "native-endian"))
KUNIT_EXPECT_TRUE(test, fwnode_property_read_bool(node, "prop"));
KUNIT_EXPECT_FALSE(test, fwnode_property_read_bool(node, "not-prop"));
if (fwnode_property_read_bool(fwnode, "intel,dma-byte-en"))
if (fwnode_property_read_bool(fwnode, "intel,dma-dburst-wr"))
if (fwnode_property_read_bool(fwnode, "intel,dma-drb"))
props->esync_control = fwnode_property_read_bool(props->fwnode,
ret = fwnode_property_read_bool(child,
prop = fwnode_property_read_bool(fwnode, "adi,comp-int");
prop = fwnode_property_read_bool(fwnode, "adi,timeout-enable");
drvdata->use_cp14 = fwnode_property_read_bool(dev->fwnode, "arm,cp14");
setup_info->ref_bufp = fwnode_property_read_bool(child, "adi,buffered-positive");
setup_info->ref_bufm = fwnode_property_read_bool(child, "adi,buffered-negative");
ac_excited = fwnode_property_read_bool(child, "adi,excitation-ac");
bipolar = fwnode_property_read_bool(child, "bipolar");
!fwnode_property_read_bool(child, "adi,no-high-z");
chan_cfg->bipolar = fwnode_property_read_bool(child, "bipolar");
if (fwnode_property_read_bool(child, "bipolar")) {
st->bipolar_ch[reg] = fwnode_property_read_bool(child, "bipolar");
cfg->bipolar = fwnode_property_read_bool(child, "bipolar");
fwnode_property_read_bool(child, "adi,buffered-positive");
fwnode_property_read_bool(child, "adi,buffered-negative");
is_current_chan = fwnode_property_read_bool(child, "adi,current-channel");
chan_st_priv->cfg.bipolar = fwnode_property_read_bool(child, "bipolar");
diff_channels = fwnode_property_read_bool(child,
*bipolar = fwnode_property_read_bool(child, "bipolar");
cfg->bipolar = fwnode_property_read_bool(child, "bipolar");
cfg->buffered_vrefp = fwnode_property_read_bool(child, "adi,buffered-vrefp");
cfg->buffered_vrefn = fwnode_property_read_bool(child, "adi,buffered-vrefn");
info->bi_dir[idx] = fwnode_property_read_bool(node, "bipolar");
if (fwnode_property_read_bool(fwnode, "qcom,ratiometric"))
prop->adc_tm = fwnode_property_read_bool(fwnode, "qcom,adc-tm");
if (fwnode_property_read_bool(fwnode, "qcom,ratiometric"))
if (fwnode_property_read_bool(fwnode, "qcom,ratiometric"))
if (fwnode_property_read_bool(child, "xlnx,bipolar"))
if (fwnode_property_read_bool(child, "xlnx,bipolar"))
config->gpo_comparator = fwnode_property_read_bool(channel_node,
fwnode_property_read_bool(pp, "adi,ext-current-sense-resistor");
fwnode_property_read_bool(pp, "adi,enable-voltage-overrange");
st->external_res = fwnode_property_read_bool(st->spi->dev.fwnode,
if (fwnode_property_read_bool(child, "adi,toggle-mode")) {
if (fwnode_property_read_bool(child, "adi,toggle-mode")) {
if (fwnode_property_read_bool(child, "adi,overrange")) {
open_drain = fwnode_property_read_bool(fwnode, "drive-open-drain");
open_drain = fwnode_property_read_bool(fwnode, "drive-open-drain");
fwnode_property_read_bool(dev_fwnode(dev), "int-open-drain");
if (fwnode_property_read_bool(child, "adi,single-ended")) {
} else if (fwnode_property_read_bool(child, "adi,rsense-share")) {
if (fwnode_property_read_bool(child, "adi,current-rotate"))
ct->is_sub_ohm = fwnode_property_read_bool(child, "adi,copper-trace-sub-ohm");
if (fwnode_property_read_bool(child, "adi,single-ended"))
if (fwnode_property_read_bool(child, "adi,three-conversion-cycles"))
if (fwnode_property_read_bool(child, "adi,average-on"))
if (fwnode_property_read_bool(child, "adi,single-ended"))
if (fwnode_property_read_bool(child, "adi,single-ended"))
if (fwnode_property_read_bool(child, "adi,single-ended"))
if (fwnode_property_read_bool(child, "adi,rsense-share")) {
if (fwnode_property_read_bool(child, "adi,current-rotate")) {
fwnode_property_read_bool(child, "wakeup-source") ||
fwnode_property_read_bool(child, "gpio-key,wakeup");
fwnode_property_read_bool(child, "linux,can-disable");
fwnode_property_read_bool(child, "wakeup-source") ||
fwnode_property_read_bool(child, "gpio-key,wakeup");
desc->hw_trig = fwnode_property_read_bool(fwnode_child,
led.active_low = fwnode_property_read_bool(fwnode,
pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low");
priv->strobe.manual = fwnode_property_read_bool(links_fwnode, "ti,manual-strobe");
if (fwnode_property_read_bool(fwnode, "read-only"))
if (fwnode_property_read_bool(port_fwnode, "marvell,loopback"))
if (fwnode_property_read_bool(child, "broken-turn-around"))
if (fwnode_property_read_bool(fwnode, "mediatek,pnswap"))
if (fwnode_property_read_bool(fixed_node, "full-duplex"))
if (fwnode_property_read_bool(fixed_node, "pause"))
if (fwnode_property_read_bool(fixed_node, "asym-pause"))
if (!fwnode_property_read_bool(gctrl->fwnode, "interrupt-controller")) {
if (fwnode_property_read_bool(fwnode, "accessory-mode-audio"))
if (fwnode_property_read_bool(fwnode, "accessory-mode-debug"))
port->pd_supported = !fwnode_property_read_bool(fwnode, "pd-disable");
port->slow_charger_loop = fwnode_property_read_bool(fwnode, "slow-charger-loop");
port->self_powered = fwnode_property_read_bool(fwnode, "self-powered");
linear = fwnode_property_read_bool(node,
bool fwnode_property_read_bool(const struct fwnode_handle *fwnode,