Lines Matching defs:f_shift
118 short f_shift;
880 } else if (par->hw.falcon.f_shift & 0x100) {
944 par->hw.falcon.f_shift = 0x400;
948 par->hw.falcon.f_shift = 0x000;
952 par->hw.falcon.f_shift = 0x000;
956 par->hw.falcon.f_shift = 0x010;
959 par->hw.falcon.f_shift = 0x100; /* hicolor, no overlay */
1041 par->hw.falcon.f_shift = 0x000;
1224 if (par->hw.falcon.f_shift & 0x100) {
1409 * to get bpp, we must examine f_shift and st_shift.
1410 * f_shift is valid if any of bits no. 10, 8 or 4
1411 * is set. Priority in f_shift is: 10 ">" 8 ">" 4, i.e.
1416 if (hw->f_shift & 0x400) /* 2 colors */
1418 else if (hw->f_shift & 0x100) /* hicolor */
1420 else if (hw->f_shift & 0x010) /* 8 bitplanes */
1476 if (hw->f_shift & 0x100) {
1542 hw->f_shift = videl.f_shift;
1566 hw->ste_mode = (hw->f_shift & 0x510) == 0 && hw->st_shift == 0x100;
1567 hw->mono = (hw->f_shift & 0x400) ||
1568 ((hw->f_shift & 0x510) == 0 && hw->st_shift == 0x200);
1622 videl.f_shift = 0; /* write enables Falcon palette, 0: 4 planes */
1627 * set st_shift 0, so we can tell the screen-depth if f_shift == 0.
1628 * Writing 0 to f_shift enables 4 plane Falcon mode but
1634 videl.f_shift = hw->f_shift;