Lines Matching refs:prop
102 u32 prop; in sp_populate_of() local
104 err = of_property_read_u32(of, "reg-io-width", &prop); in sp_populate_of()
106 prop = 1; /* 8 bit is default */ in sp_populate_of()
108 switch (prop) { in sp_populate_of()
123 err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); in sp_populate_of()
125 priv->can.clock.freq = prop / 2; in sp_populate_of()
129 err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); in sp_populate_of()
131 priv->ocr |= prop & OCR_MODE_MASK; in sp_populate_of()
135 err = of_property_read_u32(of, "nxp,tx-output-config", &prop); in sp_populate_of()
137 priv->ocr |= (prop << OCR_TX_SHIFT) & OCR_TX_MASK; in sp_populate_of()
141 err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); in sp_populate_of()
142 if (!err && prop) { in sp_populate_of()
143 u32 divider = priv->can.clock.freq * 2 / prop; in sp_populate_of()