Home
last modified time | relevance | path

Searched refs:statep (Results 1 – 25 of 102) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c1337 statep, statep->state); in ibcm_process_req_msg()
2044 statep, statep->state); in ibcm_process_mra_msg()
2142 statep, statep->state); in ibcm_process_rtu_msg()
2310 statep->timerid = IBCM_TIMEOUT(statep, statep->timer_value); in ibcm_process_rej_msg()
2333 statep, statep->state); in ibcm_process_rej_msg()
2597 statep, statep->state); in ibcm_process_dreq_msg()
2868 statep->timerid = IBCM_TIMEOUT(statep, statep->timer_value); in ibcm_process_drep_msg()
3461 "ap_state %x", statep, statep->state, statep->ap_state); in ibcm_timeout_cb()
3767 statep->timerid = IBCM_TIMEOUT(statep, statep->timer_value); in ibcm_post_req_complete()
4108 statep->timerid = IBCM_TIMEOUT(statep, statep->timer_value); in ibcm_process_dreq_timeout()
[all …]
H A Dibcm_ti.c591 IBCM_SET_CHAN_PRIVATE(statep->channel, statep); in ibt_open_rc_channel()
1173 " state %x", channel, statep, statep->state); in ibt_prime_close_rc_channel()
1356 cv_wait(&statep->block_mad_cv, &statep->state_mutex); in ibcm_close_rc_channel()
1361 cv_wait(&statep->block_mad_cv, &statep->state_mutex); in ibcm_close_rc_channel()
2388 statep->ap_state, statep->mode); in ibt_cm_delay()
2395 statep->ap_state, statep->mode); in ibt_cm_delay()
2414 statep); in ibt_cm_delay()
4028 proceed_targs->tst.rc.statep = statep; in ibt_cm_proceed()
4433 statep->remaining_retry_cnt = statep->max_cm_retries; in ibt_set_alt_path()
4434 statep->timer_stored_state = statep->state; in ibt_set_alt_path()
[all …]
H A Dibcm_utils.c363 statep); in ibcm_delete_state_from_avl()
365 if (statep == NULL) { in ibcm_delete_state_from_avl()
371 hcap = statep->hcap; in ibcm_delete_state_from_avl()
431 if (statep == NULL) { in ibcm_dealloc_state_data()
441 statep->timerid = 0; in ibcm_dealloc_state_data()
465 &statep->mra_msg); in ibcm_dealloc_state_data()
475 statep); in ibcm_dealloc_state_data()
491 ibcm_free_comid(statep->hcap, statep->local_comid); in ibcm_dealloc_state_data()
527 "ref_cnt = %x", statep, statep->ref_cnt); in ibcm_delete_state_data()
1601 statep, statep->conn_trace); in ibcm_fini_conn_trace()
[all …]
H A Dibcm_impl.c1428 statep->open_flow = 0; in ibcm_open_done()
1476 ibcm_post_rc_mad(statep, statep->stored_msg, ibcm_post_req_complete, in ibcm_open_start()
1477 statep); in ibcm_open_start()
1496 ibcm_open_start(statep); in ibcm_open_enqueue()
1501 ibcm_open.tail = statep; in ibcm_open_enqueue()
1519 statep->open_link = NULL; in ibcm_open_dequeue()
1527 return (statep); in ibcm_open_dequeue()
1733 ibcm_close.tail = statep; in ibcm_close_enqueue()
1802 statep->close_flow = 0; in ibcm_close_done()
2314 if (statep == NULL) { in ibcm_comm_est_handler()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c767 statep = port->statep; in audiohd_reset_port()
1792 ac->statep = statep; in audiohd_create_mono()
1816 ac->statep = statep; in audiohd_create_stereo()
1840 ac->statep = statep; in audiohd_create_bool()
1863 ac->statep = statep; in audiohd_create_recsrc()
3084 codec->statep = statep; in audiohd_create_codec()
3232 statep = codec->statep; in audiohd_do_build_output_path()
3275 path->statep = statep; in audiohd_do_build_output_path()
4545 statep = codec->statep; in audiohd_build_beep_path()
4585 path->statep = statep; in audiohd_build_beep_path()
[all …]
H A Daudiohd.h666 audiohd_state_t *statep; member
696 audiohd_state_t *statep; member
724 audiohd_state_t *statep; member
788 audiohd_state_t *statep; member
882 ddi_get8(statep->hda_reg_handle, \
886 ddi_get16(statep->hda_reg_handle, \
890 ddi_get32(statep->hda_reg_handle, \
894 ddi_get64(statep->hda_reg_handle, \
898 ddi_put8(statep->hda_reg_handle, \
902 ddi_put16(statep->hda_reg_handle, \
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c473 audioixp_state_t *statep = port->statep; in audioixp_stop() local
502 audioixp_state_t *statep = port->statep; in audioixp_start() local
633 audioixp_state_t *statep = port->statep; in audioixp_count() local
694 dip = statep->dip; in audioixp_alloc_port()
697 port->statep = statep; in audioixp_alloc_port()
890 audioixp_state_t *statep = port->statep; in audioixp_update_port() local
951 if (pci_config_setup(statep->dip, &statep->pcih) == DDI_FAILURE) { in audioixp_map_regs()
981 if (statep->pcih) { in audioixp_unmap_regs()
1242 statep = kmem_zalloc(sizeof (*statep), KM_SLEEP); in audioixp_attach()
1243 statep->dip = dip; in audioixp_attach()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c452 audio810_state_t *statep = port->statep; in audio810_stop() local
476 audio810_state_t *statep = port->statep; in audio810_start() local
592 audio810_state_t *statep = port->statep; in audio810_count() local
663 audio810_state_t *statep = port->statep; in audio810_playahead() local
703 statep = kmem_zalloc(sizeof (*statep), KM_SLEEP); in audio810_attach()
712 statep->dip = dip; in audio810_attach()
841 statep); in audio810_attach()
881 if ((audio810_alloc_port(statep, I810_PCM_OUT, statep->maxch) != in audio810_attach()
1056 port->statep = statep; in audio810_alloc_port()
1668 if (statep->ac97) in audio810_destroy()
[all …]
H A Daudio810.h149 struct audio810_state *statep; member
220 ddi_get8(statep->bm_regs_handle, \
221 (void *)((char *)statep->bm_regs_base + (reg)))
224 ddi_get16(statep->bm_regs_handle, \
225 (void *)((char *)statep->bm_regs_base + (reg)))
228 ddi_get32(statep->bm_regs_handle, \
232 ddi_put8(statep->bm_regs_handle, \
236 ddi_put16(statep->bm_regs_handle, \
240 ddi_put32(statep->bm_regs_handle, \
244 ddi_get16(statep->am_regs_handle, \
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/
H A Daudio1575.c429 audio1575_state_t *statep = port->statep; in audio1575_stop() local
456 audio1575_state_t *statep = port->statep; in audio1575_start() local
599 audio1575_state_t *statep = port->statep; in audio1575_count() local
686 statep = kmem_zalloc(sizeof (*statep), KM_SLEEP); in audio1575_attach()
688 statep->dip = dip; in audio1575_attach()
701 statep->adev = adev; in audio1575_attach()
746 if ((audio1575_alloc_port(statep, M1575_PLAY, statep->maxch) != in audio1575_attach()
839 dip = statep->dip; in audio1575_alloc_port()
844 port->statep = statep; in audio1575_alloc_port()
1050 if (statep->pcih) { in audio1575_unmap_regs()
[all …]
H A Daudio1575.h349 struct audio1575_state *statep; member
396 ddi_get8(statep->regsh, (void *)(statep->regsp + (reg)))
399 ddi_get16(statep->regsh, (void *)(statep->regsp + (reg)))
402 ddi_get32(statep->regsh, (void *)(statep->regsp + (reg)))
405 ddi_put8(statep->regsh, (void *)(statep->regsp + (reg)), (val))
408 ddi_put16(statep->regsh, (void *)(statep->regsp + (reg)), (val))
411 ddi_put32(statep->regsh, (void *)(statep->regsp + (reg)), (val))
/illumos-gate/usr/src/uts/sun4u/opl/io/oplpanel/
H A Doplpanel.c207 panel_ddi_put8(statep->panel_regs_handle, statep->panelregs, in panel_attach()
233 statep->dip = dip; in panel_attach()
260 panel_ddi_put8(statep->panel_regs_handle, statep->panelregs, in panel_attach()
261 statep->panelregs_state); in panel_attach()
278 struct panel_state *statep; in panel_detach() local
298 panel_ddi_put8(statep->panel_regs_handle, statep->panelregs, in panel_detach()
326 struct panel_state *statep; in panel_getinfo() local
343 *resultp = statep->dip; in panel_getinfo()
361 if (!(ddi_get8(statep->panel_regs_handle, statep->panelregs) & in panel_intr()
372 panel_ddi_put8(statep->panel_regs_handle, statep->panelregs, in panel_intr()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c262 if (statep == NULL) { in todds1337_attach()
269 statep->dip = dip; in todds1337_attach()
356 ASSERT(statep->cycid == NULL); in todds1337_attach()
359 statep->state = TOD_ATTACHED; in todds1337_attach()
479 ds1337_state_t *statep = NULL; in todds1337_set_power_alarm() local
491 if (statep == NULL) { in todds1337_set_power_alarm()
603 ds1337_state_t *statep = NULL; in todds1337_clear_power_alarm() local
615 if (statep == NULL) { in todds1337_clear_power_alarm()
745 if (statep == NULL) { in todds1337_read_rtc()
825 ds1337_state_t *statep = NULL; in todds1337_write_rtc() local
[all …]
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp.c46 ipmp_state_t *statep; in ipmp_open() local
49 if (statep == NULL) in ipmp_open()
52 statep->st_fd = -1; in ipmp_open()
53 statep->st_snap = NULL; in ipmp_open()
54 statep->st_magic = IPMP_MAGIC; in ipmp_open()
56 *handlep = statep; in ipmp_open()
66 ipmp_state_t *statep = handle; in ipmp_close() local
77 assert(statep->st_fd == -1); in ipmp_close()
79 if (statep->st_snap != NULL) in ipmp_close()
82 statep->st_magic = 0; in ipmp_close()
[all …]
H A Dipmp_query.c106 assert(statep->st_fd == -1); in ipmp_sendquery()
215 (void) close(statep->st_fd); in ipmp_querydone()
216 statep->st_fd = -1; in ipmp_querydone()
228 ipmp_state_t *statep = handle; in ipmp_getgrouplist() local
232 if (statep->st_snap != NULL) { in ipmp_getgrouplist()
294 ipmp_state_t *statep = handle; in ipmp_getgroupinfo() local
300 if (statep->st_snap != NULL) { in ipmp_getgroupinfo()
389 ipmp_state_t *statep = handle; in ipmp_getifinfo() local
395 if (statep->st_snap != NULL) { in ipmp_getifinfo()
874 if (statep->st_snap != NULL) in ipmp_setqcontext()
[all …]
H A Dipmp_admin.c43 ipmp_state_t *statep = (ipmp_state_t *)handle; in ipmp_command() local
53 assert(statep->st_fd == -1); in ipmp_command()
54 retval = ipmp_connect(&statep->st_fd); in ipmp_command()
58 retval = ipmp_write(statep->st_fd, req, reqsize); in ipmp_command()
62 retval = ipmp_read(statep->st_fd, &result, sizeof (result), &end); in ipmp_command()
70 (void) close(statep->st_fd); in ipmp_command()
71 statep->st_fd = -1; in ipmp_command()
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu.c218 struct amd_iommu_state *statep; in amd_iommu_getinfo() local
228 if (statep) { in amd_iommu_getinfo()
229 *result = statep->aioms_devi; in amd_iommu_getinfo()
247 struct amd_iommu_state *statep; in amd_iommu_attach() local
262 if (statep == NULL) { in amd_iommu_attach()
279 statep->aioms_devi = dip; in amd_iommu_attach()
325 if (statep == NULL) { in amd_iommu_detach()
363 if (statep == NULL) { in amd_iommu_open()
398 if (statep == NULL) { in amd_iommu_close()
437 if (statep == NULL) { in amd_iommu_ioctl()
[all …]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c559 statep->fs_status = status; in show_flow()
991 statep->fs_persist) { in print_flowprop()
1024 if (statep->fs_parsable) { in print_flowprop()
1060 ptr = statep->fs_line; in print_flowprop_cb()
1067 ptr = statep->fs_line; in print_flowprop_cb()
1074 ptr = statep->fs_line; in print_flowprop_cb()
1095 fs_arg.fs_state = statep; in show_one_flowprop()
1233 savep = statep->fs_flow; in show_flowprop_one_flow()
1234 statep->fs_flow = flow; in show_flowprop_one_flow()
1249 statep->fs_line = buf + in show_flowprop_one_flow()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c4795 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_stero_rec() local
4835 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_ster_vol() local
4878 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_mono_vol() local
4915 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_monitor_gain() local
4948 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_mono_rec() local
4993 usb_ac_state_t *statep = ctrlp->statep; in usb_audio_write_rec_src() local
5149 pc->statep = statep; in usb_audio_ctrl_alloc()
5446 usb_ac_state_t *statep = engp->statep; in usb_engine_open() local
5525 usb_ac_state_t *statep = engp->statep; in usb_engine_close() local
5567 usb_ac_state_t *statep = engp->statep; in usb_engine_start() local
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h1037 ibcm_state_data_t *statep; member
1644 void ibcm_cep_state_rtu(ibcm_state_data_t *statep,
1648 void ibcm_cep_state_rej(ibcm_state_data_t *statep,
1658 void ibcm_cep_send_rtu(ibcm_state_data_t *statep);
1671 void ibcm_post_apr_mad(ibcm_state_data_t *statep);
1722 void ibcm_post_rep_mad(ibcm_state_data_t *statep);
1728 void ibcm_post_dreq_mad(void *statep);
1731 void ibcm_post_lap_mad(ibcm_state_data_t *statep);
1795 ibcm_state_data_t **statep);
1816 ibcm_ud_state_data_t **statep,
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dsimba.c934 statep->dip = dip; in simba_save_config_regs()
938 statep->bridge_control = in simba_save_config_regs()
940 statep->cache_line_size = in simba_save_config_regs()
942 statep->latency_timer = in simba_save_config_regs()
953 statep->bus_number = in simba_save_config_regs()
955 statep->sec_bus_number = in simba_save_config_regs()
957 statep->sub_bus_number = in simba_save_config_regs()
959 statep->bridge_control = in simba_save_config_regs()
963 statep++; in simba_save_config_regs()
989 dip = statep->dip; in simba_restore_config_regs()
[all …]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_flow.c71 flowinfo_state_t *statep = arg; in dld_walk_flow_cb() local
74 if (statep->fi_bufsize < sizeof (dld_flowinfo_t)) in dld_walk_flow_cb()
84 if (copyout(fi, statep->fi_fl, sizeof (*fi)) != 0) { in dld_walk_flow_cb()
89 statep->fi_nflows++; in dld_walk_flow_cb()
90 statep->fi_bufsize -= sizeof (dld_flowinfo_t); in dld_walk_flow_cb()
91 statep->fi_fl += sizeof (dld_flowinfo_t); in dld_walk_flow_cb()
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dta.c497 statep->ssize = size; in t_push()
498 statep->sfont = font; in t_push()
499 statep->shorig = horig; in t_push()
500 statep->svorig = vorig; in t_push()
501 statep->shpos = hpos; in t_push()
502 statep->svpos = vpos; in t_push()
516 if (--statep < state) in t_pop()
518 size = statep->ssize; in t_pop()
519 font = statep->sfont; in t_pop()
520 hpos = statep->shpos; in t_pop()
[all …]
/illumos-gate/usr/src/common/definit/
H A Ddefinit.c45 definit_open(const char *file, void **statep) in definit_open() argument
61 *statep = state; in definit_open()
77 definit_close(void *statep) in definit_close() argument
79 definit_t *state = statep; in definit_close()
166 definit_token(void *statep) in definit_token() argument
168 definit_t *state = statep; in definit_token()
/illumos-gate/usr/src/lib/libuuid/common/
H A Detheraddr.c126 walker_arg_t *statep = arg; in get_etheraddr() local
131 statep->wa_etheraddrlen = DLPI_PHYSADDR_MAX; in get_etheraddr()
133 statep->wa_etheraddr, &(statep->wa_etheraddrlen)); in get_etheraddr()
138 statep->wa_addrvalid = B_TRUE; in get_etheraddr()

12345