Lines Matching defs:ym
955 struct yamdrv_ioctl_mcs *ym;
978 if ((ym = kmalloc(sizeof(struct yamdrv_ioctl_mcs), GFP_KERNEL)) == NULL)
980 ym->bitrate = 9600;
981 if (copy_from_user(ym, ifr->ifr_data, sizeof(struct yamdrv_ioctl_mcs))) {
982 kfree(ym);
985 if (ym->bitrate > YAM_MAXBITRATE) {
986 kfree(ym);
990 add_mcs(ym->bits, ym->bitrate, 0);
991 kfree(ym);