/linux-master/drivers/scsi/ |
H A D | wd719x.c | 50 static inline u8 wd719x_readb(struct wd719x *wd, u8 reg) argument 52 return ioread8(wd->base + reg); 55 static inline u32 wd719x_readl(struct wd719x *wd, u8 reg) argument 57 return ioread32(wd->base + reg); 60 static inline void wd719x_writeb(struct wd719x *wd, u8 reg, u8 val) argument 62 iowrite8(val, wd->base + reg); 65 static inline void wd719x_writew(struct wd719x *wd, u8 reg, u16 val) argument 67 iowrite16(val, wd->base + reg); 70 static inline void wd719x_writel(struct wd719x *wd, u8 reg, u32 val) argument 72 iowrite32(val, wd 76 wd719x_wait_ready(struct wd719x *wd) argument 93 wd719x_wait_done(struct wd719x *wd, int timeout) argument 126 wd719x_direct_cmd(struct wd719x *wd, u8 opcode, u8 dev, u8 lun, u8 tag, dma_addr_t data, int timeout) argument 164 wd719x_destroy(struct wd719x *wd) argument 192 struct wd719x *wd = shost_priv(cmd->device->host); local 212 struct wd719x *wd = shost_priv(sh); local 302 wd719x_chip_init(struct wd719x *wd) argument 468 struct wd719x *wd = shost_priv(cmd->device->host); local 491 struct wd719x *wd = shost_priv(cmd->device->host); local 525 struct wd719x *wd = shost_priv(cmd->device->host); local 563 wd719x_interrupt_SCB(struct wd719x *wd, union wd719x_regs regs, struct wd719x_scb *scb) argument 660 struct wd719x *wd = dev_id; local 717 struct wd719x *wd = eeprom->data; local 725 struct wd719x *wd = eeprom->data; local 739 wd719x_read_eeprom(struct wd719x *wd) argument 790 wd719x_detect_type(struct wd719x *wd) argument 812 struct wd719x *wd = shost_priv(sh); local 901 struct wd719x *wd; local 964 struct wd719x *wd = shost_priv(sh); local [all...] |
/linux-master/drivers/watchdog/ |
H A D | pseries-wdt.c | 95 struct watchdog_device wd; member in struct:pseries_wdt 178 pw->wd.parent = &pdev->dev; 179 pw->wd.info = &pseries_wdt_info; 180 pw->wd.ops = &pseries_wdt_ops; 182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); 183 pw->wd.max_timeout = UINT_MAX / 1000; /* from linux/watchdog.h */ 184 pw->wd.timeout = timeout; 185 if (watchdog_init_timeout(&pw->wd, 0, NULL)) 187 watchdog_set_nowayout(&pw->wd, nowayout); 188 watchdog_stop_on_reboot(&pw->wd); 203 struct watchdog_device *wd = platform_get_drvdata(pdev); local 212 struct watchdog_device *wd = platform_get_drvdata(pdev); local [all...] |
H A D | f71808e_wdt.c | 215 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); local 218 wd->timer_val = DIV_ROUND_UP(timeout, 60); 219 wd->minutes_mode = true; 220 timeout = wd->timer_val * 60; 222 wd->timer_val = timeout; 223 wd->minutes_mode = false; 231 static int fintek_wdt_set_pulse_width(struct fintek_wdt *wd, unsigned int pw) argument 235 if (wd->type == f71868) { 242 wd->pulse_val = 0; 244 wd 261 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); local 289 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); local 415 struct fintek_wdt *wd = watchdog_get_drvdata(wdd); local 431 fintek_wdt_is_running(struct fintek_wdt *wd, u8 wdt_conf) argument 450 struct fintek_wdt *wd; local [all...] |
H A D | intel-mid_wdt.c | 42 struct watchdog_device wd; member in struct:mid_wdt 56 static int wdt_start(struct watchdog_device *wd) argument 58 struct mid_wdt *mid = watchdog_get_drvdata(wd); 60 int timeout = wd->timeout; 82 static int wdt_ping(struct watchdog_device *wd) argument 84 struct mid_wdt *mid = watchdog_get_drvdata(wd); 94 static int wdt_stop(struct watchdog_device *wd) argument 96 struct mid_wdt *mid = watchdog_get_drvdata(wd); 150 wdt_dev = &mid->wd;
|
H A D | xen_wdt.c | 122 struct sched_watchdog wd = { .id = ~0 }; local 123 int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd);
|
/linux-master/sound/soc/au1x/ |
H A D | psc-i2s.c | 297 struct au1xpsc_audio_data *wd; local 299 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), 301 if (!wd) 304 wd->mmio = devm_platform_ioremap_resource(pdev, 0); 305 if (IS_ERR(wd->mmio)) 306 return PTR_ERR(wd->mmio); 311 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; 316 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; 321 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; 322 __raw_writel(PSC_CTRL_DISABLE, PSC_CTRL(wd)); 349 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); local 360 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); local 375 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); local [all...] |
H A D | psc-ac97.c | 368 struct au1xpsc_audio_data *wd; local 370 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), 372 if (!wd) 375 mutex_init(&wd->lock); 377 wd->mmio = devm_platform_ioremap_resource(pdev, 0); 378 if (IS_ERR(wd->mmio)) 379 return PTR_ERR(wd->mmio); 384 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; 389 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; 392 wd 426 struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); local 442 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); local 457 struct au1xpsc_audio_data *wd = dev_get_drvdata(dev); local [all...] |
/linux-master/kernel/ |
H A D | usermode_driver.c | 64 if (WARN_ON_ONCE(info->wd.dentry || info->wd.mnt)) 71 info->wd.mnt = mnt; 72 info->wd.dentry = mnt->mnt_root; 84 if (WARN_ON_ONCE(!info->wd.mnt || 85 !info->wd.dentry || 86 info->wd.mnt->mnt_root != info->wd.dentry)) 89 kern_unmount(info->wd.mnt); 90 info->wd [all...] |
/linux-master/arch/mips/sgi-ip30/ |
H A D | ip30-xtalk.c | 42 struct sgi_w1_platform_data *wd; local 47 wd = kzalloc(sizeof(*wd), GFP_KERNEL); 48 if (!wd) { 53 snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx", 71 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { 80 kfree(wd); 133 kfree(wd); [all...] |
/linux-master/fs/hfsplus/ |
H A D | wrapper.c | 94 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) argument 110 wd->ablk_size = 112 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) 114 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) 116 wd->ablk_start = 120 wd->embed_start = (extent >> 16) & 0xFFFF; 121 wd->embed_count = extent & 0xFFFF; 165 struct hfsplus_wd wd; local 201 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) 203 wd [all...] |
/linux-master/fs/notify/inotify/ |
H A D | inotify_fsnotify.c | 42 (old->wd == new->wd) && 68 int len = 0, wd; local 85 * invalid wd. 87 wd = READ_ONCE(i_mark->wd); 88 if (wd == -1) 120 event->wd = wd; 173 printk(KERN_WARNING "fsn_mark->group=%p wd [all...] |
H A D | inotify_user.c | 220 inotify_event.wd = event->wd; 405 i_mark->wd = ret; 415 int wd) 423 i_mark = idr_find(idr, wd); 436 int wd) 442 i_mark = inotify_idr_find_locked(group, wd); 458 int wd; local 461 wd = i_mark->wd; 414 inotify_idr_find_locked(struct fsnotify_group *group, int wd) argument 435 inotify_idr_find(struct fsnotify_group *group, int wd) argument [all...] |
H A D | inotify.h | 9 int wd; member in struct:inotify_event_info 17 int wd; member in struct:inotify_inode_mark
|
/linux-master/drivers/acpi/arm64/ |
H A D | gtdt.c | 64 struct acpi_gtdt_watchdog *wd = platform_timer; local 69 return !(wd->timer_flags & ACPI_GTDT_WATCHDOG_SECURE); 328 static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd, argument 339 DEFINE_RES_MEM(wd->control_frame_address, SZ_4K), 340 DEFINE_RES_MEM(wd->refresh_frame_address, SZ_4K), 346 wd->refresh_frame_address, wd->control_frame_address, 347 wd->timer_interrupt, wd->timer_flags); 349 if (!(wd [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | asmmacro.h | 267 .macro ld_b wd, off, base 272 ld.b $w\wd, \off(\base) 276 .macro ld_h wd, off, base 281 ld.h $w\wd, \off(\base) 285 .macro ld_w wd, off, base 290 ld.w $w\wd, \off(\base) 294 .macro ld_d wd, off, base 299 ld.d $w\wd, \off(\base) 303 .macro st_b wd, off, base 308 st.b $w\wd, \of [all...] |
/linux-master/drivers/acpi/ |
H A D | glue.c | 138 struct find_child_walk_data *wd = data; local 141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) 144 if (!wd->adev) { 150 wd->adev = adev; 151 return !(wd->check_sta || wd->check_children); 162 if (!wd->score) { 163 score = find_child_checks(wd->adev, wd->check_children); 167 wd 191 struct find_child_walk_data wd = { local [all...] |
/linux-master/include/linux/ |
H A D | usermode_driver.h | 11 struct path wd; member in struct:umd_info
|
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-xtalk.c | 29 struct sgi_w1_platform_data *wd; local 37 wd = kzalloc(sizeof(*wd), GFP_KERNEL); 38 if (!wd) { 43 snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx", 61 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { 70 kfree(wd); 124 kfree(wd); [all...] |
/linux-master/include/net/ |
H A D | pkt_sched.h | 71 void qdisc_watchdog_init_clockid(struct qdisc_watchdog *wd, struct Qdisc *qdisc, 73 void qdisc_watchdog_init(struct qdisc_watchdog *wd, struct Qdisc *qdisc); 75 void qdisc_watchdog_schedule_range_ns(struct qdisc_watchdog *wd, u64 expires, 78 static inline void qdisc_watchdog_schedule_ns(struct qdisc_watchdog *wd, argument 81 return qdisc_watchdog_schedule_range_ns(wd, expires, 0ULL); 84 static inline void qdisc_watchdog_schedule(struct qdisc_watchdog *wd, argument 87 qdisc_watchdog_schedule_ns(wd, PSCHED_TICKS2NS(expires)); 90 void qdisc_watchdog_cancel(struct qdisc_watchdog *wd);
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | Makefile | 18 obj-$(CONFIG_WD80x3) += wd.o 8390.o
|
/linux-master/drivers/usb/misc/ |
H A D | usb-ljca.c | 423 struct ljca_match_ids_walk_data *wd = data; local 426 if (acpi_match_device_ids(adev, wd->ids)) 429 if (!wd->uid) 443 uid = strchr(uid, wd->uid[0]); 445 if (!uid || strcmp(uid, wd->uid)) 449 wd->adev = adev; 459 struct ljca_match_ids_walk_data wd = { 0 }; local 474 wd.ids = ljca_gpio_hids; 479 wd.uid = uid; 480 wd [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | wd_timer.c | 12 #include <linux/platform_data/omap-wd-timer.h>
|
/linux-master/include/uapi/linux/ |
H A D | inotify.h | 19 * such as IN_CREATE, IN_DELETE, IN_OPEN, IN_CLOSE, ..., relative to the wd. 22 __s32 wd; /* watch descriptor */ member in struct:inotify_event
|
/linux-master/drivers/hid/ |
H A D | hid-logitech-hidpp.c | 2477 struct hidpp_ff_work_data *wd = container_of(w, struct hidpp_ff_work_data, work); local 2478 struct hidpp_ff_private_data *data = wd->data; 2484 switch (wd->effect_id) { 2486 wd->params[0] = data->slot_autocenter; 2493 wd->params[0] = hidpp_ff_find_effect(data, wd->effect_id); 2499 wd->command, wd->params, wd->size, &response); 2507 switch (wd 2545 struct hidpp_ff_work_data *wd = kzalloc(sizeof(*wd), GFP_KERNEL); local 2944 struct wtp_data *wd = hidpp->private_data; local 2973 struct wtp_data *wd = hidpp->private_data; local 3016 struct wtp_data *wd = hidpp->private_data; local 3056 struct wtp_data *wd = hidpp->private_data; local 3098 struct wtp_data *wd = hidpp->private_data; local 3128 struct wtp_data *wd; local 3143 struct wtp_data *wd = hidpp->private_data; local [all...] |
/linux-master/drivers/mfd/ |
H A D | mfd-core.c | 44 struct match_ids_walk_data *wd = data; local 46 if (!acpi_match_device_ids(adev, wd->ids)) { 47 wd->adev = adev; 77 struct match_ids_walk_data wd = { local 83 acpi_dev_for_each_child(parent, match_device_ids, &wd); 84 adev = wd.adev;
|