tag | line | file | source code |
hw | 118 | arch/m68k/atari/atafb.c | } hw; |
hw | 126 | arch/m68k/atari/atafb.c | #define HHT hw.falcon.hht |
hw | 127 | arch/m68k/atari/atafb.c | #define HBB hw.falcon.hbb |
hw | 128 | arch/m68k/atari/atafb.c | #define HBE hw.falcon.hbe |
hw | 129 | arch/m68k/atari/atafb.c | #define HDB hw.falcon.hdb |
hw | 130 | arch/m68k/atari/atafb.c | #define HDE hw.falcon.hde |
hw | 131 | arch/m68k/atari/atafb.c | #define HSS hw.falcon.hss |
hw | 132 | arch/m68k/atari/atafb.c | #define VFT hw.falcon.vft |
hw | 133 | arch/m68k/atari/atafb.c | #define VBB hw.falcon.vbb |
hw | 134 | arch/m68k/atari/atafb.c | #define VBE hw.falcon.vbe |
hw | 135 | arch/m68k/atari/atafb.c | #define VDB hw.falcon.vdb |
hw | 136 | arch/m68k/atari/atafb.c | #define VDE hw.falcon.vde |
hw | 137 | arch/m68k/atari/atafb.c | #define VSS hw.falcon.vss |
hw | 508 | arch/m68k/atari/atafb.c | mode = par->hw.tt.mode & TT_SHIFTER_MODEMASK; |
hw | 535 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_TTHIGH; |
hw | 545 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_TTLOW; |
hw | 554 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_TTMID; |
hw | 560 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_STLOW; |
hw | 569 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_STMID; |
hw | 578 | arch/m68k/atari/atafb.c | par->hw.tt.mode=TT_SHIFTER_STHIGH; |
hw | 585 | arch/m68k/atari/atafb.c | par->hw.tt.sync=0; |
hw | 587 | arch/m68k/atari/atafb.c | par->hw.tt.sync=1; |
hw | 615 | arch/m68k/atari/atafb.c | if (par->hw.tt.sync & 1) |
hw | 620 | arch/m68k/atari/atafb.c | switch (par->hw.tt.mode & TT_SHIFTER_MODEMASK) { |
hw | 691 | arch/m68k/atari/atafb.c | par->hw.tt.mode=shifter_tt.tt_shiftmode; |
hw | 692 | arch/m68k/atari/atafb.c | par->hw.tt.sync=shifter.syncmode; |
hw | 701 | arch/m68k/atari/atafb.c | shifter_tt.tt_shiftmode=par->hw.tt.mode; |
hw | 702 | arch/m68k/atari/atafb.c | shifter.syncmode=par->hw.tt.sync; |
hw | 802 | arch/m68k/atari/atafb.c | static inline int hxx_prescale(struct falcon_hw *hw) |
hw | 804 | arch/m68k/atari/atafb.c | return hw->ste_mode ? 16 : |
hw | 805 | arch/m68k/atari/atafb.c | vdl_prescale[mon_type][hw->vid_mode >> 2 & 0x3]; |
hw | 819 | arch/m68k/atari/atafb.c | if (par->hw.falcon.mono) { |
hw | 823 | arch/m68k/atari/atafb.c | else if (par->hw.falcon.f_shift & 0x100) { |
hw | 828 | arch/m68k/atari/atafb.c | if (par->hw.falcon.mono) |
hw | 892 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x400; |
hw | 893 | arch/m68k/atari/atafb.c | par->hw.falcon.st_shift = 0x200; |
hw | 897 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x000; |
hw | 898 | arch/m68k/atari/atafb.c | par->hw.falcon.st_shift = 0x100; |
hw | 902 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x000; |
hw | 903 | arch/m68k/atari/atafb.c | par->hw.falcon.st_shift = 0x000; |
hw | 907 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x010; |
hw | 911 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x100; /* hicolor, no overlay */ |
hw | 915 | arch/m68k/atari/atafb.c | par->hw.falcon.bpp = bpp; |
hw | 944 | arch/m68k/atari/atafb.c | par->hw.falcon.ste_mode = bpp==2; |
hw | 945 | arch/m68k/atari/atafb.c | par->hw.falcon.mono = bpp==1; |
hw | 954 | arch/m68k/atari/atafb.c | if (par->hw.falcon.ste_mode) |
hw | 975 | arch/m68k/atari/atafb.c | par->hw.falcon.line_width = bpp * xres / 16; |
hw | 976 | arch/m68k/atari/atafb.c | par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16; |
hw | 992 | arch/m68k/atari/atafb.c | par->hw.falcon.ste_mode = 1; |
hw | 993 | arch/m68k/atari/atafb.c | par->hw.falcon.f_shift = 0x000; |
hw | 994 | arch/m68k/atari/atafb.c | par->hw.falcon.st_shift = 0x200; |
hw | 1102 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_control = mon_type | f030_bus_width; |
hw | 1104 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_control |= VCO_SHORTOFFS; /* base_offset 64 */ |
hw | 1106 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_control |= VCO_HSYPOS; |
hw | 1108 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_control |= VCO_VSYPOS; |
hw | 1110 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_control |= pclock->control_mask; |
hw | 1112 | arch/m68k/atari/atafb.c | par->hw.falcon.sync = pclock->sync_mask | 0x2; |
hw | 1114 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_mode = (2/plen) << 2; |
hw | 1116 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_mode |= VMO_DOUBLE; |
hw | 1118 | arch/m68k/atari/atafb.c | par->hw.falcon.vid_mode |= VMO_INTER; |
hw | 1145 | arch/m68k/atari/atafb.c | prescale = hxx_prescale(&par->hw.falcon); |
hw | 1146 | arch/m68k/atari/atafb.c | base_off = par->hw.falcon.vid_control & VCO_SHORTOFFS ? 64 : 128; |
hw | 1152 | arch/m68k/atari/atafb.c | if (par->hw.falcon.f_shift & 0x100) { |
hw | 1160 | arch/m68k/atari/atafb.c | if (par->hw.falcon.ste_mode) |
hw | 1273 | arch/m68k/atari/atafb.c | par->hw.falcon.xoffset = 0; |
hw | 1285 | arch/m68k/atari/atafb.c | struct falcon_hw *hw = &par->hw.falcon; |
hw | 1288 | arch/m68k/atari/atafb.c | var->pixclock = hw->sync & 0x1 ? fext.t : |
hw | 1289 | arch/m68k/atari/atafb.c | hw->vid_control & VCO_CLOCK25 ? f25.t : f32.t; |
hw | 1295 | arch/m68k/atari/atafb.c | if (hw->vid_control & VCO_HSYPOS) |
hw | 1297 | arch/m68k/atari/atafb.c | if (hw->vid_control & VCO_VSYPOS) |
hw | 1301 | arch/m68k/atari/atafb.c | if (hw->vid_mode & VMO_INTER) |
hw | 1303 | arch/m68k/atari/atafb.c | if (hw->vid_mode & VMO_DOUBLE) |
hw | 1311 | arch/m68k/atari/atafb.c | var->yres = hw->vde - hw->vdb; |
hw | 1324 | arch/m68k/atari/atafb.c | if (hw->f_shift & 0x400) /* 2 colors */ |
hw | 1326 | arch/m68k/atari/atafb.c | else if (hw->f_shift & 0x100) /* hicolor */ |
hw | 1328 | arch/m68k/atari/atafb.c | else if (hw->f_shift & 0x010) /* 8 bitplanes */ |
hw | 1330 | arch/m68k/atari/atafb.c | else if (hw->st_shift == 0) |
hw | 1332 | arch/m68k/atari/atafb.c | else if (hw->st_shift == 0x100) |
hw | 1337 | arch/m68k/atari/atafb.c | var->xres = hw->line_width * 16 / var->bits_per_pixel; |
hw | 1338 | arch/m68k/atari/atafb.c | var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel; |
hw | 1339 | arch/m68k/atari/atafb.c | if (hw->xoffset) |
hw | 1355 | arch/m68k/atari/atafb.c | var->red.length = hw->ste_mode ? 4 : 6; |
hw | 1379 | arch/m68k/atari/atafb.c | prescale = hxx_prescale(hw); |
hw | 1380 | arch/m68k/atari/atafb.c | plen = 4 >> (hw->vid_mode >> 2 & 0x3); |
hw | 1381 | arch/m68k/atari/atafb.c | base_off = hw->vid_control & VCO_SHORTOFFS ? 64 : 128; |
hw | 1382 | arch/m68k/atari/atafb.c | if (hw->f_shift & 0x100) { |
hw | 1388 | arch/m68k/atari/atafb.c | if (hw->ste_mode) |
hw | 1397 | arch/m68k/atari/atafb.c | var->left_margin = hdb_off + prescale * ((hw->hdb & 0x1ff) - |
hw | 1398 | arch/m68k/atari/atafb.c | (hw->hdb & 0x200 ? 2+hw->hht : 0)); |
hw | 1399 | arch/m68k/atari/atafb.c | if (hw->ste_mode || mon_type!=F_MON_VGA) |
hw | 1400 | arch/m68k/atari/atafb.c | var->right_margin = prescale * (hw->hht + 2 - hw->hde) - hde_off; |
hw | 1403 | arch/m68k/atari/atafb.c | var->right_margin = prescale * (hw->hht + 2 - hw->hbb); |
hw | 1404 | arch/m68k/atari/atafb.c | var->hsync_len = prescale * (hw->hht + 2 - hw->hss); |
hw | 1407 | arch/m68k/atari/atafb.c | var->upper_margin = hw->vdb / 2 ; /* round down to full lines */ |
hw | 1408 | arch/m68k/atari/atafb.c | var->lower_margin = (hw->vft+1 - hw->vde + 1) / 2; /* round up */ |
hw | 1409 | arch/m68k/atari/atafb.c | var->vsync_len = (hw->vft+1 - hw->vss + 1) / 2; /* round up */ |
hw | 1443 | arch/m68k/atari/atafb.c | struct falcon_hw *hw = &par->hw.falcon; |
hw | 1445 | arch/m68k/atari/atafb.c | hw->line_width = shifter_f030.scn_width; |
hw | 1446 | arch/m68k/atari/atafb.c | hw->line_offset = shifter_f030.off_next; |
hw | 1447 | arch/m68k/atari/atafb.c | hw->st_shift = videl.st_shift & 0x300; |
hw | 1448 | arch/m68k/atari/atafb.c | hw->f_shift = videl.f_shift; |
hw | 1449 | arch/m68k/atari/atafb.c | hw->vid_control = videl.control; |
hw | 1450 | arch/m68k/atari/atafb.c | hw->vid_mode = videl.mode; |
hw | 1451 | arch/m68k/atari/atafb.c | hw->sync = shifter.syncmode & 0x1; |
hw | 1452 | arch/m68k/atari/atafb.c | hw->xoffset = videl.xoffset & 0xf; |
hw | 1453 | arch/m68k/atari/atafb.c | hw->hht = videl.hht; |
hw | 1454 | arch/m68k/atari/atafb.c | hw->hbb = videl.hbb; |
hw | 1455 | arch/m68k/atari/atafb.c | hw->hbe = videl.hbe; |
hw | 1456 | arch/m68k/atari/atafb.c | hw->hdb = videl.hdb; |
hw | 1457 | arch/m68k/atari/atafb.c | hw->hde = videl.hde; |
hw | 1458 | arch/m68k/atari/atafb.c | hw->hss = videl.hss; |
hw | 1459 | arch/m68k/atari/atafb.c | hw->vft = videl.vft; |
hw | 1460 | arch/m68k/atari/atafb.c | hw->vbb = videl.vbb; |
hw | 1461 | arch/m68k/atari/atafb.c | hw->vbe = videl.vbe; |
hw | 1462 | arch/m68k/atari/atafb.c | hw->vdb = videl.vdb; |
hw | 1463 | arch/m68k/atari/atafb.c | hw->vde = videl.vde; |
hw | 1464 | arch/m68k/atari/atafb.c | hw->vss = videl.vss; |
hw | 1472 | arch/m68k/atari/atafb.c | hw->ste_mode = (hw->f_shift & 0x510)==0 && hw->st_shift==0x100; |
hw | 1473 | arch/m68k/atari/atafb.c | hw->mono = (hw->f_shift & 0x400) || |
hw | 1474 | arch/m68k/atari/atafb.c | ((hw->f_shift & 0x510)==0 && hw->st_shift==0x200); |
hw | 1495 | arch/m68k/atari/atafb.c | f_new_mode = par->hw.falcon; |
hw | 1502 | arch/m68k/atari/atafb.c | struct falcon_hw *hw = &f_new_mode; |
hw | 1507 | arch/m68k/atari/atafb.c | if (hw->sync & 0x1) { |
hw | 1515 | arch/m68k/atari/atafb.c | shifter.syncmode = hw->sync; |
hw | 1517 | arch/m68k/atari/atafb.c | videl.hht = hw->hht; |
hw | 1518 | arch/m68k/atari/atafb.c | videl.hbb = hw->hbb; |
hw | 1519 | arch/m68k/atari/atafb.c | videl.hbe = hw->hbe; |
hw | 1520 | arch/m68k/atari/atafb.c | videl.hdb = hw->hdb; |
hw | 1521 | arch/m68k/atari/atafb.c | videl.hde = hw->hde; |
hw | 1522 | arch/m68k/atari/atafb.c | videl.hss = hw->hss; |
hw | 1523 | arch/m68k/atari/atafb.c | videl.vft = hw->vft; |
hw | 1524 | arch/m68k/atari/atafb.c | videl.vbb = hw->vbb; |
hw | 1525 | arch/m68k/atari/atafb.c | videl.vbe = hw->vbe; |
hw | 1526 | arch/m68k/atari/atafb.c | videl.vdb = hw->vdb; |
hw | 1527 | arch/m68k/atari/atafb.c | videl.vde = hw->vde; |
hw | 1528 | arch/m68k/atari/atafb.c | videl.vss = hw->vss; |
hw | 1533 | arch/m68k/atari/atafb.c | if (hw->ste_mode) { |
hw | 1534 | arch/m68k/atari/atafb.c | videl.st_shift = hw->st_shift; /* write enables STE palette */ |
hw | 1545 | arch/m68k/atari/atafb.c | videl.f_shift = hw->f_shift; |
hw | 1548 | arch/m68k/atari/atafb.c | videl.xoffset = hw->xoffset; |
hw | 1549 | arch/m68k/atari/atafb.c | shifter_f030.scn_width = hw->line_width; |
hw | 1550 | arch/m68k/atari/atafb.c | shifter_f030.off_next = hw->line_offset; |
hw | 1551 | arch/m68k/atari/atafb.c | videl.control = hw->vid_control; |
hw | 1552 | arch/m68k/atari/atafb.c | videl.mode = hw->vid_mode; |
hw | 1556 | arch/m68k/atari/atafb.c | videl.xoffset = current_par.hw.falcon.xoffset; |
hw | 1557 | arch/m68k/atari/atafb.c | shifter_f030.off_next = current_par.hw.falcon.line_offset; |
hw | 1569 | arch/m68k/atari/atafb.c | par->hw.falcon.xoffset = var->xoffset & 15; |
hw | 1570 | arch/m68k/atari/atafb.c | par->hw.falcon.line_offset = disp[currcon].var.bits_per_pixel * |
hw | 1572 | arch/m68k/atari/atafb.c | if (par->hw.falcon.xoffset) |
hw | 1573 | arch/m68k/atari/atafb.c | par->hw.falcon.line_offset -= disp[currcon].var.bits_per_pixel; |
hw | 1574 | arch/m68k/atari/atafb.c | xoffset = var->xoffset - par->hw.falcon.xoffset; |
hw | 1708 | arch/m68k/atari/atafb.c | mode = par->hw.st.mode & 3; |
hw | 1737 | arch/m68k/atari/atafb.c | par->hw.st.mode=ST_HIGH; |
hw | 1747 | arch/m68k/atari/atafb.c | par->hw.st.mode=ST_LOW; |
hw | 1755 | arch/m68k/atari/atafb.c | par->hw.st.mode=ST_MID; |
hw | 1764 | arch/m68k/atari/atafb.c | par->hw.st.sync=(par->hw.st.sync & ~1) | 1; |
hw | 1766 | arch/m68k/atari/atafb.c | par->hw.st.sync=(par->hw.st.sync & ~1); |
hw | 1794 | arch/m68k/atari/atafb.c | if (!(par->hw.st.sync & 1)) |
hw | 1799 | arch/m68k/atari/atafb.c | switch (par->hw.st.mode & 3) { |
hw | 1851 | arch/m68k/atari/atafb.c | par->hw.st.mode=shifter_tt.st_shiftmode; |
hw | 1852 | arch/m68k/atari/atafb.c | par->hw.st.sync=shifter.syncmode; |
hw | 1862 | arch/m68k/atari/atafb.c | shifter_tt.st_shiftmode=par->hw.st.mode; |
hw | 1863 | arch/m68k/atari/atafb.c | shifter.syncmode=par->hw.st.sync; |
hw | 2746 | drivers/block/ide.c | unsigned int hw, unit; |
hw | 2760 | drivers/block/ide.c | hw = unit / MAX_DRIVES; |
hw | 2762 | drivers/block/ide.c | hwif = &ide_hwifs[hw]; |
hw | 2780 | drivers/block/ide.c | printk(" -- USE \"ide%d=serialize\" INSTEAD", hw); |
hw | 2810 | drivers/block/ide.c | hw = s[3] - '0'; |
hw | 2811 | drivers/block/ide.c | hwif = &ide_hwifs[hw]; |
hw | 2826 | drivers/block/ide.c | if (i <= -6 && hw != 0) |
hw | 2895 | drivers/block/ide.c | ide_hwifs[hw].serialized = 1; /* serialize */ |
hw | 2896 | drivers/block/ide.c | ide_hwifs[hw^1].serialized = 1; /* with mate */ |
hw | 2925 | drivers/block/ide.c | printk("-- NOT SUPPORTED ON ide%d", hw); |
hw | 355 | drivers/net/tulip.c | } hw; |
hw | 356 | drivers/net/tulip.c | #define ng_addr hw.ng.addr |
hw | 357 | drivers/net/tulip.c | #define ok_addr hw.ok.addr |