Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/touchscreen/
Dcy8ctmg110_ts.c126 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local
129 memset(reg_p, 0, CY8CTMG110_REG_MAX); in cy8ctmg110_touch_pos()
132 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos()
135 y = reg_p[2] << 8 | reg_p[3]; in cy8ctmg110_touch_pos()
136 x = reg_p[0] << 8 | reg_p[1]; in cy8ctmg110_touch_pos()
139 if (reg_p[8] == 0) { in cy8ctmg110_touch_pos()
154 unsigned char reg_p[3]; in cy8ctmg110_set_sleepmode() local
157 reg_p[0] = 0x00; in cy8ctmg110_set_sleepmode()
158 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()
159 reg_p[2] = 5; in cy8ctmg110_set_sleepmode()
[all …]
/Linux-v4.19/drivers/pci/controller/dwc/
Dpci-keystone.c387 void __iomem *reg_p; in ks_pcie_probe() local
417 reg_p = devm_ioremap_resource(dev, res); in ks_pcie_probe()
418 if (IS_ERR(reg_p)) in ks_pcie_probe()
419 return PTR_ERR(reg_p); in ks_pcie_probe()
420 ks_pcie->device_id = readl(reg_p) >> 16; in ks_pcie_probe()
421 devm_iounmap(dev, reg_p); in ks_pcie_probe()