Home
last modified time | relevance | path

Searched refs:ahc_inb (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_core.c260 ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET); in ahc_restart()
276 ahc_inb(ahc, SCSISEQ_TEMPLATE) & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_restart()
288 if ((ahc_inb(ahc, SEQ_FLAGS2) & SCB_DMA) != 0) { in ahc_restart()
291 ahc_inb(ahc, SEQ_FLAGS2) & ~SCB_DMA); in ahc_restart()
383 error = ahc_inb(ahc, ERROR); in ahc_handle_brkadrint()
388 ahc_inb(ahc, SEQADDR0) | in ahc_handle_brkadrint()
389 (ahc_inb(ahc, SEQADDR1) << 8)); in ahc_handle_brkadrint()
439 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_seqint()
582 ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_handle_seqint()
589 ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN), in ahc_handle_seqint()
[all …]
Daic7xxx_inline.h66 (void)ahc_inb(ahc, CCSCBCTL); in ahc_pause_bug_fix()
76 return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0); in ahc_is_paused()
114 if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0) in ahc_unpause()
303 return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port)); in ahc_inw()
316 return ((ahc_inb(ahc, port)) in ahc_inl()
317 | (ahc_inb(ahc, port+1) << 8) in ahc_inl()
318 | (ahc_inb(ahc, port+2) << 16) in ahc_inl()
319 | (ahc_inb(ahc, port+3) << 24)); in ahc_inl()
334 return ((ahc_inb(ahc, port)) in ahc_inq()
335 | (ahc_inb(ahc, port+1) << 8) in ahc_inq()
[all …]
Daic7xxx_pci.c866 if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) { in ahc_pci_config()
869 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config()
871 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config()
872 sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN; in ahc_pci_config()
873 scsiseq = ahc_inb(ahc, SCSISEQ); in ahc_pci_config()
888 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
899 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config()
954 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_pci_config()
1013 ahc->bus_softc.pci_softc.dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config()
1014 ahc->bus_softc.pci_softc.dspcistatus = ahc_inb(ahc, DSPCISTATUS); in ahc_pci_config()
[all …]
Daic7770.c167 intdef = ahc_inb(ahc, INTDEF); in aic7770_config()
192 biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL); in aic7770_config()
193 scsiconf = ahc_inb(ahc, SCSICONF); in aic7770_config()
194 scsiconf1 = ahc_inb(ahc, SCSICONF + 1); in aic7770_config()
216 if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS)) in aic7770_config()
236 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_config()
239 hostconf = ahc_inb(ahc, HOSTCONF); in aic7770_config()
278 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_chip_init()
Daic7xxx_93cx6.h84 ahc_inb(sd->sd_ahc, sd->sd_control_offset)
92 ahc_inb(sd->sd_ahc, sd->sd_status_offset)
94 ahc_inb(sd->sd_ahc, sd->sd_dataout_offset)
Daic7xxx_osm.h603 static __inline uint8_t ahc_inb(struct ahc_softc * ahc, long port);
611 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb() function
668 *array++ = ahc_inb(ahc, port); in ahc_insb()
955 ahc_inb(ahc, INTSTAT); in ahc_flush_device_writes()
Daic7xxx_osm.c4891 if (disconnected && (ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) == 0) {
4894 bus_scb = ahc_lookup_scb(ahc, ahc_inb(ahc, SCB_TAG));
4898 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid
4899 && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb))
4911 last_phase = ahc_inb(ahc, LASTPHASE);
4912 saved_scbptr = ahc_inb(ahc, SCBPTR);
4913 active_scb_index = ahc_inb(ahc, SCB_TAG);
4914 saved_scsiid = ahc_inb(ahc, SAVED_SCSIID);
4977 ahc_inb(ahc, SCB_CONTROL)|MK_MESSAGE);