Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/drivers/staging/rtl8192e/
Dr8180_93cx6.c87 short read_cmd[] = {1, 1, 0}; in eprom_read() local
120 eprom_send_bits_string(priv, read_cmd, 3); in eprom_read()
/linux-2.6.39/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-2.6.39/drivers/mtd/nand/
Dsh_flctl.c514 uint32_t read_cmd = 0; in flctl_cmdfunc() local
590 read_cmd = NAND_CMD_READOOB; in flctl_cmdfunc()
592 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc()
595 read_cmd = NAND_CMD_READ1; in flctl_cmdfunc()
600 flctl->seqin_read_cmd = read_cmd; in flctl_cmdfunc()
/linux-2.6.39/drivers/net/tulip/
Deeprom.c350 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
363 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
Dmedia.c55 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read() local
93 int dataval = (read_cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in tulip_mdio_read()
Dwinbond-840.c511 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
516 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
Dde2104x.c1782 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
1789 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
/linux-2.6.39/drivers/net/pcmcia/
Dpcnet_cs.c762 int read_cmd = location | (EE_READ_CMD << 8); in read_eeprom() local
769 short dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in read_eeprom()
797 int read_cmd = location | (EE_READ_CMD << 8); in write_asic() local
804 read_cmd = read_cmd >> 1; in write_asic()
808 dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in write_asic()
D3c574_cs.c548 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
557 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
/linux-2.6.39/drivers/net/
Depic100.c589 int read_cmd = location | in read_eeprom() local
597 short dataval = (read_cmd & (1 << i)) ? EE_WRITE_1 : EE_WRITE_0; in read_eeprom()
623 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read() local
626 outl(read_cmd, ioaddr + MIICtrl); in mdio_read()
634 outl(read_cmd, ioaddr + MIICtrl); in mdio_read()
Dat1700.c508 int read_cmd = location | EE_READ_CMD; in read_eeprom() local
512 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
Deepro.c1412 int read_cmd = location | EE_READ_CMD; in read_eeprom() local
1425 short outval = (read_cmd & (1 << i)) ? ctrl_val | EEDI in read_eeprom()
Dpci-skeleton.c911 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
921 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
D8139cp.c1683 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1686 eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); in read_eeprom()
D8139too.c1134 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1142 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
Dsis900.c818 u32 read_cmd = location | EEread; in read_eeprom() local
827 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom()
D3c59x.c3124 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
3134 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
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()