Searched refs:PALMAS_BASE_TO_REG (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/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, 438 addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL); in palmas_power_off() 579 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe() 592 addr = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, in palmas_i2c_probe() [all …]
|
/linux-4.4.14/drivers/regulator/ |
D | palmas-regulator.c | 400 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_read() 410 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_write() 420 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_read() 430 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_write() 899 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration() 902 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration() 928 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in palmas_ldo_registration() 1011 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration() 1014 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration() 1029 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in tps65917_ldo_registration() [all …]
|
/linux-4.4.14/include/linux/mfd/ |
D | palmas.h | 621 #define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y) macro 3725 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_read() 3734 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_write() 3743 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_write() 3753 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_read() 3763 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_update_bits()
|