Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/i2c/
Di2c-core-smbus.c99 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 …]
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-v5.10/drivers/i2c/busses/
Di2c-pasemi.c177 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()
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()
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()
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()
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()
Di2c-powermac.c38 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()
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()
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()
Di2c-viapro.c229 if (read_write == I2C_SMBUS_READ) in vt596_access()
257 read_write = I2C_SMBUS_READ; in vt596_access()
Di2c-i801.c559 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()
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()
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()
Di2c-nforce2.c187 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
Di2c-cht-wc.c169 else if (read_write == I2C_SMBUS_READ) in cht_wc_i2c_adap_smbus_xfer()
/Linux-v5.10/drivers/staging/kpc2000/
Dkpc2000_i2c.c276 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/
Dhid-mcp2221.c426 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()
Dhid-cp2112.c655 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/
Di2c.h143 #define I2C_SMBUS_READ 1 macro
/Linux-v5.10/drivers/base/regmap/
Dregmap-sccb.c55 I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &data); in regmap_sccb_read()
/Linux-v5.10/drivers/media/usb/go7007/
Dgo7007-i2c.c136 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
/Linux-v5.10/drivers/i2c/muxes/
Di2c-mux-pca9541.c120 I2C_SMBUS_READ, command, in pca9541_reg_read()
/Linux-v5.10/include/trace/events/
Dsmbus.h139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ),
/Linux-v5.10/drivers/media/pci/saa7146/
Dhexium_orion.c257 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()

12