Home
last modified time | relevance | path

Searched refs:atx (Results 1 – 5 of 5) sorted by relevance

/dragonfly/sys/dev/disk/ahci/
HDahci_cam.c93 static int ahci_set_xfer(struct ahci_port *ap, struct ata_port *atx);
169 ahci_cam_changed(struct ahci_port *ap, struct ata_port *atx, int found) in ahci_cam_changed() argument
175 target = atx ? atx->at_target : CAM_TARGET_WILDCARD; in ahci_cam_changed()
238 ahci_cam_probe(struct ahci_port *ap, struct ata_port *atx) in ahci_cam_probe() argument
274 if (atx == NULL) { in ahci_cam_probe()
278 ATANAME(ap, atx)); in ahci_cam_probe()
283 at = atx; in ahci_cam_probe()
284 if (atx->at_type == ATA_PORT_T_PM) { in ahci_cam_probe()
286 ATANAME(ap, atx), atx->at_target); in ahci_cam_probe()
287 if (ap->ap_pmcount > atx->at_target) in ahci_cam_probe()
[all …]
HDahci.c1701 rc = ahci_port_reset(ap, atx, 0);
3989 ahci_set_feature(struct ahci_port *ap, struct ata_port *atx,
3996 at = atx ? atx : ap->ap_ata[0];
3998 xa = ahci_ata_get_xfer(ap, atx);
HDahci.h614 int ahci_set_feature(struct ahci_port *ap, struct ata_port *atx,
/dragonfly/sys/dev/disk/sili/
HDsili_cam.c84 static int sili_set_xfer(struct sili_port *ap, struct ata_port *atx);
158 sili_cam_changed(struct sili_port *ap, struct ata_port *atx, int found) in sili_cam_changed() argument
164 target = atx ? atx->at_target : CAM_TARGET_WILDCARD; in sili_cam_changed()
227 sili_cam_probe(struct sili_port *ap, struct ata_port *atx) in sili_cam_probe() argument
263 if (atx == NULL) { in sili_cam_probe()
267 ATANAME(ap, atx)); in sili_cam_probe()
272 at = atx; in sili_cam_probe()
273 if (atx->at_type == ATA_PORT_T_PM) { in sili_cam_probe()
275 ATANAME(ap, atx), atx->at_target); in sili_cam_probe()
276 if (ap->ap_pmcount > atx->at_target) in sili_cam_probe()
[all …]
/dragonfly/sys/kern/
HDkern_event.c949 struct timespec atx = *tsp; in kern_kevent() local
952 timespecsub(&atx, &ats, &atx); in kern_kevent()
953 if (atx.tv_sec < 0 || in kern_kevent()
954 (atx.tv_sec == 0 && atx.tv_nsec <= 0)) { in kern_kevent()
959 if (atx.tv_sec == 0 && in kern_kevent()
960 atx.tv_nsec < kq_sleep_threshold) { in kern_kevent()
963 } else if (atx.tv_sec < 60) { in kern_kevent()
965 atx.tv_sec * 1000000 + in kern_kevent()
966 atx.tv_nsec / 1000; in kern_kevent()
973 } else if (atx.tv_sec > 60 * 60) { in kern_kevent()
[all …]