Home
last modified time | relevance | path

Searched refs:read_cmd (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c262 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/
Drtl_eeprom.c91 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/
Dr8180_93cx6.c99 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/
Dsolo6x10-eeprom.c105 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/
Deeprom.c347 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()
Dmedia.c51 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()
Dwinbond-840.c508 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
513 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
Dde2104x.c1757 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/
Dsh_flctl.c703 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/
Dspmi.c107 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()
Dspmi-pmic-arb.c715 ctrl->read_cmd = pmic_arb_read_cmd; in spmi_pmic_arb_probe()
/drivers/net/ethernet/8390/
Dpcnet_cs.c763 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/
Depic100.c574 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/
D3c574_cs.c546 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()
D3c59x.c3161 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/
D8139cp.c1715 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()
D8139too.c1149 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/
Dsis900.c816 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/
Dnatsemi.c1005 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
1011 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()