Home
last modified time | relevance | path

Searched refs:popts (Results 1 – 9 of 9) sorted by relevance

/trusted-firmware-a/drivers/nxp/ddr/phy-gen1/
A Dphy.c18 const struct memctl_opt *popts) in cal_ddr_sdram_clk_cntl() argument
29 const struct memctl_opt *popts) in cal_ddr_cdr() argument
31 regs->cdr[0] = popts->ddr_cdr1; in cal_ddr_cdr()
32 regs->cdr[1] = popts->ddr_cdr2; in cal_ddr_cdr()
38 const struct memctl_opt *popts) in cal_ddr_wrlvl_cntl() argument
46 popts->wrlvl_sample : U(0xf); in cal_ddr_wrlvl_cntl()
67 if (popts->cswl_override != 0) { in cal_ddr_dbg()
80 if (popts->cpo_sample != 0U) { in cal_ddr_dbg()
92 cal_ddr_cdr(regs, popts); in compute_ddr_phy()
93 cal_ddr_wrlvl_cntl(regs, popts); in compute_ddr_phy()
[all …]
/trusted-firmware-a/drivers/nxp/ddr/nxp-ddr/
A Dddr.c263 struct memctl_opt *popts, in cal_odt() argument
324 struct memctl_opt *popts, in cal_opts() argument
330 popts->rdimm = pdimm->rdimm; in cal_opts()
335 popts->ctlr_init_ecc = popts->ecc_mode; in cal_opts()
338 popts->dynamic_power = 0; in cal_opts()
357 popts->data_bus_used = popts->data_bus_dimm; in cal_opts()
362 if (popts->rdimm != 0) { in cal_opts()
369 popts->ap_en = 0; in cal_opts()
388 popts->ctlr_intlv = 1; in cal_intlv()
422 if (popts->data_bus_dimm > popts->data_bus_used) { in update_burst_length()
[all …]
A Dregs.c148 popts->tfaw_ps); in cal_timing_cfg()
217 trwt_mclk = popts->trwt; in cal_timing_cfg()
218 if (popts->twrt != 0) { in cal_timing_cfg()
219 twrt_mclk = popts->twrt; in cal_timing_cfg()
221 if (popts->trrt != 0) { in cal_timing_cfg()
224 if (popts->twwt != 0) { in cal_timing_cfg()
319 if (popts->ap_en != 0) { in cal_timing_cfg()
421 0U : popts->twot_en; in cal_ddr_sdram_cfg()
599 if (popts->quad_rank_present != 0 || popts->output_driver_impedance != 0) { in cal_ddr_sdram_mode()
688 rtt_park = (popts->rtt_park != 0) ? popts->rtt_park : 240; in cal_ddr_sdram_mode()
[all …]
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2160ardb/
A Dddr_init.c136 popts->addr_hash = 1; in ddr_board_options()
142 popts->trwt = U(0xf); in ddr_board_options()
143 popts->twrt = U(0x7); in ddr_board_options()
144 popts->trrt = U(0x7); in ddr_board_options()
145 popts->twwt = U(0x7); in ddr_board_options()
147 popts->odt = U(60); in ddr_board_options()
152 popts->trwt = U(0x3); in ddr_board_options()
153 popts->twrt = U(0x3); in ddr_board_options()
154 popts->trrt = U(0x3); in ddr_board_options()
155 popts->twwt = U(0x3); in ddr_board_options()
[all …]
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2162aqds/
A Dddr_init.c267 popts->addr_hash = 1; in ddr_board_options()
273 popts->trwt = U(0xf); in ddr_board_options()
274 popts->twrt = U(0x7); in ddr_board_options()
275 popts->trrt = U(0x7); in ddr_board_options()
276 popts->twwt = U(0x7); in ddr_board_options()
278 popts->odt = 60U; in ddr_board_options()
283 popts->trwt = U(0x3); in ddr_board_options()
284 popts->twrt = U(0x3); in ddr_board_options()
285 popts->trrt = U(0x3); in ddr_board_options()
286 popts->twwt = U(0x3); in ddr_board_options()
[all …]
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2160aqds/
A Dddr_init.c267 popts->addr_hash = 1; in ddr_board_options()
273 popts->trwt = U(0xf); in ddr_board_options()
274 popts->twrt = U(0x7); in ddr_board_options()
275 popts->trrt = U(0x7); in ddr_board_options()
276 popts->twwt = U(0x7); in ddr_board_options()
278 popts->odt = U(60); in ddr_board_options()
283 popts->trwt = U(0x3); in ddr_board_options()
284 popts->twrt = U(0x3); in ddr_board_options()
285 popts->trrt = U(0x3); in ddr_board_options()
286 popts->twwt = U(0x3); in ddr_board_options()
[all …]
/trusted-firmware-a/plat/nxp/soc-ls1028a/ls1028ardb/
A Dddr_init.c76 struct memctl_opt *popts = &priv->opt; in ddr_board_options() local
83 popts->bstopre = U(0x40); /* precharge value */ in ddr_board_options()
84 popts->half_strength_drive_en = 1; in ddr_board_options()
85 popts->cpo_sample = U(0x46); in ddr_board_options()
86 popts->ddr_cdr1 = DDR_CDR1_DHC_EN | in ddr_board_options()
88 popts->ddr_cdr2 = DDR_CDR2_ODT(DDR_CDR_ODT_80ohm) | in ddr_board_options()
91 popts->addr_hash = 1; /* address hashing */ in ddr_board_options()
/trusted-firmware-a/include/drivers/nxp/ddr/
A Dddr.h129 const struct memctl_opt *popts,
/trusted-firmware-a/drivers/nxp/ddr/phy-gen2/
A Dphy.c2463 const struct memctl_opt *popts = &priv->opt; in compute_ddr_phy() local
2499 input.basic.train2d = popts->skip2d ? 0 : 1; in compute_ddr_phy()
2514 input.vref = popts->vref_phy; in compute_ddr_phy()
2551 input.adv.odtimpedance = popts->odt ? popts->odt : 60; in compute_ddr_phy()
2552 input.adv.tx_impedance = popts->phy_tx_impedance ? in compute_ddr_phy()
2553 popts->phy_tx_impedance : 28; in compute_ddr_phy()
2554 input.adv.atx_impedance = popts->phy_atx_impedance ? in compute_ddr_phy()
2555 popts->phy_atx_impedance : 30; in compute_ddr_phy()

Completed in 18 milliseconds