Lines Matching refs:u_long

206 typedef u_long m_addr_t;	/* Enough bits to bit-hack addresses */
463 u_long flags; in __m_calloc_dma()
482 u_long flags; in __m_free_dma()
496 u_long flags; in __vtobus()
869 #define CCB_DONE_VALID(cp) (((u_long) cp) != CCB_DONE_EMPTY)
874 ((((u_long) cp) & 0xffffffff00000000ul) && \
875 (((u_long) cp) & 0xfffffffful) != CCB_DONE_EMPTY)
1138 u_long target;
1139 u_long lun;
1140 u_long data;
1141 u_long cmd;
1216 u_long transfers;
1217 u_long bytes;
1325 u_long tags_stime; /* Last time we set smap=umap */
1574 u_long p_ccb; /* BUS address of this CCB */
1585 u_long magic; /* Free / busy CCB flag */
1675 u_long p_script; /* Actual script and scripth */
1676 u_long p_scripth; /* bus addresses. */
1694 u_long clock_khz; /* SCSI clock frequency in KHz */
1712 u_long lasttime;
1713 u_long settle_time; /* Resetting the SCSI BUS */
1720 u_long regtime; /* Time it has been done */
1742 u_long p_ncb; /* BUS address of this NCB */
1931 static void ncr_init (struct ncb *np, int reset, char * msg, u_long code);
1950 static void ncr_wakeup (struct ncb *np, u_long code);
3456 BUG_ON((u_long)p != (u_long)&scrh->tryloop + sizeof (scrh->tryloop)); in ncr_script_fill()
3469 BUG_ON((u_long)p != (u_long)&scrh->done_queue+sizeof(scrh->done_queue)); in ncr_script_fill()
3481 BUG_ON((u_long)p != (u_long)&scrh->hdata_in + sizeof (scrh->hdata_in)); in ncr_script_fill()
3491 BUG_ON((u_long)p != (u_long)&scr->data_in + sizeof (scr->data_in)); in ncr_script_fill()
3501 BUG_ON((u_long)p != (u_long)&scrh->hdata_out + sizeof (scrh->hdata_out)); in ncr_script_fill()
3511 BUG_ON((u_long) p != (u_long)&scr->data_out + sizeof (scr->data_out)); in ncr_script_fill()
3697 static u_long div_10M[] =
3747 u_long period; in ncr_prepare_setting()
4174 u_long tlimit = jiffies + cmd->request->timeout - HZ; in ncr_queue_command()
4530 (u_long)term, (u_long)(2<<7)); in ncr_reset_scsi_bus()
4773 printk("%s: freeing ccb (%lx)\n", ncr_name(np), (u_long) cp); in ncr_detach()
4786 printk("%s: freeing lp (%lx)\n", ncr_name(np), (u_long) lp); in ncr_detach()
5162 void ncr_wakeup (struct ncb *np, u_long code) in ncr_wakeup()
5205 void ncr_init (struct ncb *np, int reset, char * msg, u_long code) in ncr_init()
5374 u_long minsync = tp->usrsync; in ncr_negotiate()
5428 u_long clk = np->clock_khz; /* SCSI clock frequency in kHz */ in ncr_getsync()
5430 u_long fak; /* Sync factor in sxfer */ in ncr_getsync()
5431 u_long per; /* Period in tenths of ns */ in ncr_getsync()
5432 u_long kpc; /* (per * clk) */ in ncr_getsync()
5466 u_long fak2, per2; in ncr_getsync()
5737 u_long thistime = jiffies; in ncr_timeout()
6088 u_long dsa; in ncr_int_sto()
6375 ncr_name (np), (u_long) np->header.cp); in ncr_int_ma()
6422 ncr_name (np), (u_long) cp, (u_long) np->header.cp); in ncr_int_ma()
6698 u_long dsa = INL (nc_dsa); in ncr_int_sir()
7769 (u_long) NCB_SCRIPTH_PHYS (np, snooptest), (u_long) pc,
7770 (u_long) NCB_SCRIPTH_PHYS (np, snoopend) +8);
8183 printk("%s: cmd %lx inserted into waiting list\n", ncr_name(np), (u_long) cmd);
8205 printk("%s: cmd %lx retrieved from waiting list\n", ncr_name(np), (u_long) cmd);
8222 …if (waiting_list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waitin…
8229 printk("%s: cmd %lx trying to requeue\n", ncr_name(np), (u_long) wcmd);
8235 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8300 u_long flags = 0;
8381 "%s: using memory mapped IO at virtual address 0x%lx\n", ncr_name(np), (u_long) np->vaddr);