Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dsmu_v11_0_i2c.c270 u32 numbytes, u32 i2c_flag) in smu_v11_0_i2c_transmit() argument
317 if (numbytes == 1 && i2c_flag & I2C_M_STOP) in smu_v11_0_i2c_transmit()
322 if (bytes_sent == 0 && i2c_flag & I2C_X_RESTART) in smu_v11_0_i2c_transmit()
369 u32 numbytes, u32 i2c_flag) in smu_v11_0_i2c_receive() argument
396 if (numbytes == 1 && i2c_flag & I2C_M_STOP) in smu_v11_0_i2c_receive()
400 if (bytes_received == 0 && i2c_flag & I2C_X_RESTART) in smu_v11_0_i2c_receive()
583 struct i2c_msg *msg, uint32_t i2c_flag) in smu_v11_0_i2c_read_data() argument
587 ret = smu_v11_0_i2c_receive(control, msg->addr, msg->buf, msg->len, i2c_flag); in smu_v11_0_i2c_read_data()
596 struct i2c_msg *msg, uint32_t i2c_flag) in smu_v11_0_i2c_write_data() argument
600 ret = smu_v11_0_i2c_transmit(control, msg->addr, msg->buf, msg->len, i2c_flag); in smu_v11_0_i2c_write_data()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/include/
Datomfirmware.h3419 uint8_t i2c_flag; // Bit0: 0 - One byte data; 1 - Two byte data member