Home
last modified time | relevance | path

Searched refs:reg_p (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/input/touchscreen/
Dcy8ctmg110_ts.c114 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local
117 memset(reg_p, 0, CY8CTMG110_REG_MAX); in cy8ctmg110_touch_pos()
120 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos()
123 y = reg_p[2] << 8 | reg_p[3]; in cy8ctmg110_touch_pos()
124 x = reg_p[0] << 8 | reg_p[1]; in cy8ctmg110_touch_pos()
127 if (reg_p[8] == 0) { in cy8ctmg110_touch_pos()
142 unsigned char reg_p[3]; in cy8ctmg110_set_sleepmode() local
145 reg_p[0] = 0x00; in cy8ctmg110_set_sleepmode()
146 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()
147 reg_p[2] = 5; in cy8ctmg110_set_sleepmode()
[all …]
/Linux-v5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c190 const void *reg_p, size_t reg_len, in mcp251xfd_regmap_crc_gather_write() argument
203 u16 reg = *(u16 *)reg_p; in mcp251xfd_regmap_crc_gather_write()
264 const void *reg_p, size_t reg_len, in mcp251xfd_regmap_crc_read() argument
273 u16 reg = *(u16 *)reg_p; in mcp251xfd_regmap_crc_read()