Lines Matching refs:status
84 } status; member
172 #define SG_GET_SENSOR_STATUS(status) ((status) & SG_STATUS_MASK) argument
173 #define SG_GET_PREV_SENSOR_STATUS(status) ((status) >> SG_STATUS_SHIFT) argument
175 #define SG_SET_SENSOR_STATUS(status, value) \ argument
176 status &= ~SG_STATUS_MASK; \
177 status |= ((value) & SG_STATUS_MASK)
179 #define SG_SET_PREV_SENSOR_STATUS(status, value) \ argument
180 status &= ~SG_PREV_STATUS_MASK; \
181 status |= (((value) & SG_STATUS_MASK) << SG_STATUS_SHIFT)