Lines Matching defs:ata_channel
397 struct ata_channel { struct
398 device_t dev; /* device handle */
399 int unit; /* physical channel */
400 int attached; /* channel is attached */
401 struct ata_resource r_io[ATA_MAX_RES];/* I/O resources */
402 struct resource *r_irq; /* interrupt of this channel */
403 void *ih; /* interrupt handle */
404 struct ata_lowlevel hw; /* lowlevel HW functions */
405 struct ata_dma dma; /* DMA data / functions */
406 int flags; /* channel flags */
420 int pm_level; /* power management level */
421 int devices; /* what is present */
428 struct mtx state_mtx; /* state lock */
429 int state; /* ATA channel state */
434 struct ata_request *running; /* currently running request */
435 struct task conntask; /* PHY events handling task */
436 struct cam_sim *sim;
437 struct cam_path *path;
438 struct ata_cam_device user[16]; /* User-specified settings */
439 struct ata_cam_device curr[16]; /* Current settings */
440 int requestsense; /* CCB waiting for SENSE. */
441 struct callout poll_callout; /* Periodic status poll. */
442 struct ata_request request;