/openbmc/linux/drivers/base/ |
H A D | property.c | 230 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string() 446 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() function 453 EXPORT_SYMBOL_GPL(fwnode_property_read_string); 943 err = fwnode_property_read_string(fwnode, "phy-mode", &pm); in fwnode_get_phy_mode() 945 err = fwnode_property_read_string(fwnode, in fwnode_get_phy_mode()
|
/openbmc/linux/drivers/base/test/ |
H A D | property-entry-test.c | 274 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()
|
/openbmc/linux/drivers/leds/ |
H A D | led-core.c | 429 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props() 449 ret = fwnode_property_read_string(fwnode, "function", &props->function); in led_parse_fwnode_props() 536 if (!fwnode_property_read_string(fwnode, "default-state", &state)) { in led_init_default_state_get()
|
H A D | leds-lt3593.c | 87 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
|
H A D | leds-pwm.c | 150 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode()
|
H A D | leds-is31fl319x.c | 374 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()
|
H A D | leds-tca6507.c | 691 if (fwnode_property_read_string(child, "label", &led.name)) in tca6507_led_dt_init() 694 if (fwnode_property_read_string(child, "linux,default-trigger", in tca6507_led_dt_init()
|
H A D | led-class.c | 484 fwnode_property_read_string(init_data->fwnode, in led_classdev_register_ext()
|
/openbmc/linux/drivers/usb/typec/mux/ |
H A D | intel_pmc_mux.c | 567 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port() 571 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | stusb160x.c | 545 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()
|
H A D | wusb3801.c | 355 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in wusb3801_probe()
|
H A D | anx7411.c | 1153 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in anx7411_typec_port_probe() 1164 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in anx7411_typec_port_probe() 1175 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in anx7411_typec_port_probe()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 671 err = fwnode_property_read_string(fwnode, "compatible", &type_name); in v4l2_fwnode_get_connector_type() 709 err = fwnode_property_read_string(connector_node, "label", &label); in v4l2_fwnode_connector_parse()
|
/openbmc/linux/drivers/leds/blink/ |
H A D | leds-lgm-sso.c | 645 fwnode_property_read_string(fwnode_child, in __sso_led_dt_parse() 696 if (!fwnode_property_read_string(fwnode_child, "default-state", &tmp)) { in __sso_led_dt_parse()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 35 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props() 46 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props() 58 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti-platform.c | 389 fwnode_property_read_string(fwnode, CTI_DT_CONN_NAME, &assoc_name); in cti_plat_create_connection()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 177 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | da7219-aad.c | 709 if (!fwnode_property_read_string(aad_np, "dlg,jack-ins-det-pty", &fw_str)) in da7219_aad_fw_to_pdata() 715 if (!fwnode_property_read_string(aad_np, "dlg,jack-det-rate", &fw_str)) in da7219_aad_fw_to_pdata()
|
/openbmc/linux/drivers/hwmon/ |
H A D | gsc-hwmon.c | 280 if (fwnode_property_read_string(child, "label", &ch->name)) { in gsc_hwmon_get_devtree_pdata()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 724 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()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 456 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in tusb320_typec_probe()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7768-1.c | 560 if (fwnode_property_read_string(child, "label", &label)) in ad7768_set_channel_label()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lm3630a_bl.c | 448 ret = fwnode_property_read_string(node, "label", &label); in lm3630a_parse_bank()
|
/openbmc/linux/include/linux/ |
H A D | property.h | 76 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_core.c | 605 err = fwnode_property_read_string(fwnode, "compatible", &value); in power_supply_get_battery_info() 672 if (!fwnode_property_read_string(fwnode, "device-chemistry", &value)) { in power_supply_get_battery_info()
|