subchip 251 drivers/mfd/88pm800.c struct pm80x_subchip *subchip = chip->subchip; subchip 252 drivers/mfd/88pm800.c struct regmap *map = subchip->regmap_gpadc; subchip 418 drivers/mfd/88pm800.c struct pm80x_subchip *subchip; subchip 423 drivers/mfd/88pm800.c subchip = chip->subchip; subchip 424 drivers/mfd/88pm800.c if (!subchip || !subchip->power_page_addr || !subchip->gpadc_page_addr) subchip 428 drivers/mfd/88pm800.c subchip->power_page = i2c_new_dummy_device(client->adapter, subchip 429 drivers/mfd/88pm800.c subchip->power_page_addr); subchip 430 drivers/mfd/88pm800.c if (IS_ERR(subchip->power_page)) { subchip 431 drivers/mfd/88pm800.c ret = PTR_ERR(subchip->power_page); subchip 435 drivers/mfd/88pm800.c subchip->regmap_power = devm_regmap_init_i2c(subchip->power_page, subchip 437 drivers/mfd/88pm800.c if (IS_ERR(subchip->regmap_power)) { subchip 438 drivers/mfd/88pm800.c ret = PTR_ERR(subchip->regmap_power); subchip 444 drivers/mfd/88pm800.c i2c_set_clientdata(subchip->power_page, chip); subchip 447 drivers/mfd/88pm800.c subchip->gpadc_page = i2c_new_dummy_device(client->adapter, subchip 448 drivers/mfd/88pm800.c subchip->gpadc_page_addr); subchip 449 drivers/mfd/88pm800.c if (IS_ERR(subchip->gpadc_page)) { subchip 450 drivers/mfd/88pm800.c ret = PTR_ERR(subchip->gpadc_page); subchip 454 drivers/mfd/88pm800.c subchip->regmap_gpadc = devm_regmap_init_i2c(subchip->gpadc_page, subchip 456 drivers/mfd/88pm800.c if (IS_ERR(subchip->regmap_gpadc)) { subchip 457 drivers/mfd/88pm800.c ret = PTR_ERR(subchip->regmap_gpadc); subchip 462 drivers/mfd/88pm800.c i2c_set_clientdata(subchip->gpadc_page, chip); subchip 470 drivers/mfd/88pm800.c struct pm80x_subchip *subchip; subchip 472 drivers/mfd/88pm800.c subchip = chip->subchip; subchip 474 drivers/mfd/88pm800.c if (subchip && subchip->power_page) subchip 475 drivers/mfd/88pm800.c i2c_unregister_device(subchip->power_page); subchip 477 drivers/mfd/88pm800.c if (subchip && subchip->gpadc_page) subchip 478 drivers/mfd/88pm800.c i2c_unregister_device(subchip->gpadc_page); subchip 547 drivers/mfd/88pm800.c struct pm80x_subchip *subchip; subchip 558 drivers/mfd/88pm800.c subchip = subchip 561 drivers/mfd/88pm800.c if (!subchip) { subchip 567 drivers/mfd/88pm800.c subchip->power_page_addr = client->addr + 1; subchip 568 drivers/mfd/88pm800.c subchip->gpadc_page_addr = client->addr + 2; subchip 569 drivers/mfd/88pm800.c chip->subchip = subchip; subchip 247 drivers/regulator/88pm800-regulator.c config.regmap = chip->subchip->regmap_power; subchip 292 include/linux/mfd/88pm80x.h struct pm80x_subchip *subchip;