Lines Matching refs:iocdata
161 static void build_control_data(struct hpc_control_data *iocdata, uint_t cmd,
807 * iocdata->cmd == HPC_CTRL_ENABLE_SLOT/HPC_CTRL_DISABLE_SLOT
816 build_control_data(struct hpc_control_data *iocdata, uint_t cmd,
819 iocdata->cmd = cmd;
820 iocdata->data = retdata;
874 struct hpc_control_data iocdata;
909 build_control_data(&iocdata, HPC_CTRL_GET_SLOT_INFO,
912 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
938 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &power_led_info);
939 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
953 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &fault_led_info);
954 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
968 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &attn_led_info);
969 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
983 build_control_data(&iocdata, HPC_CTRL_GET_LED_STATE, &active_led_info);
984 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
1012 struct hpc_control_data iocdata;
1040 build_control_data(&iocdata,
1044 build_control_data(&iocdata,
1048 build_control_data(&iocdata,
1052 build_control_data(&iocdata,
1104 build_control_data(&iocdata,
1127 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
1504 struct hpc_control_data iocdata;
1636 build_control_data(&iocdata, HPC_CTRL_GET_BOARD_TYPE,
1639 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
1644 build_control_data(&iocdata, HPC_CTRL_GET_SLOT_INFO,
1647 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {
1662 build_control_data(&iocdata, HPC_CTRL_GET_CARD_INFO,
1665 if (ioctl(fd, DEVCTL_AP_CONTROL, &iocdata) == -1) {