Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/i2c/busses/
Di2c-pasemi.c189 read_flag = read_write == I2C_SMBUS_READ; in pasemi_smb_xfer()
209 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer()
219 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer()
230 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer()
246 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer()
251 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); in pasemi_smb_xfer()
256 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer()
262 TXFIFO_WR(smbus, addr | I2C_SMBUS_READ); in pasemi_smb_xfer()
Di2c-bfin-twi.c227 iface->read_write = I2C_SMBUS_READ; in bfin_twi_handle_interrupt()
326 iface->read_write = I2C_SMBUS_READ; in bfin_twi_do_master_xfer()
353 ((iface->read_write == I2C_SMBUS_READ) ? MDIR : 0) | in bfin_twi_do_master_xfer()
411 if (read_write == I2C_SMBUS_READ) in bfin_twi_do_smbus_xfer()
420 if (read_write == I2C_SMBUS_READ) { in bfin_twi_do_smbus_xfer()
430 if (read_write == I2C_SMBUS_READ) { in bfin_twi_do_smbus_xfer()
446 if (read_write == I2C_SMBUS_READ) { in bfin_twi_do_smbus_xfer()
456 if (read_write == I2C_SMBUS_READ) { in bfin_twi_do_smbus_xfer()
493 ((iface->read_write == I2C_SMBUS_READ) ? in bfin_twi_do_smbus_xfer()
526 if (iface->read_write != I2C_SMBUS_READ) { in bfin_twi_do_smbus_xfer()
[all …]
Di2c-sibyte.c54 (read_write == I2C_SMBUS_READ ? M_SMB_QDATA : 0) | in smbus_xfer()
58 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
70 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
83 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
Di2c-i801.c323 if (read_write == I2C_SMBUS_READ) { in i801_block_transaction_by_block()
358 if (i == len && read_write == I2C_SMBUS_READ) { in i801_block_transaction_byte_by_byte()
365 && read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte()
388 if (i == 1 && read_write == I2C_SMBUS_READ in i801_block_transaction_byte_by_byte()
407 if (read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte()
537 if (read_write == I2C_SMBUS_READ) { in i801_access()
Di2c-amd8111.c201 protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ in amd8111_access()
305 read_write = I2C_SMBUS_READ; in amd8111_access()
324 read_write = I2C_SMBUS_READ; in amd8111_access()
Di2c-viapro.c241 if (read_write == I2C_SMBUS_READ) in vt596_access()
269 read_write = I2C_SMBUS_READ; in vt596_access()
Dscx200_acb.c328 if (!len && rw == I2C_SMBUS_READ) { in scx200_acb_smbus_xfer()
359 if (rc == 0 && size == I2C_SMBUS_WORD_DATA && rw == I2C_SMBUS_READ) in scx200_acb_smbus_xfer()
Di2c-powermac.c50 int read = (read_write == I2C_SMBUS_READ); in i2c_powermac_smbus_xfer()
Di2c-pnx.c367 } else if (alg_data->mif.mode == I2C_SMBUS_READ) { in i2c_pnx_interrupt()
472 I2C_SMBUS_READ : I2C_SMBUS_WRITE; in i2c_pnx_xfer()
Di2c-mxs.c132 data = (addr << 1) | I2C_SMBUS_READ; in mxs_i2c_pioq_setup_read()
Di2c-nforce2.c200 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
Di2c-highlander.c343 if (read_write == I2C_SMBUS_READ) in highlander_i2c_smbus_xfer()
Di2c-scmi.c161 if (read_write == I2C_SMBUS_READ) { in acpi_smbus_cmi_access()
/linux-2.6.39/drivers/i2c/
Di2c-core.c1442 err = i2c_smbus_xfer(adap, addr, 0, I2C_SMBUS_READ, 0, in i2c_default_probe()
1451 err = i2c_smbus_xfer(adap, addr, 0, I2C_SMBUS_READ, 0, in i2c_default_probe()
1552 return i2c_smbus_xfer(adap, addr, 0, I2C_SMBUS_READ, 0, in i2c_probe_func_quick_read()
1692 I2C_SMBUS_READ, 0, in i2c_smbus_read_byte()
1727 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data()
1767 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data()
1838 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data()
1884 I2C_SMBUS_READ, command, in i2c_smbus_read_i2c_block_data()
1922 int num = read_write == I2C_SMBUS_READ ? 2 : 1; in i2c_smbus_xfer_emulated()
1935 msg[0].flags = flags | (read_write == I2C_SMBUS_READ ? in i2c_smbus_xfer_emulated()
[all …]
Di2c-dev.c336 if ((data_arg.read_write != I2C_SMBUS_READ) && in i2cdev_ioctl_smbus()
380 if (data_arg.read_write == I2C_SMBUS_READ) in i2cdev_ioctl_smbus()
387 (data_arg.read_write == I2C_SMBUS_READ))) { in i2cdev_ioctl_smbus()
/linux-2.6.39/drivers/staging/go7007/
Dgo7007-i2c.c151 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
Dgo7007-usb.c1096 I2C_SMBUS_READ, 0x0A, I2C_SMBUS_BYTE_DATA, &data); in go7007_usb_probe()
/linux-2.6.39/drivers/i2c/muxes/
Dpca9541.c158 I2C_SMBUS_READ, in pca9541_reg_read()
/linux-2.6.39/drivers/media/video/
Dhexium_orion.c268 …if (0 == (err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, 0x00, I2C_SMBUS_BYTE… in hexium_probe()
Dcafe_ccic.c502 else if (rw == I2C_SMBUS_READ) in cafe_smbus_xfer()
/linux-2.6.39/include/linux/
Di2c.h576 #define I2C_SMBUS_READ 1 macro
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-input.c614 I2C_SMBUS_READ, 0, in cx88_i2c_init_ir()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_bios.c1480 I2C_SMBUS_READ, reg, in init_i2c_byte()
2073 I2C_SMBUS_READ, reg, in init_i2c_if()