Home
last modified time | relevance | path

Searched refs:ohci (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_detach.c59 hci1394_ohci_intr_master_disable(soft_state->ohci); in hci1394_detach()
60 hci1394_ohci_it_intr_disable(soft_state->ohci, 0xFFFFFFFF); in hci1394_detach()
61 hci1394_ohci_ir_intr_disable(soft_state->ohci, 0xFFFFFFFF); in hci1394_detach()
64 hci1394_ohci_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_detach()
65 hci1394_ohci_it_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_detach()
66 hci1394_ohci_ir_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_detach()
69 (void) hci1394_ohci_phy_clr(soft_state->ohci, 4, 0xc0); in hci1394_detach()
70 ddi_put32(soft_state->ohci->ohci_reg_handle, in hci1394_detach()
71 &soft_state->ohci->ohci_regs->link_ctrl_clr, in hci1394_detach()
82 (void) hci1394_ohci_bus_reset_nroot(soft_state->ohci); in hci1394_detach()
[all …]
H A Dhci1394_isr.c142 hci1394_ohci_ir_intr_disable(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
143 hci1394_ohci_ir_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
144 hci1394_ohci_it_intr_disable(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
145 hci1394_ohci_it_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
146 hci1394_ohci_intr_disable(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
147 hci1394_ohci_intr_clear(soft_state->ohci, 0xFFFFFFFF); in hci1394_isr_mask_setup()
150 hci1394_ohci_intr_enable(soft_state->ohci, in hci1394_isr_mask_setup()
189 interrupt_event = hci1394_ohci_intr_asserted(soft_state->ohci); in hci1394_isr()
225 hci1394_ohci_isr_cycle64seconds(soft_state->ohci); in hci1394_isr()
246 hci1394_ohci_intr_clear(soft_state->ohci, in hci1394_isr()
[all …]
H A Dhci1394_ohci.c83 hci1394_ohci_t *ohci; in hci1394_ohci_init() local
92 ohci = kmem_alloc(sizeof (hci1394_ohci_t), KM_SLEEP); in hci1394_ohci_init()
93 *ohci_hdl = ohci; in hci1394_ohci_init()
103 ohci->ohci_bustime_enabled = B_FALSE; in hci1394_ohci_init()
104 ohci->ohci_bustime_count = 0; in hci1394_ohci_init()
106 ohci->ohci_set_root_holdoff = B_FALSE; in hci1394_ohci_init()
107 ohci->ohci_set_gap_count = B_FALSE; in hci1394_ohci_init()
108 ohci->ohci_gap_count = 0; in hci1394_ohci_init()
110 mutex_init(&ohci->ohci_mutex, NULL, MUTEX_DRIVER, in hci1394_ohci_init()
115 (caddr_t *)&ohci->ohci_regs, 0, 0, &drvinfo->di_reg_attr, in hci1394_ohci_init()
[all …]
H A Dhci1394_s1394if.c440 status = hci1394_ohci_bus_reset(soft_state->ohci); in hci1394_s1394if_reset_bus()
475 status = hci1394_ohci_contender_enable(soft_state->ohci); in hci1394_s1394if_set_contender_bit()
512 status = hci1394_ohci_root_holdoff_enable(soft_state->ohci); in hci1394_s1394if_set_root_holdoff_bit()
549 status = hci1394_ohci_gap_count_set(soft_state->ohci, gap_count); in hci1394_s1394if_set_gap_count()
594 status = hci1394_ohci_phy_filter_set(soft_state->ohci, mask, in hci1394_s1394if_phy_filter_set()
643 status = hci1394_ohci_phy_filter_clr(soft_state->ohci, mask, in hci1394_s1394if_phy_filter_clr()
679 status = hci1394_ohci_bus_reset_short(soft_state->ohci); in hci1394_s1394if_short_bus_reset()
712 hci1394_ohci_cfgrom_update(soft_state->ohci, local_buf, quadlet_count); in hci1394_s1394if_update_config_rom()
755 hci1394_ohci_nodeid_get(soft_state->ohci, data); in hci1394_s1394if_csr_read()
772 hci1394_ohci_cycletime_get(soft_state->ohci, data); in hci1394_s1394if_csr_read()
[all …]
H A Dhci1394_isoch.c64 hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_isoch_init() argument
111 isochp->ctxt_xmit_count = hci1394_ohci_it_ctxt_count_get(ohci); in hci1394_isoch_init()
112 isochp->ctxt_recv_count = hci1394_ohci_ir_ctxt_count_get(ohci); in hci1394_isoch_init()
212 &soft_statep->ohci->ohci_regs->it[i]; in hci1394_alloc_isoch_dma()
247 &soft_statep->ohci->ohci_regs->ir[i]; in hci1394_alloc_isoch_dma()
292 hci1394_ohci_intr_clear(soft_statep->ohci, in hci1394_alloc_isoch_dma()
294 hci1394_ohci_intr_enable(soft_statep->ohci, in hci1394_alloc_isoch_dma()
361 hci1394_ohci_ir_cmd_ptr_set(soft_statep->ohci, in hci1394_start_isoch_dma()
407 hci1394_ohci_ir_intr_clear(soft_statep->ohci, in hci1394_start_isoch_dma()
411 hci1394_ohci_ir_intr_enable(soft_statep->ohci, in hci1394_start_isoch_dma()
[all …]
H A Dhci1394_attach.c166 status = hci1394_ohci_startup(soft_state->ohci); in hci1394_attach()
193 status = hci1394_ohci_startup(soft_state->ohci); in hci1394_attach()
304 hci1394_ohci_bus_capabilities(soft_state->ohci, in hci1394_soft_state_phase2_init()
340 &soft_state->ohci); in hci1394_hardware_init()
347 hci1394_csr_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init()
351 status = hci1394_async_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init()
355 hci1394_ohci_fini(&soft_state->ohci); in hci1394_hardware_init()
361 hci1394_isoch_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init()
365 status = hci1394_vendor_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init()
371 hci1394_ohci_fini(&soft_state->ohci); in hci1394_hardware_init()
[all …]
H A Dhci1394_ioctl.c118 status = hci1394_ohci_bus_reset(soft_state->ohci); in hci1394_ioctl()
172 hci1394_ohci_reg_write(soft_state->ohci, wrreg.addr, wrreg.data); in hci1394_ioctl_wrreg()
193 hci1394_ohci_reg_read(soft_state->ohci, rdreg.addr, &rdreg.data); in hci1394_ioctl_rdreg()
294 busgen_cnt.count = hci1394_ohci_current_busgen(soft_state->ohci); in hci1394_ioctl_busgen_cnt()
321 status = hci1394_ohci_phy_write(soft_state->ohci, wrphy.addr, in hci1394_ioctl_wrphy()
346 status = hci1394_ohci_phy_read(soft_state->ohci, rdphy.addr, in hci1394_ioctl_rdphy()
454 hci1394_ohci_selfid_read(soft_state->ohci, offset, &data); in hci1394_ioctl_read_selfid()
495 hci1394_ohci_selfid_read(soft_state->ohci, offset, &data); in hci1394_ioctl_read_selfid32()
H A Dhci1394_misc.c132 hci1394_ohci_intr_master_disable(soft_state->ohci); in hci1394_shutdown()
138 (void) hci1394_ohci_soft_reset(soft_state->ohci); in hci1394_shutdown()
H A Dhci1394_csr.c100 hci1394_csr_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_csr_init() argument
107 ASSERT(ohci != NULL); in hci1394_csr_init()
118 csr->csr_ohci = ohci; in hci1394_csr_init()
H A Dhci1394_ixl_isr.c818 hci1394_ohci_intr_clear(soft_statep->ohci, OHCI_INTR_CYC_INCONSISTENT); in hci1394_isoch_cycle_inconsistent()
869 hci1394_ohci_intr_disable(soft_statep->ohci, in hci1394_isoch_cycle_inconsistent()
903 hci1394_ohci_intr_clear(soft_statep->ohci, OHCI_INTR_CYC_LOST); in hci1394_isoch_cycle_lost()
954 hci1394_ohci_intr_disable(soft_statep->ohci, in hci1394_isoch_cycle_lost()
H A Dhci1394_vendor.c78 hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_vendor_init() argument
95 vendor->ve_ohci = ohci; in hci1394_vendor_init()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h294 #define OHCI_INTRS_STATS(ohci) ((ohci)->ohci_intrs_stats) argument
295 #define OHCI_INTRS_STATS_DATA(ohci) \ argument
296 ((ohci_intrs_stats_t *)OHCI_INTRS_STATS((ohci))->ks_data)
298 #define OHCI_TOTAL_STATS(ohci) ((ohci)->ohci_total_stats) argument
299 #define OHCI_TOTAL_STATS_DATA(ohci) (KSTAT_IO_PTR((ohci)->ohci_total_stats)) argument
300 #define OHCI_CTRL_STATS(ohci) \ argument
301 (KSTAT_IO_PTR((ohci)->ohci_count_stats[USB_EP_ATTR_CONTROL]))
302 #define OHCI_BULK_STATS(ohci) \ argument
303 (KSTAT_IO_PTR((ohci)->ohci_count_stats[USB_EP_ATTR_BULK]))
304 #define OHCI_INTR_STATS(ohci) \ argument
[all …]
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ohci.h338 WAKE) (ddi_put32((HCIP)->ohci->ohci_reg_handle, \
339 &(HCIP)->ohci->ohci_regs->ir[(I)].ctxt_ctrl_set, \
349 (ddi_put32((HCIP)->ohci->ohci_reg_handle, \
350 &(HCIP)->ohci->ohci_regs->ir[(I)].ctxt_ctrl_clr, \
359 (ddi_put32((HCIP)->ohci->ohci_reg_handle, \
360 &(HCIP)->ohci->ohci_regs->it[(I)].ctxt_ctrl_set, 0 | \
368 (ddi_put32((HCIP)->ohci->ohci_reg_handle, \
369 &(HCIP)->ohci->ohci_regs->it[(I)].ctxt_ctrl_clr, 0 | \
377 SYNC, TAG1SYNC, CHAN) (ddi_put32((HCIP)->ohci->ohci_reg_handle, \
378 &(HCIP)->ohci->ohci_regs->ir[(I)].ctxt_match, 0 | \
[all …]
H A Dhci1394_state.h62 hci1394_ohci_handle_t ohci; /* see hci1394_ohci.h */ member
H A Dhci1394_vendor.h109 int hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_csr.h123 void hci1394_csr_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_isoch.h193 void hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
/illumos-gate/usr/src/uts/intel/ohci/
H A DMakefile37 MODULE = ohci
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-usb.p5m52 file path=kernel/drv/$(ARCH64)/ohci group=sys
62 file path=kernel/drv/ohci.conf group=sys
101 file path=usr/share/man/man4d/ohci.4d
257 driver name=ohci perms="* 0644 root sys" alias=pciclass,0c0310
/illumos-gate/usr/src/man/man4d/
H A DMakefile102 ohci.4d \
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel470 DRV_KMODS += ohci
/illumos-gate/usr/src/uts/common/
H A DMakefile.files1807 OHCI_OBJS += ohci.o ohci_hub.o ohci_polled.o