Lines Matching refs:prop
169 const struct stm32_fmc2_prop *prop, int cs);
172 const struct stm32_fmc2_prop *prop,
177 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_mux() argument
189 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_waitcfg() argument
202 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_sync_trans() argument
214 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_async_trans() argument
226 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_cpsize() argument
239 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_address_hold() argument
243 u32 bxtr = prop->reg_type == FMC2_REG_BWTR ? in stm32_fmc2_ebi_check_address_hold()
256 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_clk_period() argument
269 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_check_cclk() argument
275 return stm32_fmc2_ebi_check_sync_trans(ebi, prop, cs); in stm32_fmc2_ebi_check_cclk()
323 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_bit_field() argument
329 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_bit_field()
333 clrsetbits_le32(ebi->io_base + reg, prop->reg_mask, in stm32_fmc2_ebi_set_bit_field()
334 setup ? prop->reg_mask : 0); in stm32_fmc2_ebi_set_bit_field()
340 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_trans_type() argument
473 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_buswidth() argument
496 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_cpsize() argument
528 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_bl_setup() argument
541 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_address_setup() argument
545 u32 bxtr = prop->reg_type == FMC2_REG_BWTR ? in stm32_fmc2_ebi_set_address_setup()
551 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_address_setup()
566 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_address_hold() argument
572 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_address_hold()
584 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_data_setup() argument
590 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_data_setup()
602 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_bus_turnaround() argument
608 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_bus_turnaround()
620 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_data_hold() argument
626 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, ®); in stm32_fmc2_ebi_set_data_hold()
630 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_set_data_hold()
641 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_clk_period() argument
654 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_data_latency() argument
667 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_set_max_low_pulse() argument
860 const struct stm32_fmc2_prop *prop, in stm32_fmc2_ebi_parse_prop() argument
865 if (!prop->set) { in stm32_fmc2_ebi_parse_prop()
866 log_err("property %s is not well defined\n", prop->name); in stm32_fmc2_ebi_parse_prop()
870 if (prop->check && prop->check(ebi, prop, cs)) in stm32_fmc2_ebi_parse_prop()
874 if (prop->bprop) { in stm32_fmc2_ebi_parse_prop()
877 bprop = ofnode_read_bool(node, prop->name); in stm32_fmc2_ebi_parse_prop()
878 if (prop->mprop && !bprop) { in stm32_fmc2_ebi_parse_prop()
880 prop->name); in stm32_fmc2_ebi_parse_prop()
890 ret = ofnode_read_u32(node, prop->name, &val); in stm32_fmc2_ebi_parse_prop()
891 if (prop->mprop && ret) { in stm32_fmc2_ebi_parse_prop()
893 prop->name); in stm32_fmc2_ebi_parse_prop()
898 setup = prop->reset_val; in stm32_fmc2_ebi_parse_prop()
899 else if (prop->calculate) in stm32_fmc2_ebi_parse_prop()
900 setup = prop->calculate(ebi, cs, val); in stm32_fmc2_ebi_parse_prop()
905 return prop->set(ebi, prop, cs, setup); in stm32_fmc2_ebi_parse_prop()