Lines Matching defs:p

71 #define TCOBASE(p)	((p)->tco_res->start)  argument
73 #define SMI_EN(p) ((p)->smi_res->start) argument
75 #define TCO_RLD(p) (TCOBASE(p) + 0x00) /* TCO Timer Reload/Curr. Value */ argument
76 #define TCOv1_TMR(p) (TCOBASE(p) + 0x01) /* TCOv1 Timer Initial Value*/ argument
77 #define TCO_DAT_IN(p) (TCOBASE(p) + 0x02) /* TCO Data In Register */ argument
78 #define TCO_DAT_OUT(p) (TCOBASE(p) + 0x03) /* TCO Data Out Register */ argument
79 #define TCO1_STS(p) (TCOBASE(p) + 0x04) /* TCO1 Status Register */ argument
80 #define TCO2_STS(p) (TCOBASE(p) + 0x06) /* TCO2 Status Register */ argument
81 #define TCO1_CNT(p) (TCOBASE(p) + 0x08) /* TCO1 Control Register */ argument
82 #define TCO2_CNT(p) (TCOBASE(p) + 0x0a) /* TCO2 Control Register */ argument
83 #define TCOv2_TMR(p) (TCOBASE(p) + 0x12) /* TCOv2 Timer Initial Value*/ argument
138 static inline unsigned int seconds_to_ticks(struct iTCO_wdt_private *p, in seconds_to_ticks()
144 static inline unsigned int ticks_to_seconds(struct iTCO_wdt_private *p, in ticks_to_seconds()
150 static inline u32 no_reboot_bit(struct iTCO_wdt_private *p) in no_reboot_bit()
179 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_pci() local
199 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_mem() local
219 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_cnt() local
243 static void iTCO_wdt_no_reboot_bit_setup(struct iTCO_wdt_private *p, in iTCO_wdt_no_reboot_bit_setup()
269 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_start() local
304 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_stop() local
329 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_ping() local
350 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_set_timeout() local
400 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_get_timeleft() local
427 static bool iTCO_wdt_set_running(struct iTCO_wdt_private *p) in iTCO_wdt_set_running()
468 struct iTCO_wdt_private *p; in iTCO_wdt_probe() local
623 struct iTCO_wdt_private *p = dev_get_drvdata(dev); in iTCO_wdt_suspend_noirq() local
637 struct iTCO_wdt_private *p = dev_get_drvdata(dev); in iTCO_wdt_resume_noirq() local