Home
last modified time | relevance | path

Searched refs:read_write (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/drivers/i2c/
Di2c-algo-sibyte.c50 unsigned short flags, char read_write, in smbus_xfer() argument
62 csr_out32((V_SMB_ADDR(addr) | (read_write == I2C_SMBUS_READ ? M_SMB_QDATA : 0) | in smbus_xfer()
66 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
78 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
90 if (read_write == I2C_SMBUS_READ) { in smbus_xfer()
Di2c-keywest.c126 else if (iface->read_write == I2C_SMBUS_READ) { in handle_interrupt()
226 char read_write, in keywest_smbus_xfer() argument
281 chan->chan_no, addr, len, read_write == I2C_SMBUS_READ); in keywest_smbus_xfer()
288 iface->read_write = read_write; in keywest_smbus_xfer()
297 (addr << 1) | ((read_write == I2C_SMBUS_READ) ? 0x01 : 0x00)); in keywest_smbus_xfer()
317 if (rc == 0 && size == I2C_SMBUS_WORD_DATA && read_write == I2C_SMBUS_READ) in keywest_smbus_xfer()
373 iface->read_write = I2C_SMBUS_READ; in keywest_xfer()
375 iface->read_write = I2C_SMBUS_WRITE; in keywest_xfer()
382 ((iface->read_write == I2C_SMBUS_READ) ? 0x01 : 0x00)); in keywest_xfer()
Di2c-dev.c324 if ((data_arg.read_write != I2C_SMBUS_READ) && in i2cdev_ioctl()
325 (data_arg.read_write != I2C_SMBUS_WRITE)) { in i2cdev_ioctl()
328 data_arg.read_write); in i2cdev_ioctl()
337 (data_arg.read_write == I2C_SMBUS_WRITE))) in i2cdev_ioctl()
341 data_arg.read_write, in i2cdev_ioctl()
362 (data_arg.read_write == I2C_SMBUS_WRITE)) { in i2cdev_ioctl()
367 data_arg.read_write, in i2cdev_ioctl()
370 (data_arg.read_write == I2C_SMBUS_READ))) { in i2cdev_ioctl()
Di2c-core.c1088 char read_write, u8 command, int size, in i2c_smbus_xfer_emulated() argument
1097 int num = read_write == I2C_SMBUS_READ?2:1; in i2c_smbus_xfer_emulated()
1108 msg[0].flags = flags | (read_write==I2C_SMBUS_READ)?I2C_M_RD:0; in i2c_smbus_xfer_emulated()
1112 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated()
1119 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated()
1127 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated()
1143 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated()
1168 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated()
1186 char read_write, u8 command, int size, in i2c_smbus_xfer() argument
1195 res = adapter->algo->smbus_xfer(adapter,addr,flags,read_write, in i2c_smbus_xfer()
[all …]
Di2c-keywest.h62 char read_write; member
/linux-2.4.37.9/include/linux/
Di2c-dev.h36 __u8 read_write; member
52 static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, in i2c_smbus_access() argument
57 args.read_write = read_write; in i2c_smbus_access()
Di2c.h83 char read_write, u8 command, int size,
195 unsigned short flags, char read_write,
/linux-2.4.37.9/drivers/acpi/executer/
Dexfldio.c359 u32 read_write) in acpi_ex_field_datum_io() argument
368 if (read_write == ACPI_READ) { in acpi_ex_field_datum_io()
400 if (read_write == ACPI_READ) { in acpi_ex_field_datum_io()
459 read_write); in acpi_ex_field_datum_io()
492 if (read_write == ACPI_READ) { in acpi_ex_field_datum_io()
516 if (read_write == ACPI_READ) { in acpi_ex_field_datum_io()
/linux-2.4.37.9/fs/umsdos/
Dnotes3 Possible bug in fs/read_write.c
/linux-2.4.37.9/include/acpi/
Dacinterp.h142 u32 read_write);
154 u32 read_write);
/linux-2.4.37.9/fs/
DMakefile13 obj-y := open.o read_write.o devices.o file_table.o buffer.o \
Dread_write.c43 int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) in rw_verify_area() argument
58 …return locks_mandatory_area(read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE, inode, fi… in rw_verify_area()
Dlocks.c712 int locks_mandatory_area(int read_write, struct inode *inode, in locks_mandatory_area() argument
727 new_fl->fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK; in locks_mandatory_area()
/linux-2.4.37.9/drivers/usb/
Dw9968cf.c428 unsigned short flags, char read_write,
1697 unsigned short flags, char read_write, u8 command, in w9968cf_i2c_smbus_xfer() argument
1717 if (read_write == I2C_SMBUS_WRITE) in w9968cf_i2c_smbus_xfer()
1719 else if (read_write == I2C_SMBUS_READ) in w9968cf_i2c_smbus_xfer()
1725 if (read_write == I2C_SMBUS_WRITE) in w9968cf_i2c_smbus_xfer()
1728 else if (read_write == I2C_SMBUS_READ) { in w9968cf_i2c_smbus_xfer()
/linux-2.4.37.9/fs/smbfs/
Dproc.c1060 int mode, read_write = 0x42, read_only = 0x40; in smb_proc_open() local
1067 mode = read_write; in smb_proc_open()
1095 if (mode == read_write && in smb_proc_open()
/linux-2.4.37.9/drivers/scsi/
Dgdth.c2881 int i, cmd_index, read_write, sgcnt, mode64; in gdth_fill_cache_cmd() local
2912 read_write = 0; in gdth_fill_cache_cmd()
2932 read_write = 1; in gdth_fill_cache_cmd()
2939 read_write = 2; in gdth_fill_cache_cmd()
2954 if (read_write) { in gdth_fill_cache_cmd()
2983 scp->SCp.Message = (read_write == 1 ? in gdth_fill_cache_cmd()
3038 scp->SCp.Message = (read_write == 1 ? in gdth_fill_cache_cmd()
/linux-2.4.37.9/Documentation/i2c/
Dwriting-clients710 char read_write, u8 command, int size,