Searched refs:iocdata (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 156 static void build_control_data(struct hpc_control_data *iocdata, uint_t cmd, 810 build_control_data(struct hpc_control_data *iocdata, uint_t cmd, in build_control_data() argument 813 iocdata->cmd = cmd; in build_control_data() 814 iocdata->data = retdata; in build_control_data() 868 struct hpc_control_data iocdata; in prt_led_mode() local 903 build_control_data(&iocdata, HPC_CTRL_GET_SLOT_INFO, in prt_led_mode() 906 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) { in prt_led_mode() 932 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &power_led_info); in prt_led_mode() 933 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) { in prt_led_mode() 947 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &fault_led_info); in prt_led_mode() [all …]
|
/illumos-gate/usr/src/lib/libdevice/ |
H A D | devctl.c | 1328 struct devctl_iocdata iocdata; in dc_cmd() local 1340 (void) memset(&iocdata, 0, sizeof (struct devctl_iocdata)); in dc_cmd() 1347 if (rv = nvlist_pack(ulp, (char **)&iocdata.nvl_user, in dc_cmd() 1348 &iocdata.nvl_usersz, NV_ENCODE_NATIVE, 0)) { in dc_cmd() 1355 iocdata.nvl_user = NULL; in dc_cmd() 1356 iocdata.nvl_usersz = 0; in dc_cmd() 1362 iocdata.cmd = cmd; in dc_cmd() 1363 iocdata.flags = flags; in dc_cmd() 1364 iocdata.c_nodename = dcp->nodename; in dc_cmd() 1365 iocdata.c_unitaddr = dcp->unitaddr; in dc_cmd() [all …]
|