Home
last modified time | relevance | path

Searched refs:i2c_flag (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dsmu_v11_0_i2c.c263 u32 numbytes, u32 i2c_flag) in smu_v11_0_i2c_transmit() argument
309 if (numbytes == 1 && i2c_flag & I2C_M_STOP) in smu_v11_0_i2c_transmit()
314 if (bytes_sent == 0 && i2c_flag & I2C_X_RESTART) in smu_v11_0_i2c_transmit()
361 u32 numbytes, u32 i2c_flag) in smu_v11_0_i2c_receive() argument
387 if (numbytes == 1 && i2c_flag & I2C_M_STOP) in smu_v11_0_i2c_receive()
391 if (bytes_received == 0 && i2c_flag & I2C_X_RESTART) in smu_v11_0_i2c_receive()
569 struct i2c_msg *msg, uint32_t i2c_flag) in smu_v11_0_i2c_read_data() argument
573 ret = smu_v11_0_i2c_receive(control, msg->addr, msg->buf, msg->len, i2c_flag); in smu_v11_0_i2c_read_data()
582 struct i2c_msg *msg, uint32_t i2c_flag) in smu_v11_0_i2c_write_data() argument
586 ret = smu_v11_0_i2c_transmit(control, msg->addr, msg->buf, msg->len, i2c_flag); in smu_v11_0_i2c_write_data()
[all …]
/drivers/gpu/drm/amd/include/
Datomfirmware.h3048 uint8_t i2c_flag; // Bit0: 0 - One byte data; 1 - Two byte data member