Home
last modified time | relevance | path

Searched refs:devctl_hdl_t (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/lib/libdevice/
H A Dlibdevice.h43 typedef struct devctl_dummy_struct *devctl_hdl_t; typedef
47 devctl_hdl_t
50 devctl_hdl_t
53 devctl_hdl_t
56 devctl_hdl_t
59 devctl_hdl_t
63 devctl_release(devctl_hdl_t hdl);
66 devctl_device_offline(devctl_hdl_t hdl);
69 devctl_device_remove(devctl_hdl_t hdl);
72 devctl_pm_raisepower(devctl_hdl_t hdl);
[all …]
H A Ddevctl.c65 static devctl_hdl_t dc_mkhndl(dc_type_t, char *, uint_t, devctl_hdl_t);
79 devctl_release(devctl_hdl_t hdl) in devctl_release()
105 devctl_hdl_t
128 devctl_hdl_t
152 devctl_hdl_t
180 devctl_hdl_t
204 devctl_hdl_t
227 static devctl_hdl_t
228 dc_mkhndl(dc_type_t type, char *path, uint_t oflags, devctl_hdl_t pc) in dc_mkhndl()
252 devctl_release((devctl_hdl_t)dcp); in dc_mkhndl()
[all …]
/titanic_41/usr/src/cmd/devctl/
H A Ddevctl.c101 int (*cmdf)(devctl_hdl_t);
109 static int dev_getstate(devctl_hdl_t);
110 static int bus_getstate(devctl_hdl_t);
111 static int bus_devcreate(devctl_hdl_t);
118 static int dev_pm_testbusy(devctl_hdl_t);
119 static int bus_pm_teststrict(devctl_hdl_t);
187 devctl_hdl_t dcp; in main()
337 dev_pm_testbusy(devctl_hdl_t dcp) in dev_pm_testbusy()
351 bus_pm_teststrict(devctl_hdl_t dcp) in bus_pm_teststrict()
366 dev_getstate(devctl_hdl_t dcp) in dev_getstate()
[all …]
/titanic_41/usr/src/cmd/th_tools/
H A Dth_manage.c273 devctl_hdl_t dcp; in online_device()
290 devctl_hdl_t dcp; in offline_device()
306 devctl_hdl_t dcp; in getstate_device()
/titanic_41/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c52 static void ib_cleanup_after_devctl_cmd(devctl_hdl_t, nvlist_t *);
54 devctl_hdl_t *, nvlist_t **);
55 static cfga_ib_ret_t ib_device_configured(devctl_hdl_t, nvlist_t *,
57 static cfga_ib_ret_t ib_device_connected(devctl_hdl_t, nvlist_t *,
579 ib_cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in ib_cleanup_after_devctl_cmd()
617 devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) in ib_setup_for_devctl_cmd()
667 ib_device_configured(devctl_hdl_t hdl, nvlist_t *nvl, ap_rstate_t *rstate) in ib_device_configured()
705 ib_device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) in ib_device_connected()
870 devctl_hdl_t hdl = NULL; in cfga_change_state()
1062 devctl_hdl_t hdl = NULL; in cfga_private_func()
/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c503 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd()
515 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, in setup_for_devctl_cmd()
568 device_configured(devctl_hdl_t hdl, nvlist_t *nvl, ap_rstate_t *rstate) in device_configured()
593 device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) in device_connected()
853 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) in reset_device()
1017 devctl_hdl_t hdl = NULL; in cfga_change_state()
1227 devctl_hdl_t hdl = NULL; in cfga_private_func()
1470 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext()
/titanic_41/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c584 devctl_hdl_t dcp; in cfga_change_state()
614 devctl_release((devctl_hdl_t)dcp); in cfga_change_state()
800 devctl_release((devctl_hdl_t)dcp); in cfga_change_state()
1503 devctl_hdl_t dcp; in cfga_list_ext()
1549 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1571 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1587 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1615 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1620 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
/titanic_41/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c228 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl,
232 port_state(devctl_hdl_t hdl, nvlist_t *list,
240 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist);
579 devctl_hdl_t hdl = NULL; in cfga_change_state()
929 devctl_hdl_t hdl = NULL; in cfga_private_func()
1424 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext()
1887 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd()
1900 devctl_hdl_t *devctl_hdl, in setup_for_devctl_cmd()
1966 port_state(devctl_hdl_t hdl, nvlist_t *list, in port_state()
/titanic_41/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c52 int (*fcn)(const devctl_hdl_t);
58 int (*state_fcn)(const devctl_hdl_t, uint_t *);
952 devctl_hdl_t hdl = NULL; in devctl_cmd()
954 int (*func)(const devctl_hdl_t); in devctl_cmd()
955 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd()
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dhot.c349 devctl_hdl_t devhdl; in g_offline_drive()
392 devctl_hdl_t devhdl; in g_online_drive()
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c50 int (*fcn)(const devctl_hdl_t);
56 int (*state_fcn)(const devctl_hdl_t, uint_t *);
821 devctl_hdl_t hdl = NULL; in devctl_cmd()
823 int (*func)(const devctl_hdl_t); in devctl_cmd()
824 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd()
H A Dcfga_cs.c70 devctl_hdl_t bus_hdl, dev_hdl; in do_devctl_dev_create()
344 devctl_hdl_t hdl; in lun_unconf()
/titanic_41/usr/src/cmd/zoneadmd/
H A Dzcons.c230 devctl_hdl_t hdl; in destroy_cb()
333 devctl_hdl_t bus_hdl = NULL; in init_console_dev()
334 devctl_hdl_t dev_hdl = NULL; in init_console_dev()
/titanic_41/usr/src/cmd/luxadm/
H A Dfabric_conf.c285 devctl_hdl_t bus_handle, dev_handle; in create_ap_instance()
H A Dfchba.c2035 devctl_hdl_t dcp; in fchba_hotplug_e()
H A Dhotplug.c1266 devctl_hdl_t dcp; in hotplug_e()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c231 devctl_hdl_t bus_hdl = NULL; in create_i2c_node()
232 devctl_hdl_t dev_hdl = NULL; in create_i2c_node()
273 devctl_hdl_t dev_hdl; in delete_i2c_node()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c2499 devctl_hdl_t dhdl; in disk_leds_thread()
2852 devctl_hdl_t bus_hdl; in create_i2c_node()
2853 devctl_hdl_t dev_hdl; in create_i2c_node()
2905 devctl_hdl_t dev_hdl; in delete_i2c_node()
/titanic_41/usr/src/lib/storage/liba5k/common/
H A Ddiag.c79 devctl_hdl_t devhdl; in d_offline_drive()
H A Dmon.c808 devctl_hdl_t devhdl; in l_dev_pwr_up_down()
999 devctl_hdl_t devhdl; in l_pho_pwr_up_down()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c547 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1534 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c3912 devctl_hdl_t dhdl; in set_disk_leds()