Searched refs:newstat (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/slicoss/ |
D | slic.h | 593 #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/ |
D | sxg.h | 728 #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/ |
D | phantom.c | 63 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/ |
D | sx.c | 691 int command, int mask, int newstat) in sx_send_command() argument 697 newstat); in sx_send_command()
|