Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/hotplug/
H A Dhpcsvc.h44 int (* callback)(dev_info_t *dip, hpc_slot_t handle,
48 extern int hpc_nexus_connect(hpc_slot_t handle, void *data, uint_t flags);
49 extern int hpc_nexus_disconnect(hpc_slot_t handle, void *data, uint_t flags);
50 extern int hpc_nexus_insert(hpc_slot_t handle, void *data, uint_t flags);
51 extern int hpc_nexus_remove(hpc_slot_t handle, void *data, uint_t flags);
52 extern int hpc_nexus_control(hpc_slot_t handle, int request, caddr_t arg);
53 extern int hpc_install_event_handler(hpc_slot_t handle, uint_t event_mask,
55 extern int hpc_remove_event_handler(hpc_slot_t handle);
H A Dhpctrl.h47 typedef void *hpc_slot_t; typedef
69 int (*hpc_op_connect)(caddr_t ops_arg, hpc_slot_t slot_hdl,
71 int (*hpc_op_disconnect)(caddr_t ops_arg, hpc_slot_t slot_hdl,
73 int (*hpc_op_insert)(caddr_t ops_arg, hpc_slot_t slot_hdl,
75 int (*hpc_op_remove)(caddr_t ops_arg, hpc_slot_t slot_hdl,
77 int (*hpc_op_control)(caddr_t ops_arg, hpc_slot_t slot_hdl,
274 hpc_slot_info_t *slot_info, hpc_slot_t *slot_hdl,
276 extern int hpc_slot_unregister(hpc_slot_t *slot_hdl);
279 extern int hpc_slot_event_notify(hpc_slot_t slot_hdl, uint_t event,
281 extern boolean_t hpc_bus_registered(hpc_slot_t slot_hdl);
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c190 hpc_slot_t slot_handle;
216 int (* callback)(dev_info_t *dip, hpc_slot_t hdl,
219 hpc_slot_t hdl;
319 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_nexus_register_bus()
440 hpc_slot_t *handlep, hpc_slot_ops_t *opsp, in hpc_slot_register()
446 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_slot_register()
509 slotp->slot_handle = (hpc_slot_t)slotp; in hpc_slot_register()
526 *handlep = (hpc_slot_t)slotp; in hpc_slot_register()
548 hpc_slot_unregister(hpc_slot_t *handlep) in hpc_slot_unregister()
691 hpc_remove_event_handler(hpc_slot_t handle) in hpc_remove_event_handler()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsghsc.c147 static int sghsc_disconnect(caddr_t, hpc_slot_t, void *, uint_t);
148 static int sghsc_control(caddr_t, hpc_slot_t, int, caddr_t);
154 static int sghsc_get_slotnum(sghsc_t *, hpc_slot_t);
157 static hpc_slot_t sghsc_find_sloth(int, int, int);
731 sghsc_connect(caddr_t op_arg, hpc_slot_t sloth, void *data, in sghsc_connect()
878 sghsc_control(caddr_t op_arg, hpc_slot_t sloth, int request, in sghsc_control()
1141 sghsc_led_state(sghsc_t *sghsc, hpc_slot_t sloth, int op, in sghsc_led_state()
1196 sghsc_get_slotnum(sghsc_t *sghsc, hpc_slot_t sloth) in sghsc_get_slotnum()
1441 static hpc_slot_t
1487 hpc_slot_t sloth; in sghsc_event_handler()
[all …]
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c162 static int hpc3130_slot_connect(caddr_t, hpc_slot_t, void *, uint_t);
163 static int hpc3130_slot_disconnect(caddr_t, hpc_slot_t, void *, uint_t);
166 static int hpc3130_slot_insert(caddr_t, hpc_slot_t, void *, uint_t);
167 static int hpc3130_slot_remove(caddr_t, hpc_slot_t, void *, uint_t);
168 static int hpc3130_slot_control(caddr_t, hpc_slot_t, int, caddr_t);
1486 hpc3130_slot_connect(caddr_t ops_arg, hpc_slot_t slot_hdl, in hpc3130_slot_connect()
1675 hpc3130_slot_disconnect(caddr_t ops_arg, hpc_slot_t slot_hdl, in hpc3130_slot_disconnect()
1872 hpc3130_slot_insert(caddr_t ops_arg, hpc_slot_t slot_hdl, in hpc3130_slot_insert()
1880 hpc3130_slot_remove(caddr_t ops_arg, hpc_slot_t slot_hdl, in hpc3130_slot_remove()
1888 hpc3130_slot_control(caddr_t ops_arg, hpc_slot_t slot_hdl, in hpc3130_slot_control()
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.h81 hpc_slot_t slot_handle; /* HPS slot handle */
H A Dcardbus_hp.c90 static int cardbus_pci_control(caddr_t ops_arg, hpc_slot_t slot_hdl,
92 static int cardbus_new_slot_state(dev_info_t *dip, hpc_slot_t hdl,
109 hpc_slot_t slhandle; /* HPS slot handle */ in cardbus_init_hotplug()
348 cardbus_pci_control(caddr_t ops_arg, hpc_slot_t slot_hdl, int request, in cardbus_pci_control()
460 cardbus_new_slot_state(dev_info_t *dip, hpc_slot_t hdl, in cardbus_new_slot_state()
/illumos-gate/usr/src/uts/sun4u/daktari/sys/
H A Dhpc3130_dak.h140 hpc_slot_t hpc3130_slot_handle;
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsghsc.h143 hpc_slot_t handle;
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c120 hpc_slot_t slot_hdl; /* HPS slot handle */
239 static int pcihp_new_slot_state(dev_info_t *, hpc_slot_t,
1970 pcihp_new_slot_state(dev_info_t *dip, hpc_slot_t hdl, in pcihp_new_slot_state()