Lines Matching defs:comp
1150 static int readrids(struct net_device *dev, aironet_ioctl *comp);
1151 static int writerids(struct net_device *dev, aironet_ioctl *comp);
1152 static int flashcard(struct net_device *dev, aironet_ioctl *comp);
7833 static int readrids(struct net_device *dev, aironet_ioctl *comp)
7843 switch(comp->command)
7863 if (copy_to_user(comp->data, &ai->micstats,
7864 min((int)comp->len, (int)sizeof(ai->micstats))))
7867 case AIRORRID: ridcode = comp->ridnum; break;
7886 len = comp->len;
7888 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) {
7900 static int writerids(struct net_device *dev, aironet_ioctl *comp)
7918 switch(comp->command)
7964 if (copy_to_user(comp->data, iobuf,
7965 min((int)comp->len, (int)RIDSIZE))) {
7975 if (comp->len > RIDSIZE)
7981 if (copy_from_user(iobuf, comp->data, comp->len)) {
7986 if (comp->command == AIROPCFG) {
7998 if ((*writer)(ai, ridcode, iobuf, comp->len, 1)) {
8015 static int flashcard(struct net_device *dev, aironet_ioctl *comp)
8023 switch(comp->command)
8035 if (comp->len != sizeof(int))
8037 if (copy_from_user(&z, comp->data, comp->len))
8042 if (comp->len != sizeof(int))
8044 if (copy_from_user(&z, comp->data, comp->len))
8051 if (comp->len > FLASHSIZE)
8053 if (copy_from_user(AIRO_FLASH(dev), comp->data, comp->len))