Lines Matching refs:p_data

322 	const struct synps_platform_data *p_data;  member
509 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
529 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
553 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in enable_intr()
573 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in disable_intr()
596 const struct synps_platform_data *p_data; in intr_handler() local
602 p_data = priv->p_data; in intr_handler()
608 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in intr_handler()
615 status = p_data->get_error_info(priv); in intr_handler()
626 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) in intr_handler()
640 const struct synps_platform_data *p_data; in check_errors() local
645 p_data = priv->p_data; in check_errors()
647 status = p_data->get_error_info(priv); in check_errors()
848 const struct synps_platform_data *p_data; in init_csrows() local
854 p_data = priv->p_data; in init_csrows()
863 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
866 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
899 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_init()
1005 const struct synps_platform_data *p_data; in ddr_poison_setup() local
1009 p_data = priv->p_data; in ddr_poison_setup()
1011 if (p_data->get_mem_info) in ddr_poison_setup()
1012 hif_addr = p_data->get_mem_info(priv); in ddr_poison_setup()
1378 const struct synps_platform_data *p_data; in mc_probe() local
1389 p_data = of_device_get_match_data(&pdev->dev); in mc_probe()
1390 if (!p_data) in mc_probe()
1393 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1415 priv->p_data = p_data; in mc_probe()
1420 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in mc_probe()
1434 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) { in mc_probe()
1443 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_probe()
1451 if (!(priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)) in mc_probe()
1473 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) in mc_remove()
1477 if (priv->p_data->quirks & DDR_ECC_DATA_POISON_SUPPORT) in mc_remove()