Home
last modified time | relevance | path

Searched refs:ctxtp (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_isoch.c190 hci1394_iso_ctxt_t *ctxtp; in hci1394_alloc_isoch_dma() local
241 ctxtp = &isochp->ctxt_xmit[i]; in hci1394_alloc_isoch_dma()
289 ctxtp = &isochp->ctxt_recv[i]; in hci1394_alloc_isoch_dma()
297 ctxtp->isochan = idi->channel_num; in hci1394_alloc_isoch_dma()
298 ctxtp->default_tag = idi->default_tag; in hci1394_alloc_isoch_dma()
299 ctxtp->default_sync = idi->default_sync; in hci1394_alloc_isoch_dma()
300 ctxtp->global_callback_arg = idi->global_callback_arg; in hci1394_alloc_isoch_dma()
301 ctxtp->isoch_dma_stopped = idi->isoch_dma_stopped; in hci1394_alloc_isoch_dma()
302 ctxtp->idma_evt_arg = idi->idma_evt_arg; in hci1394_alloc_isoch_dma()
303 ctxtp->isospd = idi->it_speed; in hci1394_alloc_isoch_dma()
[all …]
H A Dhci1394_ixl_isr.c55 hci1394_iso_ctxt_t *ctxtp, ixl1394_command_t *ixlp,
58 hci1394_iso_ctxt_t *ctxtp);
68 hci1394_iso_ctxt_t *ctxtp, boolean_t in_stop) in hci1394_ixl_interrupt() argument
79 mutex_enter(&ctxtp->intrprocmutex); in hci1394_ixl_interrupt()
82 ctxtp->intr_flags |= HCI1394_ISO_CTXT_INTRSET; in hci1394_ixl_interrupt()
85 if (ctxtp->intr_flags & HCI1394_ISO_CTXT_INUPDATE) { in hci1394_ixl_interrupt()
92 } else if (ctxtp->intr_flags & HCI1394_ISO_CTXT_ININTR) { in hci1394_ixl_interrupt()
100 } else if (ctxtp->intr_flags & HCI1394_ISO_CTXT_INCALL) { in hci1394_ixl_interrupt()
107 } else if (!in_stop && (ctxtp->intr_flags & HCI1394_ISO_CTXT_STOP)) { in hci1394_ixl_interrupt()
121 ctxtp->intr_flags |= HCI1394_ISO_CTXT_ININTR; in hci1394_ixl_interrupt()
[all …]
H A Dhci1394_ixl_update.c108 hci1394_ixl_update(hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp, in hci1394_ixl_update() argument
122 uv.ctxtp = ctxtp; in hci1394_ixl_update()
200 mutex_enter(&ctxtp->intrprocmutex); in hci1394_ixl_update()
201 ctxtp->intr_flags &= ~HCI1394_ISO_CTXT_INUPDATE; in hci1394_ixl_update()
202 mutex_exit(&ctxtp->intrprocmutex); in hci1394_ixl_update()
236 mutex_enter(&ctxtp->intrprocmutex); in hci1394_ixl_update()
237 ctxtp->intr_flags &= ~HCI1394_ISO_CTXT_INUPDATE; in hci1394_ixl_update()
238 mutex_exit(&ctxtp->intrprocmutex); in hci1394_ixl_update()
242 hci1394_do_stop(soft_statep, ctxtp, B_TRUE, in hci1394_ixl_update()
245 hci1394_do_stop(soft_statep, ctxtp, B_TRUE, in hci1394_ixl_update()
[all …]
H A Dhci1394_ixl_misc.c68 hci1394_ixl_set_start(hci1394_iso_ctxt_t *ctxtp, ixl1394_command_t *ixlstp) in hci1394_ixl_set_start() argument
78 ixlstp = ctxtp->ixl_firstp; in hci1394_ixl_set_start()
85 if ((ixlstp != ctxtp->ixl_firstp) && (ixlstp->ixl_opcode != in hci1394_ixl_set_start()
102 ctxtp->dma_mem_execp = (uint32_t)((hci1394_xfer_ctl_t *) in hci1394_ixl_set_start()
105 ctxtp->dma_last_time = 0; in hci1394_ixl_set_start()
106 ctxtp->ixl_exec_depth = 0; in hci1394_ixl_set_start()
107 ctxtp->ixl_execp = ixlstp; in hci1394_ixl_set_start()
108 ctxtp->rem_noadv_intrs = ctxtp->max_noadv_intrs; in hci1394_ixl_set_start()
129 hci1394_ixl_reset_status(hci1394_iso_ctxt_t *ctxtp) in hci1394_ixl_reset_status() argument
140 ixlnext = ctxtp->ixl_firstp; in hci1394_ixl_reset_status()
[all …]
H A Dhci1394_ixl_comp.c66 hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp,
117 hci1394_compile_ixl(hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp, in hci1394_compile_ixl() argument
123 ASSERT(ctxtp != NULL); in hci1394_compile_ixl()
128 hci1394_compile_ixl_init(&wv, soft_statep, ctxtp, ixlp); in hci1394_compile_ixl()
171 hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp, in hci1394_compile_ixl_init() argument
179 wvp->ctxtp = ctxtp; in hci1394_compile_ixl_init()
182 ctxtp->dma_mem_execp = NULL; in hci1394_compile_ixl_init()
183 ctxtp->dma_firstp = NULL; in hci1394_compile_ixl_init()
184 ctxtp->dma_last_time = 0; in hci1394_compile_ixl_init()
185 ctxtp->xcs_firstp = NULL; in hci1394_compile_ixl_init()
[all …]
H A Dhci1394_isr.c663 hci1394_iso_ctxt_t *ctxtp; in hci1394_isr_isoch_ir() local
689 ctxtp = hci1394_isoch_recv_ctxt_get( in hci1394_isr_isoch_ir()
691 hci1394_ixl_interrupt(soft_state, ctxtp, in hci1394_isr_isoch_ir()
714 hci1394_iso_ctxt_t *ctxtp; in hci1394_isr_isoch_it() local
741 ctxtp = hci1394_isoch_xmit_ctxt_get( in hci1394_isr_isoch_it()
743 hci1394_ixl_interrupt(soft_state, ctxtp, in hci1394_isr_isoch_it()
/titanic_44/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ixl.h151 hci1394_iso_ctxt_t *ctxtp; /* current context */ member
236 hci1394_iso_ctxt_t *ctxtp; /* current iso context */ member
269 int hci1394_compile_ixl(hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp,
271 int hci1394_ixl_update(hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp,
275 hci1394_iso_ctxt_t *ctxtp, boolean_t in_stop);
277 hci1394_iso_ctxt_t *ctxtp);
278 int hci1394_ixl_set_start(hci1394_iso_ctxt_t *ctxtp, ixl1394_command_t *ixlstp);
279 void hci1394_ixl_reset_status(hci1394_iso_ctxt_t *ctxtp);
285 hci1394_iso_ctxt_t *ctxtp);
H A Dhci1394_isoch.h221 void hci1394_do_stop(hci1394_state_t *soft_statep, hci1394_iso_ctxt_t *ctxtp,