Home
last modified time | relevance | path

Searched refs:ds_hdl_t (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/
H A Dusbser_dsdi.h43 typedef void *ds_hdl_t; /* DSD device handler */ typedef
92 void (*ds_detach)(ds_hdl_t);
103 int (*ds_open_port)(ds_hdl_t, uint_t port_num);
104 int (*ds_close_port)(ds_hdl_t, uint_t port_num);
118 int (*ds_suspend)(ds_hdl_t);
119 int (*ds_resume)(ds_hdl_t);
124 int (*ds_disconnect)(ds_hdl_t);
125 int (*ds_reconnect)(ds_hdl_t);
141 int (*ds_set_modem_ctl)(ds_hdl_t, uint_t port_num,
148 int (*ds_get_modem_ctl)(ds_hdl_t, uint_t port_num,
[all …]
H A Dusbser_var.h85 ds_hdl_t us_ds_hdl; /* DSD device handle */
104 ds_hdl_t port_ds_hdl; /* copy from usbser_state */
/illumos-gate/usr/src/lib/libds/common/
H A Dlibds.h39 typedef uint64_t ds_hdl_t; /* service handle */ typedef
66 void (*ds_reg_cb)(ds_hdl_t hdl, ds_cb_arg_t arg, ds_ver_t *ver,
68 void (*ds_unreg_cb)(ds_hdl_t hdl, ds_cb_arg_t arg);
69 void (*ds_data_cb)(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf,
77 extern int ds_hdl_lookup(char *service, boolean_t is_client, ds_hdl_t *hdlsp,
79 extern int ds_domain_lookup(ds_hdl_t hdl, ds_domain_hdl_t *dhdlp);
80 extern int ds_unreg_hdl(ds_hdl_t hdl);
81 extern int ds_send_msg(ds_hdl_t hdl, void *buf, size_t buflen);
82 extern int ds_recv_msg(ds_hdl_t hdl, void *buf, size_t buflen,
84 extern int ds_isready(ds_hdl_t hdl, boolean_t *is_ready);
H A Dlibds.c44 ds_hdl_t dsl_hdl;
87 ds_hdl_to_dslibentry(ds_hdl_t hdl) in ds_hdl_to_dslibentry()
258 (reg_cb)((ds_hdl_t)hdl, cb_arg, &ver, in ds_recv()
263 void (*unreg_cb)(ds_hdl_t, ds_cb_arg_t) = NULL; in ds_recv()
273 (unreg_cb)((ds_hdl_t)hdl, cb_arg); in ds_recv()
276 void (*data_cb)(ds_hdl_t, ds_cb_arg_t, void *, in ds_recv()
288 (data_cb)((ds_hdl_t)hdl, cb_arg, bufp, buflen); in ds_recv()
355 ds_hdl_t hdl; in ds_register()
533 ds_unreg_hdl(ds_hdl_t hdl) in ds_unreg_hdl()
617 ds_isready(ds_hdl_t hdl, boolean_t *is_ready) in ds_isready()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c58 static void pl2303_detach(ds_hdl_t);
66 static int pl2303_suspend(ds_hdl_t);
67 static int pl2303_resume(ds_hdl_t);
68 static int pl2303_disconnect(ds_hdl_t);
69 static int pl2303_reconnect(ds_hdl_t);
224 *aip->ai_hdl = (ds_hdl_t)plp; in pl2303_attach()
342 pl2303_detach(ds_hdl_t hdl) in pl2303_detach()
547 pl2303_suspend(ds_hdl_t hdl) in pl2303_suspend()
576 pl2303_resume(ds_hdl_t hdl) in pl2303_resume()
602 pl2303_disconnect(ds_hdl_t hdl) in pl2303_disconnect()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c64 static void uftdi_detach(ds_hdl_t);
72 static int uftdi_suspend(ds_hdl_t);
73 static int uftdi_resume(ds_hdl_t);
74 static int uftdi_disconnect(ds_hdl_t);
75 static int uftdi_reconnect(ds_hdl_t);
193 *aip->ai_hdl = (ds_hdl_t)uf; in uftdi_attach()
352 uftdi_detach(ds_hdl_t hdl) in uftdi_detach()
542 uftdi_suspend(ds_hdl_t hdl) in uftdi_suspend()
569 uftdi_resume(ds_hdl_t hdl) in uftdi_resume()
593 uftdi_disconnect(ds_hdl_t hdl) in uftdi_disconnect()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c240 static void usbsacm_ds_detach(ds_hdl_t);
266 static int usbsacm_ds_suspend(ds_hdl_t);
267 static int usbsacm_ds_resume(ds_hdl_t);
268 static int usbsacm_ds_disconnect(ds_hdl_t);
269 static int usbsacm_ds_reconnect(ds_hdl_t);
585 *aip->ai_hdl = (ds_hdl_t)acmp; in usbsacm_ds_attach()
675 usbsacm_ds_detach(ds_hdl_t hdl) in usbsacm_ds_detach()
921 usbsacm_ds_suspend(ds_hdl_t hdl) in usbsacm_ds_suspend()
953 usbsacm_ds_resume(ds_hdl_t hdl) in usbsacm_ds_resume()
982 usbsacm_ds_disconnect(ds_hdl_t hdl) in usbsacm_ds_disconnect()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c59 static void keyspan_detach(ds_hdl_t);
67 static int keyspan_suspend(ds_hdl_t);
68 static int keyspan_resume(ds_hdl_t);
71 static int keyspan_disconnect(ds_hdl_t);
72 static int keyspan_reconnect(ds_hdl_t);
308 *aip->ai_hdl = (ds_hdl_t)ksp; in keyspan_attach()
403 keyspan_detach(ds_hdl_t hdl) in keyspan_detach()
856 keyspan_suspend(ds_hdl_t hdl) in keyspan_suspend()
885 keyspan_resume(ds_hdl_t hdl) in keyspan_resume()
911 keyspan_disconnect(ds_hdl_t hdl) in keyspan_disconnect()
[all …]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldmad.c72 ds_hdl_t hdl; /* connexion handle */
105 ldma_connexion_lookup(ldma_agent_t *agent, ds_hdl_t hdl) in ldma_connexion_lookup()
122 ldma_connexion_add(ldma_agent_t *agent, ds_hdl_t hdl, ds_domain_hdl_t dhdl, in ldma_connexion_add()
164 ldma_connexion_delete(ldma_agent_t *agent, ds_hdl_t hdl) in ldma_connexion_delete()
246 ldma_reg_cb(ds_hdl_t hdl, ds_cb_arg_t arg, ds_ver_t *ver, in ldma_reg_cb()
274 ldma_unreg_cb(ds_hdl_t hdl, ds_cb_arg_t arg) in ldma_unreg_cb()
294 ldma_data_cb(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf, size_t len) in ldma_data_cb()
/illumos-gate/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c62 static int (*v12n_ds_send_msg)(ds_hdl_t, void *, size_t) = NULL;
80 static void v12n_ldma_register_handler(ds_hdl_t hdl, ds_cb_arg_t arg,
82 static void v12n_ldma_data_handler(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf,
101 static ds_hdl_t v12n_ldma_ctrl_hdl = DS_INVALID_HDL;
564 v12n_ldma_register_handler(ds_hdl_t hdl, ds_cb_arg_t arg, ds_ver_t *ver, in v12n_ldma_register_handler()
585 v12n_ldma_data_handler(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf, in v12n_ldma_data_handler()
695 if ((v12n_ds_send_msg = (int (*)(ds_hdl_t, void *, size_t)) in v12n_libds_init()