Lines Matching defs:data
156 /* put the data to write in the MAC */
230 static void smsc9420_ethtool_set_msglevel(struct net_device *netdev, u32 data)
233 pd->msg_enable = data;
249 u32 *data = buf;
253 data[j++] = smsc9420_reg_read(pd, i);
260 data[j++] = smsc9420_mii_read(phy_dev->mdio.bus,
306 u8 address, u8 *data)
315 data[address] = smsc9420_reg_read(pd, E2P_DATA);
321 u8 address, u8 data)
326 netif_dbg(pd, hw, pd->dev, "address 0x%x, data 0x%x\n", address, data);
331 smsc9420_reg_write(pd, E2P_DATA, (u32)data);
344 struct ethtool_eeprom *eeprom, u8 *data)
361 memcpy(data, &eeprom_data[eeprom->offset], len);
368 struct ethtool_eeprom *eeprom, u8 *data)
378 ret = smsc9420_eeprom_write_location(pd, eeprom->offset, *data);
941 mapping = dma_map_single(&pd->pdev->dev, skb->data, skb->len,