Home
last modified time | relevance | path

Searched refs:edata (Results 1 – 15 of 15) sorted by relevance

/drivers/input/joystick/iforce/
Diforce-main.c330 input_dev->id.vendor = (iforce->edata[2] << 8) | iforce->edata[1]; in iforce_init_device()
335 input_dev->id.product = (iforce->edata[2] << 8) | iforce->edata[1]; in iforce_init_device()
340 iforce->device_memory.end = (iforce->edata[2] << 8) | iforce->edata[1]; in iforce_init_device()
345 ff_effects = iforce->edata[1]; in iforce_init_device()
362 iforce_dump_packet("info", iforce->ecmd, iforce->edata); in iforce_init_device()
Diforce-packets.c171 memcpy(iforce->edata, data, IFORCE_MAX_LENGTH); in iforce_process_packet()
301 return -(iforce->edata[0] != packet[0]); in iforce_get_id_packet()
Diforce.h107 unsigned char edata[IFORCE_MAX_LENGTH]; member
Diforce-usb.c170 (void*) &iforce->cr, iforce->edata, 16, iforce_usb_ctrl, iforce); in iforce_usb_probe()
/drivers/staging/wlan-ng/
Dp80211netdev.c493 struct ethtool_value edata; in p80211netdev_ethtool() local
496 memset(&edata, 0, sizeof(edata)); in p80211netdev_ethtool()
514 edata.cmd = ethcmd; in p80211netdev_ethtool()
518 edata.data = 1; in p80211netdev_ethtool()
520 edata.data = 0; in p80211netdev_ethtool()
523 if (copy_to_user(useraddr, &edata, sizeof(edata))) in p80211netdev_ethtool()
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c604 struct ethtool_value edata; in brcmf_ethtool() local
661 edata.cmd = cmd; in brcmf_ethtool()
662 edata.data = (toe_cmpnt & csum_dir) ? 1 : 0; in brcmf_ethtool()
664 if (copy_to_user(uaddr, &edata, sizeof(edata))) in brcmf_ethtool()
671 if (copy_from_user(&edata, uaddr, sizeof(edata))) in brcmf_ethtool()
682 if (edata.data != 0) in brcmf_ethtool()
693 if (edata.data) in brcmf_ethtool()
Dwl_cfg80211.h205 s8 edata[1]; member
Dwl_cfg80211.c3346 &e->emsg, e->edata); in brcmf_cfg80211_event_handler()
/drivers/staging/slicoss/
Dslicoss.c3305 struct ethtool_cmd edata; in slic_ioctl() local
3361 edata.supported = (SUPPORTED_10baseT_Half | in slic_ioctl()
3366 edata.port = PORT_MII; in slic_ioctl()
3367 edata.transceiver = XCVR_INTERNAL; in slic_ioctl()
3368 edata.phy_address = 0; in slic_ioctl()
3370 edata.speed = SPEED_100; in slic_ioctl()
3372 edata.speed = SPEED_10; in slic_ioctl()
3374 edata.speed = 0; in slic_ioctl()
3377 edata.duplex = DUPLEX_FULL; in slic_ioctl()
3379 edata.duplex = DUPLEX_HALF; in slic_ioctl()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c740 u16 phy_offset, control, eword, edata, block_crc; in ixgbe_reset_phy_nl() local
782 edata = eword & IXGBE_DATA_MASK_NL; in ixgbe_reset_phy_nl()
786 hw_dbg(hw, "DELAY: %d MS\n", edata); in ixgbe_reset_phy_nl()
787 usleep_range(edata * 1000, edata * 2000); in ixgbe_reset_phy_nl()
794 for (i = 0; i < edata; i++) { in ixgbe_reset_phy_nl()
807 if (edata == IXGBE_CONTROL_EOL_NL) { in ixgbe_reset_phy_nl()
810 } else if (edata == IXGBE_CONTROL_SOL_NL) { in ixgbe_reset_phy_nl()
/drivers/net/phy/
Ddp83640.c98 struct phy_txts edata; member
648 dp83640->edata.sec_hi = phy_txts->sec_hi; in decode_evnt()
650 dp83640->edata.sec_lo = phy_txts->sec_lo; in decode_evnt()
652 dp83640->edata.ns_hi = phy_txts->ns_hi; in decode_evnt()
654 dp83640->edata.ns_lo = phy_txts->ns_lo; in decode_evnt()
666 event.timestamp = phy2txts(&dp83640->edata); in decode_evnt()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2279 struct ch_reg edata; in cxgb_extension_ioctl() local
2286 if (copy_from_user(&edata, useraddr, sizeof(edata))) in cxgb_extension_ioctl()
2288 if (edata.val < 1 || in cxgb_extension_ioctl()
2289 (edata.val > 1 && !(adapter->flags & USING_MSIX))) in cxgb_extension_ioctl()
2296 if (edata.val + other_qsets > SGE_QSETS) in cxgb_extension_ioctl()
2299 pi->nqsets = edata.val; in cxgb_extension_ioctl()
2310 struct ch_reg edata; in cxgb_extension_ioctl() local
2312 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_extension_ioctl()
2314 edata.cmd = CHELSIO_GET_QSET_NUM; in cxgb_extension_ioctl()
2315 edata.val = pi->nqsets; in cxgb_extension_ioctl()
[all …]
/drivers/net/wireless/bcmdhd/
Ddhd_linux.c2420 struct ethtool_value edata; local
2478 edata.cmd = cmd;
2479 edata.data = (toe_cmpnt & csum_dir) ? 1 : 0;
2481 if (copy_to_user(uaddr, &edata, sizeof(edata)))
2488 if (copy_from_user(&edata, uaddr, sizeof(edata)))
2497 if (edata.data != 0)
2507 if (edata.data)
Dwl_cfg80211.h305 s8 edata[1]; member
Dwl_cfg80211.c9670 wl->evt_handler[e->etype] (wl, cfgdev, &e->emsg, e->edata);
9773 memcpy(e->edata, data, data_len);