/Linux-v5.10/drivers/i2c/ |
D | i2c-core-smbus.c | 99 I2C_SMBUS_READ, 0, in i2c_smbus_read_byte() 134 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data() 174 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data() 222 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data() 268 I2C_SMBUS_READ, command, in i2c_smbus_read_i2c_block_data() 326 int num = read_write == I2C_SMBUS_READ ? 2 : 1; in i2c_smbus_xfer_emulated() 349 msg[0].flags = flags | (read_write == I2C_SMBUS_READ ? in i2c_smbus_xfer_emulated() 354 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated() 361 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated() 369 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated() [all …]
|
D | i2c-dev.c | 334 if ((read_write != I2C_SMBUS_READ) && in i2cdev_ioctl_smbus() 378 if (read_write == I2C_SMBUS_READ) in i2cdev_ioctl_smbus() 385 (read_write == I2C_SMBUS_READ))) { in i2cdev_ioctl_smbus()
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-pasemi.c | 177 read_flag = read_write == I2C_SMBUS_READ; in pasemi_smb_xfer() 197 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 207 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 218 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 234 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 239 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 244 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 250 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ); in pasemi_smb_xfer()
|
D | i2c-sibyte.c | 41 (read_write == I2C_SMBUS_READ ? M_SMB_QDATA : 0) | in smbus_xfer() 45 if (read_write == I2C_SMBUS_READ) { in smbus_xfer() 57 if (read_write == I2C_SMBUS_READ) { in smbus_xfer() 70 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
|
D | i2c-opal.c | 130 req.type = (read_write == I2C_SMBUS_READ) ? in i2c_opal_smbus_xfer() 138 req.type = (read_write == I2C_SMBUS_READ) ? in i2c_opal_smbus_xfer() 150 req.type = (read_write == I2C_SMBUS_READ) ? in i2c_opal_smbus_xfer() 158 req.type = (read_write == I2C_SMBUS_READ) ? in i2c_opal_smbus_xfer()
|
D | i2c-cbus-gpio.c | 133 cbus_send_bit(host, rw == I2C_SMBUS_READ); in cbus_transfer() 181 ret = cbus_transfer(chost, read_write == I2C_SMBUS_READ, addr, in cbus_i2c_smbus_xfer() 186 if (read_write == I2C_SMBUS_READ) in cbus_i2c_smbus_xfer()
|
D | i2c-xgene-slimpro.c | 347 if (read_write == I2C_SMBUS_READ) { in xgene_slimpro_i2c_xfer() 359 if (read_write == I2C_SMBUS_READ) { in xgene_slimpro_i2c_xfer() 372 if (read_write == I2C_SMBUS_READ) { in xgene_slimpro_i2c_xfer() 385 if (read_write == I2C_SMBUS_READ) { in xgene_slimpro_i2c_xfer() 402 if (read_write == I2C_SMBUS_READ) { in xgene_slimpro_i2c_xfer()
|
D | i2c-powermac.c | 38 int read = (read_write == I2C_SMBUS_READ); in i2c_powermac_smbus_xfer() 262 rc = i2c_smbus_xfer(adap, 0x46, 0, I2C_SMBUS_READ, in i2c_powermac_add_missing() 268 rc = i2c_smbus_xfer(adap, 0x47, 0, I2C_SMBUS_READ, in i2c_powermac_add_missing()
|
D | i2c-amd8111.c | 197 protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ in amd8111_access() 301 read_write = I2C_SMBUS_READ; in amd8111_access() 320 read_write = I2C_SMBUS_READ; in amd8111_access()
|
D | i2c-sun6i-p2wi.c | 134 if (read_write == I2C_SMBUS_READ) in p2wi_smbus_xfer() 166 if (read_write == I2C_SMBUS_READ) in p2wi_smbus_xfer()
|
D | i2c-viapro.c | 229 if (read_write == I2C_SMBUS_READ) in vt596_access() 257 read_write = I2C_SMBUS_READ; in vt596_access()
|
D | i2c-i801.c | 559 if (read_write == I2C_SMBUS_READ || in i801_block_transaction_by_block() 713 read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 719 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte() 741 if (i == len && read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 753 if (i == 1 && read_write == I2C_SMBUS_READ in i801_block_transaction_byte_by_byte() 772 if (read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 917 if (read_write == I2C_SMBUS_READ) { in i801_access()
|
D | scx200_acb.c | 316 if (!len && rw == I2C_SMBUS_READ) { in scx200_acb_smbus_xfer() 347 if (rc == 0 && size == I2C_SMBUS_WORD_DATA && rw == I2C_SMBUS_READ) in scx200_acb_smbus_xfer()
|
D | i2c-pnx.c | 438 } else if (alg_data->mif.mode == I2C_SMBUS_READ) { in i2c_pnx_interrupt() 544 I2C_SMBUS_READ : I2C_SMBUS_WRITE; in i2c_pnx_xfer()
|
D | i2c-nforce2.c | 187 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
|
D | i2c-cht-wc.c | 169 else if (read_write == I2C_SMBUS_READ) in cht_wc_i2c_adap_smbus_xfer()
|
/Linux-v5.10/drivers/staging/kpc2000/ |
D | kpc2000_i2c.c | 276 if (read_write == I2C_SMBUS_READ) { in i801_block_transaction_by_block() 311 if (i == len && read_write == I2C_SMBUS_READ) { in i801_block_transaction_byte_by_byte() 318 read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 339 if (i == 1 && read_write == I2C_SMBUS_READ && in i801_block_transaction_byte_by_byte() 359 if (read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 502 if (read_write == I2C_SMBUS_READ) { in i801_access()
|
/Linux-v5.10/drivers/hid/ |
D | hid-mcp2221.c | 426 if (read_write == I2C_SMBUS_READ) in mcp_smbus_xfer() 434 if (read_write == I2C_SMBUS_READ) in mcp_smbus_xfer() 442 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 457 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 473 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 496 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer()
|
D | hid-cp2112.c | 655 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 664 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 675 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 684 read_write = I2C_SMBUS_READ; in cp2112_xfer() 692 if (read_write == I2C_SMBUS_READ) { in cp2112_xfer() 703 if (I2C_SMBUS_READ == read_write) { in cp2112_xfer() 715 read_write = I2C_SMBUS_READ; in cp2112_xfer()
|
/Linux-v5.10/include/uapi/linux/ |
D | i2c.h | 143 #define I2C_SMBUS_READ 1 macro
|
/Linux-v5.10/drivers/base/regmap/ |
D | regmap-sccb.c | 55 I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &data); in regmap_sccb_read()
|
/Linux-v5.10/drivers/media/usb/go7007/ |
D | go7007-i2c.c | 136 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
|
/Linux-v5.10/drivers/i2c/muxes/ |
D | i2c-mux-pca9541.c | 120 I2C_SMBUS_READ, command, in pca9541_reg_read()
|
/Linux-v5.10/include/trace/events/ |
D | smbus.h | 139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ),
|
/Linux-v5.10/drivers/media/pci/saa7146/ |
D | hexium_orion.c | 257 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()
|