Lines Matching refs:u_int

83 static const u_int num_errors = ARRAY_SIZE(ahc_hard_errors);
103 static const u_int num_phases = ARRAY_SIZE(ahc_phase_table) - 1;
138 u_int scsi_id, char channel);
141 u_int scsi_id, char channel, int force);
146 u_int *period,
147 u_int *ppr_options,
163 u_int period, u_int offset);
166 u_int bus_width);
169 u_int period, u_int offset,
170 u_int bus_width, u_int ppr_options);
180 u_int msgval, int full);
206 static u_int ahc_rem_scb_from_disc_list(struct ahc_softc *ahc,
207 u_int prev, u_int scbptr);
209 static u_int ahc_rem_wscb(struct ahc_softc *ahc,
210 u_int scbpos, u_int prev);
218 u_int start_instr, u_int *skip_addr);
220 u_int instrptr, uint8_t *dconsts);
224 u_int initiator_id,
225 u_int event_type,
226 u_int event_arg);
228 u_int targid_mask);
233 static u_int ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl);
234 static void ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl);
236 u_int tcl, u_int busyid);
254 static void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
256 u_int intstat);
262 char channel, int lun, u_int tag,
388 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index)
417 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index)
443 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id,
444 u_int remote_id, struct ahc_tmode_tstate **tstate)
459 ahc_inw(struct ahc_softc *ahc, u_int port)
466 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value)
473 ahc_inl(struct ahc_softc *ahc, u_int port)
482 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value)
491 ahc_inq(struct ahc_softc *ahc, u_int port)
504 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value)
555 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag)
570 u_int saved_tag;
693 static u_int
696 u_int retval;
725 u_int intstat;
879 u_int scb_index;
886 u_int modnext;
977 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat)
994 u_int scb_index;
1192 u_int rejbyte = ahc_inb(ahc, ACCUM);
1211 u_int lastphase;
1222 u_int lastphase;
1247 u_int scb_index;
1248 u_int bus_phase;
1317 u_int curphase;
1351 u_int scb_index;
1380 u_int scbindex = ahc_inb(ahc, SCB_TAG);
1381 u_int lastphase = ahc_inb(ahc, LASTPHASE);
1382 u_int i;
1434 u_int dscommand1;
1446 u_int scbindex;
1475 u_int scbptr;
1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat)
1529 u_int scb_index;
1530 u_int status0;
1531 u_int status;
1611 u_int mesg_out;
1612 u_int curphase;
1613 u_int errorphase;
1614 u_int lastphase;
1615 u_int scsirate;
1616 u_int i;
1617 u_int sstat2;
1713 u_int scbptr;
1774 u_int lastphase;
1775 u_int saved_scsiid;
1776 u_int saved_lun;
1777 u_int target;
1778 u_int initiator_role_id;
1817 u_int tag;
1895 u_int i;
1898 u_int tag;
1969 u_int simode0;
1970 u_int simode1;
1981 u_int seqaddr;
1982 u_int i;
2116 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel)
2163 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force)
2193 u_int *period, u_int *ppr_options, role_t role)
2196 u_int maxsync;
2228 maxsync = max(maxsync, (u_int)AHC_SYNCRATE_ULTRA2);
2236 *period = max(*period, (u_int)transinfo->period);
2246 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
2247 u_int *ppr_options, u_int maxsync)
2321 u_int
2322 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync)
2366 u_int *offset, int wide, role_t role)
2368 u_int maxoffset;
2384 *offset = min(*offset, (u_int)tinfo->user.offset);
2386 *offset = min(*offset, (u_int)tinfo->goal.offset);
2396 u_int *bus_width, role_t role)
2412 *bus_width = min((u_int)tinfo->user.width, *bus_width);
2414 *bus_width = min((u_int)tinfo->goal.width, *bus_width);
2429 u_int auto_negotiate_orig;
2469 const struct ahc_syncrate *syncrate, u_int period,
2470 u_int offset, u_int ppr_options, u_int type, int paused)
2474 u_int old_period;
2475 u_int old_offset;
2476 u_int old_ppr;
2511 u_int scsirate;
2542 u_int sxfrctl0;
2596 u_int width, u_int type, int paused)
2600 u_int oldwidth;
2617 u_int scsirate;
2673 u_int saved_scbptr;
2720 u_int control;
2721 u_int scb_tag;
2747 u_int saved_scsiid;
2795 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target,
2796 u_int lun, char channel, role_t role)
2836 u_int scsisigo;
2864 u_int identify_msg;
2950 u_int period;
2951 u_int ppr_options;
2952 u_int offset;
3036 u_int period, u_int offset)
3056 u_int bus_width)
3074 u_int period, u_int offset, u_int bus_width,
3075 u_int ppr_options)
3117 u_int scbid;
3118 u_int seq_flags;
3119 u_int curphase;
3120 u_int lastphase;
3213 u_int bus_phase;
3512 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full)
3515 u_int index;
3522 u_int end_index;
3566 u_int targ_scsirate;
3613 u_int period;
3614 u_int ppr_options;
3615 u_int offset;
3616 u_int saved_offset;
3691 u_int bus_width;
3692 u_int saved_width;
3693 u_int sending_reply;
3788 u_int period;
3789 u_int offset;
3790 u_int bus_width;
3791 u_int ppr_options;
3792 u_int saved_width;
3793 u_int saved_offset;
3794 u_int saved_ppr_options;
3992 u_int scb_index;
3993 u_int last_msg;
4134 u_int scb_index;
4245 u_int scb_index;
4271 u_int dscommand1;
4302 u_int lun;
4551 u_int sblkctl;
4552 u_int sxfrctl1_a, sxfrctl1_b;
4564 u_int sblkctl;
4627 u_int sblkctl;
5043 u_int i;
5044 u_int scsi_conf;
5045 u_int scsiseq_template;
5229 u_int i;
5230 u_int scsi_conf;
5231 u_int ultraenb;
5232 u_int discenable;
5233 u_int tagenable;
5377 (u_int)sizeof(struct hardware_scb),
5378 (u_int)sizeof(struct scb),
5379 (u_int)sizeof(struct ahc_dma_seg));
5425 u_int our_id;
5426 u_int target_id;
5452 u_int scsirate;
5459 u_int offset;
5460 u_int maxsync;
5531 u_int hcntrl;
5632 static u_int
5633 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl)
5635 u_int scbid;
5636 u_int target_offset;
5639 u_int saved_scbptr;
5654 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl)
5656 u_int target_offset;
5659 u_int saved_scbptr;
5672 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid)
5674 u_int target_offset;
5677 u_int saved_scbptr;
5692 char channel, int lun, u_int tag, role_t role)
5751 u_int prev_tag;
5799 int lun, u_int tag, role_t role, uint32_t status,
6104 int lun, u_int tag, int stop_on_first, int remove,
6108 u_int next;
6109 u_int prev;
6110 u_int count;
6111 u_int active_scb;
6125 u_int scb_index;
6169 static u_int
6170 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr)
6172 u_int next;
6214 static u_int
6215 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev)
6217 u_int curscb, next;
6267 int lun, u_int tag, role_t role, uint32_t status)
6271 u_int active_scb;
6323 u_int scbid;
6324 u_int tcl;
6356 u_int scbid;
6420 u_int initiator, target, max_scsiid;
6421 u_int sblkctl;
6422 u_int scsiseq;
6423 u_int simode1;
6531 u_int lun;
6677 u_int initiator_id, u_int event_type, u_int event_arg)
6786 u_int begin_set[NUM_CRITICAL_SECTIONS];
6787 u_int end_set[NUM_CRITICAL_SECTIONS];
6789 u_int cs_count;
6790 u_int cur_cs;
6791 u_int i;
6792 u_int skip_addr;
6793 u_int sg_prefetch_cnt;
6893 u_int start_instr, u_int *skip_addr)
6897 u_int num_patches;
6928 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts)
6933 u_int opcode;
6957 u_int address;
6958 u_int skip_addr;
6959 u_int i;
7053 ahc_print_register(const ahc_reg_parse_entry_t *table, u_int num_entries,
7054 const char *name, u_int address, u_int value,
7055 u_int *cur_column, u_int wrap_point)
7058 u_int printed_mask;
7104 u_int cur_col;
7302 u_int max_id;
7332 u_int target;
7333 u_int lun;
7334 u_int target_mask;
7335 u_int our_id;
7457 u_int scsiseq;
7518 u_int targid_mask;
7528 u_int our_id;
7539 u_int sblkctl;
7640 u_int targid_mask;
7665 u_int scsiseq;
7696 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask)
7698 u_int scsiid_mask;
7699 u_int scsiid;
7716 u_int our_id;
7770 u_int hs_mailbox;