Lines Matching refs:setup2
266 u8 setup2; member
735 ts->setup2 |= setting_bit; in rohm_ts_update_setting()
737 ts->setup2 &= ~setting_bit; in rohm_ts_update_setting()
742 ts->setup2); in rohm_ts_update_setting()
757 return sysfs_emit(buf, "%d\n", !!(ts->setup2 & SWAP_XY)); in swap_xy_show()
782 return sysfs_emit(buf, "%d\n", !!(ts->setup2 & INV_X)); in inv_x_show()
807 return sysfs_emit(buf, "%d\n", !!(ts->setup2 & INV_Y)); in inv_y_show()
838 static int rohm_ts_device_init(struct i2c_client *client, u8 setup2) in rohm_ts_device_init() argument
872 error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2); in rohm_ts_device_init()
1052 error = rohm_ts_device_init(client, ts->setup2); in rohm_ts_open()
1101 ts->setup2 = MAF_1SAMPLE; in rohm_bu21023_i2c_probe()