cregit-Linux how code gets into the kernel

Release 4.7 drivers/staging/xgifb/vb_util.h

#ifndef _VBUTIL_

#define _VBUTIL_

static inline void xgifb_reg_set(unsigned long port, u8 index, u8 data) { outb(index, port); outb(data, port + 1); }

Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe2369.70%120.00%
arnaud patardarnaud patard515.15%120.00%
aaro koskinenaaro koskinen39.09%240.00%
bill pembertonbill pemberton26.06%120.00%
Total33100.00%5100.00%


static inline u8 xgifb_reg_get(unsigned long port, u8 index) { outb(index, port); return inb(port + 1); }

Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe2172.41%120.00%
aaro koskinenaaro koskinen310.34%240.00%
arnaud patardarnaud patard310.34%120.00%
bill pembertonbill pemberton26.90%120.00%
Total29100.00%5100.00%


static inline void xgifb_reg_and_or(unsigned long port, u8 index, unsigned int data_and, unsigned int data_or) { u8 temp; temp = xgifb_reg_get(port, index); temp = (u8) ((temp & data_and) | data_or); xgifb_reg_set(port, index, temp); }

Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe4272.41%116.67%
arnaud patardarnaud patard58.62%116.67%
shivani bhardwajshivani bhardwaj58.62%116.67%
bill pembertonbill pemberton35.17%116.67%
clifton barnesclifton barnes23.45%116.67%
aaro koskinenaaro koskinen11.72%116.67%
Total58100.00%6100.00%


static inline void xgifb_reg_and(unsigned long port, u8 index, unsigned int data_and) { u8 temp; temp = xgifb_reg_get(port, index); temp = (u8) (temp & data_and); xgifb_reg_set(port, index, temp); }

Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe3162.00%114.29%
shivani bhardwajshivani bhardwaj816.00%114.29%
arnaud patardarnaud patard510.00%114.29%
bill pembertonbill pemberton36.00%114.29%
aaro koskinenaaro koskinen24.00%228.57%
clifton barnesclifton barnes12.00%114.29%
Total50100.00%7100.00%


static inline void xgifb_reg_or(unsigned long port, u8 index, unsigned int data_or) { u8 temp; temp = xgifb_reg_get(port, index); temp |= data_or; xgifb_reg_set(port, index, temp); }

Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe3376.74%120.00%
arnaud patardarnaud patard511.63%120.00%
bill pembertonbill pemberton36.98%120.00%
clifton barnesclifton barnes12.33%120.00%
aaro koskinenaaro koskinen12.33%120.00%
Total43100.00%5100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
peter huewepeter huewe15067.87%111.11%
arnaud patardarnaud patard3114.03%111.11%
bill pembertonbill pemberton135.88%111.11%
shivani bhardwajshivani bhardwaj135.88%111.11%
aaro koskinenaaro koskinen104.52%444.44%
clifton barnesclifton barnes41.81%111.11%
Total221100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}