Searched refs:reg_p (Results 1 – 2 of 2) sorted by relevance
126 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local129 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() local157 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 …]
387 void __iomem *reg_p; in ks_pcie_probe() local417 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()