Lines Matching defs:ioctl
80 static int mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data,
751 /* build the getcontrollerinfo ioctl and send it */
764 /* build the getcontrollerparameter ioctl and send it */
836 * Build the ioctl.
838 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
887 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
978 /* build the gethealthstatus ioctl and send it */
1014 /* build the ioctl and send it */
1058 /* build the ioctl */
1071 * Perform an ioctl command.
1078 * XXX passing in the whole ioctl structure is ugly. Better ideas?
1083 mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data, size_t datasize,
1098 /* copy the ioctl structure, but save some important fields and then fixup */
1099 mci = &mc->mc_packet->ioctl;
1100 ioctl->sense_buffer_address = mci->sense_buffer_address;
1101 ioctl->maximum_sense_size = mci->maximum_sense_size;
1102 *mci = *ioctl;
1222 * Build the ioctl.
1227 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;