Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/base/
Dproperty.c203 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
401 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() function
408 EXPORT_SYMBOL_GPL(fwnode_property_read_string);
853 err = fwnode_property_read_string(fwnode, "phy-mode", &pm); in fwnode_get_phy_mode()
855 err = fwnode_property_read_string(fwnode, in fwnode_get_phy_mode()
/kernel/linux/linux-5.10/drivers/base/test/
Dproperty-entry-test.c238 error = fwnode_property_read_string(node, "str", &str); in pe_test_strings()
251 error = fwnode_property_read_string(node, "no-str", &str); in pe_test_strings()
257 error = fwnode_property_read_string(node, "empty", &str); in pe_test_strings()
275 error = fwnode_property_read_string(node, "strs", &str); in pe_test_strings()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lt3593.c89 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
Dled-core.c380 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props()
400 ret = fwnode_property_read_string(fwnode, "function", &props->function); in led_parse_fwnode_props()
Dleds-pwm.c109 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode()
Dleds-pca955x.c400 res = fwnode_property_read_string(child, "label", &name); in pca955x_get_pdata()
409 fwnode_property_read_string(child, "linux,default-trigger", in pca955x_get_pdata()
Dleds-tca6507.c696 if (fwnode_property_read_string(child, "label", &led.name)) in tca6507_led_dt_init()
699 if (fwnode_property_read_string(child, "linux,default-trigger", in tca6507_led_dt_init()
Dleds-gpio.c163 if (!fwnode_property_read_string(child, "default-state", in gpio_leds_create()
Dled-class.c359 fwnode_property_read_string(init_data->fwnode, in led_classdev_register_ext()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_typec.c73 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
84 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props()
95 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c500 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port()
504 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-cti-platform.c390 fwnode_property_read_string(fwnode, CTI_DT_CONN_NAME, &assoc_name); in cti_plat_create_connection()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dgpio_keys_polled.c177 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
Dgpio_keys.c728 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_get_devtree_pdata()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-fwnode.c675 err = fwnode_property_read_string(fwnode, "compatible", &type_name); in v4l2_fwnode_get_connector_type()
713 err = fwnode_property_read_string(connector_node, "label", &label); in v4l2_fwnode_connector_parse()
/kernel/linux/linux-5.10/drivers/hwmon/
Dgsc-hwmon.c279 if (fwnode_property_read_string(child, "label", &ch->name)) { in gsc_hwmon_get_devtree_pdata()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c695 rc = fwnode_property_read_string(mac_cb->fw_port, in hns_mac_register_phydev()
930 if (!fwnode_property_read_string(mac_cb->fw_port, "media-type", in hns_mac_get_info()
/kernel/linux/linux-5.10/include/linux/
Dproperty.h70 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
/kernel/linux/linux-5.10/drivers/video/backlight/
Dlm3630a_bl.c449 ret = fwnode_property_read_string(node, "label", &label); in lm3630a_parse_bank()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dda7219-aad.c665 if (!fwnode_property_read_string(aad_np, "dlg,jack-det-rate", &fw_str)) in da7219_aad_fw_to_pdata()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Didt_89hpesx.c1104 ret = fwnode_property_read_string(fwnode, "compatible", &compatible); in idt_ee_match_id()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-acpi.c1175 fwnode_property_read_string(fwnode, "line-name", name); in acpi_gpiochip_parse_own_gpio()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dtcpm.c4783 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in tcpm_fw_get_caps()
4791 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in tcpm_fw_get_caps()
4820 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in tcpm_fw_get_caps()

12