Lines Matching refs:uint16

13 	uint16	InitScriptTablePtr;		/* ptr to list of ptrs to scripts to exec */
14 uint16 MacroIndexTablePtr; /* ptr to list with indexes and sizes of items in MacroTable */
15 uint16 MacroTablePtr; /* ptr to list with items containing multiple 32bit reg writes */
16 uint16 ConditionTablePtr; /* ptr to list of PCI regs and bits to tst for exec mode */
17 uint16 IOConditionTablePtr; /* ptr to list of ISA regs and bits to tst for exec mode */
18 uint16 IOFlagConditionTablePtr;/* ptr to list of ISA regs and bits to tst, ref'd to a matrix, for exec mode */
19 uint16 InitFunctionTablePtr; /* ptr to list of startadresses of fixed ROM init routines */
36 static status_t coldstart_card(uint8* rom, uint16 init1, uint16 init2, uint16 init_size, uint16 ram_tab);
37 static status_t coldstart_card_516_up(uint8* rom, PinsTables tabs, uint16 ram_tab);
38 static status_t exec_type1_script(uint8* rom, uint16 adress, int16* size, uint16 ram_tab);
39 static status_t exec_type2_script(uint8* rom, uint16 adress, int16* size, PinsTables tabs, uint16 ram_tab);
40 static status_t exec_type2_script_mode(uint8* rom, uint16* adress, int16* size, PinsTables tabs, uint16 ram_tab, bool* exec);
43 static void setup_ram_config(uint8* rom, uint16 ram_tab);
138 uint16 init1 = rom[offset + 18] + (rom[offset + 19] * 256);
139 uint16 init2 = rom[offset + 20] + (rom[offset + 21] * 256);
140 uint16 init_size = rom[offset + 22] + (rom[offset + 23] * 256) + 1;
142 uint16 ram_tab = init1 - 0x0010;
160 uint16 init1 = rom[offset + 18] + (rom[offset + 19] * 256);
161 uint16 init2 = rom[offset + 20] + (rom[offset + 21] * 256);
162 uint16 init_size = rom[offset + 22] + (rom[offset + 23] * 256) + 1;
164 uint16 ram_tab = init1 - 0x0010;
233 static status_t coldstart_card(uint8* rom, uint16 init1, uint16 init2, uint16 init_size, uint16 ram_tab)
301 static status_t coldstart_card_516_up(uint8* rom, PinsTables tabs, uint16 ram_tab)
304 uint16 adress;
357 uint16 index = tabs.InitScriptTablePtr;
359 adress = *((uint16*)(&(rom[index])));
371 adress = *((uint16*)(&(rom[index])));
410 static status_t exec_type1_script(uint8* rom, uint16 adress, int16* size, uint16 ram_tab)
441 data = *((uint16*)(&(rom[adress])));
443 data2 = *((uint16*)(&(rom[data])));
469 data = *((uint16*)(&(rom[adress])));
528 reg = *((uint16*)(&(rom[adress])));
670 data = *((uint16*)(&(rom[adress])));
690 data = *((uint16*)(&(rom[adress])));
708 reg = *((uint16*)(&(rom[adress])));
742 data = *((uint16*)(&(rom[adress])));
825 static void setup_ram_config(uint8* rom, uint16 ram_tab)
836 ram_cfg = *((uint16*)(&(rom[(ram_tab + (ram_cfg * 2))])));
910 static status_t exec_type2_script(uint8* rom, uint16 adress, int16* size, PinsTables tabs, uint16 ram_tab)
923 static status_t exec_type2_script_mode(uint8* rom, uint16* adress, int16* size, PinsTables tabs, uint16 ram_tab, bool* exec)
986 reg = *((uint16*)(&(rom[*adress])));
1057 reg = *((uint16*)(&(rom[*adress])));
1083 data2 = *((uint16*)(&(rom[(*adress + data)])));
1169 reg2 = *((uint16*)(&(rom[*adress])));
1302 reg = *((uint16*)(&(rom[*adress])));
1325 reg = *((uint16*)(&(rom[*adress])));
1335 ENG_REG16(reg) = ((((uint16)byte) << 8) | index);
1399 reg = *((uint16*)(&(rom[*adress])));
1430 data2 = *((uint16*)(&(rom[(tabs.InitScriptTablePtr + (data << 1))])));
1452 data2 = *((uint16*)(&(rom[(tabs.InitScriptTablePtr + (data << 1))])));
1578 data = *((uint16*)(&(rom[*adress])));
1629 reg = *((uint16*)(&(rom[data])));
1661 reg = *((uint16*)(&(rom[*adress])));
1695 data = *((uint16*)(&(rom[*adress])));
1752 reg = *((uint16*)(&(rom[data])));
1756 offset32 = *((uint16*)(&(rom[data + 5])));
2195 uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
2196 uint16 height = ((DACR(FP_VDISPEND) & 0x0000ffff) + 1);
2208 uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
2209 uint16 height = ((DAC2R(FP_VDISPEND) & 0x0000ffff) + 1);
2222 uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
2223 uint16 height = ((DACR(FP_VDISPEND) & 0x0000ffff) + 1);
2236 uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
2237 uint16 height = ((DAC2R(FP_VDISPEND) & 0x0000ffff) + 1);