Lines Matching +full:0 +full:x10e
24 #define I2C_MST_CNTL 0x00
25 #define I2C_MST_CNTL_GEN_START BIT(0)
32 #define I2C_MST_CNTL_STATUS_OKAY (0 << 29)
38 #define I2C_MST_ADDR 0x04
40 #define I2C_MST_I2C0_TIMING 0x08
41 #define I2C_MST_I2C0_TIMING_SCL_PERIOD_100KHZ 0x10e
46 #define I2C_MST_DATA 0x0c
48 #define I2C_MST_HYBRID_PADCTL 0x20
49 #define I2C_MST_HYBRID_PADCTL_MODE_I2C BIT(0)
98 return 0; in gpu_i2c_check_status()
104 return 0; in gpu_i2c_check_status()
119 if (status < 0) in gpu_i2c_read()
125 data[0] = val; in gpu_i2c_read()
178 for (i = 0; i < num; i++) { in gpu_i2c_xfer()
184 if (status < 0) in gpu_i2c_xfer()
190 if (status < 0) { in gpu_i2c_xfer()
191 if (i == 0) in gpu_i2c_xfer()
197 if (status < 0) in gpu_i2c_xfer()
200 for (j = 0; j < msgs[i].len; j++) { in gpu_i2c_xfer()
202 if (status < 0) in gpu_i2c_xfer()
209 if (status < 0) in gpu_i2c_xfer()
216 if (status2 < 0) in gpu_i2c_xfer()
253 #define PCI_CLASS_SERIAL_UNKNOWN 0x0c80
256 PCI_CLASS_SERIAL_UNKNOWN << 8, 0xffffff00},
287 if (status < 0) in gpu_i2c_probe()
292 i2cd->regs = pcim_iomap(pdev, 0, 0); in gpu_i2c_probe()
297 if (status < 0) in gpu_i2c_probe()
310 if (status < 0) in gpu_i2c_probe()
324 return 0; in gpu_i2c_probe()
356 return 0; in gpu_i2c_resume()