4 void xgifb_reg_set(unsigned long port
, u8 index
, u8 data
)
10 u8
xgifb_reg_get(unsigned long port
, u8 index
)
19 void xgifb_reg_and_or(unsigned long port
, u8 index
,
20 unsigned data_and
, unsigned data_or
)
24 temp
= xgifb_reg_get(port
, index
); /* XGINew_Part1Port index 02 */
25 temp
= (temp
& data_and
) | data_or
;
26 xgifb_reg_set(port
, index
, temp
);
29 void xgifb_reg_and(unsigned long port
, u8 index
, unsigned data_and
)
33 temp
= xgifb_reg_get(port
, index
); /* XGINew_Part1Port index 02 */
35 xgifb_reg_set(port
, index
, temp
);
38 void xgifb_reg_or(unsigned long port
, u8 index
, unsigned data_or
)
42 temp
= xgifb_reg_get(port
, index
); /* XGINew_Part1Port index 02 */
44 xgifb_reg_set(port
, index
, temp
);