Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_attach.c168 &soft_state->drvinfo.di_sl_private); in hci1394_attach()
243 soft_state->drvinfo.di_drvstate.ds_state = HCI1394_INITIAL; in hci1394_attach()
258 &soft_state->drvinfo.di_sl_private); in hci1394_attach()
298 soft_state->drvinfo.di_dip = dip; in hci1394_soft_state_phase1_init()
299 soft_state->drvinfo.di_instance = instance; in hci1394_soft_state_phase1_init()
302 soft_state->drvinfo.di_gencnt = 0; in hci1394_soft_state_phase1_init()
304 soft_state->drvinfo.di_sl_private = NULL; in hci1394_soft_state_phase1_init()
307 soft_state->drvinfo.di_stats.st_bus_reset_count = 0; in hci1394_soft_state_phase1_init()
308 soft_state->drvinfo.di_stats.st_selfid_count = 0; in hci1394_soft_state_phase1_init()
309 soft_state->drvinfo.di_stats.st_phy_isr = 0; in hci1394_soft_state_phase1_init()
[all …]
H A Dhci1394_isr.c70 status = ddi_intr_hilevel(soft_state->drvinfo.di_dip, 0); in hci1394_isr_init()
81 status = ddi_get_iblock_cookie(soft_state->drvinfo.di_dip, 0, in hci1394_isr_init()
82 &soft_state->drvinfo.di_iblock_cookie); in hci1394_isr_init()
126 status = ddi_add_intr(soft_state->drvinfo.di_dip, 0, NULL, NULL, in hci1394_isr_handler_init()
148 ddi_remove_intr(soft_state->drvinfo.di_dip, 0, in hci1394_isr_handler_fini()
149 soft_state->drvinfo.di_iblock_cookie); in hci1394_isr_handler_fini()
210 if (hci1394_state(&soft_state->drvinfo) == HCI1394_SHUTDOWN) in hci1394_isr()
257 h1394_error_detected(soft_state->drvinfo.di_sl_private, in hci1394_isr()
261 soft_state->drvinfo.di_instance); in hci1394_isr()
262 hci1394_shutdown(soft_state->drvinfo.di_dip); in hci1394_isr()
[all …]
H A Dhci1394_misc.c72 *result = (void *)soft_state->drvinfo.di_dip; in hci1394_getinfo()
165 (void) hci1394_state_set(&soft_state->drvinfo, HCI1394_SHUTDOWN); in hci1394_shutdown()
182 hci1394_state(hci1394_drvinfo_t *drvinfo) in hci1394_state() argument
187 mutex_enter(&drvinfo->di_drvstate.ds_mutex); in hci1394_state()
188 hal_state = drvinfo->di_drvstate.ds_state; in hci1394_state()
189 mutex_exit(&drvinfo->di_drvstate.ds_mutex); in hci1394_state()
203 hci1394_state_set(hci1394_drvinfo_t *drvinfo, hci1394_statevar_t state) in hci1394_state_set() argument
206 mutex_enter(&drvinfo->di_drvstate.ds_mutex); in hci1394_state_set()
209 if (drvinfo->di_drvstate.ds_state == HCI1394_SHUTDOWN) { in hci1394_state_set()
210 mutex_exit(&drvinfo->di_drvstate.ds_mutex); in hci1394_state_set()
[all …]
H A Dhci1394_s1394if.c135 hci1394_shutdown(soft_state->drvinfo.di_dip); in hci1394_s1394if_shutdown()
162 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) { in hci1394_s1394if_phy()
163 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) { in hci1394_s1394if_phy()
210 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) { in hci1394_s1394if_write()
211 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) { in hci1394_s1394if_write()
259 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) { in hci1394_s1394if_read()
260 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) { in hci1394_s1394if_read()
309 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) { in hci1394_s1394if_lock()
310 if (hci1394_state(&soft_state->drvinfo) == HCI1394_BUS_RESET) { in hci1394_s1394if_lock()
357 if (hci1394_state(&soft_state->drvinfo) != HCI1394_NORMAL) { in hci1394_s1394if_write_response()
[all …]
H A Dhci1394_detach.c85 (void) hci1394_state_set(&soft_state->drvinfo, in hci1394_detach()
97 (void) h1394_detach(&soft_state->drvinfo.di_sl_private, in hci1394_detach()
114 soft_state->drvinfo.di_instance); in hci1394_detach()
138 (void) hci1394_state_set(&soft_state->drvinfo, in hci1394_detach()
150 (void) h1394_detach(&soft_state->drvinfo.di_sl_private, in hci1394_detach()
267 mutex_destroy(&soft_state->drvinfo.di_drvstate.ds_mutex); in hci1394_soft_state_fini()
H A Dhci1394_buf.c85 hci1394_buf_alloc(hci1394_drvinfo_t *drvinfo, hci1394_buf_parms_t *parms, in hci1394_buf_alloc() argument
93 ASSERT(drvinfo != NULL); in hci1394_buf_alloc()
106 buf->bu_drvinfo = drvinfo; in hci1394_buf_alloc()
115 status = ddi_dma_alloc_handle(drvinfo->di_dip, &dma_attr, in hci1394_buf_alloc()
127 &drvinfo->di_buf_attr, DDI_DMA_STREAMING, DDI_DMA_SLEEP, in hci1394_buf_alloc()
H A Dhci1394_isoch.c66 hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_isoch_init() argument
72 ASSERT(drvinfo != NULL); in hci1394_isoch_init()
87 MUTEX_DRIVER, drvinfo->di_iblock_cookie); in hci1394_isoch_init()
94 MUTEX_DRIVER, drvinfo->di_iblock_cookie); in hci1394_isoch_init()
120 drvinfo->di_iblock_cookie); in hci1394_isoch_init()
735 h1394_error_detected(soft_statep->drvinfo.di_sl_private, in hci1394_do_stop()
739 soft_statep->drvinfo.di_instance); in hci1394_do_stop()
740 hci1394_shutdown(soft_statep->drvinfo.di_dip); in hci1394_do_stop()
H A Dhci1394_csr.c102 hci1394_csr_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_csr_init() argument
108 ASSERT(drvinfo != NULL); in hci1394_csr_init()
120 csr->csr_drvinfo = drvinfo; in hci1394_csr_init()
123 drvinfo->di_iblock_cookie); in hci1394_csr_init()
H A Dhci1394_vendor.c80 hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci, in hci1394_vendor_init() argument
87 ASSERT(drvinfo != NULL); in hci1394_vendor_init()
97 vendor->ve_drvinfo = drvinfo; in hci1394_vendor_init()
H A Dhci1394_tlist.c73 hci1394_tlist_init(hci1394_drvinfo_t *drvinfo, hci1394_tlist_timer_t *timer, in hci1394_tlist_init() argument
89 list->tl_drvinfo = drvinfo; in hci1394_tlist_init()
101 drvinfo->di_iblock_cookie); in hci1394_tlist_init()
H A Dhci1394_tlabel.c52 hci1394_tlabel_init(hci1394_drvinfo_t *drvinfo, hrtime_t reclaim_time_nS, in hci1394_tlabel_init() argument
72 tstruct->tb_drvinfo = drvinfo; in hci1394_tlabel_init()
78 drvinfo->di_iblock_cookie); in hci1394_tlabel_init()
H A Dhci1394_q.c89 hci1394_q_init(hci1394_drvinfo_t *drvinfo, in hci1394_q_init() argument
101 ASSERT(drvinfo != NULL); in hci1394_q_init()
111 q->q_drvinfo = drvinfo; in hci1394_q_init()
114 mutex_init(&q->q_mutex, NULL, MUTEX_DRIVER, drvinfo->di_iblock_cookie); in hci1394_q_init()
127 status = hci1394_buf_alloc(drvinfo, &parms, &desc->qb_buf, in hci1394_q_init()
156 status = hci1394_buf_alloc(drvinfo, &parms, &data->qb_buf, in hci1394_q_init()
218 hci1394_tlist_init(drvinfo, NULL, &q->q_queued_list); in hci1394_q_init()
H A Dhci1394_async.c146 hci1394_async_init(hci1394_drvinfo_t *drvinfo, in hci1394_async_init() argument
156 ASSERT(drvinfo != NULL); in hci1394_async_init()
166 async->as_drvinfo = drvinfo; in hci1394_async_init()
172 drvinfo->di_iblock_cookie); in hci1394_async_init()
185 hci1394_tlabel_init(drvinfo, OHCI_BUS_CYCLE_TO_nS( in hci1394_async_init()
201 hci1394_tlist_init(drvinfo, &timer_info, &async->as_pending_list); in hci1394_async_init()
210 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo, in hci1394_async_init()
232 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo, in hci1394_async_init()
255 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo, in hci1394_async_init()
279 status = hci1394_q_init(drvinfo, async->as_ohci, &qinfo, in hci1394_async_init()
H A Dhci1394_ioctl.c159 status = h1394_ioctl(soft_state->drvinfo.di_sl_private, cmd, in hci1394_ioctl()
333 selfid_cnt.count = soft_state->drvinfo.di_stats.st_selfid_count; in hci1394_ioctl_selfid_cnt()
H A Dhci1394_ixl_isr.c1024 soft_statep->drvinfo.di_instance); in hci1394_isoch_cycle_inconsistent()
1117 soft_statep->drvinfo.di_instance); in hci1394_isoch_cycle_lost()
/titanic_44/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_state.h83 hci1394_drvinfo_t drvinfo; /* see hci1394_drvinfo.h */ member
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.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_buf.h93 int hci1394_buf_alloc(hci1394_drvinfo_t *drvinfo, hci1394_buf_parms_t *parms,
H A Dhci1394_vendor.h111 int hci1394_vendor_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
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_async.h217 int hci1394_async_init(hci1394_drvinfo_t *drvinfo,
H A Dhci1394_isoch.h195 void hci1394_isoch_init(hci1394_drvinfo_t *drvinfo, hci1394_ohci_handle_t ohci,
H A Dhci1394_q.h352 int hci1394_q_init(hci1394_drvinfo_t *drvinfo,

12