Home
last modified time | relevance | path

Searched refs:wcr (Results 1 – 25 of 45) sorted by relevance

12

/openbmc/qemu/target/arm/
H A Dhyp_gdbstub.c131 .wcr = R_DBGWCR_E_MASK, /* E=1, enable */ in insert_hw_watchpoint()
144 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, PAC, 3); in insert_hw_watchpoint()
148 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 1); in insert_hw_watchpoint()
152 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 2); in insert_hw_watchpoint()
156 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 3); in insert_hw_watchpoint()
167 wp.wcr = deposit32(wp.wcr, 5 + off, 8 - off, bas); in insert_hw_watchpoint()
174 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, MASK, bits); in insert_hw_watchpoint()
175 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, BAS, 0xff); in insert_hw_watchpoint()
189 int bas = extract32(wp->wcr, 5, 8); in check_watchpoint_in_range()
190 int mask = extract32(wp->wcr, 24, 4); in check_watchpoint_in_range()
H A Ddebug_helper.c552 uint64_t wcr = env->cp15.dbgwcr[n]; in hw_watchpoint_update() local
561 if (!FIELD_EX64(wcr, DBGWCR, E)) { in hw_watchpoint_update()
566 switch (FIELD_EX64(wcr, DBGWCR, LSC)) { in hw_watchpoint_update()
586 mask = FIELD_EX64(wcr, DBGWCR, MASK); in hw_watchpoint_update()
605 int bas = FIELD_EX64(wcr, DBGWCR, BAS); in hw_watchpoint_update()
/openbmc/qemu/hw/watchdog/
H A Dwdt_imx2.c41 if (s->wcr & IMX2_WDT_WCR_WDE) { in imx2_wdt_expired()
64 s->wcr = IMX2_WDT_WCR_WDA | IMX2_WDT_WCR_SRS; in imx2_wdt_reset()
78 value = s->wcr; in imx2_wdt_read()
101 bool running = (s->wcr & IMX2_WDT_WCR_WDE) && (s->wcr & IMX2_WDT_WCR_WT); in imx_wdt2_update_itimer()
133 if ((s->wcr & IMX2_WDT_WCR_WDE) && (s->wcr & IMX2_WDT_WCR_WT)) { in imx_wdt2_update_timer()
134 int count = (s->wcr & IMX2_WDT_WCR_WT) >> 8; in imx_wdt2_update_timer()
175 s->wcr = value; in imx2_wdt_write()
183 s->wcr |= IMX2_WDT_WCR_SRS; in imx2_wdt_write()
243 VMSTATE_UINT16(wcr, IMX2WdtState),
/openbmc/linux/arch/sh/boards/
H A Dboard-polaris.c96 u16 wcr, bcr_mask; in polaris_initialise() local
103 wcr = __raw_readw(WCR2); in polaris_initialise()
104 wcr &= (~AREA5_WAIT_CTRL); in polaris_initialise()
105 wcr |= (WAIT_STATES_10 << 10); in polaris_initialise()
106 __raw_writew(wcr, WCR2); in polaris_initialise()
/openbmc/u-boot/drivers/watchdog/
H A Dimx_watchdog.c42 writew((WCR_WDA | WCR_SRS | WCR_WDE) << 8 | timeout, &wdog->wcr); in hw_watchdog_init()
45 WCR_WDA | SET_WCR_WT(timeout), &wdog->wcr); in hw_watchdog_init()
55 clrsetbits_le16(&wdog->wcr, WCR_WT_MSK, WCR_WDE); in reset_cpu()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dreset.c29 writew(0x0000, &regs->wcr); in reset_cpu()
36 writew(WCR_WDE, &regs->wcr); in reset_cpu()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dreset.c29 writew(0, &regs->wcr); in reset_cpu()
36 writew(WCR_WDE, &regs->wcr); in reset_cpu()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Ddebug-exceptions.c154 uint32_t wcr; in install_wp() local
156 wcr = DBGWCR_LEN8 | DBGWCR_RD | DBGWCR_WR | DBGWCR_EL1 | DBGWCR_E; in install_wp()
157 write_dbgwcr(wpn, wcr); in install_wp()
180 uint32_t wcr; in install_wp_ctx() local
190 wcr = DBGWCR_LEN8 | DBGWCR_RD | DBGWCR_WR | DBGWCR_EL1 | DBGWCR_E | in install_wp_ctx()
192 write_dbgwcr(addr_wp, wcr); in install_wp_ctx()
/openbmc/u-boot/arch/arm/mach-imx/mx7/
H A Dsoc.c345 u32 reg = readw(&wdog->wcr); in set_wdog_reset()
351 reg = readw(&wdog->wcr); in set_wdog_reset()
358 writew(reg, &wdog->wcr); in set_wdog_reset()
/openbmc/u-boot/arch/arm/mach-imx/imx8m/
H A Dsoc.c69 setbits_le16(&wdog->wcr, WDOG_WDT_MASK | WDOG_WDZST_MASK); in set_wdog_reset()
235 writew((WCR_WDE | WCR_SRS), &wdog->wcr); in reset_cpu()
/openbmc/u-boot/include/
H A Dfsl_wdog.h7 u16 wcr; /* Control */ member
/openbmc/linux/drivers/net/ethernet/davicom/
H A Ddm9000.c700 u32 wcr = 0; in dm9000_set_wol() local
709 wcr |= WCR_MAGICEN; in dm9000_set_wol()
714 iow(dm, DM9000_WCR, wcr); in dm9000_set_wol()
1243 unsigned nsr, wcr; in dm9000_wol_interrupt() local
1248 wcr = ior(db, DM9000_WCR); in dm9000_wol_interrupt()
1250 dev_dbg(db->dev, "%s: NSR=0x%02x, WCR=0x%02x\n", __func__, nsr, wcr); in dm9000_wol_interrupt()
1256 if (wcr & WCR_LINKST) in dm9000_wol_interrupt()
1258 if (wcr & WCR_SAMPLEST) in dm9000_wol_interrupt()
1260 if (wcr & WCR_MAGICST) in dm9000_wol_interrupt()
1262 if (!(wcr & (WCR_LINKST | WCR_SAMPLEST | WCR_MAGICST))) in dm9000_wol_interrupt()
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c306 out_be16(&wdt->wcr, 0); in watchdog_disable()
317 out_be16(&wdt->wcr, 0); in watchdog_init()
/openbmc/qemu/include/hw/watchdog/
H A Dwdt_imx2.h80 uint16_t wcr; member
/openbmc/u-boot/arch/m68k/include/asm/
H A Dimmap_5445x.h66 u16 wcr; member
311 u8 wcr; /* 0x13 */ member
H A Dimmap_5282.h96 ushort wcr; member
H A Dimmap_520x.h63 u8 wcr; /* 0x13 */ member
H A Dimmap_5227x.h212 u8 wcr; /* 0x03 wakeup control */ member
/openbmc/u-boot/board/warp7/
H A Dwarp7.c152 clrsetbits_le16(&wdog->wcr, 0, 0x10); in board_late_init()
/openbmc/linux/arch/arm64/include/asm/
H A Dhw_breakpoint.h96 #define AARCH64_DBG_REG_NAME_WCR wcr
/openbmc/u-boot/arch/arm/cpu/arm926ejs/armada100/
H A Dtimer.c34 u32 wcr; member
/openbmc/u-boot/arch/arm/include/asm/arch-mx25/
H A Dimx-regs.h80 u16 wcr; /* Control */ member
224 u32 wcr; /* WEIM Configuration Register */ member
/openbmc/u-boot/board/compulab/cl-som-imx7/
H A Dcl-som-imx7.c309 clrsetbits_le16(&wdog->wcr, 0, 0x10); in cl_som_imx7_setup_wdog()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c374 clrbits_be16(&wdog->wcr, WCR_SRS); in reset_cpu()
/openbmc/u-boot/board/freescale/mx53ard/
H A Dmx53ard.c278 writel(0x0, &weim_regs->wcr); in weim_cs1_settings()

12