Lines Matching +full:0 +full:x45
70 static int wdt_stop = 0x45;
71 module_param(wdt_stop, int, 0);
72 MODULE_PARM_DESC(wdt_stop, "SBC60xx WDT 'stop' io port (default 0x45)");
74 static int wdt_start = 0x443;
75 module_param(wdt_start, int, 0);
76 MODULE_PARM_DESC(wdt_start, "SBC60xx WDT 'start' io port (default 0x443)");
98 module_param(timeout, int, 0);
104 module_param(nowayout, bool, 0);
174 wdt_expect_close = 0; in fop_write()
178 for (ofs = 0; ofs != count; ofs++) { in fop_write()
197 if (test_and_set_bit(0, &wdt_is_open)) in fop_open()
216 clear_bit(0, &wdt_is_open); in fop_close()
217 wdt_expect_close = 0; in fop_close()
218 return 0; in fop_close()
234 return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0; in fop_ioctl()
237 return put_user(0, p); in fop_ioctl()
245 retval = 0; in fop_ioctl()
249 retval = 0; in fop_ioctl()
255 return 0; in fop_ioctl()
320 if ((wdt_stop != 0x45) && (wdt_stop != wdt_start)) in sbc60xxwdt_unload()
336 pr_err("I/O address 0x%04x already in use\n", wdt_start); in sbc60xxwdt_init()
341 /* We cannot reserve 0x45 - the kernel already has! */ in sbc60xxwdt_init()
342 if (wdt_stop != 0x45 && wdt_stop != wdt_start) { in sbc60xxwdt_init()
344 pr_err("I/O address 0x%04x already in use\n", wdt_stop); in sbc60xxwdt_init()
365 return 0; in sbc60xxwdt_init()
370 if (wdt_stop != 0x45 && wdt_stop != wdt_start) in sbc60xxwdt_init()