Home
last modified time | relevance | path

Searched refs:read_cmd (Results 1 – 25 of 27) 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.c346 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
359 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.c1770 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() local
1777 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.c773 int read_cmd = location | (EE_READ_CMD << 8); in read_eeprom() local
780 short dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in read_eeprom()
808 int read_cmd = location | (EE_READ_CMD << 8); in write_asic() local
815 read_cmd = read_cmd >> 1; in write_asic()
819 dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in write_asic()
/drivers/spmi/
Dspmi.c111 if (!ctrl || !ctrl->read_cmd || ctrl->dev.type != &spmi_ctrl_type) in spmi_read_cmd()
115 ret = ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
Dspmi-pmic-arb.c494 u32 read_cmd, read_offset, write_cmd, write_offset; in pmic_arb_masked_write() local
500 &read_cmd, &read_offset); in pmic_arb_masked_write()
510 rc = pmic_arb_read_cmd_unlocked(ctrl, read_cmd, read_offset, sid, addr, in pmic_arb_masked_write()
1440 ctrl->read_cmd = pmic_arb_read_cmd; in spmi_pmic_arb_probe()
Dhisi-spmi-controller.c311 ctrl->read_cmd = spmi_read_cmd; in spmi_controller_probe()
Dspmi-mtk-pmif.c491 ctrl->read_cmd = pmif_spmi_read_cmd; in mtk_spmi_probe()
/drivers/net/ethernet/smsc/
Depic100.c576 int read_cmd = location | in read_eeprom() local
584 short dataval = (read_cmd & (1 << i)) ? EE_WRITE_1 : EE_WRITE_0; in read_eeprom()
611 int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP; in mdio_read() local
614 ew32(MIICtrl, read_cmd); in mdio_read()
622 ew32(MIICtrl, read_cmd); in mdio_read()
/drivers/mtd/spi-nor/
Dsfdp.c1063 struct spi_nor_read_command *read_cmd = &params->reads[i]; in spi_nor_parse_4bait() local
1065 read_cmd->opcode = spi_nor_convert_3to4_read(read_cmd->opcode); in spi_nor_parse_4bait()
/drivers/net/ethernet/3com/
D3c574_cs.c544 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
553 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
/drivers/acpi/
Dacpi_dbg.c735 .read_cmd = acpi_aml_read_cmd,
Dosl.c966 func = acpi_debugger.ops->read_cmd; in acpi_debugger_read_cmd()
/drivers/net/wireless/realtek/rtw88/
Ddebug.c226 u32 read_cmd = RTW_SEC_CMD_POLLING; in rtw_debugfs_get_dump_cam() local
234 command = read_cmd | (hw_key_idx + i); in rtw_debugfs_get_dump_cam()
/drivers/s390/net/
Dqeth_core.h807 struct qeth_cmd_buffer *read_cmd; member
/drivers/net/ethernet/realtek/
D8139cp.c1717 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1720 eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); in read_eeprom()
D8139too.c1157 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() local
1165 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom()
/drivers/net/ethernet/sis/
Dsis900.c825 u32 read_cmd = location | EEread; in read_eeprom() local
836 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom()
/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