Lines Matching refs:GMBUS_REG_READ
55 #define GMBUS_REG_READ(reg) ioread32(dev_priv->gmbus_reg + (reg)) macro
109 reserved = GMBUS_REG_READ(gpio->reg) & in get_reserved()
123 return (GMBUS_REG_READ(gpio->reg) & GPIO_CLOCK_VAL_IN) != 0; in get_clock()
133 return (GMBUS_REG_READ(gpio->reg) & GPIO_DATA_VAL_IN) != 0; in get_data()
150 GMBUS_REG_READ(gpio->reg); /* Posting */ in set_clock()
167 GMBUS_REG_READ(gpio->reg); in set_data()
275 GMBUS_REG_READ(GMBUS2+reg_offset); in gmbus_xfer()
279 if (wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & in gmbus_xfer()
282 if (GMBUS_REG_READ(GMBUS2 + reg_offset) & GMBUS_SATOER) in gmbus_xfer()
285 val = GMBUS_REG_READ(GMBUS3 + reg_offset); in gmbus_xfer()
305 GMBUS_REG_READ(GMBUS2+reg_offset); in gmbus_xfer()
308 if (wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & in gmbus_xfer()
311 if (GMBUS_REG_READ(GMBUS2 + reg_offset) & in gmbus_xfer()
321 GMBUS_REG_READ(GMBUS2+reg_offset); in gmbus_xfer()
325 …if (i + 1 < num && wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & (GMBUS_SATOER | GMBUS_HW_WAIT_PH… in gmbus_xfer()
327 if (GMBUS_REG_READ(GMBUS2 + reg_offset) & GMBUS_SATOER) in gmbus_xfer()