Searched refs:smu_i2c (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | smu_v11_0_i2c.c | 49 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock_gating() local 50 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_clock_gating() 78 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_enable() local 79 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_enable() 104 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_clear_status() local 105 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_clear_status() 115 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_configure() local 116 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_configure() 137 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock() local 138 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_clock() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | aldebaran_ppt.c | 1468 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in aldebaran_i2c_xfer() local 1469 struct amdgpu_device *adev = smu_i2c->adev; in aldebaran_i2c_xfer() 1484 req->I2CcontrollerPort = smu_i2c->port; in aldebaran_i2c_xfer() 1565 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[0]; in aldebaran_i2c_control_init() local 1566 struct i2c_adapter *control = &smu_i2c->adapter; in aldebaran_i2c_control_init() 1569 smu_i2c->adev = adev; in aldebaran_i2c_control_init() 1570 smu_i2c->port = 0; in aldebaran_i2c_control_init() 1571 mutex_init(&smu_i2c->mutex); in aldebaran_i2c_control_init() 1577 i2c_set_adapdata(control, smu_i2c); in aldebaran_i2c_control_init() 1585 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in aldebaran_i2c_control_init() [all …]
|
D | smu_v13_0_0_ppt.c | 60 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) 2604 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in smu_v13_0_0_i2c_xfer() local 2605 struct amdgpu_device *adev = smu_i2c->adev; in smu_v13_0_0_i2c_xfer() 2620 req->I2CcontrollerPort = smu_i2c->port; in smu_v13_0_0_i2c_xfer() 2703 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in smu_v13_0_0_i2c_control_init() local 2704 struct i2c_adapter *control = &smu_i2c->adapter; in smu_v13_0_0_i2c_control_init() 2706 smu_i2c->adev = adev; in smu_v13_0_0_i2c_control_init() 2707 smu_i2c->port = i; in smu_v13_0_0_i2c_control_init() 2708 mutex_init(&smu_i2c->mutex); in smu_v13_0_0_i2c_control_init() 2714 i2c_set_adapdata(control, smu_i2c); in smu_v13_0_0_i2c_control_init() [all …]
|
D | smu_v13_0_6_ppt.c | 73 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) 2056 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in smu_v13_0_6_i2c_xfer() local 2057 struct amdgpu_device *adev = smu_i2c->adev; in smu_v13_0_6_i2c_xfer() 2072 req->I2CcontrollerPort = smu_i2c->port; in smu_v13_0_6_i2c_xfer() 2159 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in smu_v13_0_6_i2c_control_init() local 2160 struct i2c_adapter *control = &smu_i2c->adapter; in smu_v13_0_6_i2c_control_init() 2162 smu_i2c->adev = adev; in smu_v13_0_6_i2c_control_init() 2163 smu_i2c->port = i; in smu_v13_0_6_i2c_control_init() 2164 mutex_init(&smu_i2c->mutex); in smu_v13_0_6_i2c_control_init() 2170 i2c_set_adapdata(control, smu_i2c); in smu_v13_0_6_i2c_control_init() [all …]
|
D | smu_v13_0_7_ppt.c | 60 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c))
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
D | smu_v14_0_2_ppt.c | 57 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) 1855 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in smu_v14_0_2_i2c_xfer() local 1856 struct amdgpu_device *adev = smu_i2c->adev; in smu_v14_0_2_i2c_xfer() 1871 req->I2CcontrollerPort = smu_i2c->port; in smu_v14_0_2_i2c_xfer() 1954 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in smu_v14_0_2_i2c_control_init() local 1955 struct i2c_adapter *control = &smu_i2c->adapter; in smu_v14_0_2_i2c_control_init() 1957 smu_i2c->adev = adev; in smu_v14_0_2_i2c_control_init() 1958 smu_i2c->port = i; in smu_v14_0_2_i2c_control_init() 1959 mutex_init(&smu_i2c->mutex); in smu_v14_0_2_i2c_control_init() 1965 i2c_set_adapdata(control, smu_i2c); in smu_v14_0_2_i2c_control_init() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 2033 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in arcturus_i2c_xfer() local 2034 struct amdgpu_device *adev = smu_i2c->adev; in arcturus_i2c_xfer() 2049 req->I2CcontrollerPort = smu_i2c->port; in arcturus_i2c_xfer() 2134 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in arcturus_i2c_control_init() local 2135 struct i2c_adapter *control = &smu_i2c->adapter; in arcturus_i2c_control_init() 2137 smu_i2c->adev = adev; in arcturus_i2c_control_init() 2138 smu_i2c->port = i; in arcturus_i2c_control_init() 2139 mutex_init(&smu_i2c->mutex); in arcturus_i2c_control_init() 2146 i2c_set_adapdata(control, smu_i2c); in arcturus_i2c_control_init() 2155 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in arcturus_i2c_control_init() [all …]
|
D | navi10_ppt.c | 2994 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in navi10_i2c_xfer() local 2995 struct amdgpu_device *adev = smu_i2c->adev; in navi10_i2c_xfer() 3010 req->I2CcontrollerPort = smu_i2c->port; in navi10_i2c_xfer() 3094 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in navi10_i2c_control_init() local 3095 struct i2c_adapter *control = &smu_i2c->adapter; in navi10_i2c_control_init() 3097 smu_i2c->adev = adev; in navi10_i2c_control_init() 3098 smu_i2c->port = i; in navi10_i2c_control_init() 3099 mutex_init(&smu_i2c->mutex); in navi10_i2c_control_init() 3106 i2c_set_adapdata(control, smu_i2c); in navi10_i2c_control_init() 3115 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in navi10_i2c_control_init() [all …]
|
D | sienna_cichlid_ppt.c | 3767 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in sienna_cichlid_i2c_xfer() local 3768 struct amdgpu_device *adev = smu_i2c->adev; in sienna_cichlid_i2c_xfer() 3783 req->I2CcontrollerPort = smu_i2c->port; in sienna_cichlid_i2c_xfer() 3867 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in sienna_cichlid_i2c_control_init() local 3868 struct i2c_adapter *control = &smu_i2c->adapter; in sienna_cichlid_i2c_control_init() 3870 smu_i2c->adev = adev; in sienna_cichlid_i2c_control_init() 3871 smu_i2c->port = i; in sienna_cichlid_i2c_control_init() 3872 mutex_init(&smu_i2c->mutex); in sienna_cichlid_i2c_control_init() 3879 i2c_set_adapdata(control, smu_i2c); in sienna_cichlid_i2c_control_init() 3889 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[1].adapter; in sienna_cichlid_i2c_control_init() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 364 struct amdgpu_smu_i2c_bus smu_i2c[MAX_SMU_I2C_BUSES]; member
|