/linux/drivers/base/ |
H A D | property.c | 269 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()
|
/linux/drivers/dpll/zl3073x/ |
H A D | prop.c | 225 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()
|
/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()
|
/linux/drivers/leds/ |
H A D | led-core.c | 486 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()
|
H A D | leds-lt3593.c | 87 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
|
H A D | leds-max5970.c | 84 if (fwnode_property_read_string(child, "label", &ddata->cdev.name)) in max5970_led_probe()
|
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-pwm.c | 163 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode()
|
H A D | leds-tca6507.c | 679 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()
|
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel-platform.c | 70 ret = fwnode_property_read_string(child, "intc-gpio-group-name", &name); in intel_platform_pinctrl_prepare_group()
|
/linux/drivers/usb/typec/mux/ |
H A D | intel_pmc_mux.c | 590 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()
|
/linux/drivers/leds/blink/ |
H A D | leds-lgm-sso.c | 647 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()
|
/linux/drivers/usb/typec/ |
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 | 1169 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()
|
/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()
|
/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()
|
/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 175 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
|
/linux/rust/kernel/device/ |
H A D | property.rs | 452 bindings::fwnode_property_read_string(fwnode.as_raw(), name.as_char_ptr(), pstr.cast()) in read_from_fwnode_property()
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 156 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()
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 697 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()
|
/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()
|
/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 457 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in tusb320_typec_probe()
|
/linux/drivers/video/backlight/ |
H A D | lm3630a_bl.c | 450 ret = fwnode_property_read_string(node, "label", &label); in lm3630a_parse_bank()
|
/linux/sound/soc/sdca/ |
H A D | sdca_functions.c | 1347 ret = fwnode_property_read_string(entity_node, "mipi-sdca-entity-label", in find_sdca_entity() 1516 ret = fwnode_property_read_string(clock_node, "mipi-sdca-entity-label", in find_sdca_entity_connection_iot() 1700 ret = fwnode_property_read_string(connected_node, "mipi-sdca-entity-label", in find_sdca_entity_connection()
|
/linux/include/linux/ |
H A D | property.h | 76 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
|