Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/base/
Dproperty.c219 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
435 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() function
442 EXPORT_SYMBOL_GPL(fwnode_property_read_string);
895 err = fwnode_property_read_string(fwnode, "phy-mode", &pm); in fwnode_get_phy_mode()
897 err = fwnode_property_read_string(fwnode, in fwnode_get_phy_mode()
/linux-6.1.9/drivers/leds/
Dled-core.c374 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props()
394 ret = fwnode_property_read_string(fwnode, "function", &props->function); in led_parse_fwnode_props()
485 if (!fwnode_property_read_string(fwnode, "default-state", &state)) { in led_init_default_state_get()
Dleds-lt3593.c87 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
Dleds-pwm.c144 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode()
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()
Dleds-tca6507.c691 if (fwnode_property_read_string(child, "label", &led.name)) in tca6507_led_dt_init()
694 fwnode_property_read_string(child, "linux,default-trigger", in tca6507_led_dt_init()
Dled-class.c354 fwnode_property_read_string(init_data->fwnode, in led_classdev_register_ext()
/linux-6.1.9/drivers/usb/typec/
Dqcom-pmic-typec.c166 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in qcom_pmic_typec_probe()
176 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in qcom_pmic_typec_probe()
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()
Dwusb3801.c355 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in wusb3801_probe()
Danx7411.c1153 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()
Dclass.c2041 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in typec_get_fw_cap()
2051 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in typec_get_fw_cap()
2063 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in typec_get_fw_cap()
/linux-6.1.9/drivers/base/test/
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()
/linux-6.1.9/drivers/usb/typec/mux/
Dintel_pmc_mux.c530 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port()
534 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port()
/linux-6.1.9/drivers/leds/blink/
Dleds-lgm-sso.c646 fwnode_property_read_string(fwnode_child, in __sso_led_dt_parse()
697 if (!fwnode_property_read_string(fwnode_child, "default-state", &tmp)) { in __sso_led_dt_parse()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c105 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
116 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props()
128 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-cti-platform.c389 fwnode_property_read_string(fwnode, CTI_DT_CONN_NAME, &assoc_name); in cti_plat_create_connection()
/linux-6.1.9/drivers/input/keyboard/
Dgpio_keys_polled.c177 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-fwnode.c644 err = fwnode_property_read_string(fwnode, "compatible", &type_name); in v4l2_fwnode_get_connector_type()
682 err = fwnode_property_read_string(connector_node, "label", &label); in v4l2_fwnode_connector_parse()
/linux-6.1.9/drivers/leds/flash/
Dleds-mt6360.c689 fwnode_property_read_string(init_data->fwnode, "linux,default-trigger", in mt6360_init_isnk_properties()
770 if (!fwnode_property_read_string(init_data->fwnode, in mt6360_init_common_properties()
/linux-6.1.9/drivers/hwmon/
Dgsc-hwmon.c282 if (fwnode_property_read_string(child, "label", &ch->name)) { in gsc_hwmon_get_devtree_pdata()
/linux-6.1.9/drivers/extcon/
Dextcon-usbc-tusb320.c399 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in tusb320_typec_probe()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c695 rc = fwnode_property_read_string(mac_cb->fw_port, in hns_mac_register_phydev()
929 if (!fwnode_property_read_string(mac_cb->fw_port, "media-type", in hns_mac_get_info()
/linux-6.1.9/include/linux/
Dproperty.h71 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
/linux-6.1.9/drivers/iio/adc/
Dad7768-1.c560 if (fwnode_property_read_string(child, "label", &label)) in ad7768_set_channel_label()

12