/linux-6.3-rc2/drivers/i2c/ |
A D | i2c-core-smbus.c | 108 I2C_SMBUS_READ, 0, in i2c_smbus_read_byte() 143 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data() 183 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data() 231 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data() 277 I2C_SMBUS_READ, command, in i2c_smbus_read_i2c_block_data() 364 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated() 371 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated() 379 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated() 389 read_write = I2C_SMBUS_READ; in i2c_smbus_xfer_emulated() 416 read_write = I2C_SMBUS_READ; in i2c_smbus_xfer_emulated() [all …]
|
A 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-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-pasemi-core.c | 191 read_flag = read_write == I2C_SMBUS_READ; in pasemi_smb_xfer() 211 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 221 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 232 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 248 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 253 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer() 258 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 264 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ); in pasemi_smb_xfer()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | i2c-powermac.c | 38 int read = (read_write == I2C_SMBUS_READ); in i2c_powermac_smbus_xfer() 257 rc = i2c_smbus_xfer(adap, 0x46, 0, I2C_SMBUS_READ, in i2c_powermac_add_missing() 263 rc = i2c_smbus_xfer(adap, 0x47, 0, I2C_SMBUS_READ, in i2c_powermac_add_missing()
|
A 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()
|
A D | i2c-i801.c | 510 if (read_write == I2C_SMBUS_READ || in i801_block_transaction_by_block() 658 read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 664 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte() 679 if (i == len && read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 691 if (i == 1 && read_write == I2C_SMBUS_READ in i801_block_transaction_byte_by_byte() 710 if (read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 765 read_write = I2C_SMBUS_READ; in i801_simple_transaction() 799 if (read_write == I2C_SMBUS_READ && command == I2C_SMBUS_BLOCK_DATA) in i801_block_transaction() 819 if (read_write == I2C_SMBUS_READ) { in i801_block_transaction()
|
A 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()
|
A D | i2c-viapro.c | 229 if (read_write == I2C_SMBUS_READ) in vt596_access() 257 read_write = I2C_SMBUS_READ; in vt596_access()
|
A 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()
|
A 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()
|
A D | i2c-nforce2.c | 187 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | i2c.h | 149 #define I2C_SMBUS_READ 1 macro
|
/linux-6.3-rc2/drivers/hid/ |
A D | hid-mcp2221.c | 447 if (read_write == I2C_SMBUS_READ) in mcp_smbus_xfer() 455 if (read_write == I2C_SMBUS_READ) in mcp_smbus_xfer() 463 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 478 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 494 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer() 517 if (read_write == I2C_SMBUS_READ) { in mcp_smbus_xfer()
|
A D | hid-cp2112.c | 658 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 667 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 678 if (I2C_SMBUS_READ == read_write) in cp2112_xfer() 687 read_write = I2C_SMBUS_READ; in cp2112_xfer() 695 if (read_write == I2C_SMBUS_READ) { in cp2112_xfer() 706 if (I2C_SMBUS_READ == read_write) { in cp2112_xfer() 718 read_write = I2C_SMBUS_READ; in cp2112_xfer()
|
A D | hid-ft260.c | 673 if (read_write == I2C_SMBUS_READ) in ft260_smbus_xfer() 681 if (read_write == I2C_SMBUS_READ) { in ft260_smbus_xfer() 695 if (read_write == I2C_SMBUS_READ) { in ft260_smbus_xfer() 710 if (read_write == I2C_SMBUS_READ) { in ft260_smbus_xfer() 726 if (read_write == I2C_SMBUS_READ) { in ft260_smbus_xfer()
|
/linux-6.3-rc2/drivers/base/regmap/ |
A D | regmap-sccb.c | 55 I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &data); in regmap_sccb_read()
|
/linux-6.3-rc2/drivers/input/keyboard/ |
A D | pinephone-keyboard.c | 166 buf[2] = read_write == I2C_SMBUS_READ ? PPKB_SYS_COMMAND_SMBUS_READ in ppkb_adap_smbus_xfer() 185 if (read_write == I2C_SMBUS_READ) { in ppkb_adap_smbus_xfer()
|
/linux-6.3-rc2/drivers/media/usb/go7007/ |
A D | go7007-i2c.c | 136 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
|
/linux-6.3-rc2/drivers/i2c/muxes/ |
A D | i2c-mux-pca9541.c | 120 I2C_SMBUS_READ, command, in pca9541_reg_read()
|
/linux-6.3-rc2/include/trace/events/ |
A D | smbus.h | 139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ),
|
/linux-6.3-rc2/drivers/media/pci/saa7146/ |
A D | hexium_orion.c | 257 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()
|