Lines Matching defs:data

61  * The DM9000 uses an address register to control where data written
62 * to the data register goes. This means that the address register
110 void (*inblk)(void __iomem *port, void *data, int length);
111 void (*outblk)(void __iomem *port, void *data, int length);
198 static void dm9000_outblk_8bit(void __iomem *reg, void *data, int count)
200 iowrite8_rep(reg, data, count);
203 static void dm9000_outblk_16bit(void __iomem *reg, void *data, int count)
205 iowrite16_rep(reg, data, (count+1) >> 1);
208 static void dm9000_outblk_32bit(void __iomem *reg, void *data, int count)
210 iowrite32_rep(reg, data, (count+3) >> 2);
215 static void dm9000_inblk_8bit(void __iomem *reg, void *data, int count)
217 ioread8_rep(reg, data, count);
221 static void dm9000_inblk_16bit(void __iomem *reg, void *data, int count)
223 ioread16_rep(reg, data, (count+1) >> 1);
226 static void dm9000_inblk_32bit(void __iomem *reg, void *data, int count)
228 ioread32_rep(reg, data, (count+3) >> 2);
305 /* The read data keeps on REG_0D & REG_0E */
339 /* Fill the written data into REG_0D & REG_0E */
372 /* use the size of the data resource to work out what IO
436 /* The DM9000 data sheets say we should be able to
465 * Read a word data from EEPROM
505 * Write a word data to SROM
508 dm9000_write_eeprom(struct board_info *db, int offset, u8 *data)
519 iow(db, DM9000_EPDRH, data[1]);
520 iow(db, DM9000_EPDRL, data[0]);
622 struct ethtool_eeprom *ee, u8 *data)
640 dm9000_read_eeprom(dm, (offset + i) / 2, data + i);
646 struct ethtool_eeprom *ee, u8 *data)
667 tmp[which] = *data;
672 dm9000_write_eeprom(dm, offset / 2, data);
676 data += done;
1027 /* Move data to DM9000 TX RAM */
1030 (db->outblk)(db->io_data, skb->data, skb->len);
1100 /* Get most updated data */
1158 /* Move data from DM9000 */
1181 /* need to dump the packet's data */
1501 dev_err(db->dev, "insufficient resources addr=%p data=%p\n",
1558 dev_err(db->dev, "cannot claim data reg area\n");
1566 dev_err(db->dev, "failed to ioremap data reg\n");
1676 mac_src = "platform data";