smbus 483 drivers/hwmon/jc42.c int smbus; smbus 491 drivers/hwmon/jc42.c smbus = i2c_smbus_read_word_swapped(client, JC42_REG_SMBUS); smbus 492 drivers/hwmon/jc42.c if (smbus < 0) smbus 493 drivers/hwmon/jc42.c return smbus; smbus 495 drivers/hwmon/jc42.c smbus | SMBUS_STMOUT); smbus 68 drivers/i2c/busses/i2c-amd8111.c static int amd_ec_wait_write(struct amd_smbus *smbus) smbus 72 drivers/i2c/busses/i2c-amd8111.c while ((inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_IBF) && --timeout) smbus 76 drivers/i2c/busses/i2c-amd8111.c dev_warn(&smbus->dev->dev, smbus 84 drivers/i2c/busses/i2c-amd8111.c static int amd_ec_wait_read(struct amd_smbus *smbus) smbus 88 drivers/i2c/busses/i2c-amd8111.c while ((~inb(smbus->base + AMD_EC_SC) & AMD_EC_SC_OBF) && --timeout) smbus 92 drivers/i2c/busses/i2c-amd8111.c dev_warn(&smbus->dev->dev, smbus 100 drivers/i2c/busses/i2c-amd8111.c static int amd_ec_read(struct amd_smbus *smbus, unsigned char address, smbus 105 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_write(smbus); smbus 108 drivers/i2c/busses/i2c-amd8111.c outb(AMD_EC_CMD_RD, smbus->base + AMD_EC_CMD); smbus 110 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_write(smbus); smbus 113 drivers/i2c/busses/i2c-amd8111.c outb(address, smbus->base + AMD_EC_DATA); smbus 115 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_read(smbus); smbus 118 drivers/i2c/busses/i2c-amd8111.c *data = inb(smbus->base + AMD_EC_DATA); smbus 123 drivers/i2c/busses/i2c-amd8111.c static int amd_ec_write(struct amd_smbus *smbus, unsigned char address, smbus 128 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_write(smbus); smbus 131 drivers/i2c/busses/i2c-amd8111.c outb(AMD_EC_CMD_WR, smbus->base + AMD_EC_CMD); smbus 133 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_write(smbus); smbus 136 drivers/i2c/busses/i2c-amd8111.c outb(address, smbus->base + AMD_EC_DATA); smbus 138 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_wait_write(smbus); smbus 141 drivers/i2c/busses/i2c-amd8111.c outb(data, smbus->base + AMD_EC_DATA); smbus 193 drivers/i2c/busses/i2c-amd8111.c struct amd_smbus *smbus = adap->algo_data; smbus 209 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, smbus 218 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 222 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA, smbus 231 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 235 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA, smbus 239 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA + 1, smbus 248 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 254 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_BCNT, len); smbus 259 drivers/i2c/busses/i2c-amd8111.c amd_ec_write(smbus, AMD_SMB_DATA + i, smbus 271 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 274 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_BCNT, len); smbus 280 drivers/i2c/busses/i2c-amd8111.c amd_ec_write(smbus, AMD_SMB_DATA + i, smbus 289 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 292 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA, smbus 296 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA + 1, smbus 307 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_CMD, command); smbus 310 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_BCNT, len); smbus 314 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_DATA + i, smbus 328 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_ADDR, addr << 1); smbus 331 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_PRTCL, protocol); smbus 335 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); smbus 341 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); smbus 348 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); smbus 362 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA, &data->byte); smbus 369 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA, temp + 0); smbus 372 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA + 1, temp + 1); smbus 380 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_BCNT, &len); smbus 387 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA + i, smbus 424 drivers/i2c/busses/i2c-amd8111.c struct amd_smbus *smbus; smbus 430 drivers/i2c/busses/i2c-amd8111.c smbus = kzalloc(sizeof(struct amd_smbus), GFP_KERNEL); smbus 431 drivers/i2c/busses/i2c-amd8111.c if (!smbus) smbus 434 drivers/i2c/busses/i2c-amd8111.c smbus->dev = dev; smbus 435 drivers/i2c/busses/i2c-amd8111.c smbus->base = pci_resource_start(dev, 0); smbus 436 drivers/i2c/busses/i2c-amd8111.c smbus->size = pci_resource_len(dev, 0); smbus 444 drivers/i2c/busses/i2c-amd8111.c if (!request_region(smbus->base, smbus->size, amd8111_driver.name)) { smbus 449 drivers/i2c/busses/i2c-amd8111.c smbus->adapter.owner = THIS_MODULE; smbus 450 drivers/i2c/busses/i2c-amd8111.c snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), smbus 451 drivers/i2c/busses/i2c-amd8111.c "SMBus2 AMD8111 adapter at %04x", smbus->base); smbus 452 drivers/i2c/busses/i2c-amd8111.c smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; smbus 453 drivers/i2c/busses/i2c-amd8111.c smbus->adapter.algo = &smbus_algorithm; smbus 454 drivers/i2c/busses/i2c-amd8111.c smbus->adapter.algo_data = smbus; smbus 457 drivers/i2c/busses/i2c-amd8111.c smbus->adapter.dev.parent = &dev->dev; smbus 459 drivers/i2c/busses/i2c-amd8111.c pci_write_config_dword(smbus->dev, AMD_PCI_MISC, 0); smbus 460 drivers/i2c/busses/i2c-amd8111.c error = i2c_add_adapter(&smbus->adapter); smbus 464 drivers/i2c/busses/i2c-amd8111.c pci_set_drvdata(dev, smbus); smbus 468 drivers/i2c/busses/i2c-amd8111.c release_region(smbus->base, smbus->size); smbus 470 drivers/i2c/busses/i2c-amd8111.c kfree(smbus); smbus 476 drivers/i2c/busses/i2c-amd8111.c struct amd_smbus *smbus = pci_get_drvdata(dev); smbus 478 drivers/i2c/busses/i2c-amd8111.c i2c_del_adapter(&smbus->adapter); smbus 479 drivers/i2c/busses/i2c-amd8111.c release_region(smbus->base, smbus->size); smbus 480 drivers/i2c/busses/i2c-amd8111.c kfree(smbus); smbus 74 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_PRTCL (smbus->base + 0x00) /* protocol, PEC */ smbus 75 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_STS (smbus->base + 0x01) /* status */ smbus 76 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_ADDR (smbus->base + 0x02) /* address */ smbus 77 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_CMD (smbus->base + 0x03) /* command */ smbus 78 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_DATA (smbus->base + 0x04) /* 32 data registers */ smbus 79 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_BCNT (smbus->base + 0x24) /* number of data smbus 81 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_STATUS_ABRT (smbus->base + 0x3c) /* register used to smbus 84 drivers/i2c/busses/i2c-nforce2.c #define NVIDIA_SMB_CTRL (smbus->base + 0x3e) /* control register */ smbus 136 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbus = adap->algo_data; smbus 155 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbus = adap->algo_data; smbus 166 drivers/i2c/busses/i2c-nforce2.c if (smbus->can_abort) smbus 182 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbus = adap->algo_data; smbus 319 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbus, const char *name) smbus 323 drivers/i2c/busses/i2c-nforce2.c smbus->base = pci_resource_start(dev, bar); smbus 324 drivers/i2c/busses/i2c-nforce2.c if (smbus->base) { smbus 325 drivers/i2c/busses/i2c-nforce2.c smbus->size = pci_resource_len(dev, bar); smbus 337 drivers/i2c/busses/i2c-nforce2.c smbus->base = iobase & PCI_BASE_ADDRESS_IO_MASK; smbus 338 drivers/i2c/busses/i2c-nforce2.c smbus->size = 64; smbus 341 drivers/i2c/busses/i2c-nforce2.c error = acpi_check_region(smbus->base, smbus->size, smbus 346 drivers/i2c/busses/i2c-nforce2.c if (!request_region(smbus->base, smbus->size, nforce2_driver.name)) { smbus 347 drivers/i2c/busses/i2c-nforce2.c dev_err(&smbus->adapter.dev, "Error requesting region %02x .. %02X for %s\n", smbus 348 drivers/i2c/busses/i2c-nforce2.c smbus->base, smbus->base+smbus->size-1, name); smbus 351 drivers/i2c/busses/i2c-nforce2.c smbus->adapter.owner = THIS_MODULE; smbus 352 drivers/i2c/busses/i2c-nforce2.c smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; smbus 353 drivers/i2c/busses/i2c-nforce2.c smbus->adapter.algo = &smbus_algorithm; smbus 354 drivers/i2c/busses/i2c-nforce2.c smbus->adapter.algo_data = smbus; smbus 355 drivers/i2c/busses/i2c-nforce2.c smbus->adapter.dev.parent = &dev->dev; smbus 356 drivers/i2c/busses/i2c-nforce2.c snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), smbus 357 drivers/i2c/busses/i2c-nforce2.c "SMBus nForce2 adapter at %04x", smbus->base); smbus 359 drivers/i2c/busses/i2c-nforce2.c error = i2c_add_adapter(&smbus->adapter); smbus 361 drivers/i2c/busses/i2c-nforce2.c release_region(smbus->base, smbus->size); smbus 364 drivers/i2c/busses/i2c-nforce2.c dev_info(&smbus->adapter.dev, "nForce2 SMBus adapter at %#x\n", smbus 365 drivers/i2c/busses/i2c-nforce2.c smbus->base); smbus 52 drivers/i2c/busses/i2c-pasemi.c static inline void reg_write(struct pasemi_smbus *smbus, int reg, int val) smbus 54 drivers/i2c/busses/i2c-pasemi.c dev_dbg(&smbus->dev->dev, "smbus write reg %lx val %08x\n", smbus 55 drivers/i2c/busses/i2c-pasemi.c smbus->base + reg, val); smbus 56 drivers/i2c/busses/i2c-pasemi.c outl(val, smbus->base + reg); smbus 59 drivers/i2c/busses/i2c-pasemi.c static inline int reg_read(struct pasemi_smbus *smbus, int reg) smbus 62 drivers/i2c/busses/i2c-pasemi.c ret = inl(smbus->base + reg); smbus 63 drivers/i2c/busses/i2c-pasemi.c dev_dbg(&smbus->dev->dev, "smbus read reg %lx val %08x\n", smbus 64 drivers/i2c/busses/i2c-pasemi.c smbus->base + reg, ret); smbus 68 drivers/i2c/busses/i2c-pasemi.c #define TXFIFO_WR(smbus, reg) reg_write((smbus), REG_MTXFIFO, (reg)) smbus 69 drivers/i2c/busses/i2c-pasemi.c #define RXFIFO_RD(smbus) reg_read((smbus), REG_MRXFIFO) smbus 71 drivers/i2c/busses/i2c-pasemi.c static void pasemi_smb_clear(struct pasemi_smbus *smbus) smbus 75 drivers/i2c/busses/i2c-pasemi.c status = reg_read(smbus, REG_SMSTA); smbus 76 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_SMSTA, status); smbus 79 drivers/i2c/busses/i2c-pasemi.c static int pasemi_smb_waitready(struct pasemi_smbus *smbus) smbus 84 drivers/i2c/busses/i2c-pasemi.c status = reg_read(smbus, REG_SMSTA); smbus 88 drivers/i2c/busses/i2c-pasemi.c status = reg_read(smbus, REG_SMSTA); smbus 96 drivers/i2c/busses/i2c-pasemi.c dev_warn(&smbus->dev->dev, "Timeout, status 0x%08x\n", status); smbus 97 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_SMSTA, status); smbus 102 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_SMSTA, SMSTA_XEN); smbus 110 drivers/i2c/busses/i2c-pasemi.c struct pasemi_smbus *smbus = adapter->algo_data; smbus 116 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, MTXFIFO_START | i2c_8bit_addr_from_msg(msg)); smbus 119 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, msg->len | MTXFIFO_READ | smbus 122 drivers/i2c/busses/i2c-pasemi.c err = pasemi_smb_waitready(smbus); smbus 127 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 136 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, msg->buf[i]); smbus 138 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, msg->buf[msg->len-1] | smbus 145 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | smbus 153 drivers/i2c/busses/i2c-pasemi.c struct pasemi_smbus *smbus = adapter->algo_data; smbus 156 drivers/i2c/busses/i2c-pasemi.c pasemi_smb_clear(smbus); smbus 170 drivers/i2c/busses/i2c-pasemi.c struct pasemi_smbus *smbus = adapter->algo_data; smbus 179 drivers/i2c/busses/i2c-pasemi.c pasemi_smb_clear(smbus); smbus 183 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | read_flag | MTXFIFO_START | smbus 187 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | read_flag | MTXFIFO_START); smbus 189 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, 1 | MTXFIFO_STOP | MTXFIFO_READ); smbus 191 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, MTXFIFO_STOP | command); smbus 194 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | MTXFIFO_START); smbus 195 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, command); smbus 197 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); smbus 198 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, 1 | MTXFIFO_READ | MTXFIFO_STOP); smbus 200 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, MTXFIFO_STOP | data->byte); smbus 204 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | MTXFIFO_START); smbus 205 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, command); smbus 207 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); smbus 208 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, 2 | MTXFIFO_READ | MTXFIFO_STOP); smbus 210 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, data->word & MTXFIFO_DATA_M); smbus 211 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, MTXFIFO_STOP | (data->word >> 8)); smbus 215 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | MTXFIFO_START); smbus 216 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, command); smbus 218 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); smbus 219 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, 1 | MTXFIFO_READ); smbus 220 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 223 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, len | MTXFIFO_READ | smbus 227 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, len); smbus 229 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, data->block[i]); smbus 230 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, data->block[len] | MTXFIFO_STOP); smbus 235 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | MTXFIFO_START); smbus 236 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, command); smbus 237 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, data->word & MTXFIFO_DATA_M); smbus 238 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, (data->word >> 8) & MTXFIFO_DATA_M); smbus 239 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | I2C_SMBUS_READ | MTXFIFO_START); smbus 240 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, 2 | MTXFIFO_STOP | MTXFIFO_READ); smbus 245 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | MTXFIFO_START); smbus 246 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, command); smbus 247 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, len); smbus 249 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, data->block[i]); smbus 250 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, addr | I2C_SMBUS_READ); smbus 251 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, MTXFIFO_READ | 1); smbus 252 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 255 drivers/i2c/busses/i2c-pasemi.c TXFIFO_WR(smbus, len | MTXFIFO_READ | MTXFIFO_STOP); smbus 263 drivers/i2c/busses/i2c-pasemi.c err = pasemi_smb_waitready(smbus); smbus 273 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 282 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 288 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 299 drivers/i2c/busses/i2c-pasemi.c rd = RXFIFO_RD(smbus); smbus 312 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | smbus 334 drivers/i2c/busses/i2c-pasemi.c struct pasemi_smbus *smbus; smbus 340 drivers/i2c/busses/i2c-pasemi.c smbus = kzalloc(sizeof(struct pasemi_smbus), GFP_KERNEL); smbus 341 drivers/i2c/busses/i2c-pasemi.c if (!smbus) smbus 344 drivers/i2c/busses/i2c-pasemi.c smbus->dev = dev; smbus 345 drivers/i2c/busses/i2c-pasemi.c smbus->base = pci_resource_start(dev, 0); smbus 346 drivers/i2c/busses/i2c-pasemi.c smbus->size = pci_resource_len(dev, 0); smbus 348 drivers/i2c/busses/i2c-pasemi.c if (!request_region(smbus->base, smbus->size, smbus 354 drivers/i2c/busses/i2c-pasemi.c smbus->adapter.owner = THIS_MODULE; smbus 355 drivers/i2c/busses/i2c-pasemi.c snprintf(smbus->adapter.name, sizeof(smbus->adapter.name), smbus 356 drivers/i2c/busses/i2c-pasemi.c "PA Semi SMBus adapter at 0x%lx", smbus->base); smbus 357 drivers/i2c/busses/i2c-pasemi.c smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD; smbus 358 drivers/i2c/busses/i2c-pasemi.c smbus->adapter.algo = &smbus_algorithm; smbus 359 drivers/i2c/busses/i2c-pasemi.c smbus->adapter.algo_data = smbus; smbus 362 drivers/i2c/busses/i2c-pasemi.c smbus->adapter.dev.parent = &dev->dev; smbus 364 drivers/i2c/busses/i2c-pasemi.c reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | smbus 367 drivers/i2c/busses/i2c-pasemi.c error = i2c_add_adapter(&smbus->adapter); smbus 371 drivers/i2c/busses/i2c-pasemi.c pci_set_drvdata(dev, smbus); smbus 376 drivers/i2c/busses/i2c-pasemi.c release_region(smbus->base, smbus->size); smbus 378 drivers/i2c/busses/i2c-pasemi.c kfree(smbus); smbus 384 drivers/i2c/busses/i2c-pasemi.c struct pasemi_smbus *smbus = pci_get_drvdata(dev); smbus 386 drivers/i2c/busses/i2c-pasemi.c i2c_del_adapter(&smbus->adapter); smbus 387 drivers/i2c/busses/i2c-pasemi.c release_region(smbus->base, smbus->size); smbus 388 drivers/i2c/busses/i2c-pasemi.c kfree(smbus); smbus 257 drivers/i2c/busses/i2c-stm32f7.c bool smbus; smbus 1442 drivers/i2c/busses/i2c-stm32f7.c } else if (f7_msg->smbus) { smbus 1452 drivers/i2c/busses/i2c-stm32f7.c if (f7_msg->smbus) smbus 1484 drivers/i2c/busses/i2c-stm32f7.c if (f7_msg->smbus) { smbus 1565 drivers/i2c/busses/i2c-stm32f7.c f7_msg->smbus = false; smbus 1611 drivers/i2c/busses/i2c-stm32f7.c f7_msg->smbus = true; smbus 170 drivers/input/mouse/cyapa.c bool smbus = false; smbus 190 drivers/input/mouse/cyapa.c if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) { smbus 194 drivers/input/mouse/cyapa.c smbus = true; smbus 226 drivers/input/mouse/cyapa.c !smbus && even_addr) { smbus 237 drivers/input/mouse/cyapa.c if (!smbus) { smbus 251 drivers/input/mouse/cyapa.c } while (--retries > 0 && !smbus); smbus 1274 drivers/input/mouse/cyapa.c cyapa->smbus = true; smbus 341 drivers/input/mouse/cyapa.h bool smbus; smbus 281 drivers/input/mouse/cyapa_gen3.c if (cyapa->smbus) { smbus 294 drivers/input/mouse/cyapa_gen3.c if (cyapa->smbus) { smbus 320 drivers/input/mouse/cyapa_gen3.c if (cyapa->smbus) { smbus 126 drivers/rtc/rtc-rs5c372.c unsigned smbus:1; smbus 154 drivers/rtc/rtc-rs5c372.c if (rs5c->smbus) { smbus 658 drivers/rtc/rtc-rs5c372.c rs5c372->smbus = smbus_mode; smbus 512 drivers/usb/host/pci-quirks.c struct pci_dev *nb, *smbus; smbus 525 drivers/usb/host/pci-quirks.c smbus = amd_chipset.smbus_dev; smbus 537 drivers/usb/host/pci-quirks.c pci_dev_put(smbus); smbus 8 include/trace/events/smbus.h #define TRACE_SYSTEM smbus