Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/include/asm/octeon/ !
Dcvmx.h462 union cvmx_mio_fus_rcmd read_cmd; in cvmx_fuse_read_byte() local
464 read_cmd.u64 = 0; in cvmx_fuse_read_byte()
465 read_cmd.s.addr = byte_addr; in cvmx_fuse_read_byte()
466 read_cmd.s.pend = 1; in cvmx_fuse_read_byte()
467 cvmx_write_csr(CVMX_MIO_FUS_RCMD, read_cmd.u64); in cvmx_fuse_read_byte()
468 while ((read_cmd.u64 = cvmx_read_csr(CVMX_MIO_FUS_RCMD)) in cvmx_fuse_read_byte()
469 && read_cmd.s.pend) in cvmx_fuse_read_byte()
471 return read_cmd.s.dat; in cvmx_fuse_read_byte()
/linux-3.4.99/drivers/net/ethernet/emulex/benet/ !
Dbe_ethtool.c220 struct be_dma_mem read_cmd; in lancer_cmd_read_file() local
226 read_cmd.size = LANCER_READ_FILE_CHUNK; in lancer_cmd_read_file()
227 read_cmd.va = pci_alloc_consistent(adapter->pdev, read_cmd.size, in lancer_cmd_read_file()
228 &read_cmd.dma); in lancer_cmd_read_file()
230 if (!read_cmd.va) { in lancer_cmd_read_file()
240 status = lancer_cmd_read_object(adapter, &read_cmd, chunk_size, in lancer_cmd_read_file()
244 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file()
252 pci_free_consistent(adapter->pdev, read_cmd.size, read_cmd.va, in lancer_cmd_read_file()
253 read_cmd.dma); in lancer_cmd_read_file()
/linux-3.4.99/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()
/linux-3.4.99/drivers/staging/rtl8192u/ !
Dr8180_93cx6.c91 short read_cmd[]={1,1,0}; in eprom_read() local
125 eprom_send_bits_string(dev, read_cmd, 3); in eprom_read()
/linux-3.4.99/drivers/mtd/nand/ !
Dsh_flctl.c517 uint32_t read_cmd = 0; in flctl_cmdfunc() local
613 read_cmd = NAND_CMD_READOOB; in flctl_cmdfunc()
615 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc()
618 read_cmd = NAND_CMD_READ1; in flctl_cmdfunc()
623 flctl->seqin_read_cmd = read_cmd; in flctl_cmdfunc()
/linux-3.4.99/drivers/net/ethernet/dec/tulip/ !
Deeprom.c348 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
361 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
Dmedia.c52 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read() local
90 int dataval = (read_cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in tulip_mdio_read()
Dwinbond-840.c513 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
518 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
Dde2104x.c1758 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
1765 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
/linux-3.4.99/drivers/video/omap2/displays/ !
Dpanel-picodlp.c82 u8 read_cmd[] = {READ_REG_SELECT, reg}, data[4]; in picodlp_i2c_read() local
91 msg[0].buf = read_cmd; in picodlp_i2c_read()
/linux-3.4.99/drivers/net/ethernet/8390/ !
Dpcnet_cs.c761 int read_cmd = location | (EE_READ_CMD << 8); in read_eeprom() local
768 short dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in read_eeprom()
796 int read_cmd = location | (EE_READ_CMD << 8); in write_asic() local
803 read_cmd = read_cmd >> 1; in write_asic()
807 dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in write_asic()
/linux-3.4.99/drivers/net/ethernet/smsc/ !
Depic100.c588 int read_cmd = location | in read_eeprom() local
596 short dataval = (read_cmd & (1 << i)) ? EE_WRITE_1 : EE_WRITE_0; in read_eeprom()
622 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read() local
625 outl(read_cmd, ioaddr + MIICtrl); in mdio_read()
633 outl(read_cmd, ioaddr + MIICtrl); in mdio_read()
/linux-3.4.99/drivers/net/ethernet/fujitsu/ !
Dat1700.c507 int read_cmd = location | EE_READ_CMD; in read_eeprom() local
511 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
/linux-3.4.99/drivers/net/ethernet/3com/ !
D3c574_cs.c547 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
556 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
D3c59x.c3127 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
3137 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
/linux-3.4.99/drivers/net/ethernet/i825xx/ !
Deepro.c1411 int read_cmd = location | EE_READ_CMD; in read_eeprom() local
1424 short outval = (read_cmd & (1 << i)) ? ctrl_val | EEDI in read_eeprom()
/linux-3.4.99/drivers/net/ethernet/realtek/ !
D8139cp.c1699 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1702 eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); in read_eeprom()
D8139too.c1176 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1184 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
/linux-3.4.99/drivers/net/ethernet/sis/ !
Dsis900.c817 u32 read_cmd = location | EEread; in read_eeprom() local
826 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom()
/linux-3.4.99/drivers/net/ethernet/natsemi/ !
Dnatsemi.c1011 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
1017 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()