Lines Matching refs:p_data

318 	const struct synps_platform_data *p_data;  member
477 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
497 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
519 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR) in enable_intr()
531 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR) in disable_intr()
547 const struct synps_platform_data *p_data; in intr_handler() local
553 p_data = priv->p_data; in intr_handler()
559 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in intr_handler()
566 status = p_data->get_error_info(priv); in intr_handler()
577 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) in intr_handler()
593 const struct synps_platform_data *p_data; in check_errors() local
598 p_data = priv->p_data; in check_errors()
600 status = p_data->get_error_info(priv); in check_errors()
801 const struct synps_platform_data *p_data; in init_csrows() local
807 p_data = priv->p_data; in init_csrows()
816 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
819 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
852 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_init()
1322 const struct synps_platform_data *p_data; in mc_probe() local
1335 p_data = of_device_get_match_data(&pdev->dev); in mc_probe()
1336 if (!p_data) in mc_probe()
1339 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1361 priv->p_data = p_data; in mc_probe()
1365 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_probe()
1379 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) { in mc_probe()
1388 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_probe()
1396 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)) in mc_probe()
1418 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_remove()
1422 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) in mc_remove()