Searched refs:PALMAS_BASE_TO_REG (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/mfd/ |
D | palmas.c | 32 .max_register = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, 38 .max_register = PALMAS_BASE_TO_REG(PALMAS_GPADC_BASE, 44 .max_register = PALMAS_BASE_TO_REG(PALMAS_TRIM_GPADC_BASE, 310 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 312 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 323 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 325 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 437 addr = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, in palmas_power_off() 457 addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL); in palmas_power_off() 598 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe() [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | palmas-regulator.c | 408 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_read() 418 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_write() 428 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_read() 438 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_write() 932 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration() 935 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration() 970 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in palmas_ldo_registration() 1053 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration() 1056 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration() 1080 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in tps65917_ldo_registration() [all …]
|
/Linux-v4.19/include/linux/mfd/ |
D | palmas.h | 653 #define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y) macro 3760 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_read() 3769 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_write() 3778 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_write() 3788 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_read() 3798 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_update_bits()
|