Lines Matching refs:p_data
304 * @p_data: Platform data.
318 const struct synps_platform_data *p_data;
477 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) {
497 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) {
519 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)
531 if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)
547 const struct synps_platform_data *p_data;
553 p_data = priv->p_data;
559 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) {
566 status = p_data->get_error_info(priv);
577 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR))
593 const struct synps_platform_data *p_data;
598 p_data = priv->p_data;
600 status = p_data->get_error_info(priv);
801 const struct synps_platform_data *p_data;
807 p_data = priv->p_data;
816 dimm->mtype = p_data->get_mtype(priv->baseaddr);
819 dimm->dtype = p_data->get_dtype(priv->baseaddr);
852 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) {
1322 const struct synps_platform_data *p_data;
1335 p_data = of_device_get_match_data(&pdev->dev);
1336 if (!p_data)
1339 if (!p_data->get_ecc_state(baseaddr)) {
1361 priv->p_data = p_data;
1365 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) {
1379 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) {
1388 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)
1396 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT))
1418 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)
1422 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT)