Searched refs:i2c_cntl_0 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 338 u32 i2c_cntl_0, i2c_cntl_1, i2c_data; in r100_hw_i2c_xfer() local 359 i2c_cntl_0 = RADEON_I2C_CNTL_0; in r100_hw_i2c_xfer() 363 i2c_cntl_0 = RADEON_DVI_I2C_CNTL_0; in r100_hw_i2c_xfer() 469 WREG32(i2c_cntl_0, (RADEON_I2C_DONE | in r100_hw_i2c_xfer() 479 WREG32(i2c_cntl_0, reg); in r100_hw_i2c_xfer() 482 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 485 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 490 WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); in r100_hw_i2c_xfer() 502 WREG32(i2c_cntl_0, (RADEON_I2C_DONE | in r100_hw_i2c_xfer() 511 WREG32(i2c_cntl_0, re in r100_hw_i2c_xfer() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 330 u32 i2c_cntl_0, i2c_cntl_1, i2c_data; in r100_hw_i2c_xfer() local 351 i2c_cntl_0 = RADEON_I2C_CNTL_0; in r100_hw_i2c_xfer() 355 i2c_cntl_0 = RADEON_DVI_I2C_CNTL_0; in r100_hw_i2c_xfer() 461 WREG32(i2c_cntl_0, (RADEON_I2C_DONE | in r100_hw_i2c_xfer() 471 WREG32(i2c_cntl_0, reg); in r100_hw_i2c_xfer() 474 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 477 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 482 WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); in r100_hw_i2c_xfer() 494 WREG32(i2c_cntl_0, (RADEON_I2C_DONE | in r100_hw_i2c_xfer() 503 WREG32(i2c_cntl_0, re in r100_hw_i2c_xfer() [all...] |
Completed in 2 milliseconds