Home
last modified time | relevance | path

Searched refs:REG_CMD (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/i2c/busses/
Di2c-zx2967.c16 #define REG_CMD 0x04 macro
101 ctl = zx2967_i2c_readl(i2c, REG_CMD); in zx2967_i2c_start_ctrl()
108 zx2967_i2c_writel(i2c, ctl, REG_CMD); in zx2967_i2c_start_ctrl()
183 zx2967_i2c_writel(i2c, val, REG_CMD); in zx2967_i2c_reset_hardware()
239 val = zx2967_i2c_readl(i2c, REG_CMD) | I2C_ADDR_MODE_TEN; in zx2967_set_addr()
241 val = zx2967_i2c_readl(i2c, REG_CMD) & ~I2C_ADDR_MODE_TEN; in zx2967_set_addr()
242 zx2967_i2c_writel(i2c, val, REG_CMD); in zx2967_set_addr()
334 val = zx2967_i2c_readl(i2c, REG_CMD); in zx2967_smbus_xfer_prepare()
336 zx2967_i2c_writel(i2c, val, REG_CMD); in zx2967_smbus_xfer_prepare()
367 val = zx2967_i2c_readl(i2c, REG_CMD); in zx2967_smbus_xfer_read()
[all …]
Di2c-efm32.c35 #define REG_CMD 0x04 macro
143 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_START); in efm32_i2c_send_next_msg()
157 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); in efm32_i2c_send_next_byte()
179 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_NACK); in efm32_i2c_recv_next_byte()
182 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); in efm32_i2c_recv_next_byte()
188 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_ACK); in efm32_i2c_recv_next_byte()
213 efm32_i2c_write32(ddata, REG_CMD, in efm32_i2c_irq()
226 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); in efm32_i2c_irq()
244 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); in efm32_i2c_irq()
417 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_ABORT); in efm32_i2c_probe()
/Linux-v5.10/drivers/spi/
Dspi-efm32.c32 #define REG_CMD 0x0c macro
127 efm32_spi_write32(ddata, REG_CMD_MASTEREN, REG_CMD); in efm32_spi_setup_transfer()
128 efm32_spi_write32(ddata, REG_CMD_RXEN | REG_CMD_TXEN, REG_CMD); in efm32_spi_setup_transfer()
Dspi-meson-spifc.c22 #define REG_CMD 0x00 macro
228 regmap_update_bits(spifc->regmap, REG_CMD, CMD_USER, CMD_USER); in meson_spifc_txrx()
/Linux-v5.10/sound/soc/codecs/
Dzl38060.c63 #define REG_CMD 0x0032 macro
101 err = regmap_write(regmap, REG_CMD, cmd); in zl38_fw_issue_command()
109 return regmap_read_poll_timeout(regmap, REG_CMD, val, !val, 10000, in zl38_fw_issue_command()
/Linux-v5.10/drivers/scsi/arm/
Dfas216.c165 fas216_readb(info, REG_CMD), stat, inst, is, in fas216_dumpstate()
372 fas216_writeb(info, REG_CMD, command); in fas216_cmd()
2719 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2721 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2759 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2761 fas216_writeb(info, REG_CMD, CMD_WITHDMA | CMD_NOP); in fas216_detect_type()
2764 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_detect_type()
2766 fas216_writeb(info, REG_CMD, CMD_NOP); in fas216_detect_type()
2912 fas216_writeb(info, REG_CMD, CMD_RESETSCSI); in fas216_add()
2928 fas216_writeb(info, REG_CMD, CMD_RESETCHIP); in fas216_add()
[all …]
Dfas216.h31 #define REG_CMD (3) macro
/Linux-v5.10/drivers/hwmon/
Dultra45_env.c26 #define REG_CMD 0x00UL macro