Home
last modified time | relevance | path

Searched defs:chp (Results 1 – 25 of 81) sorted by relevance

1234

/netbsd-src/sys/dev/ata/
H A Data_subr.c81 ata_queue_hwslot_to_xfer(struct ata_channel *chp, int hwslot) in ata_queue_hwslot_to_xfer()
109 ata_queue_get_active_xfer_locked(struct ata_channel *chp) in ata_queue_get_active_xfer_locked()
131 ata_queue_get_active_xfer(struct ata_channel *chp) in ata_queue_get_active_xfer()
143 ata_queue_drive_active_xfer(struct ata_channel *chp, int drive) in ata_queue_drive_active_xfer()
196 ata_channel_init(struct ata_channel *chp) in ata_channel_init()
210 ata_channel_destroy(struct ata_channel *chp) in ata_channel_destroy()
229 struct ata_channel *chp = v; in ata_timeout() local
267 ata_channel_lock(struct ata_channel *chp) in ata_channel_lock()
273 ata_channel_unlock(struct ata_channel *chp) in ata_channel_unlock()
279 ata_channel_lock_owned(struct ata_channel *chp) in ata_channel_lock_owned()
[all …]
H A Data.c199 ata_channel_attach(struct ata_channel *chp) in ata_channel_attach()
218 ata_channel_detach(struct ata_channel *chp) in ata_channel_detach()
231 struct ata_channel *chp = atabus_sc->sc_chan; in atabusconfig() local
312 struct ata_channel *chp = atabus_sc->sc_chan; in atabusconfig_thread() local
441 struct ata_channel *chp = sc->sc_chan; in atabus_thread() local
549 ata_is_thread_run(struct ata_channel *chp) in ata_is_thread_run()
557 ata_thread_wake_locked(struct ata_channel *chp) in ata_thread_wake_locked()
572 struct ata_channel *chp = aux; in atabus_match() local
593 struct ata_channel *chp = aux; in atabus_attach() local
635 struct ata_channel *chp = sc->sc_chan; in atabus_detach() local
[all …]
H A Dsatapmp_subr.c51 satapmp_read_8(struct ata_channel *chp, int port, int reg, uint64_t *value, in satapmp_read_8()
105 satapmp_read(struct ata_channel *chp, int port, int reg, uint32_t *value, in satapmp_read()
120 satapmp_write_8(struct ata_channel *chp, int port, int reg, uint64_t value, in satapmp_write_8()
173 satapmp_write(struct ata_channel *chp, int port, int reg, uint32_t value, in satapmp_write()
184 satapmp_reset_device_port(struct ata_channel *chp, int port, in satapmp_reset_device_port()
239 satapmp_rescan(struct ata_channel *chp, struct ata_xfer *xfer) in satapmp_rescan()
270 satapmp_attach(struct ata_channel *chp) in satapmp_attach()
H A Data_wdc.c148 struct ata_channel *chp = drvp->chnl_softc; in wdc_ata_bio() local
176 wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_ata_bio_start()
334 _wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) in _wdc_ata_bio_start()
613 wdc_ata_bio_poll(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_ata_bio_poll()
628 wdc_ata_bio_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq) in wdc_ata_bio_intr()
794 wdc_ata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, in wdc_ata_bio_kill_xfer()
827 wdc_ata_bio_done(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_ata_bio_done()
885 struct ata_channel *chp = drvp->chnl_softc; in wdc_ata_addref() local
893 struct ata_channel *chp = drvp->chnl_softc; in wdc_ata_delref() local
H A Dsata_subr.c82 sata_reset_interface(struct ata_channel *chp, bus_space_tag_t sata_t, in sata_reset_interface()
130 sata_interpret_det(struct ata_channel *chp, uint32_t sstatus) in sata_interpret_det()
161 sata_interpret_sig(struct ata_channel *chp, int port, uint32_t sig) in sata_interpret_sig()
H A Data_recovery.c71 struct ata_channel *chp = drvp->chnl_softc; in ata_read_log_ext_ncq() local
160 ata_recovery_resume(struct ata_channel *chp, int drive, int tfd, int flags) in ata_recovery_resume()
/netbsd-src/sys/dev/ic/
H A Dahcisata_core.c123 #define AHCISATA_DO_EXTRA_DELAY(sc, chp, msg, flags) \ argument
126 #define AHCISATA_DO_EXTRA_DELAY(sc, chp, msg, flags) do { } while (0) argument
212 struct ata_channel *chp; in ahci_reprobe_drives() local
259 struct ata_channel *chp; in ahci_attach() local
521 struct ata_channel *chp; in ahci_childdetached() local
540 struct ata_channel *chp; in ahci_detach() local
632 struct ata_channel *chp = &achp->ata_channel; in ahci_intr_port() local
645 ahci_intr_port_common(struct ata_channel *chp) in ahci_intr_port_common()
767 struct ata_channel *chp = drvp->chnl_softc; in ahci_reset_drive() local
792 ahci_exec_fis(struct ata_channel *chp, int timeout, int flags, int slot) in ahci_exec_fis()
[all …]
H A Dsiisata.c244 siisata_disable_port_interrupt(struct ata_channel *chp) in siisata_disable_port_interrupt()
252 siisata_enable_port_interrupt(struct ata_channel *chp) in siisata_enable_port_interrupt()
268 struct ata_channel *chp; in siisata_init_port() local
298 struct ata_channel *chp; in siisata_attach_port() local
414 struct ata_channel *chp; in siisata_childdetached() local
430 struct ata_channel *chp; in siisata_detach() local
481 struct ata_channel *chp = (struct ata_channel *)schp; in siisata_resume() local
512 struct ata_channel *chp = &schp->ata_channel; in siisata_intr_port() local
626 siisata_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd) in siisata_channel_recover()
667 struct ata_channel *chp = drvp->chnl_softc; in siisata_reset_drive() local
[all …]
H A Dwdc.c205 wdc_sataprobe(struct ata_channel *chp) in wdc_sataprobe()
293 wdc_drvprobe(struct ata_channel *chp) in wdc_drvprobe()
522 wdcprobe1(struct ata_channel *chp, int poll) in wdcprobe1()
793 wdcattach(struct ata_channel *chp) in wdcattach()
826 struct ata_channel *chp; in wdc_childdetached() local
842 struct ata_channel *chp; in wdcdetach() local
866 struct ata_channel *chp = v; in wdcrestart() local
884 struct ata_channel *chp = arg; in wdcintr() local
948 struct ata_channel *chp = drvp->chnl_softc; in wdc_reset_drive() local
962 wdc_reset_channel(struct ata_channel *chp, int flags) in wdc_reset_channel()
[all …]
H A Dmvsata.c446 struct ata_channel *chp = &mvport->port_ata_channel; in mvsata_nondma_handle() local
543 struct ata_channel *chp = &mvport->port_ata_channel; in mvsata_error() local
560 mvsata_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd) in mvsata_channel_recover()
594 mvsata_probe_drive(struct ata_channel *chp) in mvsata_probe_drive()
620 struct ata_channel *chp = drvp->chnl_softc; in mvsata_reset_drive() local
651 mvsata_reset_channel(struct ata_channel *chp, int flags) in mvsata_reset_channel()
717 struct ata_channel *chp = ata_sc->sc_chan; in mvsata_atapibus_attach() local
767 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; in mvsata_atapi_probe_device() local
867 struct ata_channel *chp = in mvsata_atapi_kill_pending() local
882 mvsata_setup_channel(struct ata_channel *chp) in mvsata_setup_channel()
[all …]
H A Dninjaata32.c272 njata32_irqack(struct ata_channel *chp) in njata32_irqack()
282 njata32_clearirq(struct ata_channel *chp, int irq) in njata32_clearirq()
312 njata32_setup_channel(struct ata_channel *chp) in njata32_setup_channel()
660 struct ata_channel *chp; in njata32_intr() local
H A Dwdcvar.h134 #define CHAN_TO_WDC(chp) ((struct wdc_softc *)(chp)->ch_atac) argument
137 #define CHAN_TO_WDC_REGS(chp) (&CHAN_TO_WDC(chp)->regs[(chp)->ch_channel]) argument
184 #define wdc_wait_for_drq(chp, timeout, flags, tfd) \ argument
186 #define wdc_wait_for_unbusy(chp, timeout, flags, tfd) \ argument
188 #define wdc_wait_for_ready(chp, timeout, flags, tfd) \ argument
/netbsd-src/sys/arch/mmeye/stand/boot/
H A Dwdvar.h60 #define WDC_READ_REG(chp, reg) *(chp)->c_cmdreg[(reg)] argument
61 #define WDC_WRITE_REG(chp, reg, val) *(chp)->c_cmdreg[(reg)] = (val) argument
62 #define WDC_READ_CTLREG(chp, reg) (chp)->c_ctlbase[(reg)] argument
63 #define WDC_WRITE_CTLREG(chp, reg, val) (chp)->c_ctlbase[(reg)] = (val) argument
64 #define WDC_READ_DATA(chp) *(chp)->c_data argument
65 #define WDC_READ_DATA_STREAM(chp) *(chp)->c_data argument
73 #define WDC_READ_REG(chp, reg) ({ \ argument
77 #define WDC_WRITE_REG(chp, reg, val) do { \ argument
81 #define WDC_READ_CTLREG(chp, reg) ({ \ argument
85 #define WDC_WRITE_CTLREG(chp, reg, val) do { \ argument
[all …]
H A Dwdc.c64 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) in __wdcwait_reset()
122 wdcprobe(struct wdc_channel *chp) in wdcprobe()
182 struct wdc_channel *chp = &sc->sc_channel; in wdc_init() local
217 wdc_wait_for_ready(struct wdc_channel *chp) in wdc_wait_for_ready()
237 struct wdc_channel *chp = &sc->sc_channel; in wdc_read_block() local
259 struct wdc_channel *chp = &sc->sc_channel; in wdccommand() local
295 struct wdc_channel *chp = &wd->sc_channel; in wdccommandext() local
/netbsd-src/sys/arch/bebox/stand/boot/
H A Dwdc.c61 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) in __wdcwait_reset()
148 wdcprobe(struct wdc_channel *chp) in wdcprobe()
236 wdc_wait_for_ready(struct wdc_channel *chp) in wdc_wait_for_ready()
252 wdc_read_block(struct wdc_channel *chp, struct wdc_command *wd_c) in wdc_read_block()
274 wdccommand(struct wdc_channel *chp, struct wdc_command *wd_c) in wdccommand()
309 wdccommandext(struct wdc_channel *chp, struct wdc_command *wd_c) in wdccommandext()
352 _wdc_exec_identify(struct wdc_channel *chp, int drive, void *data) in _wdc_exec_identify()
404 struct wdc_channel *chp; in wdc_exec_identify() local
422 struct wdc_channel *chp; in wdc_exec_read() local
H A Dwdvar.h53 #define WDC_READ_REG(chp, reg) inb((chp)->c_cmdreg[(reg)]) argument
54 #define WDC_WRITE_REG(chp, reg, val) outb((chp)->c_cmdreg[(reg)], (val)) argument
55 #define WDC_READ_CTLREG(chp, reg) inb((chp)->c_ctlbase) argument
56 #define WDC_WRITE_CTLREG(chp, reg, val) outb((chp)->c_ctlbase, (val)) argument
57 #define WDC_READ_DATA_STREAM(chp) inw((chp)->c_data) argument
58 #define WDC_READ_DATA(chp) inwrb((chp)->c_data) argument
/netbsd-src/sys/arch/cobalt/stand/boot/
H A Dwdc.c55 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) in __wdcwait_reset()
113 wdcprobe(struct wdc_channel *chp) in wdcprobe()
185 wdc_wait_for_ready(struct wdc_channel *chp) in wdc_wait_for_ready()
204 struct wdc_channel *chp = &sc->sc_channel; in wdc_read_block() local
222 struct wdc_channel *chp = &sc->sc_channel; in wdccommand() local
258 struct wdc_channel *chp = &wd->sc_channel; in wdccommandext() local
H A Dwdvar.h60 #define WDC_READ_REG(chp, reg) *(chp)->c_cmdreg[(reg)] argument
61 #define WDC_WRITE_REG(chp, reg, val) *(chp)->c_cmdreg[(reg)] = (val) argument
62 #define WDC_READ_CTLREG(chp, reg) (chp)->c_ctlbase[(reg)] argument
63 #define WDC_WRITE_CTLREG(chp, reg, val) (chp)->c_ctlbase[(reg)] = (val) argument
64 #define WDC_READ_DATA(chp) *(chp)->c_data argument
/netbsd-src/sys/dev/scsipi/
H A Datapi_wdc.c115 struct ata_channel *chp = ata_sc->sc_chan; in wdc_atapibus_attach() local
167 struct ata_channel *chp = in wdc_atapi_kill_pending() local
174 wdc_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) in wdc_atapi_kill_xfer()
210 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; in wdc_atapi_get_params() local
271 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; in wdc_atapi_probe_device() local
478 wdc_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_atapi_start()
700 wdc_atapi_poll(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_atapi_poll()
732 wdc_atapi_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq) in wdc_atapi_intr()
1056 struct ata_channel *chp = xfer->c_chp; in wdc_atapi_phase_complete() local
1147 wdc_atapi_done(struct ata_channel *chp, struct ata_xfer *xfer) in wdc_atapi_done()
[all …]
/netbsd-src/sys/arch/mips/adm5120/dev/
H A Dwdc_extio.c215 wdc_extio_dataout(struct ata_channel *chp, int flags, void *bf, size_t len) in wdc_extio_dataout()
224 wdc_extio_datain(struct ata_channel *chp, int flags, void *bf, size_t len) in wdc_extio_datain()
277 struct ata_channel *chp = &sc->sc_channel; in wdc_extio_attach() local
/netbsd-src/sys/dev/pci/
H A Dpdcsata.c477 pdc203xx_combo_probe(struct ata_channel *chp) in pdc203xx_combo_probe()
486 pdc203xx_setup_channel(struct ata_channel *chp) in pdc203xx_setup_channel()
551 pdc203xx_irqack(struct ata_channel *chp) in pdc203xx_irqack()
613 pdcsata_do_reset(struct ata_channel *chp, int poll) in pdcsata_do_reset()
H A Dcmdide.c192 cmd064x_claim_hw(struct ata_channel *chp, int maysleep) in cmd064x_claim_hw()
391 cmd0643_9_setup_channel(struct ata_channel *chp) in cmd0643_9_setup_channel()
471 cmd646_9_irqack(struct ata_channel *chp) in cmd646_9_irqack()
565 cmd680_setup_channel(struct ata_channel *chp) in cmd680_setup_channel()
H A Dnside.c156 natsemi_setup_channel(struct ata_channel *chp) in natsemi_setup_channel()
211 natsemi_irqack(struct ata_channel *chp) in natsemi_irqack()
H A Dpiixide.c594 piix_setup_channel(struct ata_channel *chp) in piix_setup_channel()
700 piix3_4_setup_channel(struct ata_channel *chp) in piix3_4_setup_channel()
861 struct ata_channel *chp = drvp->chnl_softc; in piix_setup_idetim_drvs() local
/netbsd-src/sys/arch/macppc/dev/
H A Dkauai.c109 struct ata_channel *chp = &sc->sc_channel; in kauai_attach() local
222 kauai_set_modes(struct ata_channel *chp) in kauai_set_modes()
279 struct ata_channel *chp = &sc->sc_channel; in calc_timing_kauai() local
307 struct ata_channel *chp = &sc->sc_channel; in kauai_dma_init() local

1234