Searched refs:drvinfo (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_attach.c168 &soft_state->drvinfo.di_sl_private);
243 soft_state->drvinfo.di_drvstate.ds_state = HCI1394_INITIAL;
258 &soft_state->drvinfo.di_sl_private);
298 soft_state->drvinfo.di_dip = dip;
299 soft_state->drvinfo.di_instance = instance;
302 soft_state->drvinfo.di_gencnt = 0;
304 soft_state->drvinfo.di_sl_private = NULL;
307 soft_state->drvinfo.di_stats.st_bus_reset_count = 0;
308 soft_state->drvinfo.di_stats.st_selfid_count = 0;
309 soft_state->drvinfo
[all...]
H A Dhci1394_misc.c72 *result = (void *)soft_state->drvinfo.di_dip;
165 (void) hci1394_state_set(&soft_state->drvinfo, HCI1394_SHUTDOWN);
182 hci1394_state(hci1394_drvinfo_t *drvinfo) argument
187 mutex_enter(&drvinfo->di_drvstate.ds_mutex);
188 hal_state = drvinfo->di_drvstate.ds_state;
189 mutex_exit(&drvinfo->di_drvstate.ds_mutex);
203 hci1394_state_set(hci1394_drvinfo_t *drvinfo, hci1394_statevar_t state) argument
206 mutex_enter(&drvinfo->di_drvstate.ds_mutex);
209 if (drvinfo->di_drvstate.ds_state == HCI1394_SHUTDOWN) {
210 mutex_exit(&drvinfo
[all...]
H A Dhci1394_isr.c70 status = ddi_intr_hilevel(soft_state->drvinfo.di_dip, 0);
81 status = ddi_get_iblock_cookie(soft_state->drvinfo.di_dip, 0,
82 &soft_state->drvinfo.di_iblock_cookie);
126 status = ddi_add_intr(soft_state->drvinfo.di_dip, 0, NULL, NULL,
148 ddi_remove_intr(soft_state->drvinfo.di_dip, 0,
149 soft_state->drvinfo.di_iblock_cookie);
210 if (hci1394_state(&soft_state->drvinfo) == HCI1394_SHUTDOWN)
257 h1394_error_detected(soft_state->drvinfo.di_sl_private,
261 soft_state->drvinfo.di_instance);
262 hci1394_shutdown(soft_state->drvinfo
[all...]
H A Dhci1394_detach.c85 (void) hci1394_state_set(&soft_state->drvinfo,
97 (void) h1394_detach(&soft_state->drvinfo.di_sl_private,
114 soft_state->drvinfo.di_instance);
138 (void) hci1394_state_set(&soft_state->drvinfo,
150 (void) h1394_detach(&soft_state->drvinfo.di_sl_private,
267 mutex_destroy(&soft_state->drvinfo.di_drvstate.ds_mutex);
H A Dhci1394_buf.c77 * Allocate an IO mapped buffer. drvinfo is passed in and contains generic
85 hci1394_buf_alloc(hci1394_drvinfo_t *drvinfo, hci1394_buf_parms_t *parms, argument
93 ASSERT(drvinfo != NULL);
106 buf->bu_drvinfo = drvinfo;
115 status = ddi_dma_alloc_handle(drvinfo->di_dip, &dma_attr,
127 &drvinfo->di_buf_attr, DDI_DMA_STREAMING, DDI_DMA_SLEEP,
H A Dhci1394_s1394if.c135 hci1394_shutdown(soft_state->drvinfo.di_dip);
162 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) {
163 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) {
210 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) {
211 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) {
259 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) {
260 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) {
309 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) {
310 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) {
357 if (hci1394_state(&soft_state->drvinfo) !
[all...]
H A Dhci1394_csr.c102 hci1394_csr_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, argument
108 ASSERT(drvinfo != NULL);
120 csr->csr_drvinfo = drvinfo;
123 drvinfo->di_iblock_cookie);
H A Dhci1394_isoch.c66 hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, argument
72 ASSERT(drvinfo != NULL);
87 MUTEX_DRIVER, drvinfo->di_iblock_cookie);
94 MUTEX_DRIVER, drvinfo->di_iblock_cookie);
120 drvinfo->di_iblock_cookie);
735 h1394_error_detected(soft_statep->drvinfo.di_sl_private,
739 soft_statep->drvinfo.di_instance);
740 hci1394_shutdown(soft_statep->drvinfo.di_dip);
H A Dhci1394_vendor.c80 hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, argument
87 ASSERT(drvinfo != NULL);
97 vendor->ve_drvinfo = drvinfo;
H A Dhci1394_tlabel.c52 hci1394_tlabel_init(hci1394_drvinfo_t *drvinfo, hrtime_t reclaim_time_nS, argument
72 tstruct->tb_drvinfo = drvinfo;
78 drvinfo->di_iblock_cookie);
H A Dhci1394_tlist.c73 hci1394_tlist_init(hci1394_drvinfo_t *drvinfo, hci1394_tlist_timer_t *timer, argument
89 list->tl_drvinfo = drvinfo;
101 drvinfo->di_iblock_cookie);
H A Dhci1394_q.c89 hci1394_q_init(hci1394_drvinfo_t *drvinfo, argument
101 ASSERT(drvinfo != NULL);
111 q->q_drvinfo = drvinfo;
114 mutex_init(&q->q_mutex, NULL, MUTEX_DRIVER, drvinfo->di_iblock_cookie);
127 status = hci1394_buf_alloc(drvinfo, &parms, &desc->qb_buf,
156 status = hci1394_buf_alloc(drvinfo, &parms, &data->qb_buf,
218 hci1394_tlist_init(drvinfo, NULL, &q->q_queued_list);
H A Dhci1394_ioctl.c159 status = h1394_ioctl(soft_state->drvinfo.di_sl_private, cmd,
333 selfid_cnt.count = soft_state->drvinfo.di_stats.st_selfid_count;
H A Dhci1394_async.c146 hci1394_async_init(hci1394_drvinfo_t *drvinfo, argument
156 ASSERT(drvinfo != NULL);
166 async->as_drvinfo = drvinfo;
172 drvinfo->di_iblock_cookie);
185 hci1394_tlabel_init(drvinfo, OHCI_BUS_CYCLE_TO_nS(
201 hci1394_tlist_init(drvinfo, &timer_info, &async->as_pending_list);
210 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo,
232 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo,
255 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo,
279 status = hci1394_q_init(drvinfo, asyn
[all...]
H A Dhci1394_ixl_isr.c1024 soft_statep->drvinfo.di_instance);
1117 soft_statep->drvinfo.di_instance);
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_state.h79 * drvinfo contains the core information which is shared among the
83 hci1394_drvinfo_t drvinfo; /* see hci1394_drvinfo.h */ member in struct:hci1394_state_s
97 hci1394_state_s::drvinfo.di_gencnt \
98 hci1394_state_s::drvinfo.di_stats.st_bus_reset_count \
99 hci1394_state_s::drvinfo.di_stats.st_selfid_count))
H A Dhci1394_buf.h93 int hci1394_buf_alloc(hci1394_drvinfo_t *drvinfo, hci1394_buf_parms_t *parms,
H A Dhci1394.h92 hci1394_statevar_t hci1394_state(hci1394_drvinfo_t *drvinfo);
93 int hci1394_state_set(hci1394_drvinfo_t *drvinfo, hci1394_statevar_t state);
H A Dhci1394_csr.h125 void hci1394_csr_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_tlabel.h150 void hci1394_tlabel_init(hci1394_drvinfo_t *drvinfo, hrtime_t reclaim_time_nS,
H A Dhci1394_tlist.h164 void hci1394_tlist_init(hci1394_drvinfo_t *drvinfo,
H A Dhci1394_vendor.h111 int hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_isoch.h195 void hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_async.h217 int hci1394_async_init(hci1394_drvinfo_t *drvinfo,
H A Dhci1394_q.h352 int hci1394_q_init(hci1394_drvinfo_t *drvinfo,

Completed in 171 milliseconds

12