Home
last modified time | relevance | path

Searched refs:newstat (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/slicoss/
Dslic.h593 #define UPDATE_STATS(largestat, newstat, oldstat) \ argument
595 if ((newstat) < (oldstat)) \
596 (largestat) += ((newstat) + (0xFFFFFFFF - oldstat + 1)); \
598 (largestat) += ((newstat) - (oldstat)); \
601 #define UPDATE_STATS_GB(largestat, newstat, oldstat) \ argument
603 (largestat) += ((newstat) - (oldstat)); \
/drivers/staging/sxg/
Dsxg.h728 #define UPDATE_STATS(largestat, newstat, oldstat) \ argument
730 if ((newstat) < (oldstat)) \
731 (largestat) += ((newstat) + (0xFFFFFFFF - oldstat + 1)); \
733 (largestat) += ((newstat) - (oldstat)); \
736 #define UPDATE_STATS_GB(largestat, newstat, oldstat) \ argument
738 (largestat) += ((newstat) - (oldstat)); \
/drivers/misc/
Dphantom.c63 static int phantom_status(struct phantom_device *dev, unsigned long newstat) in phantom_status() argument
65 pr_debug("phantom_status %lx %lx\n", dev->status, newstat); in phantom_status()
67 if (!(dev->status & PHB_RUNNING) && (newstat & PHB_RUNNING)) { in phantom_status()
72 } else if ((dev->status & PHB_RUNNING) && !(newstat & PHB_RUNNING)) { in phantom_status()
77 dev->status = newstat; in phantom_status()
/drivers/char/
Dsx.c691 int command, int mask, int newstat) in sx_send_command() argument
697 newstat); in sx_send_command()