Home
last modified time | relevance | path

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

12

/linux-6.6.21/arch/mips/cavium-octeon/executive/
Docteon-model.c41 union cvmx_mio_fus_rcmd read_cmd; in cvmx_fuse_read_byte() local
43 read_cmd.u64 = 0; in cvmx_fuse_read_byte()
44 read_cmd.s.addr = byte_addr; in cvmx_fuse_read_byte()
45 read_cmd.s.pend = 1; in cvmx_fuse_read_byte()
46 cvmx_write_csr(CVMX_MIO_FUS_RCMD, read_cmd.u64); in cvmx_fuse_read_byte()
47 while ((read_cmd.u64 = cvmx_read_csr(CVMX_MIO_FUS_RCMD)) in cvmx_fuse_read_byte()
48 && read_cmd.s.pend) in cvmx_fuse_read_byte()
50 return read_cmd.s.dat; in cvmx_fuse_read_byte()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/mtd/nand/raw/
Dsh_flctl.c744 uint32_t read_cmd = 0; in flctl_cmdfunc() local
840 read_cmd = NAND_CMD_READOOB; in flctl_cmdfunc()
842 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc()
845 read_cmd = NAND_CMD_READ1; in flctl_cmdfunc()
850 flctl->seqin_read_cmd = read_cmd; in flctl_cmdfunc()
/linux-6.6.21/drivers/net/ethernet/8390/
Dpcnet_cs.c772 int read_cmd = location | (EE_READ_CMD << 8); in read_eeprom() local
779 short dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in read_eeprom()
807 int read_cmd = location | (EE_READ_CMD << 8); in write_asic() local
814 read_cmd = read_cmd >> 1; in write_asic()
818 dataval = (read_cmd & (1 << i)) ? EE_DO : 0; in write_asic()
/linux-6.6.21/include/linux/
Dspmi.h84 int (*read_cmd)(struct spmi_controller *ctrl, u8 opcode, member
Dacpi.h142 ssize_t (*read_cmd)(char *buffer, size_t length); member
/linux-6.6.21/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()
Dhisi-spmi-controller.c311 ctrl->read_cmd = spmi_read_cmd; in spmi_controller_probe()
Dspmi-pmic-arb.c514 u32 read_cmd, read_offset, write_cmd, write_offset; in pmic_arb_masked_write() local
520 &read_cmd, &read_offset); in pmic_arb_masked_write()
530 rc = pmic_arb_read_cmd_unlocked(ctrl, read_cmd, read_offset, sid, addr, in pmic_arb_masked_write()
1640 ctrl->read_cmd = pmic_arb_read_cmd; in spmi_pmic_arb_probe()
Dspmi-mtk-pmif.c491 ctrl->read_cmd = pmif_spmi_read_cmd; in mtk_spmi_probe()
/linux-6.6.21/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()
/linux-6.6.21/drivers/mtd/spi-nor/
Dsfdp.c1078 struct spi_nor_read_command *read_cmd = &params->reads[i]; in spi_nor_parse_4bait() local
1080 read_cmd->opcode = spi_nor_convert_3to4_read(read_cmd->opcode); in spi_nor_parse_4bait()
/linux-6.6.21/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()
/linux-6.6.21/drivers/acpi/
Dacpi_dbg.c735 .read_cmd = acpi_aml_read_cmd,
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Ddebug.c231 u32 read_cmd = RTW_SEC_CMD_POLLING; in rtw_debugfs_get_dump_cam() local
239 command = read_cmd | (hw_key_idx + i); in rtw_debugfs_get_dump_cam()
/linux-6.6.21/drivers/s390/net/
Dqeth_core.h807 struct qeth_cmd_buffer *read_cmd; member
/linux-6.6.21/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()
/linux-6.6.21/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()

12