Lines Matching defs:ioctl
80 static int mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data,
776 /* build the getcontrollerinfo ioctl and send it */
789 /* build the getcontrollerparameter ioctl and send it */
861 * Build the ioctl.
863 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
912 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;
1003 /* build the gethealthstatus ioctl and send it */
1039 /* build the ioctl and send it */
1083 /* build the ioctl */
1096 * Perform an ioctl command.
1103 * XXX passing in the whole ioctl structure is ugly. Better ideas?
1108 mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data, size_t datasize,
1124 /* copy the ioctl structure, but save some important fields and then fixup */
1125 mci = &mc->mc_packet->ioctl;
1126 ioctl->sense_buffer_address = mci->sense_buffer_address;
1127 ioctl->maximum_sense_size = mci->maximum_sense_size;
1128 *mci = *ioctl;
1248 * Build the ioctl.
1253 mci = (struct mly_command_ioctl *)&mc->mc_packet->ioctl;