Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dcy8ctmg110_ts.c113 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local
115 memset(reg_p, 0, CY8CTMG110_REG_MAX); in cy8ctmg110_touch_pos()
118 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos()
122 if (reg_p[8] == 0) { in cy8ctmg110_touch_pos()
127 be16_to_cpup((__be16 *)(reg_p + 0))); in cy8ctmg110_touch_pos()
129 be16_to_cpup((__be16 *)(reg_p + 2))); in cy8ctmg110_touch_pos()
139 unsigned char reg_p[3]; in cy8ctmg110_set_sleepmode() local
142 reg_p[0] = 0x00; in cy8ctmg110_set_sleepmode()
143 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()
144 reg_p[2] = 5; in cy8ctmg110_set_sleepmode()
[all …]
/openbmc/qemu/hw/misc/
H A Dexynos4210_pmu.c417 const Exynos4210PmuReg *reg_p = exynos4210_pmu_regs; in exynos4210_pmu_read() local
421 if (reg_p->offset == offset) { in exynos4210_pmu_read()
422 PRINT_DEBUG_EXTEND("%s [0x%04x] -> 0x%04x\n", reg_p->name, in exynos4210_pmu_read()
426 reg_p++; in exynos4210_pmu_read()
436 const Exynos4210PmuReg *reg_p = exynos4210_pmu_regs; in exynos4210_pmu_write() local
440 if (reg_p->offset == offset) { in exynos4210_pmu_write()
441 PRINT_DEBUG_EXTEND("%s <0x%04x> <- 0x%04x\n", reg_p->name, in exynos4210_pmu_write()
453 reg_p++; in exynos4210_pmu_write()
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-regmap.c200 const void *reg_p, size_t reg_len, in mcp251xfd_regmap_crc_gather_write() argument
213 u16 reg = *(u16 *)reg_p; in mcp251xfd_regmap_crc_gather_write()
283 const void *reg_p, size_t reg_len, in mcp251xfd_regmap_crc_read() argument
292 u16 reg = *(u16 *)reg_p; in mcp251xfd_regmap_crc_read()
/openbmc/u-boot/cmd/
H A Dotp.c991 u32 reg_p; in otp_print_scu_info() local
1006 reg_p = (OTPCFG[0] >> bit_offset) & 0x1; in otp_print_scu_info()
1010 reg_p = (OTPCFG[1] >> bit_offset) & 0x1; in otp_print_scu_info()
1014 printf("0x%-13X", reg_p); in otp_print_scu_info()