Lines Matching refs:ulong32
417 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs);
444 static int gdth_search_isa(ulong32 bios_adr);
450 static int gdth_init_isa(ulong32 bios_adr,gdth_ha_str *ha);
458 static int gdth_wait(int hanum,int index,ulong32 time);
459 static int gdth_internal_cmd(int hanum,unchar service,ushort opcode,ulong32 p1,
556 static ulong32 max_rq=0, max_index=0, max_sg=0;
558 static ulong32 max_int_coal=0;
560 static ulong32 act_ints=0, act_ios=0, act_stats=0, act_rq=0;
576 #define gdth_readl(addr) (ulong32)readl((ulong)(addr))
579 #define gdth_writel(b,addr) writel((ulong32)(b),(ulong)(addr))
740 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs) in gdth_eval_mapping()
763 ulong32 id; in GDTH_INITFUNC()
779 GDTH_INITFUNC(static int, gdth_search_isa(ulong32 bios_adr)) in GDTH_INITFUNC()
782 ulong32 id; in GDTH_INITFUNC()
785 if ((addr = ioremap(bios_adr+BIOS_ID_OFFS, sizeof(ulong32))) != NULL) { in GDTH_INITFUNC()
963 ulong32 retries,id; in GDTH_INITFUNC()
991 ha->brd_phys = (ulong32)eisa_adr >> 12; in GDTH_INITFUNC()
1054 GDTH_INITFUNC(static int, gdth_init_isa(ulong32 bios_adr,gdth_ha_str *ha)) in GDTH_INITFUNC()
1059 ulong32 retries; in GDTH_INITFUNC()
1159 ulong32 retries; in GDTH_INITFUNC()
1171 ha->stype = (ulong32)pcistr->device_id; in GDTH_INITFUNC()
1664 ha->pccb->CommandIndex = (ulong32)i+2; in gdth_get_cmd_index()
1763 ulong32 i,j; in gdth_release_event()
1794 static int gdth_wait(int hanum,int index,ulong32 time) in gdth_wait()
1823 static int gdth_internal_cmd(int hanum,unchar service,ushort opcode,ulong32 p1, in gdth_internal_cmd()
1850 cmd_ptr->u.ioctl.channel = (ulong32)p2; in gdth_internal_cmd()
1859 cmd_ptr->u.cache.BlockNo = (ulong32)p2; in gdth_internal_cmd()
1876 *(ulong32 *)&cmd_ptr->u.screen.su.data[0] = p1; in gdth_internal_cmd()
1877 *(ulong32 *)&cmd_ptr->u.screen.su.data[4] = (ulong32)p2; in gdth_internal_cmd()
1878 *(ulong32 *)&cmd_ptr->u.screen.su.data[8] = (ulong32)p3; in gdth_internal_cmd()
1907 ulong32 bus_no, drv_cnt, drv_no, j; in GDTH_INITFUNC()
1960 TRACE2(("gdth_search_drives(): RTC: %x/%x/%x\n",*(ulong32 *)&rtc[0], in GDTH_INITFUNC()
1961 *(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8])); in GDTH_INITFUNC()
1963 gdth_internal_cmd(hanum,SCREENSERVICE,GDT_REALTIME, *(ulong32 *)&rtc[0], in GDTH_INITFUNC()
1964 *(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8]); in GDTH_INITFUNC()
2139 INVALID_CHANNEL,sizeof(ulong32))) { in GDTH_INITFUNC()
2140 drv_cnt = *(ulong32 *)ha->pscratch; in GDTH_INITFUNC()
2142 INVALID_CHANNEL,drv_cnt * sizeof(ulong32))) { in GDTH_INITFUNC()
2144 drv_no = ((ulong32 *)ha->pscratch)[j]; in GDTH_INITFUNC()
2288 ulong32 drv_cyls; in gdth_analyse_hdrive()
2308 drv_cyls = (ulong32)ha->hdr[hdrive].size / drv_hds / drv_secs; in gdth_analyse_hdrive()
2878 ulong32 cnt, blockcnt; in gdth_fill_cache_cmd()
2958 memcpy(&cnt, &scp->cmnd[10], sizeof(ulong32)); in gdth_fill_cache_cmd()
2961 memcpy(&no, &scp->cmnd[2], sizeof(ulong32)); in gdth_fill_cache_cmd()
2966 memcpy(&no, &scp->cmnd[0], sizeof(ulong32)); in gdth_fill_cache_cmd()
2974 cmdp->u.cache.BlockNo = (ulong32)blockno; in gdth_fill_cache_cmd()
3016 cmdp->u.cache64.sg_lst[i].sg_len = (ulong32)sl->length; in gdth_fill_cache_cmd()
3023 cmdp->u.cache.sg_lst[i].sg_len = (ulong32)sl->length; in gdth_fill_cache_cmd()
3029 if (max_sg < (ulong32)sgcnt) { in gdth_fill_cache_cmd()
3030 max_sg = (ulong32)sgcnt; in gdth_fill_cache_cmd()
3176 scp->SCp.buffer = (struct scatterlist *)((ulong32)sense_paddr); in gdth_fill_raw_cmd()
3178 scp->host_scribble = (char *)(ulong32)((ulong64)sense_paddr >> 32); in gdth_fill_raw_cmd()
3254 cmdp->u.raw64.sg_lst[i].sg_len = (ulong32)sl->length; in gdth_fill_raw_cmd()
3261 cmdp->u.raw.sg_lst[i].sg_len = (ulong32)sl->length; in gdth_fill_raw_cmd()
3943 addr = (dma_addr_t)(ulong32)scp->SCp.buffer; in gdth_sync_event()
3945 addr += (dma_addr_t)((ulong64)(ulong32)scp->host_scribble << 32); in gdth_sync_event()
4264 *(ulong32 *)ha->dvr.eu.async.scsi_coord = ha->info2; in gdth_async_event()
4304 stack.b[j++] = *(ulong32*)&dvr->eu.stream[(int)f[i]]; in gdth_log_event()
4338 ulong32 i; in gdth_timeout()
4460 ulong32 isa_bios; in GDTH_INITFUNC()
5479 gen.command.u.cache.sg_lst[0].sg_ptr = (ulong32)paddr; in ioc_general()
5516 gen.command.u.raw.sg_lst[0].sg_ptr = (ulong32)paddr; in ioc_general()
5523 gen.command.u.raw.sense_data = (ulong32)paddr + gen.data_len; in ioc_general()
5665 ulong32 info; in ioc_rescan()
5717 info = (ulong32)srp->sr_command->SCp.Message; in ioc_rescan()
5721 info = (ulong32)scp->SCp.Message; in ioc_rescan()
5725 info = (ulong32)scp.SCp.Message; in ioc_rescan()
5743 info = (ulong32)srp->sr_command->SCp.Message; in ioc_rescan()
5747 info = (ulong32)scp->SCp.Message; in ioc_rescan()
5751 info = (ulong32)scp.SCp.Message; in ioc_rescan()
5787 info = (ulong32)srp->sr_command->SCp.Message; in ioc_rescan()
5791 info = (ulong32)scp->SCp.Message; in ioc_rescan()
5795 info = (ulong32)scp.SCp.Message; in ioc_rescan()
5810 info = (ulong32)srp->sr_command->SCp.Message; in ioc_rescan()
5814 info = (ulong32)scp->SCp.Message; in ioc_rescan()
5818 info = (ulong32)scp.SCp.Message; in ioc_rescan()
5835 info = (ulong32)srp->sr_command->SCp.Message; in ioc_rescan()
5839 info = (ulong32)scp->SCp.Message; in ioc_rescan()
5843 info = (ulong32)scp.SCp.Message; in ioc_rescan()