/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 262 struct be_dma_mem read_cmd; in lancer_cmd_read_file() local 268 read_cmd.size = LANCER_READ_FILE_CHUNK; in lancer_cmd_read_file() 269 read_cmd.va = dma_zalloc_coherent(&adapter->pdev->dev, read_cmd.size, in lancer_cmd_read_file() 270 &read_cmd.dma, GFP_ATOMIC); in lancer_cmd_read_file() 272 if (!read_cmd.va) { in lancer_cmd_read_file() 282 status = lancer_cmd_read_object(adapter, &read_cmd, chunk_size, in lancer_cmd_read_file() 286 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file() 294 dma_free_coherent(&adapter->pdev->dev, read_cmd.size, read_cmd.va, in lancer_cmd_read_file() 295 read_cmd.dma); in lancer_cmd_read_file()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_eeprom.c | 91 short read_cmd[] = {1, 1, 0}; in eprom_read() local 123 eprom_send_bits_string(dev, read_cmd, 3); in eprom_read()
|
/drivers/staging/rtl8192u/ |
D | r8180_93cx6.c | 99 short read_cmd[] = {1, 1, 0}; in eprom_read() local 133 eprom_send_bits_string(dev, read_cmd, 3); in eprom_read()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-eeprom.c | 105 int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); in solo_eeprom_read() local 109 solo_eeprom_cmd(solo_dev, read_cmd); in solo_eeprom_read()
|
/drivers/net/ethernet/dec/tulip/ |
D | eeprom.c | 347 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local 360 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
|
D | media.c | 51 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read() local 89 int dataval = (read_cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in tulip_mdio_read()
|
D | winbond-840.c | 508 int read_cmd = location | EE_ReadCmd; in eeprom_read() local 513 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
|
D | de2104x.c | 1757 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local 1764 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
|
/drivers/mtd/nand/ |
D | sh_flctl.c | 703 uint32_t read_cmd = 0; in flctl_cmdfunc() local 799 read_cmd = NAND_CMD_READOOB; in flctl_cmdfunc() 801 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc() 804 read_cmd = NAND_CMD_READ1; in flctl_cmdfunc() 809 flctl->seqin_read_cmd = read_cmd; in flctl_cmdfunc()
|
/drivers/spmi/ |
D | spmi.c | 107 if (!ctrl || !ctrl->read_cmd || ctrl->dev.type != &spmi_ctrl_type) in spmi_read_cmd() 110 return ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
|
D | spmi-pmic-arb.c | 715 ctrl->read_cmd = pmic_arb_read_cmd; in spmi_pmic_arb_probe()
|
/drivers/net/ethernet/8390/ |
D | pcnet_cs.c | 763 int read_cmd = location | (EE_READ_CMD << 8); in read_eeprom() local 770 short dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in read_eeprom() 798 int read_cmd = location | (EE_READ_CMD << 8); in write_asic() local 805 read_cmd = read_cmd >> 1; in write_asic() 809 dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in write_asic()
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 574 int read_cmd = location | in read_eeprom() local 582 short dataval = (read_cmd & (1 << i)) ? EE_WRITE_1 : EE_WRITE_0; in read_eeprom() 609 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read() local 612 ew32(MIICtrl, read_cmd); in mdio_read() 620 ew32(MIICtrl, read_cmd); in mdio_read()
|
/drivers/net/ethernet/3com/ |
D | 3c574_cs.c | 546 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local 555 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
|
D | 3c59x.c | 3161 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local 3171 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
|
/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 1715 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local 1718 eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); in read_eeprom()
|
D | 8139too.c | 1149 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local 1157 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
|
/drivers/net/ethernet/sis/ |
D | sis900.c | 816 u32 read_cmd = location | EEread; in read_eeprom() local 827 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom()
|
/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 1005 int read_cmd = location | EE_ReadCmd; in eeprom_read() local 1011 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
|