Lines Matching defs:f_shift
116 short f_shift;
866 } else if (par->hw.falcon.f_shift & 0x100) {
930 par->hw.falcon.f_shift = 0x400;
934 par->hw.falcon.f_shift = 0x000;
938 par->hw.falcon.f_shift = 0x000;
942 par->hw.falcon.f_shift = 0x010;
945 par->hw.falcon.f_shift = 0x100; /* hicolor, no overlay */
1023 par->hw.falcon.f_shift = 0x000;
1203 if (par->hw.falcon.f_shift & 0x100) {
1388 * to get bpp, we must examine f_shift and st_shift.
1389 * f_shift is valid if any of bits no. 10, 8 or 4
1390 * is set. Priority in f_shift is: 10 ">" 8 ">" 4, i.e.
1395 if (hw->f_shift & 0x400) /* 2 colors */
1397 else if (hw->f_shift & 0x100) /* hicolor */
1399 else if (hw->f_shift & 0x010) /* 8 bitplanes */
1455 if (hw->f_shift & 0x100) {
1521 hw->f_shift = videl.f_shift;
1545 hw->ste_mode = (hw->f_shift & 0x510) == 0 && hw->st_shift == 0x100;
1546 hw->mono = (hw->f_shift & 0x400) ||
1547 ((hw->f_shift & 0x510) == 0 && hw->st_shift == 0x200);
1601 videl.f_shift = 0; /* write enables Falcon palette, 0: 4 planes */
1606 * set st_shift 0, so we can tell the screen-depth if f_shift == 0.
1607 * Writing 0 to f_shift enables 4 plane Falcon mode but
1613 videl.f_shift = hw->f_shift;