Lines Matching refs:setup2
266 u8 setup2; member
736 return sprintf(buf, "%d\n", !!(ts->setup2 & SWAP_XY)); in swap_xy_show()
756 ts->setup2 |= SWAP_XY; in swap_xy_store()
758 ts->setup2 &= ~SWAP_XY; in swap_xy_store()
762 ts->setup2); in swap_xy_store()
775 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_X)); in inv_x_show()
795 ts->setup2 |= INV_X; in inv_x_store()
797 ts->setup2 &= ~INV_X; in inv_x_store()
801 ts->setup2); in inv_x_store()
814 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_Y)); in inv_y_show()
834 ts->setup2 |= INV_Y; in inv_y_store()
836 ts->setup2 &= ~INV_Y; in inv_y_store()
840 ts->setup2); in inv_y_store()
862 static int rohm_ts_device_init(struct i2c_client *client, u8 setup2) in rohm_ts_device_init() argument
896 error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2); in rohm_ts_device_init()
1076 error = rohm_ts_device_init(client, ts->setup2); in rohm_ts_open()
1126 ts->setup2 = MAF_1SAMPLE; in rohm_bu21023_i2c_probe()