Searched refs:smu_i2c (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0_6_ppt.c | 67 #define to_amdgpu_device(x) (container_of(x, struct amdgpu_device, pm.smu_i2c)) 1700 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in smu_v13_0_6_i2c_xfer() local 1701 struct amdgpu_device *adev = smu_i2c->adev; in smu_v13_0_6_i2c_xfer() 1716 req->I2CcontrollerPort = smu_i2c->port; in smu_v13_0_6_i2c_xfer() 1799 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in smu_v13_0_6_i2c_control_init() local 1800 struct i2c_adapter *control = &smu_i2c->adapter; in smu_v13_0_6_i2c_control_init() 1802 smu_i2c->adev = adev; in smu_v13_0_6_i2c_control_init() 1803 smu_i2c->port = i; in smu_v13_0_6_i2c_control_init() 1804 mutex_init(&smu_i2c->mutex); in smu_v13_0_6_i2c_control_init() 1811 i2c_set_adapdata(control, smu_i2c); in smu_v13_0_6_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)) 2226 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in smu_v13_0_0_i2c_xfer() local 2227 struct amdgpu_device *adev = smu_i2c->adev; in smu_v13_0_0_i2c_xfer() 2242 req->I2CcontrollerPort = smu_i2c->port; in smu_v13_0_0_i2c_xfer() 2325 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in smu_v13_0_0_i2c_control_init() local 2326 struct i2c_adapter *control = &smu_i2c->adapter; in smu_v13_0_0_i2c_control_init() 2328 smu_i2c->adev = adev; in smu_v13_0_0_i2c_control_init() 2329 smu_i2c->port = i; in smu_v13_0_0_i2c_control_init() 2330 mutex_init(&smu_i2c->mutex); in smu_v13_0_0_i2c_control_init() 2337 i2c_set_adapdata(control, smu_i2c); in smu_v13_0_0_i2c_control_init() [all …]
|
D | aldebaran_ppt.c | 1470 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in aldebaran_i2c_xfer() local 1471 struct amdgpu_device *adev = smu_i2c->adev; in aldebaran_i2c_xfer() 1486 req->I2CcontrollerPort = smu_i2c->port; in aldebaran_i2c_xfer() 1567 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[0]; in aldebaran_i2c_control_init() local 1568 struct i2c_adapter *control = &smu_i2c->adapter; in aldebaran_i2c_control_init() 1571 smu_i2c->adev = adev; in aldebaran_i2c_control_init() 1572 smu_i2c->port = 0; in aldebaran_i2c_control_init() 1573 mutex_init(&smu_i2c->mutex); in aldebaran_i2c_control_init() 1580 i2c_set_adapdata(control, smu_i2c); in aldebaran_i2c_control_init() 1588 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in aldebaran_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.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 2063 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in arcturus_i2c_xfer() local 2064 struct amdgpu_device *adev = smu_i2c->adev; in arcturus_i2c_xfer() 2079 req->I2CcontrollerPort = smu_i2c->port; in arcturus_i2c_xfer() 2164 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in arcturus_i2c_control_init() local 2165 struct i2c_adapter *control = &smu_i2c->adapter; in arcturus_i2c_control_init() 2167 smu_i2c->adev = adev; in arcturus_i2c_control_init() 2168 smu_i2c->port = i; in arcturus_i2c_control_init() 2169 mutex_init(&smu_i2c->mutex); in arcturus_i2c_control_init() 2176 i2c_set_adapdata(control, smu_i2c); in arcturus_i2c_control_init() 2185 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in arcturus_i2c_control_init() [all …]
|
D | navi10_ppt.c | 2972 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in navi10_i2c_xfer() local 2973 struct amdgpu_device *adev = smu_i2c->adev; in navi10_i2c_xfer() 2988 req->I2CcontrollerPort = smu_i2c->port; in navi10_i2c_xfer() 3072 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in navi10_i2c_control_init() local 3073 struct i2c_adapter *control = &smu_i2c->adapter; in navi10_i2c_control_init() 3075 smu_i2c->adev = adev; in navi10_i2c_control_init() 3076 smu_i2c->port = i; in navi10_i2c_control_init() 3077 mutex_init(&smu_i2c->mutex); in navi10_i2c_control_init() 3084 i2c_set_adapdata(control, smu_i2c); in navi10_i2c_control_init() 3093 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[0].adapter; in navi10_i2c_control_init() [all …]
|
D | sienna_cichlid_ppt.c | 3748 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(i2c_adap); in sienna_cichlid_i2c_xfer() local 3749 struct amdgpu_device *adev = smu_i2c->adev; in sienna_cichlid_i2c_xfer() 3764 req->I2CcontrollerPort = smu_i2c->port; in sienna_cichlid_i2c_xfer() 3848 struct amdgpu_smu_i2c_bus *smu_i2c = &adev->pm.smu_i2c[i]; in sienna_cichlid_i2c_control_init() local 3849 struct i2c_adapter *control = &smu_i2c->adapter; in sienna_cichlid_i2c_control_init() 3851 smu_i2c->adev = adev; in sienna_cichlid_i2c_control_init() 3852 smu_i2c->port = i; in sienna_cichlid_i2c_control_init() 3853 mutex_init(&smu_i2c->mutex); in sienna_cichlid_i2c_control_init() 3860 i2c_set_adapdata(control, smu_i2c); in sienna_cichlid_i2c_control_init() 3870 adev->pm.ras_eeprom_i2c_bus = &adev->pm.smu_i2c[1].adapter; in sienna_cichlid_i2c_control_init() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 349 struct amdgpu_smu_i2c_bus smu_i2c[MAX_SMU_I2C_BUSES]; member
|