Home
last modified time | relevance | path

Searched refs:ifr_data (Results 1 – 25 of 50) sorted by relevance

12

/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dioctl.c147 if (copy_from_user(&cmd, (char *)((unsigned int*)rq->ifr_data + 1), in ar6000_ioctl_set_qos_supp()
182 if (copy_from_user(&cmd, (char *)((unsigned int*)rq->ifr_data + 1), in ar6000_ioctl_set_wmm()
223 if (copy_from_user(&cmd, (char *)((unsigned int*)rq->ifr_data + 1), in ar6000_ioctl_set_txop()
254 if(copy_to_user((char *)((unsigned int*)rq->ifr_data + 1), in ar6000_ioctl_get_rd()
275 if (copy_from_user(&cmd, (char *)((unsigned int*)rq->ifr_data + 1), in ar6000_ioctl_set_country()
313 if (copy_to_user(rq->ifr_data, &power_mode, sizeof(WMI_POWER_MODE_CMD))) { in ar6000_ioctl_get_power_mode()
333 if (copy_from_user(&cmd, rq->ifr_data, sizeof(cmd))) { in ar6000_ioctl_set_channelParams()
344 if (copy_from_user(cmdp, rq->ifr_data, in ar6000_ioctl_set_channelParams()
393 if (copy_from_user(&cmd, rq->ifr_data, sizeof(cmd))) { in ar6000_ioctl_set_snr_threshold()
427 …if (copy_from_user((char *)&rssiParams, (char *)((unsigned int *)rq->ifr_data + 1), sizeof(USER_RS… in ar6000_ioctl_set_rssi_threshold()
[all …]
/linux-2.6.39/drivers/staging/sbe-2t3e3/
Dnetdev.c30 void *data = ifr->ifr_data + sizeof(cmd_2t3e3) + sizeof(len); in t3e3_ioctl()
39 if (copy_from_user(&cmd_2t3e3, ifr->ifr_data, sizeof(cmd_2t3e3))) in t3e3_ioctl()
41 if (copy_from_user(&len, ifr->ifr_data + sizeof(cmd_2t3e3), sizeof(len))) in t3e3_ioctl()
/linux-2.6.39/drivers/net/
Deql.c280 return eql_enslave(dev, ifr->ifr_data); in eql_ioctl()
282 return eql_emancipate(dev, ifr->ifr_data); in eql_ioctl()
284 return eql_g_slave_cfg(dev, ifr->ifr_data); in eql_ioctl()
286 return eql_s_slave_cfg(dev, ifr->ifr_data); in eql_ioctl()
288 return eql_g_master_cfg(dev, ifr->ifr_data); in eql_ioctl()
290 return eql_s_master_cfg(dev, ifr->ifr_data); in eql_ioctl()
Dsb1000.c1019 if(copy_to_user(ifr->ifr_data, stats, sizeof(stats))) in sb1000_dev_ioctl()
1027 if(copy_to_user(ifr->ifr_data, version, sizeof(version))) in sb1000_dev_ioctl()
1034 if(put_user(frequency, (int __user *) ifr->ifr_data)) in sb1000_dev_ioctl()
1041 if(get_user(frequency, (int __user *) ifr->ifr_data)) in sb1000_dev_ioctl()
1050 if(copy_to_user(ifr->ifr_data, PID, sizeof(PID))) in sb1000_dev_ioctl()
1057 if(copy_from_user(PID, ifr->ifr_data, sizeof(PID))) in sb1000_dev_ioctl()
Drrunner.c1625 error = copy_to_user(rq->ifr_data, image, EEPROM_BYTES); in rr_ioctl()
1646 error = copy_from_user(image, rq->ifr_data, EEPROM_BYTES); in rr_ioctl()
1685 return put_user(0x52523032, (int __user *)rq->ifr_data); in rr_ioctl()
Dbfin_mac.c639 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in bfin_mac_hwtstamp_ioctl()
796 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in bfin_mac_hwtstamp_ioctl()
/linux-2.6.39/drivers/net/hamradio/
Dbaycom_par.c433 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
445 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
454 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl()
469 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
Dbaycom_ser_fdx.c560 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
572 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
581 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl()
596 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
Dbaycom_ser_hdx.c591 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
603 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl()
612 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl()
627 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
Dbpqether.c326 struct bpq_ethaddr __user *ethaddr = ifr->ifr_data; in bpq_ioctl()
335 if (copy_from_user(&req, ifr->ifr_data, sizeof(struct bpq_req))) in bpq_ioctl()
Dyam.c958 if (copy_from_user(&ioctl_cmd, ifr->ifr_data, sizeof(int))) in yam_ioctl()
981 if (copy_from_user(ym, ifr->ifr_data, sizeof(struct yamdrv_ioctl_mcs))) { in yam_ioctl()
997 if (copy_from_user(&yi, ifr->ifr_data, sizeof(struct yamdrv_ioctl_cfg))) in yam_ioctl()
1074 if (copy_to_user(ifr->ifr_data, &yi, sizeof(struct yamdrv_ioctl_cfg))) in yam_ioctl()
Dhdlcdrv.c505 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in hdlcdrv_ioctl()
613 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in hdlcdrv_ioctl()
Dbaycom_epp.c1008 if (copy_from_user(&hi, ifr->ifr_data, sizeof(hi))) in baycom_ioctl()
1099 if (copy_to_user(ifr->ifr_data, &hi, sizeof(hi))) in baycom_ioctl()
Ddmascc.c902 (ifr->ifr_data, &priv->param, in scc_ioctl()
912 (&priv->param, ifr->ifr_data, in scc_ioctl()
/linux-2.6.39/drivers/net/wan/lmc/
Dlmc_main.c133 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) in lmc_ioctl()
150 if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { in lmc_ioctl()
180 if (copy_from_user(&new_type, ifr->ifr_data, sizeof(u16))) { in lmc_ioctl()
220 if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo, in lmc_ioctl()
254 if (copy_to_user(ifr->ifr_data, &sc->lmc_device->stats, in lmc_ioctl()
256 copy_to_user(ifr->ifr_data + sizeof(sc->lmc_device->stats), in lmc_ioctl()
291 if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { in lmc_ioctl()
323 if (copy_to_user(ifr->ifr_data, &lmcEventLogIndex, sizeof(u32))) { in lmc_ioctl()
327 if (copy_to_user(ifr->ifr_data + sizeof(u32), lmcEventLogBuf, in lmc_ioctl()
355 if (copy_from_user(&xc, ifr->ifr_data, sizeof(struct lmc_xilinx_control))) { in lmc_ioctl()
/linux-2.6.39/include/linux/
Dif.h203 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
/linux-2.6.39/drivers/net/wan/
Dfarsync.c1999 dbg(DBG_IOCTL, "ioctl: %x, %p\n", cmd, ifr->ifr_data); in fst_ioctl()
2023 if (ifr->ifr_data == NULL) { in fst_ioctl()
2026 if (copy_from_user(&wrthdr, ifr->ifr_data, in fst_ioctl()
2041 buf = memdup_user(ifr->ifr_data + sizeof(struct fstioc_write), in fst_ioctl()
2074 if (ifr->ifr_data == NULL) { in fst_ioctl()
2080 if (copy_to_user(ifr->ifr_data, &info, sizeof (info))) { in fst_ioctl()
2097 if (copy_from_user(&info, ifr->ifr_data, sizeof (info))) { in fst_ioctl()
Dsbni.c1315 if (copy_to_user( ifr->ifr_data, &nl->in_stats, in sbni_ioctl()
1333 if (copy_to_user( ifr->ifr_data, &flags, sizeof flags )) in sbni_ioctl()
1362 if (copy_from_user( slave_name, ifr->ifr_data, sizeof slave_name )) in sbni_ioctl()
Ddlci.c255 return dlci_config(dev, ifr->ifr_data, cmd == DLCI_GET_CONF); in dlci_dev_ioctl()
/linux-2.6.39/drivers/staging/cxt1e1/
Dlinux.c860 if (copy_from_user (&iocmd, ifr->ifr_data, sizeof (iocmd))) in c4_ioctl()
863 if (copy_from_user (&len, ifr->ifr_data + sizeof (iocmd), sizeof (len))) in c4_ioctl()
873 data = ifr->ifr_data + sizeof (iocmd); in c4_ioctl()
/linux-2.6.39/drivers/net/appletalk/
Dipddp.c270 struct ipddp_route __user *rt = ifr->ifr_data; in ipddp_ioctl()
/linux-2.6.39/net/bridge/
Dbr_ioctl.c116 if (copy_from_user(args, rq->ifr_data, sizeof(args))) in old_dev_ioctl()
/linux-2.6.39/Documentation/networking/timestamping/
Dtimestamping.c383 hwtstamp.ifr_data = (void *)&hwconfig; in main()
/linux-2.6.39/drivers/staging/wlan-ng/
Dp80211netdev.c573 p80211netdev_ethtool(wlandev, (void __user *)ifr->ifr_data); in p80211knetdev_do_ioctl()
/linux-2.6.39/drivers/isdn/i4l/
Disdn_net.c1444 if (copy_to_user(ifr->ifr_data, in isdn_ciscohdlck_dev_ioctl()
1451 if (copy_from_user(&period, ifr->ifr_data, len)) in isdn_ciscohdlck_dev_ioctl()
1470 if (copy_to_user(ifr->ifr_data, in isdn_ciscohdlck_dev_ioctl()
1477 ifr->ifr_data, len)) in isdn_ciscohdlck_dev_ioctl()

12