Lines Matching refs:p_data
322 const struct synps_platform_data *p_data; member
480 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
500 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
528 const struct synps_platform_data *p_data; in intr_handler() local
534 p_data = priv->p_data; in intr_handler()
541 status = p_data->get_error_info(priv); in intr_handler()
563 const struct synps_platform_data *p_data; in check_errors() local
568 p_data = priv->p_data; in check_errors()
570 status = p_data->get_error_info(priv); in check_errors()
771 const struct synps_platform_data *p_data; in init_csrows() local
777 p_data = priv->p_data; in init_csrows()
786 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
789 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
822 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_init()
1289 const struct synps_platform_data *p_data; in mc_probe() local
1302 p_data = of_device_get_match_data(&pdev->dev); in mc_probe()
1303 if (!p_data) in mc_probe()
1306 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1328 priv->p_data = p_data; in mc_probe()
1332 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_probe()
1346 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) { in mc_probe()
1363 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)) in mc_probe()
1385 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_remove()
1389 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) in mc_remove()