/freebsd/sys/dev/ata/ |
H A D | ata-pci.c | 224 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_alloc_resource() 336 unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_setup_intr() 359 unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_teardown_intr() 390 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_attach() 428 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_detach() 445 struct ata_channel *ch = device_get_softc(dev); in ata_pci_status() 468 struct ata_channel *ch = device_get_softc(dev); in ata_pci_hw() 477 struct ata_channel *ch = device_get_softc(request->parent); in ata_pci_dmastart() 495 struct ata_channel *ch = device_get_softc(request->parent); in ata_pci_dmastop() 511 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmareset() [all …]
|
H A D | ata-isa.c | 100 struct ata_channel *ch = device_get_softc(dev); in ata_isa_attach() 149 struct ata_channel *ch = device_get_softc(dev); in ata_isa_detach() 168 struct ata_channel *ch = device_get_softc(dev); in ata_isa_suspend() 179 struct ata_channel *ch = device_get_softc(dev); in ata_isa_resume() 201 sizeof(struct ata_channel),
|
H A D | ata-sata.c | 51 struct ata_channel *ch = device_get_softc(dev); in ata_sata_phy_check_events() 82 ata_sata_scr_read(struct ata_channel *ch, int port, int reg, uint32_t *val) in ata_sata_scr_read() 95 ata_sata_scr_write(struct ata_channel *ch, int port, int reg, uint32_t val) in ata_sata_scr_write() 108 ata_sata_connect(struct ata_channel *ch, int port, int quick) in ata_sata_connect() 154 struct ata_channel *ch = device_get_softc(dev); in ata_sata_phy_reset() 236 struct ata_channel *ch = device_get_softc(dev); in ata_sata_getrev() 287 struct ata_channel *ch = device_get_softc(dev); in ata_pm_identify()
|
H A D | ata-all.c | 96 struct ata_channel *ch = device_get_softc(dev); in ata_attach() 221 struct ata_channel *ch = device_get_softc(dev); in ata_detach() 261 struct ata_channel *ch = device_get_softc(dev); in ata_conn_event() 285 struct ata_channel *ch = device_get_softc(dev); in ata_reinit() 310 struct ata_channel *ch; in ata_suspend() 329 struct ata_channel *ch; in ata_resume() 348 struct ata_channel *ch = (struct ata_channel *)data; in ata_interrupt() 358 struct ata_channel *ch = (struct ata_channel *)data; in ata_interrupt_locked() 393 struct ata_channel *ch = (struct ata_channel *)data; in ata_periodic_poll() 412 struct ata_channel *ch = device_get_softc(dev); in ata_default_registers() [all …]
|
H A D | ata-lowlevel.c | 55 static int ata_wait(struct ata_channel *ch, int unit, u_int8_t); 67 struct ata_channel *ch = device_get_softc(dev); in ata_generic_hw() 84 struct ata_channel *ch = device_get_softc(request->parent); in ata_begin_transaction() 243 struct ata_channel *ch = device_get_softc(request->parent); in ata_end_transaction() 472 struct ata_channel *ch = device_get_softc(dev); in ata_generic_reset() 608 struct ata_channel *ch = device_get_softc(dev); in ata_generic_status() 619 ata_wait(struct ata_channel *ch, int unit, u_int8_t mask) in ata_wait() 672 struct ata_channel *ch = device_get_softc(request->parent); in ata_generic_command() 754 struct ata_channel *ch = device_get_softc(request->parent); in ata_tf_read() 783 struct ata_channel *ch = device_get_softc(request->parent); in ata_tf_write() [all …]
|
H A D | ata-dma.c | 67 struct ata_channel *ch = device_get_softc(dev); in ata_dmainit() 128 struct ata_channel *ch = device_get_softc(dev); in ata_dmafini() 158 struct ata_channel *ch = device_get_softc(dev); in ata_dmaalloc() 214 struct ata_channel *ch = device_get_softc(dev); in ata_dmafree() 266 struct ata_channel *ch = device_get_softc(request->parent); in ata_dmaload()
|
H A D | ata-all.h | 397 struct ata_channel { struct 488 int ata_sata_scr_read(struct ata_channel *ch, int port, int reg, uint32_t *val); 489 int ata_sata_scr_write(struct ata_channel *ch, int port, int reg, uint32_t val);
|
/freebsd/sys/dev/ata/chipsets/ |
H A D | ata-acard.c | 112 struct ata_channel *ch = device_get_softc(dev); in ata_acard_ch_attach() 126 struct ata_channel *ch = device_get_softc(dev); in ata_acard_status() 153 struct ata_channel *ch = device_get_softc(dev); in ata_acard_850_setmode() 177 struct ata_channel *ch = device_get_softc(dev); in ata_acard_86X_setmode()
|
H A D | ata-intel.c | 313 struct ata_channel *ch; in ata_intel_ch_attach() 410 struct ata_channel *ch = device_get_softc(dev); in ata_intel_reset() 479 struct ata_channel *ch = device_get_softc(dev); in ata_intel_new_setmode() 579 struct ata_channel *ch = device_get_softc(dev); in ata_intel_sata_getrev() 590 struct ata_channel *ch = device_get_softc(dev); in ata_intel_sata_status() 603 struct ata_channel *ch; in ata_intel_sata_ahci_read() 635 struct ata_channel *ch; in ata_intel_sata_cscr_read() 669 struct ata_channel *ch; in ata_intel_sata_sidpr_read() 700 struct ata_channel *ch; in ata_intel_sata_ahci_write() 732 struct ata_channel *ch; in ata_intel_sata_cscr_write() [all …]
|
H A D | ata-via.c | 210 struct ata_channel *ch = device_get_softc(dev); in ata_via_ch_attach() 267 struct ata_channel *ch = device_get_softc(dev); in ata_via_ch_detach() 292 struct ata_channel *ch = device_get_softc(dev); in ata_via_reset() 317 struct ata_channel *ch = device_get_softc(dev); in ata_via_new_setmode() 346 struct ata_channel *ch = device_get_softc(dev); in ata_via_old_setmode() 404 struct ata_channel *ch = device_get_softc(dev); in ata_via_sata_ch_attach() 424 struct ata_channel *ch = device_get_softc(dev); in ata_via_sata_getrev() 438 struct ata_channel *ch = device_get_softc(dev); in ata_via_sata_setmode() 448 struct ata_channel *ch = device_get_softc(dev); in ata_via_sata_reset()
|
H A D | ata-siliconimage.c | 178 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_ch_attach() 195 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_status() 212 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_setmode() 245 struct ata_channel *ch = device_get_softc(dev); in ata_sii_ch_attach() 308 struct ata_channel *ch = device_get_softc(dev); in ata_sii_status() 327 struct ata_channel *ch = device_get_softc(dev); in ata_sii_reset() 347 struct ata_channel *ch = device_get_softc(dev); in ata_sii_setmode()
|
H A D | ata-serverworks.c | 103 struct ata_channel *ch = device_get_softc(dev); in ata_serverworks_status() 174 struct ata_channel *ch = device_get_softc(dev); in ata_serverworks_ch_attach() 258 struct ata_channel *ch = device_get_softc(request->parent); in ata_serverworks_tf_read() 286 struct ata_channel *ch = device_get_softc(request->parent); in ata_serverworks_tf_write() 316 struct ata_channel *ch = device_get_softc(dev); in ata_serverworks_setmode() 373 struct ata_channel *ch = device_get_softc(dev); in ata_serverworks_sata_reset()
|
H A D | ata-nvidia.c | 250 struct ata_channel *ch = device_get_softc(dev); in ata_nvidia_ch_attach() 272 struct ata_channel *ch = device_get_softc(dev); in ata_nvidia_ch_attach_dumb() 284 struct ata_channel *ch = device_get_softc(dev); in ata_nvidia_status() 312 struct ata_channel *ch = device_get_softc(dev); in ata_nvidia_reset() 325 struct ata_channel *ch = device_get_softc(dev); in ata_nvidia_setmode()
|
H A D | ata-national.c | 90 struct ata_channel *ch = device_get_softc(dev); in ata_national_ch_attach() 101 struct ata_channel *ch = device_get_softc(dev); in ata_national_setmode()
|
H A D | ata-ati.c | 179 struct ata_channel *ch = device_get_softc(dev); in ata_ati_dumb_ch_attach() 191 struct ata_channel *ch = device_get_softc(dev); in ata_ati_ixp700_ch_attach() 209 struct ata_channel *ch = device_get_softc(dev); in ata_ati_setmode()
|
H A D | ata-cyrix.c | 88 struct ata_channel *ch = device_get_softc(dev); in ata_cyrix_ch_attach() 99 struct ata_channel *ch = device_get_softc(dev); in ata_cyrix_setmode()
|
H A D | ata-acerlabs.c | 195 struct ata_channel *ch = device_get_softc(dev); in ata_ali_ch_attach() 220 struct ata_channel *ch = device_get_softc(dev); in ata_ali_sata_ch_attach() 261 struct ata_channel *ch = device_get_softc(dev); in ata_ali_reset() 295 struct ata_channel *ch = device_get_softc(dev); in ata_ali_setmode()
|
H A D | ata-amd.c | 111 struct ata_channel *ch = device_get_softc(dev); in ata_amd_setmode() 145 struct ata_channel *ch; in ata_amd_ch_attach()
|
H A D | ata-marvell.c | 145 struct ata_channel *ch = device_get_softc(dev); in ata_marvell_ch_attach() 159 struct ata_channel *ch = device_get_softc(dev); in ata_marvell_setmode()
|
H A D | ata-ite.c | 115 struct ata_channel *ch = device_get_softc(dev); in ata_ite_ch_attach() 129 struct ata_channel *ch = device_get_softc(dev); in ata_ite_821x_setmode()
|
H A D | ata-cypress.c | 97 struct ata_channel *ch = device_get_softc(dev); in ata_cypress_setmode()
|
H A D | ata-netcell.c | 89 struct ata_channel *ch = device_get_softc(dev); in ata_netcell_ch_attach()
|
/freebsd/sys/powerpc/psim/ |
H A D | ata_iobus.c | 224 sizeof(struct ata_channel), 232 struct ata_channel *ch = device_get_softc(dev); in ata_iobus_sub_probe()
|
/freebsd/sys/powerpc/powermac/ |
H A D | ata_dbdma.h | 40 struct ata_channel sc_ch;
|
H A D | ata_dbdma.c | 127 struct ata_channel *ch = device_get_softc(dev); in ata_dbdma_status() 205 struct ata_channel *ch = device_get_softc(request->parent); in ata_dbdma_load()
|