/dports/mail/courier/courier-0.65.3/courier/ |
H A D | cdmsgq3.C | 141 fflush(drvp->module_to); in startdelivery() 177 drvp.delpfreefirst=di; in completed() 202 drvp.hdlvrplast=hostp; in completed() 203 drvp.hdlvrpfirst=hostp; in completed() 208 hostp=drvp.hdlvrplast; in completed() 219 drvp.hdlvrplast=hostp; in completed() 220 drvp.hdlvrpfirst=hostp; in completed() 285 if (drvp.hdlvrpfree) in completed() 289 hostp=drvp.hdlvrpfree; in completed() 315 drvp.hdlvrplast=hostp; in completed() [all …]
|
H A D | cdmsgq.C | 888 drvinfo *drvp=ri.delmodule; in start_message() local 924 if (drvp->hdlvrpfree) in start_message() 929 hostp=drvp->hdlvrpfree; in start_message() 930 drvp->hdlvrpfree=hostp->next; in start_message() 942 drvp->hdlvrplast=hostp->prev; in start_message() 960 drvp->hdlvrpfirst=hostp; in start_message() 961 drvp->hdlvrplast=hostp; in start_message() 979 drvp->delpfreefirst) in start_message() 989 startdelivery(drvp, newdi); in start_message() 1013 pi->drvp=drvp; in start_message() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/ |
H A D | siside.c | 372 drvp->UDMA_mode = 2; in sis96x_setup_channel() 383 if (drvp->PIO_mode > (drvp->DMA_mode + 2)) in sis96x_setup_channel() 384 drvp->PIO_mode = drvp->DMA_mode + 2; in sis96x_setup_channel() 385 if (drvp->DMA_mode + 2 > (drvp->PIO_mode)) in sis96x_setup_channel() 386 drvp->DMA_mode = (drvp->PIO_mode > 2) ? in sis96x_setup_channel() 442 drvp->UDMA_mode = 2; in sis_setup_channel() 469 if (drvp->PIO_mode > (drvp->DMA_mode + 2)) in sis_setup_channel() 470 drvp->PIO_mode = drvp->DMA_mode + 2; in sis_setup_channel() 471 if (drvp->DMA_mode + 2 > (drvp->PIO_mode)) in sis_setup_channel() 472 drvp->DMA_mode = (drvp->PIO_mode > 2) ? in sis_setup_channel() [all …]
|
H A D | piixide.c | 618 min(drvp[0].DMA_mode, drvp[1].DMA_mode); in piix_setup_channel() 647 if (drvp[0].PIO_mode < 2) { in piix_setup_channel() 655 min(drvp[1].PIO_mode, drvp[0].PIO_mode); in piix_setup_channel() 760 drvp->UDMA_mode = 2; in piix3_4_setup_channel() 778 drvp->UDMA_mode = 2; in piix3_4_setup_channel() 779 if (drvp->UDMA_mode > 2) in piix3_4_setup_channel() 867 drvp->DMA_mode == 0) { in piix_setup_idetim_drvs() 868 drvp->PIO_mode = 0; in piix_setup_idetim_drvs() 880 drvp->PIO_mode = 0; in piix_setup_idetim_drvs() 895 if (drvp->PIO_mode < 2) in piix_setup_idetim_drvs() [all …]
|
H A D | toshide.c | 168 struct ata_drive_datas *drvp; in piccolo_setup_channel() local 185 drvp = &chp->ch_drive[drive]; in piccolo_setup_channel() 187 if (drvp->drive_type == ATA_DRIVET_NONE) in piccolo_setup_channel() 190 if (drvp->drive_flags & ATA_DRIVE_UDMA) { in piccolo_setup_channel() 193 drvp->drive_flags &= ~ATA_DRIVE_DMA; in piccolo_setup_channel() 222 if (drvp->PIO_mode > (drvp->DMA_mode + 2)) in piccolo_setup_channel() 223 drvp->PIO_mode = drvp->DMA_mode + 2; in piccolo_setup_channel() 224 if (drvp->DMA_mode + 2 > (drvp->PIO_mode)) in piccolo_setup_channel() 225 drvp->DMA_mode = (drvp->PIO_mode > 2) ? in piccolo_setup_channel() 226 drvp->PIO_mode - 2 : 0; in piccolo_setup_channel() [all …]
|
H A D | iteide.c | 203 if (drvp->UDMA_mode > 2 && in ite_setup_channel() 209 drvp->UDMA_mode = 2; in ite_setup_channel() 213 if (drvp->UDMA_mode >= 5) in ite_setup_channel() 218 mode = drvp->PIO_mode; in ite_setup_channel() 226 if (drvp->PIO_mode <= (drvp->DMA_mode + 2)) in ite_setup_channel() 227 mode = drvp->PIO_mode; in ite_setup_channel() 238 drvp->DMA_mode = 0; in ite_setup_channel() 239 drvp->PIO_mode = 0; in ite_setup_channel() 242 drvp->PIO_mode = mode; in ite_setup_channel() 243 drvp->DMA_mode = mode - 2; in ite_setup_channel() [all …]
|
H A D | slide.c | 190 struct ata_drive_datas *drvp; in sl82c105_setup_channel() local 209 drvp = &chp->ch_drive[drive]; in sl82c105_setup_channel() 211 if (drvp->drive_type == ATA_DRIVET_NONE) { in sl82c105_setup_channel() 216 if (drvp->drive_flags & ATA_DRIVE_DMA) { in sl82c105_setup_channel() 221 if (drvp->PIO_mode >= 3) { in sl82c105_setup_channel() 222 if ((drvp->DMA_mode + 2) > drvp->PIO_mode) in sl82c105_setup_channel() 223 drvp->DMA_mode = drvp->PIO_mode - 2; in sl82c105_setup_channel() 224 if (drvp->DMA_mode < 1) { in sl82c105_setup_channel() 230 drvp->drive_flags &= ~ATA_DRIVE_DMA; in sl82c105_setup_channel() 239 drvp->drive_flags &= ~ATA_DRIVE_DMA; in sl82c105_setup_channel() [all …]
|
H A D | optiide.c | 172 struct ata_drive_datas *drvp; in opti_setup_channel() local 199 drvp = &chp->ch_drive[drive]; in opti_setup_channel() 211 if (drvp->PIO_mode > (drvp->DMA_mode + 2)) in opti_setup_channel() 212 drvp->PIO_mode = drvp->DMA_mode + 2; in opti_setup_channel() 213 if (drvp->DMA_mode + 2 > (drvp->PIO_mode)) in opti_setup_channel() 214 drvp->DMA_mode = (drvp->PIO_mode > 2) ? in opti_setup_channel() 215 drvp->PIO_mode - 2 : 0; in opti_setup_channel() 216 if (drvp->DMA_mode == 0) in opti_setup_channel() 217 drvp->PIO_mode = 0; in opti_setup_channel() 219 mode[drive] = drvp->DMA_mode + 5; in opti_setup_channel() [all …]
|
H A D | acardide.c | 183 struct ata_drive_datas *drvp; in acard_setup_channel() local 222 drvp = &chp->ch_drive[drive]; in acard_setup_channel() 232 acard_act_udma[drvp->UDMA_mode], in acard_setup_channel() 252 acard_act_dma[drvp->DMA_mode], in acard_setup_channel() 253 acard_rec_dma[drvp->DMA_mode]); in acard_setup_channel() 256 acard_act_dma[drvp->DMA_mode], in acard_setup_channel() 257 acard_rec_dma[drvp->DMA_mode]); in acard_setup_channel() 267 acard_act_pio[drvp->PIO_mode], in acard_setup_channel() 268 acard_rec_pio[drvp->PIO_mode]); in acard_setup_channel() 271 acard_act_pio[drvp->PIO_mode], in acard_setup_channel() [all …]
|
H A D | cmdide.c | 368 struct ata_drive_datas *drvp; in cmd0643_9_setup_channel() local 394 if (drvp->UDMA_mode > 2 && in cmd0643_9_setup_channel() 398 drvp->UDMA_mode = 2; in cmd0643_9_setup_channel() 399 if (drvp->UDMA_mode > 2) in cmd0643_9_setup_channel() 427 if (drvp->PIO_mode >= 3 && in cmd0643_9_setup_channel() 428 (drvp->DMA_mode + 2) > drvp->PIO_mode) { in cmd0643_9_setup_channel() 429 drvp->DMA_mode = drvp->PIO_mode - 2; in cmd0643_9_setup_channel() 551 struct ata_drive_datas *drvp; in cmd680_setup_channel() local 584 if (drvp->UDMA_mode > 2 && in cmd680_setup_channel() 586 drvp->UDMA_mode = 2; in cmd680_setup_channel() [all …]
|
H A D | aceride.c | 257 struct ata_drive_datas *drvp; in acer_setup_channel() local 283 drvp = &chp->ch_drive[drive]; in acer_setup_channel() 313 acer_udma[drvp->UDMA_mode]); in acer_setup_channel() 315 if (drvp->UDMA_mode >= 3) { in acer_setup_channel() 327 if (drvp->PIO_mode > (drvp->DMA_mode + 2)) in acer_setup_channel() 328 drvp->PIO_mode = drvp->DMA_mode + 2; in acer_setup_channel() 329 if (drvp->DMA_mode + 2 > (drvp->PIO_mode)) in acer_setup_channel() 330 drvp->DMA_mode = (drvp->PIO_mode > 2) ? in acer_setup_channel() 331 drvp->PIO_mode - 2 : 0; in acer_setup_channel() 332 if (drvp->DMA_mode == 0) in acer_setup_channel() [all …]
|
H A D | nside.c | 158 struct ata_drive_datas *drvp; in natsemi_setup_channel() local 169 drvp = &chp->ch_drive[drive]; in natsemi_setup_channel() 171 if (drvp->drive_type == ATA_DRIVET_NONE) in natsemi_setup_channel() 176 if ((drvp->drive_flags & ATA_DRIVE_DMA) == 0) { in natsemi_setup_channel() 177 tim = natsemi_pio_pulse[drvp->PIO_mode] | in natsemi_setup_channel() 178 (natsemi_pio_recover[drvp->PIO_mode] << 4); in natsemi_setup_channel() 185 if (drvp->PIO_mode >= 3 && in natsemi_setup_channel() 186 (drvp->DMA_mode + 2) > drvp->PIO_mode) { in natsemi_setup_channel() 187 drvp->DMA_mode = drvp->PIO_mode - 2; in natsemi_setup_channel() 190 tim = natsemi_dma_pulse[drvp->DMA_mode] | in natsemi_setup_channel() [all …]
|
H A D | schide.c | 172 struct ata_drive_datas *drvp; in sch_setup_channel() local 186 drvp = &chp->ch_drive[drive]; in sch_setup_channel() 188 if (drvp->drive_type == ATA_DRIVET_NONE) in sch_setup_channel() 195 if (((drvp->drive_flags & ATA_DRIVE_DMA) == 0 && in sch_setup_channel() 196 (drvp->drive_flags & ATA_DRIVE_UDMA) == 0)) in sch_setup_channel() 201 (drvp->drive_flags & ATA_DRIVE_UDMA)) { in sch_setup_channel() 203 tim |= (drvp->UDMA_mode << 16) | SCH_TIM_SYNCDMA; in sch_setup_channel() 207 drvp->drive_flags &= ~ATA_DRIVE_UDMA; in sch_setup_channel() 215 tim |= (drvp->DMA_mode << 8) | (drvp->PIO_mode); in sch_setup_channel()
|
H A D | hptide.c | 281 struct ata_drive_datas *drvp; in hpt_setup_channel() local 339 drvp = &chp->ch_drive[drive]; in hpt_setup_channel() 350 drvp->drive_flags &= ~ATA_DRIVE_DMA; in hpt_setup_channel() 353 drvp->UDMA_mode > 2) in hpt_setup_channel() 354 drvp->UDMA_mode = 2; in hpt_setup_channel() 355 after = tim_udma[drvp->UDMA_mode]; in hpt_setup_channel() 363 if (drvp->PIO_mode >= 3 && in hpt_setup_channel() 364 (drvp->DMA_mode + 2) > drvp->PIO_mode) { in hpt_setup_channel() 365 drvp->DMA_mode = drvp->PIO_mode - 2; in hpt_setup_channel() 367 after = tim_dma[drvp->DMA_mode]; in hpt_setup_channel() [all …]
|
H A D | rccide.c | 184 struct ata_drive_datas *drvp; in serverworks_setup_channel() local 213 drvp = &chp->ch_drive[drive]; in serverworks_setup_channel() 215 if (drvp->drive_type == ATA_DRIVET_NONE) in serverworks_setup_channel() 219 pio_time |= pio_modes[drvp->PIO_mode] << (8 * (unit^1)); in serverworks_setup_channel() 220 pio_mode |= drvp->PIO_mode << (4 * unit + 16); in serverworks_setup_channel() 222 (drvp->drive_flags & ATA_DRIVE_UDMA)) { in serverworks_setup_channel() 224 if (drvp->UDMA_mode > 2 && in serverworks_setup_channel() 228 drvp->UDMA_mode = 2; in serverworks_setup_channel() 230 udma_mode |= drvp->UDMA_mode << (4 * unit + 16); in serverworks_setup_channel() 234 (drvp->drive_flags & ATA_DRIVE_DMA)) { in serverworks_setup_channel() [all …]
|
H A D | ixpide.c | 180 struct ata_drive_datas *drvp; in ixp_setup_channel() local 191 drvp = &chp->ch_drive[drive]; in ixp_setup_channel() 192 if (drvp->drive_type == ATA_DRIVET_NONE) in ixp_setup_channel() 194 if (drvp->drive_flags & ATA_DRIVE_UDMA) { in ixp_setup_channel() 196 drvp->drive_flags &= ~ATA_DRIVE_DMA; in ixp_setup_channel() 200 } else if (drvp->drive_flags & ATA_DRIVE_DMA) { in ixp_setup_channel() 203 ixp_mdma_timings[drvp->DMA_mode]); in ixp_setup_channel() 211 if (drvp->PIO_mode == 1) in ixp_setup_channel() 212 drvp->PIO_mode = 0; in ixp_setup_channel() 214 IXP_SET_MODE(pio, chp->ch_channel, drive, drvp->PIO_mode); in ixp_setup_channel() [all …]
|
H A D | rdcide.c | 228 if (drvp[drive].drive_type == ATA_DRIVET_NONE) in rdcide_setup_channel() 234 rdcide_setup[drvp[drive].PIO_mode], in rdcide_setup_channel() 237 rdcide_hold[drvp[drive].PIO_mode], in rdcide_setup_channel() 242 rdcide_setup[drvp[drive].PIO_mode], in rdcide_setup_channel() 245 rdcide_hold[drvp[drive].PIO_mode], in rdcide_setup_channel() 248 if (drvp[drive].PIO_mode > 0) { in rdcide_setup_channel() 252 if (drvp[drive].drive_flags & ATA_DRIVE_DMA) { in rdcide_setup_channel() 259 && drvp[drive].UDMA_mode > 2) in rdcide_setup_channel() 260 drvp[drive].UDMA_mode = 2; in rdcide_setup_channel() 263 rdcide_udmatim[drvp[drive].UDMA_mode], in rdcide_setup_channel() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/ata/ |
H A D | ata.c | 864 drvp->n_dmaerrs++; in ata_dmaerr() 865 if (drvp->n_dmaerrs >= NERRS_MAX && drvp->n_xfers <= NXFER) { in ata_dmaerr() 868 drvp->n_xfers = 0; in ata_dmaerr() 1201 chp->ch_channel, drvp->drive, drvp->PIO_mode); in ata_print_modes() 1264 if ((drvp->drive_flags & ATA_DRIVE_UDMA) && drvp->UDMA_mode >= 2) { in ata_downgrade_mode() 1265 drvp->UDMA_mode--; in ata_downgrade_mode() 1277 drvp->PIO_mode = drvp->PIO_cap; in ata_downgrade_mode() 1280 drvp->PIO_mode); in ata_downgrade_mode() 1347 drvp->PIO_mode = 3; in ata_probe_caps() 1430 drvp->DMA_cap = i; in ata_probe_caps() [all …]
|
H A D | ata_wdc.c | 163 xfer->c_drive = drvp->drive; in wdc_ata_bio() 193 drvp->state, drvp->drive_flags, xfer->c_flags, chp->ch_flags), in wdc_ata_bio_start() 253 if (drvp->drive_flags & ATA_DRIVE_DMA) { in wdc_ata_bio_start() 289 drvp->state = READY; in wdc_ata_bio_start() 320 drvp->state = 0; in wdc_ata_bio_start() 352 if (drvp->n_xfers <= NXFER) in _wdc_ata_bio_start() 353 drvp->n_xfers++; in _wdc_ata_bio_start() 628 if (drvp->state < READY) { in wdc_ata_bio_intr() 631 drvp->state); in wdc_ata_bio_intr() 667 drv_err = wdc_ata_err(drvp, ata_bio); in wdc_ata_bio_intr() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/scsipi/ |
H A D | atapi_wdc.c | 323 if (drvp->drv_softc) in wdc_atapi_probe_device() 324 ata_probe_caps(drvp); in wdc_atapi_probe_device() 467 drvp->n_xfers++; in wdc_atapi_start() 513 drvp->PIO_mode); in wdc_atapi_start() 560 drvp->state = READY; in wdc_atapi_start() 757 ata_dmaerr(drvp, in wdc_atapi_intr() 852 ata_dmaerr(drvp, in wdc_atapi_intr() 903 ata_dmaerr(drvp, in wdc_atapi_intr() 973 ata_dmaerr(drvp, in wdc_atapi_intr() 1051 ata_dmaerr(drvp, in wdc_atapi_phase_complete() [all …]
|
/dports/emulators/cpmtools2/cpmtools-2.22/ |
H A D | device_win32.c | 402 DRIVEPARAMS drvp; in Device_setGeometry() local 403 memset(&drvp, 0, sizeof(drvp)); in Device_setGeometry() 407 drvp.sectorspertrack = sectrk; in Device_setGeometry() 417 drvp.heads = 1; in Device_setGeometry() 422 drvp.heads = 2; in Device_setGeometry() 428 drvp.reservedsectors = 1; in Device_setGeometry() 429 drvp.numberofFATs = 2; in Device_setGeometry() 431 drvp.rootdirsize = 64; in Device_setGeometry() 433 drvp.hiddensectors = 0; in Device_setGeometry() 434 drvp.sectorsperfat = 3; in Device_setGeometry() [all …]
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/xfree86/common/ |
H A D | xf86platformBus.c | 404 p->driver = drvp; in xf86ClaimPlatformSlot() 452 entity = xf86ClaimPlatformSlot(dev, drvp, 0, in doPlatformProbe() 478 if (drvp->platformProbe(drvp, entity, flags, dev, match_data)) in doPlatformProbe() 511 foundScreen = doPlatformProbe(dev, drvp, gdev, flags, 0); in probeSingleDevice() 529 xf86platformProbeDev(DriverPtr drvp) in xf86platformProbeDev() argument 570 xf86platformAddGPUDevices(DriverPtr drvp) in xf86platformAddGPUDevices() argument 576 if (!drvp->platformProbe) in xf86platformAddGPUDevices() 579 xf86MatchDevice(drvp->driverName, &devList); in xf86platformAddGPUDevices() 601 DriverPtr drvp = NULL; in xf86platformAddDevice() local 616 drvp = xf86DriverList[i]; in xf86platformAddDevice() [all …]
|
/dports/x11-servers/xwayland/xorg-server-1.20.13/hw/xfree86/common/ |
H A D | xf86platformBus.c | 404 p->driver = drvp; in xf86ClaimPlatformSlot() 452 entity = xf86ClaimPlatformSlot(dev, drvp, 0, in doPlatformProbe() 478 if (drvp->platformProbe(drvp, entity, flags, dev, match_data)) in doPlatformProbe() 511 foundScreen = doPlatformProbe(dev, drvp, gdev, flags, 0); in probeSingleDevice() 529 xf86platformProbeDev(DriverPtr drvp) in xf86platformProbeDev() argument 570 xf86platformAddGPUDevices(DriverPtr drvp) in xf86platformAddGPUDevices() argument 576 if (!drvp->platformProbe) in xf86platformAddGPUDevices() 579 xf86MatchDevice(drvp->driverName, &devList); in xf86platformAddGPUDevices() 601 DriverPtr drvp = NULL; in xf86platformAddDevice() local 616 drvp = xf86DriverList[i]; in xf86platformAddDevice() [all …]
|
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/hw/xfree86/common/ |
H A D | xf86platformBus.c | 404 p->driver = drvp; in xf86ClaimPlatformSlot() 452 entity = xf86ClaimPlatformSlot(dev, drvp, 0, in doPlatformProbe() 478 if (drvp->platformProbe(drvp, entity, flags, dev, match_data)) in doPlatformProbe() 511 foundScreen = doPlatformProbe(dev, drvp, gdev, flags, 0); in probeSingleDevice() 529 xf86platformProbeDev(DriverPtr drvp) in xf86platformProbeDev() argument 570 xf86platformAddGPUDevices(DriverPtr drvp) in xf86platformAddGPUDevices() argument 576 if (!drvp->platformProbe) in xf86platformAddGPUDevices() 579 xf86MatchDevice(drvp->driverName, &devList); in xf86platformAddGPUDevices() 601 DriverPtr drvp = NULL; in xf86platformAddDevice() local 616 drvp = xf86DriverList[i]; in xf86platformAddDevice() [all …]
|
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/hw/xfree86/common/ |
H A D | xf86platformBus.c | 404 p->driver = drvp; in xf86ClaimPlatformSlot() 452 entity = xf86ClaimPlatformSlot(dev, drvp, 0, in doPlatformProbe() 478 if (drvp->platformProbe(drvp, entity, flags, dev, match_data)) in doPlatformProbe() 511 foundScreen = doPlatformProbe(dev, drvp, gdev, flags, 0); in probeSingleDevice() 529 xf86platformProbeDev(DriverPtr drvp) in xf86platformProbeDev() argument 570 xf86platformAddGPUDevices(DriverPtr drvp) in xf86platformAddGPUDevices() argument 576 if (!drvp->platformProbe) in xf86platformAddGPUDevices() 579 xf86MatchDevice(drvp->driverName, &devList); in xf86platformAddGPUDevices() 601 DriverPtr drvp = NULL; in xf86platformAddDevice() local 616 drvp = xf86DriverList[i]; in xf86platformAddDevice() [all …]
|