Searched refs:setup2 (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Drohm_bu21023.c274 u8 setup2; member in struct:rohm_ts_data
744 return sprintf(buf, "%d\n", !!(ts->setup2 & SWAP_XY)); swap_xy_show()
764 ts->setup2 |= SWAP_XY; swap_xy_store()
766 ts->setup2 &= ~SWAP_XY; swap_xy_store()
770 ts->setup2); swap_xy_store()
783 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_X)); inv_x_show()
803 ts->setup2 |= INV_X; inv_x_store()
805 ts->setup2 &= ~INV_X; inv_x_store()
809 ts->setup2); inv_x_store()
822 return sprintf(buf, "%d\n", !!(ts->setup2 & INV_Y)); inv_y_show()
842 ts->setup2 |= INV_Y; inv_y_store()
844 ts->setup2 &= ~INV_Y; inv_y_store()
848 ts->setup2); inv_y_store()
870 static int rohm_ts_device_init(struct i2c_client *client, u8 setup2) rohm_ts_device_init() argument
904 error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2); rohm_ts_device_init()
1084 error = rohm_ts_device_init(client, ts->setup2); rohm_ts_open()
1141 ts->setup2 = MAF_1SAMPLE; rohm_bu21023_i2c_probe()
/linux-4.4.14/drivers/net/arcnet/
H A Dcom20020.c103 lp->setup2 = (lp->clockm << 4) | 8; com20020_check()
114 arcnet_outb(lp->setup2, ioaddr, COM20020_REG_W_XREG); com20020_check()
230 arcnet_outb(lp->setup2, ioaddr, COM20020_REG_W_XREG); com20020_found()
264 ((lp->setup2 & 0xF0) >> 4) + com20020_found()
H A Darcdevice.h249 setup2, /* Contents of setup2 register */ member in struct:arcnet_local

Completed in 243 milliseconds