Searched refs:smccc_dev (Results 1 – 2 of 2) sorted by relevance
13 const struct arm_smccc_device *smccc_dev = to_arm_smccc_device(dev); in arm_smccc_bus_match() local20 if (smccc_dev->func_id == id_table->func_id) in arm_smccc_bus_match()46 const struct arm_smccc_device *smccc_dev = to_arm_smccc_device(dev); in arm_smccc_bus_uevent() local49 smccc_dev->func_id); in arm_smccc_bus_uevent()55 struct arm_smccc_device *smccc_dev = to_arm_smccc_device(dev); in modalias_show() local58 smccc_dev->func_id); in modalias_show()101 struct arm_smccc_device *smccc_dev = to_arm_smccc_device(dev); in arm_smccc_release_device() local103 kfree(smccc_dev); in arm_smccc_release_device()108 struct arm_smccc_device *smccc_dev; in arm_smccc_device_alloc() local110 smccc_dev = kzalloc_obj(*smccc_dev); in arm_smccc_device_alloc()[all …]
105 static bool __init smccc_probe_smccc_device(const struct smccc_device_info *smccc_dev) in smccc_probe_smccc_device() argument113 if (smccc_dev->requires_smc && smccc_conduit != SMCCC_CONDUIT_SMC) in smccc_probe_smccc_device()116 if (IS_ENABLED(CONFIG_ARM) && ARM_SMCCC_IS_64(smccc_dev->func_id)) in smccc_probe_smccc_device()119 arm_smccc_1_1_invoke(smccc_dev->func_id, 0, &res); in smccc_probe_smccc_device()131 const struct smccc_device_info *smccc_dev; in smccc_devices_init() local134 smccc_dev = &smccc_devices[i]; in smccc_devices_init()136 if (!smccc_probe_smccc_device(smccc_dev)) in smccc_devices_init()139 sdev = arm_smccc_device_register(smccc_dev->device_name, smccc_dev->func_id); in smccc_devices_init()142 smccc_dev->device_name, sdev); in smccc_devices_init()