__scm              55 drivers/firmware/qcom_scm.c static struct qcom_scm *__scm;
__scm              61 drivers/firmware/qcom_scm.c 	ret = clk_prepare_enable(__scm->core_clk);
__scm              65 drivers/firmware/qcom_scm.c 	ret = clk_prepare_enable(__scm->iface_clk);
__scm              69 drivers/firmware/qcom_scm.c 	ret = clk_prepare_enable(__scm->bus_clk);
__scm              76 drivers/firmware/qcom_scm.c 	clk_disable_unprepare(__scm->iface_clk);
__scm              78 drivers/firmware/qcom_scm.c 	clk_disable_unprepare(__scm->core_clk);
__scm              85 drivers/firmware/qcom_scm.c 	clk_disable_unprepare(__scm->core_clk);
__scm              86 drivers/firmware/qcom_scm.c 	clk_disable_unprepare(__scm->iface_clk);
__scm              87 drivers/firmware/qcom_scm.c 	clk_disable_unprepare(__scm->bus_clk);
__scm             114 drivers/firmware/qcom_scm.c 	return __qcom_scm_set_warm_boot_addr(__scm->dev, entry, cpus);
__scm             144 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_is_call_available(__scm->dev, QCOM_SCM_SVC_HDCP,
__scm             168 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_hdcp_req(__scm->dev, req, req_cnt, resp);
__scm             185 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_is_call_available(__scm->dev, QCOM_SCM_SVC_PIL,
__scm             190 drivers/firmware/qcom_scm.c 	return __qcom_scm_pas_supported(__scm->dev, peripheral);
__scm             217 drivers/firmware/qcom_scm.c 	mdata_buf = dma_alloc_coherent(__scm->dev, size, &mdata_phys,
__scm             220 drivers/firmware/qcom_scm.c 		dev_err(__scm->dev, "Allocation of metadata buffer failed.\n");
__scm             229 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_pas_init_image(__scm->dev, peripheral, mdata_phys);
__scm             234 drivers/firmware/qcom_scm.c 	dma_free_coherent(__scm->dev, size, mdata_buf, mdata_phys);
__scm             257 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_pas_mem_setup(__scm->dev, peripheral, addr, size);
__scm             279 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_pas_auth_and_reset(__scm->dev, peripheral);
__scm             300 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_pas_shutdown(__scm->dev, peripheral);
__scm             313 drivers/firmware/qcom_scm.c 	return __qcom_scm_pas_mss_reset(__scm->dev, 1);
__scm             322 drivers/firmware/qcom_scm.c 	return __qcom_scm_pas_mss_reset(__scm->dev, 0);
__scm             332 drivers/firmware/qcom_scm.c 	return __qcom_scm_restore_sec_cfg(__scm->dev, device_id, spare);
__scm             338 drivers/firmware/qcom_scm.c 	return __qcom_scm_iommu_secure_ptbl_size(__scm->dev, spare, size);
__scm             344 drivers/firmware/qcom_scm.c 	return __qcom_scm_iommu_secure_ptbl_init(__scm->dev, addr, size, spare);
__scm             350 drivers/firmware/qcom_scm.c 	return __qcom_scm_io_readl(__scm->dev, addr, val);
__scm             356 drivers/firmware/qcom_scm.c 	return __qcom_scm_io_writel(__scm->dev, addr, val);
__scm             365 drivers/firmware/qcom_scm.c 	avail = __qcom_scm_is_call_available(__scm->dev,
__scm             369 drivers/firmware/qcom_scm.c 		ret = __qcom_scm_set_dload_mode(__scm->dev, enable);
__scm             370 drivers/firmware/qcom_scm.c 	} else if (__scm->dload_mode_addr) {
__scm             371 drivers/firmware/qcom_scm.c 		ret = __qcom_scm_io_writel(__scm->dev, __scm->dload_mode_addr,
__scm             374 drivers/firmware/qcom_scm.c 		dev_err(__scm->dev,
__scm             379 drivers/firmware/qcom_scm.c 		dev_err(__scm->dev, "failed to set download mode: %d\n", ret);
__scm             413 drivers/firmware/qcom_scm.c 	return !!__scm;
__scm             419 drivers/firmware/qcom_scm.c 	return __qcom_scm_set_remote_state(__scm->dev, state, id);
__scm             462 drivers/firmware/qcom_scm.c 	ptr = dma_alloc_coherent(__scm->dev, ptr_sz, &ptr_dma, GFP_KERNEL);
__scm             465 drivers/firmware/qcom_scm.c 	ptr_phys = dma_to_phys(__scm->dev, ptr_dma);
__scm             491 drivers/firmware/qcom_scm.c 	ret = __qcom_scm_assign_mem(__scm->dev, mem_to_map_phys, mem_to_map_sz,
__scm             493 drivers/firmware/qcom_scm.c 	dma_free_coherent(__scm->dev, ptr_sz, ptr, ptr_dma);
__scm             495 drivers/firmware/qcom_scm.c 		dev_err(__scm->dev,
__scm             572 drivers/firmware/qcom_scm.c 	__scm = scm;
__scm             573 drivers/firmware/qcom_scm.c 	__scm->dev = &pdev->dev;