Searched refs:of_val (Results 1 – 2 of 2) sorted by relevance
512 const char *of_val; in dp83826_config_rmii_mode() local515 if (!device_property_read_string(dev, "ti,rmii-mode", &of_val)) { in dp83826_config_rmii_mode()516 if (strcmp(of_val, "master") == 0) { in dp83826_config_rmii_mode()519 } else if (strcmp(of_val, "slave") == 0) { in dp83826_config_rmii_mode()524 of_val); in dp83826_config_rmii_mode()
798 u32 of_val; in imx_ahci_parse_props() local808 if (of_property_read_u32(np, prop->name, &of_val)) { in imx_ahci_parse_props()816 if (prop->values[j].of_value == of_val) { in imx_ahci_parse_props()818 prop->name, of_val, prop->values[j].reg_value); in imx_ahci_parse_props()