/openbmc/linux/drivers/scsi/ |
H A D | wd719x.c | 50 static inline u8 wd719x_readb(struct wd719x *wd, u8 reg) in wd719x_readb() argument 52 return ioread8(wd->base + reg); in wd719x_readb() 55 static inline u32 wd719x_readl(struct wd719x *wd, u8 reg) in wd719x_readl() argument 57 return ioread32(wd->base + reg); in wd719x_readl() 60 static inline void wd719x_writeb(struct wd719x *wd, u8 reg, u8 val) in wd719x_writeb() argument 62 iowrite8(val, wd->base + reg); in wd719x_writeb() 65 static inline void wd719x_writew(struct wd719x *wd, u8 reg, u16 val) in wd719x_writew() argument 67 iowrite16(val, wd->base + reg); in wd719x_writew() 70 static inline void wd719x_writel(struct wd719x *wd, u8 reg, u32 val) in wd719x_writel() argument 72 iowrite32(val, wd->base + reg); in wd719x_writel() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_watchdog_timer-test.c | 56 static int watchdog_index(const Watchdog *wd) in watchdog_index() argument 58 ptrdiff_t diff = wd - watchdog_list; in watchdog_index() 65 static uint32_t watchdog_read_wtcr(QTestState *qts, const Watchdog *wd) in watchdog_read_wtcr() argument 67 return qtest_readl(qts, wd->base_addr + WTCR_OFFSET); in watchdog_read_wtcr() 70 static void watchdog_write_wtcr(QTestState *qts, const Watchdog *wd, in watchdog_write_wtcr() argument 73 qtest_writel(qts, wd->base_addr + WTCR_OFFSET, value); in watchdog_write_wtcr() 76 static uint32_t watchdog_prescaler(QTestState *qts, const Watchdog *wd) in watchdog_prescaler() argument 78 switch (extract32(watchdog_read_wtcr(qts, wd), 10, 2)) { in watchdog_prescaler() 104 static uint32_t watchdog_interrupt_cycles(QTestState *qts, const Watchdog *wd) in watchdog_interrupt_cycles() argument 106 uint32_t wtis = extract32(watchdog_read_wtcr(qts, wd), 4, 2); in watchdog_interrupt_cycles() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/ |
H A D | new-test-inotify.patch | 9 wd's for the 'aa' and 'bb' paths are not '2' and '3', 61 + wd = i.add_watch(inner_path) 69 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=256, cookie=0, len=16), ['IN_CREATE'],… 70 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=32, cookie=0, len=16), ['IN_OPEN'], in… 71 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=8, cookie=0, len=16), ['IN_CLOSE_WRITE… 72 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=256, cookie=0, len=16), ['IN_CREATE']… 73 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=32, cookie=0, len=16), ['IN_OPEN'], i… 74 + (inotify.adapters._INOTIFY_EVENT(wd=wd, mask=8, cookie=0, len=16), ['IN_CLOSE_WRIT… 102 + wd = i.add_watch(inner_path) 110 - (inotify.adapters._INOTIFY_EVENT(wd=1, mask=256, cookie=0, len=16), ['IN_CREATE'],… [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | f71808e_wdt.c | 215 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); in fintek_wdt_set_timeout() local 218 wd->timer_val = DIV_ROUND_UP(timeout, 60); in fintek_wdt_set_timeout() 219 wd->minutes_mode = true; in fintek_wdt_set_timeout() 220 timeout = wd->timer_val * 60; in fintek_wdt_set_timeout() 222 wd->timer_val = timeout; in fintek_wdt_set_timeout() 223 wd->minutes_mode = false; in fintek_wdt_set_timeout() 231 static int fintek_wdt_set_pulse_width(struct fintek_wdt *wd, unsigned int pw) in fintek_wdt_set_pulse_width() argument 235 if (wd->type == f71868) { in fintek_wdt_set_pulse_width() 242 wd->pulse_val = 0; in fintek_wdt_set_pulse_width() 244 wd->pulse_val = 1; in fintek_wdt_set_pulse_width() [all …]
|
H A D | pseries-wdt.c | 95 struct watchdog_device wd; member 178 pw->wd.parent = &pdev->dev; in pseries_wdt_probe() 179 pw->wd.info = &pseries_wdt_info; in pseries_wdt_probe() 180 pw->wd.ops = &pseries_wdt_ops; in pseries_wdt_probe() 182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); in pseries_wdt_probe() 183 pw->wd.max_timeout = UINT_MAX / 1000; /* from linux/watchdog.h */ in pseries_wdt_probe() 184 pw->wd.timeout = timeout; in pseries_wdt_probe() 185 if (watchdog_init_timeout(&pw->wd, 0, NULL)) in pseries_wdt_probe() 187 watchdog_set_nowayout(&pw->wd, nowayout); in pseries_wdt_probe() 188 watchdog_stop_on_reboot(&pw->wd); in pseries_wdt_probe() [all …]
|
H A D | intel-mid_wdt.c | 37 struct watchdog_device wd; member 51 static int wdt_start(struct watchdog_device *wd) in wdt_start() argument 53 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_start() 55 int timeout = wd->timeout; in wdt_start() 77 static int wdt_ping(struct watchdog_device *wd) in wdt_ping() argument 79 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_ping() 89 static int wdt_stop(struct watchdog_device *wd) in wdt_stop() argument 91 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_stop() 145 wdt_dev = &mid->wd; in mid_wdt_probe()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | asmmacro.h | 261 .macro ld_b wd, off, base 266 ld.b $w\wd, \off(\base) 270 .macro ld_h wd, off, base 275 ld.h $w\wd, \off(\base) 279 .macro ld_w wd, off, base 284 ld.w $w\wd, \off(\base) 288 .macro ld_d wd, off, base 293 ld.d $w\wd, \off(\base) 297 .macro st_b wd, off, base 302 st.b $w\wd, \off(\base) [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd-uadk.c | 50 struct wd_data *wd; in multifd_uadk_init_sess() local 52 wd = g_new0(struct wd_data, 1); in multifd_uadk_init_sess() 67 wd->handle = wd_comp_alloc_sess(&ss); in multifd_uadk_init_sess() 68 if (!wd->handle) { in multifd_uadk_init_sess() 77 wd->buf = g_try_malloc(size); in multifd_uadk_init_sess() 78 if (!wd->buf) { in multifd_uadk_init_sess() 82 wd->buf_hdr = g_new0(uint32_t, count); in multifd_uadk_init_sess() 83 return wd; in multifd_uadk_init_sess() 86 if (wd->handle) { in multifd_uadk_init_sess() 87 wd_comp_free_sess(wd->handle); in multifd_uadk_init_sess() [all …]
|
/openbmc/linux/fs/befs/ |
H A D | ChangeLog | 23 interface into their own file called linuxvfs.c. [WD] 27 * Did the string comparison really right this time (btree.c) [WD] 30 a pointer value. (btree.c) [WD] 35 a workaround for this problem (compatibility.h) [WD] 41 * Made a debian package of the source for use with kernel-package. [WD] 48 0.61. (datastream.c) [WD] 56 (btree.c) [WD] 59 they work. I had forgotten all about them. (inode.c, symlink.c) [WD] 61 * Documentation improvements in source. [WD] 71 * Fixed makefile for module install [WD] [all …]
|
/openbmc/linux/sound/soc/au1x/ |
H A D | psc-i2s.c | 297 struct au1xpsc_audio_data *wd; in au1xpsc_i2s_drvprobe() local 299 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), in au1xpsc_i2s_drvprobe() 301 if (!wd) in au1xpsc_i2s_drvprobe() 304 wd->mmio = devm_platform_ioremap_resource(pdev, 0); in au1xpsc_i2s_drvprobe() 305 if (IS_ERR(wd->mmio)) in au1xpsc_i2s_drvprobe() 306 return PTR_ERR(wd->mmio); in au1xpsc_i2s_drvprobe() 311 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe() 316 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_i2s_drvprobe() 321 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_i2s_drvprobe() 322 __raw_writel(PSC_CTRL_DISABLE, PSC_CTRL(wd)); in au1xpsc_i2s_drvprobe() [all …]
|
H A D | psc-ac97.c | 368 struct au1xpsc_audio_data *wd; in au1xpsc_ac97_drvprobe() local 370 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), in au1xpsc_ac97_drvprobe() 372 if (!wd) in au1xpsc_ac97_drvprobe() 375 mutex_init(&wd->lock); in au1xpsc_ac97_drvprobe() 377 wd->mmio = devm_platform_ioremap_resource(pdev, 0); in au1xpsc_ac97_drvprobe() 378 if (IS_ERR(wd->mmio)) in au1xpsc_ac97_drvprobe() 379 return PTR_ERR(wd->mmio); in au1xpsc_ac97_drvprobe() 384 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe() 389 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_ac97_drvprobe() 392 wd->cfg = PSC_AC97CFG_RT_FIFO8 | PSC_AC97CFG_TT_FIFO8 | in au1xpsc_ac97_drvprobe() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | txrx.h | 62 /* TX WD BODY DWORD 0 */ 75 /* TX WD BODY DWORD 1 */ 81 /* TX WD BODY DWORD 2 */ 87 /* TX WD BODY DWORD 3 */ 92 /* TX WD BODY DWORD 4 */ 96 /* TX WD BODY DWORD 5 */ 102 /* TX WD BODY DWORD 6 (V1) */ 104 /* TX WD BODY DWORD 7 (V1) */ 110 /* TX WD INFO DWORD 0 */ 120 /* TX WD INFO DWORD 1 */ [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | ftwdt010_wdt.c | 29 struct ftwdt010_wdt *wd = (struct ftwdt010_wdt *)CONFIG_FTWDT010_BASE; in ftwdt010_wdt_settimeout() local 34 if (readl(&wd->wdcr) & ~FTWDT010_WDCR_ENABLE) { in ftwdt010_wdt_settimeout() 46 writel(reg, &wd->wdload); in ftwdt010_wdt_settimeout() 53 struct ftwdt010_wdt *wd = (struct ftwdt010_wdt *)CONFIG_FTWDT010_BASE; in ftwdt010_wdt_reset() local 56 writel(0, &wd->wdcr); in ftwdt010_wdt_reset() 59 writel(FTWDT010_WDRESTART_MAGIC, &wd->wdrestart); in ftwdt010_wdt_reset() 62 writel((FTWDT010_WDCR_RST | FTWDT010_WDCR_ENABLE), &wd->wdcr); in ftwdt010_wdt_reset() 67 struct ftwdt010_wdt *wd = (struct ftwdt010_wdt *)CONFIG_FTWDT010_BASE; in ftwdt010_wdt_disable() local 77 writel(0, &wd->wdcr); in ftwdt010_wdt_disable()
|
/openbmc/linux/kernel/ |
H A D | usermode_driver.c | 64 if (WARN_ON_ONCE(info->wd.dentry || info->wd.mnt)) in umd_load_blob() 71 info->wd.mnt = mnt; in umd_load_blob() 72 info->wd.dentry = mnt->mnt_root; in umd_load_blob() 84 if (WARN_ON_ONCE(!info->wd.mnt || in umd_unload_blob() 85 !info->wd.dentry || in umd_unload_blob() 86 info->wd.mnt->mnt_root != info->wd.dentry)) in umd_unload_blob() 89 kern_unmount(info->wd.mnt); in umd_unload_blob() 90 info->wd.mnt = NULL; in umd_unload_blob() 91 info->wd.dentry = NULL; in umd_unload_blob() 130 set_fs_pwd(current->fs, &umd_info->wd); in umd_setup()
|
/openbmc/linux/fs/hfsplus/ |
H A D | wrapper.c | 93 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument 109 wd->ablk_size = in hfsplus_read_mdb() 111 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb() 113 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb() 115 wd->ablk_start = in hfsplus_read_mdb() 119 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb() 120 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb() 164 struct hfsplus_wd wd; in hfsplus_read_wrapper() local 202 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper() 204 wd.ablk_size >>= HFSPLUS_SECTOR_SHIFT; in hfsplus_read_wrapper() [all …]
|
/openbmc/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 221 inotify_event.wd = event->wd; in copy_event_to_user() 406 i_mark->wd = ret; in inotify_add_to_idr() 416 int wd) in inotify_idr_find_locked() argument 424 i_mark = idr_find(idr, wd); in inotify_idr_find_locked() 437 int wd) in inotify_idr_find() argument 443 i_mark = inotify_idr_find_locked(group, wd); in inotify_idr_find() 459 int wd; in inotify_remove_from_idr() local 462 wd = i_mark->wd; in inotify_remove_from_idr() 468 if (wd == -1) { in inotify_remove_from_idr() 469 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr() [all …]
|
H A D | inotify_fsnotify.c | 42 (old->wd == new->wd) && in event_compare() 68 int len = 0, wd; in inotify_handle_inode_event() local 85 * invalid wd. in inotify_handle_inode_event() 87 wd = READ_ONCE(i_mark->wd); in inotify_handle_inode_event() 88 if (wd == -1) in inotify_handle_inode_event() 120 event->wd = wd; in inotify_handle_inode_event() 173 printk(KERN_WARNING "fsn_mark->group=%p wd=%d\n", in idr_callback() 174 fsn_mark->group, i_mark->wd); in idr_callback()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | msa_helper.c | 98 void helper_msa_nloc_b(CPUMIPSState *env, uint32_t wd, uint32_t ws) in helper_msa_nloc_b() argument 100 wr_t *pwd = &(env->active_fpu.fpr[wd].wr); in helper_msa_nloc_b() 121 void helper_msa_nloc_h(CPUMIPSState *env, uint32_t wd, uint32_t ws) in helper_msa_nloc_h() argument 123 wr_t *pwd = &(env->active_fpu.fpr[wd].wr); in helper_msa_nloc_h() 136 void helper_msa_nloc_w(CPUMIPSState *env, uint32_t wd, uint32_t ws) in helper_msa_nloc_w() argument 138 wr_t *pwd = &(env->active_fpu.fpr[wd].wr); in helper_msa_nloc_w() 147 void helper_msa_nloc_d(CPUMIPSState *env, uint32_t wd, uint32_t ws) in helper_msa_nloc_d() argument 149 wr_t *pwd = &(env->active_fpu.fpr[wd].wr); in helper_msa_nloc_d() 156 void helper_msa_nlzc_b(CPUMIPSState *env, uint32_t wd, uint32_t ws) in helper_msa_nlzc_b() argument 158 wr_t *pwd = &(env->active_fpu.fpr[wd].wr); in helper_msa_nlzc_b() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/ |
H A D | pyinotify.py | 138 def inotify_rm_watch(self, fd, wd): argument 139 return self._inotify_rm_watch(fd, wd) 164 wd = inotify_syscalls.inotify_add_watch(fd, pathname, mask) 168 return wd 170 def _inotify_rm_watch(self, fd, wd): argument 172 ret = inotify_syscalls.inotify_rm_watch(fd, wd) 233 def _inotify_rm_watch(self, fd, wd): argument 235 return self._libc.inotify_rm_watch(fd, wd) 493 def __init__(self, wd, mask, cookie, name): argument 495 @param wd: Watch Descriptor. [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | glue.c | 138 struct find_child_walk_data *wd = data; in check_one_child() local 141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) in check_one_child() 144 if (!wd->adev) { in check_one_child() 150 wd->adev = adev; in check_one_child() 151 return !(wd->check_sta || wd->check_children); in check_one_child() 162 if (!wd->score) { in check_one_child() 163 score = find_child_checks(wd->adev, wd->check_children); in check_one_child() 167 wd->score = score; in check_one_child() 174 score = find_child_checks(adev, wd->check_children); in check_one_child() 175 if (score > wd->score) { in check_one_child() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | errseq.rst | 70 struct worker_drone wd; 72 wd.wd_err = (errseq_t)0; 84 su.s_wd_err = errseq_sample(&wd.wd_err); 91 err = errseq_check_and_advance(&wd.wd_err, &su.s_wd_err); 99 errseq_set(&wd.wd_err, -EIO); 112 errseq_t since = errseq_sample(&wd.wd_err); 114 err = errseq_check(&wd.wd_err, since); 131 if (errseq_check(&wd.wd_err, READ_ONCE(su.s_wd_err)) { 134 err = errseq_check_and_advance(&wd.wd_err, &su.s_wd_err);
|
/openbmc/u-boot/doc/ |
H A D | README.scrapyard | 55 imx27lite arm arm926ejs bc0840bc 2015-08-30 Wolfgang Denk <wd@denx.de> 75 qong arm arm1136 daf77086 2015-08-30 Wolfgang Denk <wd@denx.de> 123 P3G4 powerpc 74xx_7xx d928664f 2015-01-16 Wolfgang Denk <wd@denx.de> 150 CU824 powerpc mpc824x d622ac39 2015-01-05 Wolfgang Denk <wd@denx.de> 154 Sandpoint8240 powerpc mpc824x d622ac39 2015-01-05 Wolfgang Denk <wd@denx.de> 157 atc powerpc mpc8260 9067b300 2015-01-05 Wolfgang Denk <wd@denx.de> 158 CPU86 powerpc mpc8260 f7e1af86 2015-01-05 Wolfgang Denk <wd@denx.de> 164 PM825 powerpc mpc8260 dc0b2fb4 2015-01-05 Wolfgang Denk <wd@denx.de> 165 PM826 powerpc mpc8260 dc0b2fb4 2015-01-05 Wolfgang Denk <wd@denx.de> 175 IP860 powerpc mpc8xx 5ec71100 2015-01-05 Wolfgang Denk <wd@denx.de> [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | sync_watch.cpp | 25 auto wd = in addInotifyWatch() local 27 if (-1 == wd) in addInotifyWatch() 34 fileMap[wd] = fs::path(path); in addInotifyWatch() 103 if (fs::exists(syncWatch->fileMap[event->wd], ec)) in callback() 105 syncWatch->addInotifyWatch(syncWatch->fileMap[event->wd]); in callback() 110 syncWatch->fileMap[event->wd]); in callback() 115 // fileMap<wd, path> in callback() 117 syncWatch->fileMap[event->wd]); in callback()
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-xtalk.c | 42 struct sgi_w1_platform_data *wd; in bridge_platform_create() local 47 wd = kzalloc(sizeof(*wd), GFP_KERNEL); in bridge_platform_create() 48 if (!wd) { in bridge_platform_create() 53 snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx", in bridge_platform_create() 71 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { in bridge_platform_create() 80 kfree(wd); in bridge_platform_create() 133 kfree(wd); in bridge_platform_create()
|
/openbmc/linux/drivers/acpi/arm64/ |
H A D | gtdt.c | 64 struct acpi_gtdt_watchdog *wd = platform_timer; in is_non_secure_watchdog() local 69 return !(wd->timer_flags & ACPI_GTDT_WATCHDOG_SECURE); in is_non_secure_watchdog() 328 static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd, in gtdt_import_sbsa_gwdt() argument 339 DEFINE_RES_MEM(wd->control_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt() 340 DEFINE_RES_MEM(wd->refresh_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt() 346 wd->refresh_frame_address, wd->control_frame_address, in gtdt_import_sbsa_gwdt() 347 wd->timer_interrupt, wd->timer_flags); in gtdt_import_sbsa_gwdt() 349 if (!(wd->refresh_frame_address && wd->control_frame_address)) { in gtdt_import_sbsa_gwdt() 354 irq = map_gt_gsi(wd->timer_interrupt, wd->timer_flags); in gtdt_import_sbsa_gwdt() 369 acpi_unregister_gsi(wd->timer_interrupt); in gtdt_import_sbsa_gwdt()
|