Home
last modified time | relevance | path

Searched refs:wd (Results 1 - 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/scsi/
H A Dwd719x.c50 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 in wd719x_writel()
76 wd719x_wait_ready(struct wd719x *wd) wd719x_wait_ready() argument
93 wd719x_wait_done(struct wd719x *wd, int timeout) wd719x_wait_done() argument
126 wd719x_direct_cmd(struct wd719x *wd, u8 opcode, u8 dev, u8 lun, u8 tag, dma_addr_t data, int timeout) wd719x_direct_cmd() argument
164 wd719x_destroy(struct wd719x *wd) wd719x_destroy() argument
192 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_finish_cmd() local
212 struct wd719x *wd = shost_priv(sh); wd719x_queuecommand() local
302 wd719x_chip_init(struct wd719x *wd) wd719x_chip_init() argument
468 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_abort() local
489 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_reset() local
523 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_host_reset() local
561 wd719x_interrupt_SCB(struct wd719x *wd, union wd719x_regs regs, struct wd719x_scb *scb) wd719x_interrupt_SCB() argument
658 struct wd719x *wd = dev_id; wd719x_interrupt() local
715 struct wd719x *wd = eeprom->data; wd719x_eeprom_reg_read() local
723 struct wd719x *wd = eeprom->data; wd719x_eeprom_reg_write() local
737 wd719x_read_eeprom(struct wd719x *wd) wd719x_read_eeprom() argument
788 wd719x_detect_type(struct wd719x *wd) wd719x_detect_type() argument
810 struct wd719x *wd = shost_priv(sh); wd719x_board_found() local
899 struct wd719x *wd; wd719x_pci_probe() local
961 struct wd719x *wd = shost_priv(sh); wd719x_pci_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dwd719x.c50 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 in wd719x_writel()
76 wd719x_wait_ready(struct wd719x *wd) wd719x_wait_ready() argument
93 wd719x_wait_done(struct wd719x *wd, int timeout) wd719x_wait_done() argument
126 wd719x_direct_cmd(struct wd719x *wd, u8 opcode, u8 dev, u8 lun, u8 tag, dma_addr_t data, int timeout) wd719x_direct_cmd() argument
164 wd719x_destroy(struct wd719x *wd) wd719x_destroy() argument
192 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_finish_cmd() local
212 struct wd719x *wd = shost_priv(sh); wd719x_queuecommand() local
302 wd719x_chip_init(struct wd719x *wd) wd719x_chip_init() argument
468 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_abort() local
491 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_reset() local
525 struct wd719x *wd = shost_priv(cmd->device->host); wd719x_host_reset() local
563 wd719x_interrupt_SCB(struct wd719x *wd, union wd719x_regs regs, struct wd719x_scb *scb) wd719x_interrupt_SCB() argument
660 struct wd719x *wd = dev_id; wd719x_interrupt() local
717 struct wd719x *wd = eeprom->data; wd719x_eeprom_reg_read() local
725 struct wd719x *wd = eeprom->data; wd719x_eeprom_reg_write() local
739 wd719x_read_eeprom(struct wd719x *wd) wd719x_read_eeprom() argument
790 wd719x_detect_type(struct wd719x *wd) wd719x_detect_type() argument
812 struct wd719x *wd = shost_priv(sh); wd719x_board_found() local
901 struct wd719x *wd; wd719x_pci_probe() local
964 struct wd719x *wd = shost_priv(sh); wd719x_pci_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Df71808e_wdt.c215 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 in fintek_wdt_set_pulse_width()
261 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); fintek_wdt_keepalive() local
289 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); fintek_wdt_start() local
415 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); fintek_wdt_stop() local
431 fintek_wdt_is_running(struct fintek_wdt *wd, u8 wdt_conf) fintek_wdt_is_running() argument
450 struct fintek_wdt *wd; fintek_wdt_probe() local
[all...]
H A Dpseries-wdt.c95 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()
203 struct watchdog_device *wd = platform_get_drvdata(pdev); pseries_wdt_suspend() local
212 struct watchdog_device *wd = platform_get_drvdata(pdev); pseries_wdt_resume() local
[all...]
H A Dintel-mid_wdt.c37 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()
/kernel/linux/linux-5.10/sound/soc/au1x/
H A Dpsc-i2s.c296 struct au1xpsc_audio_data *wd; in au1xpsc_i2s_drvprobe() local
298 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), in au1xpsc_i2s_drvprobe()
300 if (!wd) in au1xpsc_i2s_drvprobe()
303 wd->mmio = devm_platform_ioremap_resource(pdev, 0); in au1xpsc_i2s_drvprobe()
304 if (IS_ERR(wd->mmio)) in au1xpsc_i2s_drvprobe()
305 return PTR_ERR(wd->mmio); in au1xpsc_i2s_drvprobe()
310 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
315 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_i2s_drvprobe()
320 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_i2s_drvprobe()
321 __raw_writel(PSC_CTRL_DISABLE, PSC_CTRL(wd)); in au1xpsc_i2s_drvprobe()
348 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); au1xpsc_i2s_drvremove() local
361 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_i2s_drvsuspend() local
376 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_i2s_drvresume() local
[all...]
H A Dpsc-ac97.c367 struct au1xpsc_audio_data *wd; in au1xpsc_ac97_drvprobe() local
369 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), in au1xpsc_ac97_drvprobe()
371 if (!wd) in au1xpsc_ac97_drvprobe()
374 mutex_init(&wd->lock); in au1xpsc_ac97_drvprobe()
376 wd->mmio = devm_platform_ioremap_resource(pdev, 0); in au1xpsc_ac97_drvprobe()
377 if (IS_ERR(wd->mmio)) in au1xpsc_ac97_drvprobe()
378 return PTR_ERR(wd->mmio); in au1xpsc_ac97_drvprobe()
383 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe()
388 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_ac97_drvprobe()
391 wd in au1xpsc_ac97_drvprobe()
425 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); au1xpsc_ac97_drvremove() local
443 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_ac97_drvsuspend() local
458 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_ac97_drvresume() local
[all...]
/kernel/linux/linux-6.6/sound/soc/au1x/
H A Dpsc-i2s.c297 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()
349 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); au1xpsc_i2s_drvremove() local
360 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_i2s_drvsuspend() local
375 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_i2s_drvresume() local
[all...]
H A Dpsc-ac97.c368 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 in au1xpsc_ac97_drvprobe()
426 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); au1xpsc_ac97_drvremove() local
442 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_ac97_drvsuspend() local
457 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); au1xpsc_ac97_drvresume() local
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dasmmacro.h261 .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, \of
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dasmmacro.h261 .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, \of
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dwrapper.c95 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
111 wd->ablk_size = in hfsplus_read_mdb()
113 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
115 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
117 wd->ablk_start = in hfsplus_read_mdb()
121 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
122 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
166 struct hfsplus_wd wd; in hfsplus_read_wrapper() local
202 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper()
204 wd in hfsplus_read_wrapper()
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dwrapper.c93 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
200 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper()
202 wd in hfsplus_read_wrapper()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dusermode_driver.c64 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 in umd_unload_blob()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dusermode_driver.c64 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 in umd_unload_blob()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dglue.c138 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 in check_one_child()
191 struct find_child_walk_data wd = { acpi_find_child() local
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
H A Dip30-xtalk.c42 struct sgi_w1_platform_data *wd; in bridge_platform_create() local
46 wd = kzalloc(sizeof(*wd), GFP_KERNEL); in bridge_platform_create()
47 if (!wd) in bridge_platform_create()
50 snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx", in bridge_platform_create()
61 kfree(wd); in bridge_platform_create()
65 platform_device_add_data(pdev, wd, sizeof(*wd)); in bridge_platform_create()
/kernel/linux/linux-6.6/arch/mips/sgi-ip30/
H A Dip30-xtalk.c42 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()
[all...]
/kernel/linux/linux-5.10/fs/notify/inotify/
H A Dinotify_user.c185 inotify_event.wd = event->wd; in copy_event_to_user()
370 i_mark->wd = ret; in inotify_add_to_idr()
380 int wd) in inotify_idr_find_locked()
388 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
401 int wd) in inotify_idr_find()
407 i_mark = inotify_idr_find_locked(group, wd); in inotify_idr_find()
423 int wd; in inotify_remove_from_idr() local
426 wd = i_mark->wd; in inotify_remove_from_idr()
379 inotify_idr_find_locked(struct fsnotify_group *group, int wd) inotify_idr_find_locked() argument
400 inotify_idr_find(struct fsnotify_group *group, int wd) inotify_idr_find() argument
[all...]
H A Dinotify_fsnotify.c42 (old->wd == new->wd) && in event_compare()
67 int len = 0, wd; in inotify_handle_inode_event() local
84 * invalid wd. in inotify_handle_inode_event()
86 wd = READ_ONCE(i_mark->wd); in inotify_handle_inode_event()
87 if (wd == -1) in inotify_handle_inode_event()
119 event->wd = wd; in inotify_handle_inode_event()
172 printk(KERN_WARNING "fsn_mark->group=%p wd in idr_callback()
[all...]
/kernel/linux/linux-6.6/fs/notify/inotify/
H A Dinotify_user.c221 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()
424 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
437 int wd) in inotify_idr_find()
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()
415 inotify_idr_find_locked(struct fsnotify_group *group, int wd) inotify_idr_find_locked() argument
436 inotify_idr_find(struct fsnotify_group *group, int wd) inotify_idr_find() argument
[all...]
H A Dinotify_fsnotify.c42 (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 in idr_callback()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/arm64/
H A Dgtdt.c64 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 in gtdt_import_sbsa_gwdt()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/arm64/
H A Dgtdt.c64 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 in gtdt_import_sbsa_gwdt()
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dintel-mid_wdt.c37 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()

Completed in 21 milliseconds

12345