Home
last modified time | relevance | path

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

12

/linux/drivers/base/
H A Dproperty.c277 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
493 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() function
500 EXPORT_SYMBOL_GPL(fwnode_property_read_string);
571 ret = fwnode_property_read_string(fwnode, propname, &string); in fwnode_property_match_property_string()
1012 err = fwnode_property_read_string(fwnode, "phy-mode", &pm); in fwnode_get_phy_mode()
1014 err = fwnode_property_read_string(fwnode, in fwnode_get_phy_mode()
/linux/drivers/base/test/
H 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()
/linux/drivers/dpll/zl3073x/
H A Dprop.c239 fwnode_property_read_string(props->fwnode, "label", in zl3073x_pin_props_get()
245 if (!fwnode_property_read_string(props->fwnode, "connection-type", in zl3073x_pin_props_get()
/linux/drivers/leds/
H A Dleds-lt3593.c87 if (!fwnode_property_read_string(child, "default-state", &tmp)) { in lt3593_led_probe()
H 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()
/linux/drivers/net/phy/
H A Dphy_port.c59 ret = fwnode_property_read_string(fwnode, "media", &med_str); in phy_of_parse_port()
/linux/drivers/gpio/
H A Dgpio-bd72720.c193 ret = fwnode_property_read_string(dev_fwnode(gc->parent), in bd72720_valid_mask()
/linux/drivers/usb/typec/mux/
H 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()
/linux/drivers/usb/typec/
H A Dwusb3801.c355 ret = fwnode_property_read_string(connector, "typec-power-opmode", &cap_str); in wusb3801_probe()
H 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()
H A Dclass.c2527 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in typec_get_fw_cap()
2537 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in typec_get_fw_cap()
2549 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in typec_get_fw_cap()
/linux/sound/soc/codecs/
H A Dda7219-aad.c709 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/input/keyboard/
H A Dgpio_keys_polled.c175 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c389 fwnode_property_read_string(fwnode, CTI_DT_CONN_NAME, &assoc_name); in cti_plat_create_connection()
H A Dcoresight-sysfs.c382 ret = fwnode_property_read_string(dev_fwnode(dev), "label", &str); in label_show()
/linux/drivers/iio/adc/
H 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()
H A Dqcom-spmi-adc5-gen3.c497 fwnode_property_read_string(fwnode, "label", &channel_name); in adc5_gen3_get_fw_channel_data()
/linux/drivers/net/ethernet/hisilicon/hns/
H 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()
/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c457 if (!fwnode_property_read_string(connector, "typec-power-opmode", in tusb320_typec_probe()
H A Dextcon-rtk-type-c.c1253 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in extcon_rtk_type_c_init()
1264 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in extcon_rtk_type_c_init()
/linux/drivers/video/backlight/
H A Dlm3630a_bl.c450 ret = fwnode_property_read_string(node, "label", &label); in lm3630a_parse_bank()
/linux/drivers/power/supply/
H A Dpower_supply_core.c599 err = fwnode_property_read_string(fwnode, "compatible", &value); in power_supply_get_battery_info()
666 if (!fwnode_property_read_string(fwnode, "device-chemistry", &value)) { in power_supply_get_battery_info()
/linux/include/linux/
H A Dproperty.h76 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
/linux/sound/soc/sdca/
H A Dsdca_functions.c1476 ret = fwnode_property_read_string(entity_node, "mipi-sdca-entity-label", in find_sdca_entity()
1659 ret = fwnode_property_read_string(clock_node, "mipi-sdca-entity-label", in find_sdca_entity_connection_iot()
1843 ret = fwnode_property_read_string(connected_node, "mipi-sdca-entity-label", in find_sdca_entity_connection()
/linux/drivers/leds/flash/
H A Dleds-mt6360.c698 fwnode_property_read_string(init_data->fwnode, "linux,default-trigger", in mt6360_init_isnk_properties()

12