Home
last modified time | relevance | path

Searched refs:of_val (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/phy/
H A Ddp83822.c642 const char *of_val; in dp8382x_config_rmii_mode() local
645 if (!device_property_read_string(dev, "ti,rmii-mode", &of_val)) { in dp8382x_config_rmii_mode()
646 if (strcmp(of_val, "master") == 0) { in dp8382x_config_rmii_mode()
649 } else if (strcmp(of_val, "slave") == 0) { in dp8382x_config_rmii_mode()
654 of_val); in dp8382x_config_rmii_mode()
810 const char *of_val; in dp83822_of_init() local
825 if (!device_property_read_string(dev, "ti,gpio2-clk-out", &of_val)) { in dp83822_of_init()
826 if (strcmp(of_val, "mac-if") == 0) { in dp83822_of_init()
828 } else if (strcmp(of_val, "xi") == 0) { in dp83822_of_init()
830 } else if (strcmp(of_val, "int-ref") == 0) { in dp83822_of_init()
[all …]
/linux/drivers/ata/
H A Dahci_imx.c799 u32 of_val; in imx_ahci_parse_props() local
809 if (of_property_read_u32(np, prop->name, &of_val)) { in imx_ahci_parse_props()
817 if (prop->values[j].of_value == of_val) { in imx_ahci_parse_props()
819 prop->name, of_val, prop->values[j].reg_value); in imx_ahci_parse_props()