Lines Matching defs:setup2
266 u8 setup2;
736 return sprintf(buf, "%d\n", !!(ts->setup2 & SWAP_XY));
756 ts->setup2 |= SWAP_XY;
758 ts->setup2 &= ~SWAP_XY;
762 ts->setup2);
775 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_X));
795 ts->setup2 |= INV_X;
797 ts->setup2 &= ~INV_X;
801 ts->setup2);
814 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_Y));
834 ts->setup2 |= INV_Y;
836 ts->setup2 &= ~INV_Y;
840 ts->setup2);
862 static int rohm_ts_device_init(struct i2c_client *client, u8 setup2)
896 error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2);
1076 error = rohm_ts_device_init(client, ts->setup2);
1125 ts->setup2 = MAF_1SAMPLE;