Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c265 struct be_dma_mem read_cmd; in lancer_cmd_read_file() local
271 read_cmd.size = LANCER_READ_FILE_CHUNK; in lancer_cmd_read_file()
272 read_cmd.va = dma_alloc_coherent(&adapter->pdev->dev, read_cmd.size, in lancer_cmd_read_file()
273 &read_cmd.dma, GFP_ATOMIC); in lancer_cmd_read_file()
275 if (!read_cmd.va) { in lancer_cmd_read_file()
285 status = lancer_cmd_read_object(adapter, &read_cmd, chunk_size, in lancer_cmd_read_file()
289 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file()
297 dma_free_coherent(&adapter->pdev->dev, read_cmd.size, read_cmd.va, in lancer_cmd_read_file()
298 read_cmd.dma); in lancer_cmd_read_file()
/drivers/media/pci/solo6x10/
Dsolo6x10-eeprom.c96 int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); in solo_eeprom_read() local
100 solo_eeprom_cmd(solo_dev, read_cmd); in solo_eeprom_read()
/drivers/staging/rtl8192u/
Dr8180_93cx6.c107 short read_cmd[] = {1, 1, 0}; in eprom_read() local
142 eprom_send_bits_string(dev, read_cmd, 3); in eprom_read()
/drivers/net/ethernet/dec/tulip/
Deeprom.c345 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
358 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.c495 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
500 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()
Dde2104x.c1768 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
1775 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in tulip_read_eeprom()
/drivers/iio/pressure/
Dhp206c.c170 u8 conv_cmd, u8 read_cmd, in hp206c_conv_and_read() argument
197 ret = hp206c_read_20bit(client, read_cmd); in hp206c_conv_and_read()
/drivers/mtd/nand/raw/
Dsh_flctl.c745 uint32_t read_cmd = 0; in flctl_cmdfunc() local
841 read_cmd = NAND_CMD_READOOB; in flctl_cmdfunc()
843 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc()
846 read_cmd = NAND_CMD_READ1; in flctl_cmdfunc()
851 flctl->seqin_read_cmd = read_cmd; in flctl_cmdfunc()
/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/spmi/
Dspmi.c109 if (!ctrl || !ctrl->read_cmd || ctrl->dev.type != &spmi_ctrl_type) in spmi_read_cmd()
113 ret = ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
Dspmi-pmic-arb.c1291 ctrl->read_cmd = pmic_arb_read_cmd; in spmi_pmic_arb_probe()
/drivers/mtd/spi-nor/
Dsfdp.c1043 struct spi_nor_read_command *read_cmd = &params->reads[i]; in spi_nor_parse_4bait() local
1045 read_cmd->opcode = spi_nor_convert_3to4_read(read_cmd->opcode); in spi_nor_parse_4bait()
/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/staging/hikey9xx/
Dhisi-spmi-controller.c311 ctrl->read_cmd = spmi_read_cmd; in spmi_controller_probe()
/drivers/net/ethernet/3com/
D3c574_cs.c545 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
554 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
D3c59x.c3156 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
3166 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
/drivers/net/wireless/realtek/rtw88/
Ddebug.c199 u32 read_cmd = RTW_SEC_CMD_POLLING; in rtw_debugfs_get_dump_cam() local
207 command = read_cmd | (hw_key_idx + i); in rtw_debugfs_get_dump_cam()
/drivers/acpi/
Dacpi_dbg.c742 .read_cmd = acpi_aml_read_cmd,
Dosl.c963 func = acpi_debugger.ops->read_cmd; in acpi_debugger_read_cmd()
/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.c1156 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1164 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
/drivers/net/ethernet/sis/
Dsis900.c818 u32 read_cmd = location | EEread; in read_eeprom() local
829 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom()
/drivers/s390/net/
Dqeth_core.h824 struct qeth_cmd_buffer *read_cmd; member
/drivers/net/ethernet/natsemi/
Dnatsemi.c1008 int read_cmd = location | EE_ReadCmd; in eeprom_read() local
1014 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read()

12