/linux-6.3-rc2/include/trace/events/ |
A D | smbus.h | 26 char read_write, u8 command, int protocol, 28 TP_ARGS(adap, addr, flags, read_write, command, protocol, data), 29 TP_CONDITION(read_write == I2C_SMBUS_WRITE || 94 char read_write, u8 command, int protocol), 95 TP_ARGS(adap, addr, flags, read_write, command, protocol), 96 TP_CONDITION(!(read_write == I2C_SMBUS_WRITE || 136 char read_write, u8 command, int protocol, 139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ), 202 char read_write, u8 command, int protocol, 209 __field(__u8, read_write ) [all …]
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-amd756-s4882.c | 39 unsigned short flags, char read_write, in amd756_access_virt0() argument 52 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_virt0() 67 unsigned short flags, char read_write, in amd756_access_channel() argument 92 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_channel() 101 unsigned short flags, char read_write, in amd756_access_virt1() argument 106 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt1() 111 unsigned short flags, char read_write, in amd756_access_virt2() argument 116 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt2() 121 unsigned short flags, char read_write, in amd756_access_virt3() argument 126 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt3() [all …]
|
A D | i2c-nforce2-s4985.c | 37 unsigned short flags, char read_write, in nforce2_access_virt0() argument 49 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_virt0() 63 unsigned short flags, char read_write, in nforce2_access_channel() argument 87 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_channel() 96 unsigned short flags, char read_write, in nforce2_access_virt1() argument 101 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt1() 106 unsigned short flags, char read_write, in nforce2_access_virt2() argument 111 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt2() 116 unsigned short flags, char read_write, in nforce2_access_virt3() argument 121 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt3() [all …]
|
A D | i2c-isch.c | 139 unsigned short flags, char read_write, in sch_access() argument 164 (read_write)?"READ":"WRITE"); in sch_access() 167 outb((addr << 1) | read_write, SMBHSTADD); in sch_access() 171 outb((addr << 1) | read_write, SMBHSTADD); in sch_access() 172 if (read_write == I2C_SMBUS_WRITE) in sch_access() 177 outb((addr << 1) | read_write, SMBHSTADD); in sch_access() 179 if (read_write == I2C_SMBUS_WRITE) in sch_access() 184 outb((addr << 1) | read_write, SMBHSTADD); in sch_access() 186 if (read_write == I2C_SMBUS_WRITE) { in sch_access() 193 outb((addr << 1) | read_write, SMBHSTADD); in sch_access() [all …]
|
A D | i2c-sis96x.c | 151 unsigned short flags, char read_write, in sis96x_access() argument 158 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis96x_access() 163 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis96x_access() 164 if (read_write == I2C_SMBUS_WRITE) in sis96x_access() 170 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis96x_access() 172 if (read_write == I2C_SMBUS_WRITE) in sis96x_access() 179 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis96x_access() 181 if (read_write == I2C_SMBUS_WRITE) { in sis96x_access() 199 ((read_write == I2C_SMBUS_WRITE) || (size == SIS96x_QUICK))) in sis96x_access()
|
A D | i2c-amd756.c | 182 unsigned short flags, char read_write, in amd756_access() argument 190 outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), in amd756_access() 195 outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), in amd756_access() 197 if (read_write == I2C_SMBUS_WRITE) in amd756_access() 202 outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), in amd756_access() 205 if (read_write == I2C_SMBUS_WRITE) in amd756_access() 210 outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), in amd756_access() 213 if (read_write == I2C_SMBUS_WRITE) in amd756_access() 218 outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), in amd756_access() 221 if (read_write == I2C_SMBUS_WRITE) { in amd756_access() [all …]
|
A D | i2c-sis630.c | 230 union i2c_smbus_data *data, int read_write) in sis630_block_data() argument 235 if (read_write == I2C_SMBUS_WRITE) { in sis630_block_data() 324 unsigned short flags, char read_write, in sis630_access() argument 332 ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis630_access() 337 ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis630_access() 338 if (read_write == I2C_SMBUS_WRITE) in sis630_access() 344 ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis630_access() 346 if (read_write == I2C_SMBUS_WRITE) in sis630_access() 353 ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis630_access() 355 if (read_write == I2C_SMBUS_WRITE) { in sis630_access() [all …]
|
A D | i2c-ali1535.c | 342 unsigned short flags, char read_write, u8 command, in ali1535_access() argument 366 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() 372 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() 376 if (read_write == I2C_SMBUS_WRITE) in ali1535_access() 380 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() 385 if (read_write == I2C_SMBUS_WRITE) in ali1535_access() 389 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() 394 if (read_write == I2C_SMBUS_WRITE) { in ali1535_access() 400 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali1535_access() 405 if (read_write == I2C_SMBUS_WRITE) { in ali1535_access() [all …]
|
A D | i2c-ali15x3.c | 333 unsigned short flags, char read_write, u8 command, in ali15x3_access() argument 356 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 361 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 363 if (read_write == I2C_SMBUS_WRITE) in ali15x3_access() 368 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 371 if (read_write == I2C_SMBUS_WRITE) in ali15x3_access() 376 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 379 if (read_write == I2C_SMBUS_WRITE) { in ali15x3_access() 386 outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), in ali15x3_access() 389 if (read_write == I2C_SMBUS_WRITE) { in ali15x3_access() [all …]
|
A D | i2c-sis5595.c | 279 unsigned short flags, char read_write, in sis5595_access() argument 286 sis5595_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis5595_access() 290 sis5595_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis5595_access() 291 if (read_write == I2C_SMBUS_WRITE) in sis5595_access() 296 sis5595_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis5595_access() 298 if (read_write == I2C_SMBUS_WRITE) in sis5595_access() 304 sis5595_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); in sis5595_access() 306 if (read_write == I2C_SMBUS_WRITE) { in sis5595_access() 325 ((read_write == I2C_SMBUS_WRITE) || (size == SIS5595_QUICK))) in sis5595_access()
|
A D | i2c-i801.c | 479 char read_write, int command) in i801_block_transaction_by_block() argument 499 if (read_write == I2C_SMBUS_WRITE) { in i801_block_transaction_by_block() 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() 710 if (read_write == I2C_SMBUS_READ) in i801_block_transaction_byte_by_byte() 740 if (read_write == I2C_SMBUS_WRITE) in i801_simple_transaction() 746 if (read_write == I2C_SMBUS_WRITE) in i801_simple_transaction() 765 read_write = I2C_SMBUS_READ; in i801_simple_transaction() 818 read_write : I2C_SMBUS_WRITE); in i801_block_transaction() 851 read_write, in i801_block_transaction() [all …]
|
A D | i2c-amd8111.c | 190 unsigned short flags, char read_write, u8 command, int size, in amd8111_access() argument 197 protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ in amd8111_access() 204 read_write = I2C_SMBUS_WRITE; in amd8111_access() 208 if (read_write == I2C_SMBUS_WRITE) { in amd8111_access() 221 if (read_write == I2C_SMBUS_WRITE) { in amd8111_access() 234 if (read_write == I2C_SMBUS_WRITE) { in amd8111_access() 251 if (read_write == I2C_SMBUS_WRITE) { in amd8111_access() 277 if (read_write == I2C_SMBUS_WRITE) in amd8111_access() 301 read_write = I2C_SMBUS_READ; in amd8111_access() 320 read_write = I2C_SMBUS_READ; in amd8111_access() [all …]
|
A D | i2c-viapro.c | 191 unsigned short flags, char read_write, u8 command, in vt596_access() argument 202 if (read_write == I2C_SMBUS_WRITE) in vt596_access() 208 if (read_write == I2C_SMBUS_WRITE) in vt596_access() 214 if (read_write == I2C_SMBUS_WRITE) { in vt596_access() 229 if (read_write == I2C_SMBUS_READ) in vt596_access() 234 if (read_write == I2C_SMBUS_WRITE) { in vt596_access() 250 outb_p(((addr & 0x7f) << 1) | read_write, SMBHSTADD); in vt596_access() 257 read_write = I2C_SMBUS_READ; in vt596_access() 259 if ((read_write == I2C_SMBUS_WRITE) || (size == VT596_QUICK)) in vt596_access()
|
A D | i2c-opal.c | 113 unsigned short flags, char read_write, in i2c_opal_smbus_xfer() argument 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() 142 if (!read_write) { 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() 166 if (!rc && read_write && size == I2C_SMBUS_WORD_DATA) { in i2c_opal_smbus_xfer()
|
A D | i2c-nforce2.c | 179 unsigned short flags, char read_write, in nforce2_access() argument 187 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access() 194 read_write = I2C_SMBUS_WRITE; in nforce2_access() 198 if (read_write == I2C_SMBUS_WRITE) in nforce2_access() 205 if (read_write == I2C_SMBUS_WRITE) in nforce2_access() 212 if (read_write == I2C_SMBUS_WRITE) { in nforce2_access() 221 if (read_write == I2C_SMBUS_WRITE) { in nforce2_access() 249 if (read_write == I2C_SMBUS_WRITE) in nforce2_access()
|
A D | i2c-sibyte.c | 28 unsigned short flags, char read_write, in smbus_xfer() argument 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-pasemi-core.c | 181 u16 addr, unsigned short flags, char read_write, u8 command, in pasemi_smb_xfer() argument 191 read_flag = read_write == I2C_SMBUS_READ; in pasemi_smb_xfer() 202 if (read_write) in pasemi_smb_xfer() 210 if (read_write) { in pasemi_smb_xfer() 220 if (read_write) { in pasemi_smb_xfer() 231 if (read_write) { in pasemi_smb_xfer() 248 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 258 read_write = I2C_SMBUS_READ; in pasemi_smb_xfer() 281 if (read_write == I2C_SMBUS_WRITE) in pasemi_smb_xfer()
|
A D | i2c-scmi.c | 78 char read_write, u8 command, int size, in acpi_smbus_cmi_access() argument 94 (read_write) ? "READ" : "WRITE"); in acpi_smbus_cmi_access() 99 if (read_write == I2C_SMBUS_WRITE) { in acpi_smbus_cmi_access() 109 if (read_write == I2C_SMBUS_WRITE) { in acpi_smbus_cmi_access() 121 if (read_write == I2C_SMBUS_WRITE) { in acpi_smbus_cmi_access() 131 if (read_write == I2C_SMBUS_WRITE) { in acpi_smbus_cmi_access() 141 if (read_write == I2C_SMBUS_WRITE) { in acpi_smbus_cmi_access() 158 if (read_write == I2C_SMBUS_READ) { in acpi_smbus_cmi_access() 220 if (read_write == I2C_SMBUS_WRITE || size == I2C_SMBUS_QUICK) in acpi_smbus_cmi_access()
|
A D | i2c-taos-evm.c | 59 unsigned short flags, char read_write, u8 command, in taos_smbus_xfer() argument 77 if (read_write == I2C_SMBUS_WRITE) in taos_smbus_xfer() 83 if (read_write == I2C_SMBUS_WRITE) in taos_smbus_xfer() 103 serio_write(serio, read_write == I2C_SMBUS_WRITE ? '>' : '<'); in taos_smbus_xfer() 120 if (read_write == I2C_SMBUS_WRITE) { in taos_smbus_xfer()
|
A D | i2c-piix4.c | 616 unsigned short flags, char read_write, in piix4_access() argument 626 outb_p((addr << 1) | read_write, in piix4_access() 631 outb_p((addr << 1) | read_write, in piix4_access() 633 if (read_write == I2C_SMBUS_WRITE) in piix4_access() 638 outb_p((addr << 1) | read_write, in piix4_access() 641 if (read_write == I2C_SMBUS_WRITE) in piix4_access() 646 outb_p((addr << 1) | read_write, in piix4_access() 649 if (read_write == I2C_SMBUS_WRITE) { in piix4_access() 656 outb_p((addr << 1) | read_write, in piix4_access() 659 if (read_write == I2C_SMBUS_WRITE) { in piix4_access() [all …]
|
/linux-6.3-rc2/drivers/i2c/ |
A D | i2c-core-smbus.c | 324 char read_write, u8 command, int size, in i2c_smbus_xfer_emulated() argument 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() 396 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated() 416 read_write = I2C_SMBUS_READ; in i2c_smbus_xfer_emulated() 441 if (read_write == I2C_SMBUS_READ) { in i2c_smbus_xfer_emulated() 485 if (read_write == I2C_SMBUS_READ) in i2c_smbus_xfer_emulated() 536 unsigned short flags, char read_write, in i2c_smbus_xfer() argument [all …]
|
A D | i2c-dev.c | 312 u8 read_write, u8 command, u32 size, in i2cdev_ioctl_smbus() argument 334 if ((read_write != I2C_SMBUS_READ) && in i2cdev_ioctl_smbus() 335 (read_write != I2C_SMBUS_WRITE)) { in i2cdev_ioctl_smbus() 338 read_write); in i2cdev_ioctl_smbus() 346 (read_write == I2C_SMBUS_WRITE))) in i2cdev_ioctl_smbus() 349 client->flags, read_write, in i2cdev_ioctl_smbus() 370 (read_write == I2C_SMBUS_WRITE)) { in i2cdev_ioctl_smbus() 378 if (read_write == I2C_SMBUS_READ) in i2cdev_ioctl_smbus() 382 read_write, command, size, &temp); in i2cdev_ioctl_smbus() 385 (read_write == I2C_SMBUS_READ))) { in i2cdev_ioctl_smbus() [all …]
|
A D | i2c-stub.c | 124 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument 150 if (read_write == I2C_SMBUS_WRITE) { in stub_xfer() 168 if (read_write == I2C_SMBUS_WRITE) { in stub_xfer() 197 if (read_write == I2C_SMBUS_WRITE) { in stub_xfer() 220 if (read_write == I2C_SMBUS_WRITE) { in stub_xfer() 247 if (read_write == I2C_SMBUS_WRITE) { in stub_xfer()
|
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/ |
A D | sdio.c | 36 u32 read_write: 1; member 44 u32 read_write: 1; member 208 cmd.read_write = 1; in wilc_sdio_reset() 298 cmd.read_write = 1; in wilc_sdio_set_func0_csa_address() 338 cmd.read_write = 1; in wilc_sdio_set_block_size() 423 cmd.read_write = 1; in wilc_sdio_write() 546 cmd.read_write = 0; in wilc_sdio_read() 637 cmd.read_write = 1; in wilc_sdio_init() 661 cmd.read_write = 1; in wilc_sdio_init() 676 cmd.read_write = 0; in wilc_sdio_init() [all …]
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | drv_fcoe_fw_funcs.c | 59 SET_FIELD(t_st_ctx->read_write.flags, in init_initiator_rw_fcoe_task() 61 t_st_ctx->read_write.rx_id = cpu_to_le16(FCOE_RX_ID); in init_initiator_rw_fcoe_task() 94 SET_FIELD(t_st_ctx->read_write.flags, in init_initiator_rw_fcoe_task() 157 SET_FIELD(t_st_ctx->read_write.flags, in init_initiator_midpath_unsolicited_fcoe_task() 159 t_st_ctx->read_write.rx_id = cpu_to_le16(FCOE_RX_ID); in init_initiator_midpath_unsolicited_fcoe_task()
|