Home
last modified time | relevance | path

Searched defs:drive (Results 1 – 25 of 35) sorted by relevance

12

/openbsd-src/sys/dev/pci/
H A Dpciide_cy693_reg.h44 #define CY_CTRL_PREFETCH(drive) (0x00000100 << (2 * (drive))) argument
52 #define CY_ADDR_CTRL_SETUP_OFF(drive) (4 * (drive)) argument
53 #define CY_ADDR_CTRL_SETUP_MASK(drive) \ argument
58 #define CY_CMD_CTRL_IOW_PULSE_OFF(drive) (12 + 16 * (drive)) argument
59 #define CY_CMD_CTRL_IOW_REC_OFF(drive) (8 + 16 * (drive)) argument
60 #define CY_CMD_CTRL_IOR_PULSE_OFF(drive) (4 + 16 * (drive)) argument
61 #define CY_CMD_CTRL_IOR_REC_OFF(drive) (0 + 16 * (drive)) argument
H A Dpciide_amd_reg.h63 #define AMD756_CABLE(chan, drive) (0x00010000 << ((chan) * 2 + (drive))) argument
68 #define AMD756_DATATIM_RECOV(channel, drive, x) (((x) & 0xf) << \ argument
70 #define AMD756_DATATIM_PULSE(channel, drive, x) (((x) & 0xf) << \ argument
82 #define AMD756_UDMA_TIME(channel, drive, x) (((x) & 0x7) << \ argument
84 #define AMD756_UDMA_EN(channel, drive) (0x40 << \ argument
86 #define AMD756_UDMA_EN_MTH(channel, drive) (0x80 << \ argument
H A Dpciide_sis_reg.h40 #define SIS_TIM66_REC_OFF(drive) (16 * (drive)) argument
41 #define SIS_TIM66_ACT_OFF(drive) (8 + 16 * (drive)) argument
42 #define SIS_TIM66_UDMA_TIME_OFF(drive) (12 + 16 * (drive)) argument
44 #define SIS_TIM100_REC_OFF(drive) (16 * (drive)) argument
45 #define SIS_TIM100_ACT_OFF(drive) (4 + 16 * (drive)) argument
46 #define SIS_TIM100_UDMA_TIME_OFF(drive) (8 + 16 * (drive)) argument
53 #define SIS_TIM133(reg57, channel, drive) \ argument
H A Dpciide_apollo_reg.h76 #define APO_DATATIM_RECOV(channel, drive, x) (((x) & 0xf) << \ argument
78 #define APO_DATATIM_PULSE(channel, drive, x) (((x) & 0xf) << \ argument
87 #define APO_UDMA_TIME(channel, drive, x) (((x) & 0xf) << \ argument
89 #define APO_UDMA_PIO_MODE(channel, drive) (0x20 << \ argument
91 #define APO_UDMA_EN(channel, drive) (0x40 << \ argument
93 #define APO_UDMA_EN_MTH(channel, drive) (0x80 << \ argument
H A Dpciide_nforce_reg.h40 #define NFORCE_PIODMATIM_SET(chan, drive, x) \ argument
50 #define NFORCE_UDMATIM_SET(chan, drive, x) \ argument
52 #define NFORCE_UDMA_EN(chan, drive) \ argument
54 #define NFORCE_UDMA_ENM(chan, drive) \ argument
H A Dpciide_acard_reg.h37 #define ATP850_SETTIME(drive, act, rec) \ argument
39 #define ATP860_SETTIME(channel, drive, act, rec) \ argument
54 #define ATP850_UDMA_MODE(channel, drive, x) \ argument
56 #define ATP860_UDMA_MODE(channel, drive, x) \ argument
H A Dpciide_cmd_reg.h64 #define CMD_DATA_TIM(chan, drive) \ argument
92 #define CMD_UDMATIM_UDMA(drive) (0x01 << (drive)) argument
93 #define CMD_UDMATIM_UDMA33(drive) (0x04 << (drive)) argument
95 #define CMD_UDMATIM_TIM_OFF(drive) (4 + ((drive) * argument
[all...]
H A Dpciide_ite_reg.h28 #define IT_CFG_CABLE(chan, drive) (0x0010 << ((chan) * 2 + (drive))) argument
35 #define IT_MODE_DMA(chan, drive) (0x0008 << ((chan) * 2 + (drive))) argument
40 #define IT_TIM_UDMA5(drive) (0x00800000 << (drive) * 8) argument
H A Dpciide_piix_reg.h92 #define PIIX_UDMACTL_DRV_EN(channel, drive) (0x01 << ((channel) * 2 + (drive))) argument
95 #define PIIX_UDMATIM_SET(x, channel, drive) \ argument
104 #define PIIX_CONFIG_CR(channel, drive) (0x0010 << ((channel) * 2 + (drive))) argument
105 #define PIIX_CONFIG_UDMA66(channel, drive) (0x0001 << ((channel) * 2 + (drive))) argument
107 #define PIIX_CONFIG_UDMA100(channel, drive) (0x1000 << ((channel) * 2 + (drive))) argument
H A Dpciide.c1994 int drive; in pciide_channel_dma_setup() local
2020 pciide_dma_table_setup(struct pciide_softc *sc, int channel, int drive) in pciide_dma_table_setup()
2091 pciide_dma_init(void *v, int channel, int drive, void *databuf, in pciide_dma_init()
2173 pciide_dma_start(void *v, int channel, int drive) in pciide_dma_start()
2185 pciide_dma_finish(void *v, int channel, int drive, int force) in pciide_dma_finish()
2405 int channel, drive; in default_chip_map() local
2602 int drive; in sata_setup_channel() local
2910 u_int8_t mode[2], drive; in piix_setup_channel() local
3022 int drive; in piix3_4_setup_channel() local
3186 u_int8_t drive = drvp->drive; in piix_setup_idetim_drvs() local
[all …]
H A Dpciide_natsemi_reg.h110 #define SCx200_TIM_PIO(chan, drive) (0x40 + 16 * (chan) + 8 * (drive)) argument
111 #define SCx200_TIM_DMA(chan, drive) (0x44 + 16 * (chan) + 8 * (drive)) argument
H A Dpciide_hpt_reg.h49 #define HPT_IDETIM(chan, drive) (0x40 + ((drive) * 4) + ((chan) * 8)) argument
/openbsd-src/sys/dev/ic/
H A Dwdcevent.h64 static __inline void WDC_LOG_ATAPI_CMD(struct channel_softc *chp, int drive, in WDC_LOG_ATAPI_CMD()
75 static __inline void WDC_LOG_ATAPI_DONE(struct channel_softc *chp, int drive, in WDC_LOG_ATAPI_DONE()
95 u_int8_t drive) { in WDC_LOG_SET_DRIVE()
123 #define WDC_LOG_ATAPI_CMD(chp, drive, flags, len, cmd) argument
124 #define WDC_LOG_ATAPI_DONE(chp, drive, flags, error) argument
128 #define WDC_LOG_SET_DRIVE(chp, drive) argument
H A Dwdc.c433 wdc_set_drive(struct channel_softc *chp, int drive) in wdc_set_drive()
440 wdc_floating_bus(struct channel_softc *chp, int drive) in wdc_floating_bus()
472 wdc_preata_drive(struct channel_softc *chp, int drive) in wdc_preata_drive()
503 wdc_ata_present(struct channel_softc *chp, int drive) in wdc_ata_present()
593 u_int8_t drive; in wdcprobe() local
979 int drive; in wdc_reset_channel() local
1527 int drive; in wdc_print_current_modes() local
1667 int drive = xfer->drive; in __wdccommand_start() local
1827 wdccommand(struct channel_softc *chp, u_int8_t drive, u_int8_t command, in wdccommand()
1857 wdccommandext(struct channel_softc *chp, u_int8_t drive, u_int8_t command, in wdccommandext()
[all …]
/openbsd-src/sys/arch/macppc/dev/
H A Dwdc_obio.c330 int drive; in wdc_obio_adjust_timing() local
395 int drive; in wdc_obio_ata4_adjust_timing() local
476 int drive; in wdc_obio_ata6_adjust_timing() local
536 wdc_obio_dma_init(void *v, int channel, int drive, void *databuf, in wdc_obio_dma_init()
568 wdc_obio_dma_start(void *v, int channel, int drive) in wdc_obio_dma_start()
576 wdc_obio_dma_finish(void *v, int channel, int drive, int force) in wdc_obio_dma_finish()
/openbsd-src/sys/dev/isa/
H A Dwdc_isa.c189 wdc_isa_dma_init(void *v, int channel, int drive, void *databuf, size_t datalen, in wdc_isa_dma_init()
202 wdc_isa_dma_start(void *v, int channel, int drive) in wdc_isa_dma_start()
208 wdc_isa_dma_finish(void *v, int channel, int drive, int force) in wdc_isa_dma_finish()
H A Dfd.c189 int drive = fa->fa_drive; in fdprobe() local
250 int drive = fa->fa_drive; in fdattach() local
339 fd_nvtotype(char *fdc, int nvraminfo, int drive) in fd_nvtotype()
/openbsd-src/sys/arch/i386/pci/
H A Dpciide_machdep.c159 int drive, s; in gcsc_setup_channel() local
/openbsd-src/games/battlestar/
H A Dcommand6.c181 drive(void) in drive() function
/openbsd-src/sys/dev/fdt/
H A Dsxipio.c280 int drive; in sxipio_drive() local
317 int mux, drive, pull; in sxipio_pinctrl() local
/openbsd-src/sys/arch/i386/stand/cdbr/
H A Dcdbr.S491 drive: .byte 0 /* Given to us by the BIOS */ label
/openbsd-src/sys/arch/amd64/stand/cdbr/
H A Dcdbr.S488 drive: .byte 0 /* Given to us by the BIOS */ label
/openbsd-src/bin/chio/
H A Dparse.y431 parse_tapedev(const char *filename, const char *changer, int drive) in parse_tapedev()
/openbsd-src/sys/dev/atapiscsi/
H A Datapiscsi.c143 int drive; member
474 wdc_atapi_drive_selected(struct channel_softc *chp, int drive) in wdc_atapi_drive_selected()
/openbsd-src/gnu/usr.bin/perl/dist/PathTools/
H A DCwd.xs634 int drive; getdcwd() local

12