Home
last modified time | relevance | path

Searched refs:fwnode_property_present (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/leds/
Dled-core.c377 if (fwnode_property_present(fwnode, "label")) { in led_parse_fwnode_props()
384 if (fwnode_property_present(fwnode, "color")) { in led_parse_fwnode_props()
395 if (!fwnode_property_present(fwnode, "function")) in led_parse_fwnode_props()
405 if (!fwnode_property_present(fwnode, "function-enumerator")) in led_parse_fwnode_props()
Dleds-gpio.c177 if (fwnode_property_present(child, "retain-state-suspended")) in gpio_leds_create()
179 if (fwnode_property_present(child, "retain-state-shutdown")) in gpio_leds_create()
181 if (fwnode_property_present(child, "panic-indicator")) in gpio_leds_create()
Dleds-lm3532.c604 if (fwnode_property_present(child, "led-max-microamp") && in lm3532_parse_node()
/Linux-v5.4/drivers/usb/roles/
Dclass.c94 if (con->id && !fwnode_property_present(con->fwnode, con->id)) in usb_role_switch_match()
111 if (!parent || !fwnode_property_present(parent, "usb-role-switch")) in usb_role_switch_is_parent()
/Linux-v5.4/drivers/usb/typec/
Dmux.c48 if (con->id && !fwnode_property_present(con->fwnode, con->id)) in typec_switch_match()
211 match = fwnode_property_present(con->fwnode, "accessory"); in typec_mux_match()
/Linux-v5.4/drivers/base/
Dproperty.c37 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present()
46 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() function
58 EXPORT_SYMBOL_GPL(fwnode_property_present);
/Linux-v5.4/include/linux/
Dproperty.h53 bool fwnode_property_present(const struct fwnode_handle *fwnode,
171 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
/Linux-v5.4/drivers/gpio/
Dgpiolib-acpi.c1081 if (fwnode_property_present(fwnode, "input")) in acpi_gpiochip_parse_own_gpio()
1083 else if (fwnode_property_present(fwnode, "output-low")) in acpi_gpiochip_parse_own_gpio()
1085 else if (fwnode_property_present(fwnode, "output-high")) in acpi_gpiochip_parse_own_gpio()
1107 if (!fwnode_property_present(fwnode, "gpio-hog")) in acpi_gpiochip_scan_gpios()
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-fwnode.c218 if (fwnode_property_present(fwnode, "clock-noncontinuous")) { in v4l2_fwnode_endpoint_parse_csi2_bus()
324 if (fwnode_property_present(fwnode, "slave-mode")) { in v4l2_fwnode_endpoint_parse_parallel_bus()
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-tmc.c372 return fwnode_property_present(dev->fwnode, "arm,scatter-gather"); in tmc_etr_can_use_sg()
/Linux-v5.4/drivers/acpi/
Dproperty.c1127 return (fwnode_property_present(fwnode, "reg") && in is_acpi_graph_node()
1129 fwnode_property_present(fwnode, str); in is_acpi_graph_node()
Dscan.c1557 (fwnode_property_present(&device->fwnode, "spiSclkPeriod") || in acpi_device_enumeration_by_parent()
1558 fwnode_property_present(&device->fwnode, "i2cAddress") || in acpi_device_enumeration_by_parent()
1559 fwnode_property_present(&device->fwnode, "baud"))) in acpi_device_enumeration_by_parent()
/Linux-v5.4/drivers/media/i2c/
Dmax2175.c1295 if (fwnode_property_present(fwnode, "maxim,am-hiz-filter")) in max2175_probe()
Dov7670.c1813 if (fwnode_property_present(fwnode, "ov7670,pclk-hb-disable")) in ov7670_parse_dt()
/Linux-v5.4/drivers/net/phy/
Dphylink.c260 if (dn || fwnode_property_present(fwnode, "fixed-link")) in phylink_parse_mode()