Lines Matching refs:p_data
327 const struct synps_platform_data *p_data; member
486 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
506 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
534 const struct synps_platform_data *p_data; in intr_handler() local
540 p_data = priv->p_data; in intr_handler()
547 status = p_data->get_error_info(priv); in intr_handler()
569 const struct synps_platform_data *p_data; in check_errors() local
574 p_data = priv->p_data; in check_errors()
576 status = p_data->get_error_info(priv); in check_errors()
777 const struct synps_platform_data *p_data; in init_csrows() local
783 p_data = priv->p_data; in init_csrows()
792 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
795 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
828 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_init()
1295 const struct synps_platform_data *p_data; in mc_probe() local
1308 p_data = of_device_get_match_data(&pdev->dev); in mc_probe()
1309 if (!p_data) in mc_probe()
1312 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1334 priv->p_data = p_data; in mc_probe()
1338 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_probe()
1352 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) { in mc_probe()
1360 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_probe()
1368 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)) in mc_probe()
1390 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_remove()
1394 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) in mc_remove()