Lines Matching refs:prop
482 const struct reg_property *prop, size_t num) in imx_ahci_parse_props() argument
488 for (i = 0; i < num; i++, prop++) { in imx_ahci_parse_props()
491 if (prop->num_values == 0) { in imx_ahci_parse_props()
492 if (of_property_read_bool(np, prop->name)) in imx_ahci_parse_props()
493 reg_value |= prop->set_value; in imx_ahci_parse_props()
495 reg_value |= prop->def_value; in imx_ahci_parse_props()
499 if (of_property_read_u32(np, prop->name, &of_val)) { in imx_ahci_parse_props()
501 prop->name, prop->def_value); in imx_ahci_parse_props()
502 reg_value |= prop->def_value; in imx_ahci_parse_props()
506 for (j = 0; j < prop->num_values; j++) { in imx_ahci_parse_props()
507 if (prop->values[j].of_value == of_val) { in imx_ahci_parse_props()
509 prop->name, of_val, prop->values[j].reg_value); in imx_ahci_parse_props()
510 reg_value |= prop->values[j].reg_value; in imx_ahci_parse_props()
515 if (j == prop->num_values) { in imx_ahci_parse_props()
517 prop->name); in imx_ahci_parse_props()
518 reg_value |= prop->def_value; in imx_ahci_parse_props()