Lines Matching refs:p_data
319 const struct synps_platform_data *p_data; member
478 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
498 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
520 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR) in enable_intr()
532 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR) in disable_intr()
548 const struct synps_platform_data *p_data; in intr_handler() local
554 p_data = priv->p_data; in intr_handler()
560 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in intr_handler()
567 status = p_data->get_error_info(priv); in intr_handler()
578 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) in intr_handler()
594 const struct synps_platform_data *p_data; in check_errors() local
599 p_data = priv->p_data; in check_errors()
601 status = p_data->get_error_info(priv); in check_errors()
802 const struct synps_platform_data *p_data; in init_csrows() local
808 p_data = priv->p_data; in init_csrows()
817 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
820 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
853 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_init()
1323 const struct synps_platform_data *p_data; in mc_probe() local
1336 p_data = of_device_get_match_data(&pdev->dev); in mc_probe()
1337 if (!p_data) in mc_probe()
1340 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1362 priv->p_data = p_data; in mc_probe()
1366 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_probe()
1380 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) { in mc_probe()
1389 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_probe()
1397 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)) in mc_probe()
1419 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_remove()
1423 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) in mc_remove()