Home
last modified time | relevance | path

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

12

/drivers/base/
A Dproperty.c269 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
485 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() function
492 EXPORT_SYMBOL_GPL(fwnode_property_read_string);
563 ret = fwnode_property_read_string(fwnode, propname, &string); in fwnode_property_match_property_string()
1003 err = fwnode_property_read_string(fwnode, "phy-mode", &pm); in fwnode_get_phy_mode()
1005 err = fwnode_property_read_string(fwnode, in fwnode_get_phy_mode()
/drivers/usb/typec/
A Dhd3ss3220.c264 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in hd3ss3220_configure_power_opmode()
282 ret = fwnode_property_read_string(connector, "power-role", &cap_str); in hd3ss3220_configure_port_type()
304 ret = fwnode_property_read_string(connector, "try-power-role", &cap_str); in hd3ss3220_configure_source_pref()
A Dstusb160x.c545 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in stusb160x_get_fw_caps()
565 ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); in stusb160x_get_fw_caps()
A Dwusb3801.c355 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in wusb3801_probe()
A Danx7411.c1169 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in anx7411_typec_port_probe()
1180 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in anx7411_typec_port_probe()
1191 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in anx7411_typec_port_probe()
/drivers/base/test/
A Dproperty-entry-test.c274 error = fwnode_property_read_string(node, "str", &str); in pe_test_strings()
290 error = fwnode_property_read_string(node, "no-str", &str); in pe_test_strings()
296 error = fwnode_property_read_string(node, "empty", &str); in pe_test_strings()
317 error = fwnode_property_read_string(node, "strs", &str); in pe_test_strings()
/drivers/dpll/zl3073x/
A Dprop.c225 fwnode_property_read_string(props->fwnode, "label", in zl3073x_pin_props_get()
231 if (!fwnode_property_read_string(props->fwnode, "connection-type", in zl3073x_pin_props_get()
/drivers/leds/
A Dled-core.c486 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props()
506 ret = fwnode_property_read_string(fwnode, "function", &props->function); in led_parse_fwnode_props()
607 if (!fwnode_property_read_string(fwnode, "default-state", &state)) { in led_init_default_state_get()
A Dleds-lt3593.c87 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
A Dleds-max5970.c84 if (fwnode_property_read_string(child, "label", &ddata->cdev.name)) in max5970_led_probe()
A Dleds-is31fl319x.c374 if (fwnode_property_read_string(child, "label", &cdev->name)) in is31fl319x_parse_child_fw()
377 ret = fwnode_property_read_string(child, "linux,default-trigger", &cdev->default_trigger); in is31fl319x_parse_child_fw()
A Dleds-pwm.c163 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode()
A Dleds-tca6507.c679 if (fwnode_property_read_string(child, "label", &led.name)) in tca6507_led_dt_init()
682 if (fwnode_property_read_string(child, "linux,default-trigger", in tca6507_led_dt_init()
A Dled-class.c490 fwnode_property_read_string(init_data->fwnode, in led_classdev_register_ext()
/drivers/pinctrl/intel/
A Dpinctrl-intel-platform.c70 ret = fwnode_property_read_string(child, "intc-gpio-group-name", &name); in intel_platform_pinctrl_prepare_group()
/drivers/leds/blink/
A Dleds-lgm-sso.c647 fwnode_property_read_string(fwnode_child, in __sso_led_dt_parse()
698 if (!fwnode_property_read_string(fwnode_child, "default-state", &tmp)) { in __sso_led_dt_parse()
/drivers/media/v4l2-core/
A Dv4l2-fwnode.c712 err = fwnode_property_read_string(fwnode, "compatible", &type_name); in v4l2_fwnode_get_connector_type()
750 err = fwnode_property_read_string(connector_node, "label", &label); in v4l2_fwnode_connector_parse()
/drivers/usb/typec/mux/
A Dintel_pmc_mux.c590 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port()
594 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port()
/drivers/hwtracing/coresight/
A Dcoresight-cti-platform.c389 fwnode_property_read_string(fwnode, CTI_DT_CONN_NAME, &assoc_name); in cti_plat_create_connection()
/drivers/input/keyboard/
A Dgpio_keys_polled.c175 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
/drivers/iio/adc/
A Dstm32-dfsdm-adc.c697 ret = fwnode_property_read_string(node, "label", &ch->datasheet_name); in stm32_dfsdm_generic_channel_parse_of()
708 ret = fwnode_property_read_string(node, "st,adc-channel-type", &of_str); in stm32_dfsdm_generic_channel_parse_of()
718 ret = fwnode_property_read_string(node, "st,adc-channel-clk-src", &of_str); in stm32_dfsdm_generic_channel_parse_of()
/drivers/platform/chrome/
A Dcros_ec_typec.c156 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
167 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props()
179 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
/drivers/hwmon/
A Dgsc-hwmon.c271 if (fwnode_property_read_string(child, "label", &ch->name)) { in gsc_hwmon_get_devtree_pdata()
/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.c724 rc = fwnode_property_read_string(mac_cb->fw_port, in hns_mac_register_phydev()
959 if (!fwnode_property_read_string(mac_cb->fw_port, "media-type", in hns_mac_get_info()
/drivers/extcon/
A Dextcon-usbc-tusb320.c457 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in tusb320_typec_probe()

Completed in 64 milliseconds

12