Home
last modified time | relevance | path

Searched refs:I2C_SMBUS_READ (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.3-rc2/drivers/i2c/
A Di2c-core-smbus.c108 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 Di2c-dev.c334 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 Di2c-pasemi-core.c191 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 Di2c-sibyte.c41 (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 Di2c-opal.c130 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 Di2c-cbus-gpio.c133 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 Di2c-xgene-slimpro.c347 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 Di2c-powermac.c38 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 Di2c-amd8111.c197 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 Di2c-i801.c510 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 Di2c-sun6i-p2wi.c134 if (read_write == I2C_SMBUS_READ) in p2wi_smbus_xfer()
166 if (read_write == I2C_SMBUS_READ) in p2wi_smbus_xfer()
A Di2c-viapro.c229 if (read_write == I2C_SMBUS_READ) in vt596_access()
257 read_write = I2C_SMBUS_READ; in vt596_access()
A Dscx200_acb.c316 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 Di2c-pnx.c438 } 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 Di2c-nforce2.c187 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
/linux-6.3-rc2/include/uapi/linux/
A Di2c.h149 #define I2C_SMBUS_READ 1 macro
/linux-6.3-rc2/drivers/hid/
A Dhid-mcp2221.c447 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 Dhid-cp2112.c658 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 Dhid-ft260.c673 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 Dregmap-sccb.c55 I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &data); in regmap_sccb_read()
/linux-6.3-rc2/drivers/input/keyboard/
A Dpinephone-keyboard.c166 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 Dgo7007-i2c.c136 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
/linux-6.3-rc2/drivers/i2c/muxes/
A Di2c-mux-pca9541.c120 I2C_SMBUS_READ, command, in pca9541_reg_read()
/linux-6.3-rc2/include/trace/events/
A Dsmbus.h139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ),
/linux-6.3-rc2/drivers/media/pci/saa7146/
A Dhexium_orion.c257 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()

Completed in 59 milliseconds

12