Home
last modified time | relevance | path

Searched refs:PALMAS_BASE_TO_REG (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/mfd/
H A Dpalmas.c28 .max_register = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE,
34 .max_register = PALMAS_BASE_TO_REG(PALMAS_GPADC_BASE,
40 .max_register = PALMAS_BASE_TO_REG(PALMAS_TRIM_GPADC_BASE,
306 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
308 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
319 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
321 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
433 addr = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, in palmas_power_off()
453 addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL); in palmas_power_off()
565 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe()
[all …]
/linux/drivers/regulator/
H A Dpalmas-regulator.c402 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_read()
412 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_write()
422 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_read()
432 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_write()
929 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration()
932 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration()
967 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in palmas_ldo_registration()
1047 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration()
1050 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration()
1074 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in tps65917_ldo_registration()
[all …]
/linux/include/linux/mfd/
H A Dpalmas.h638 #define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y) macro
3745 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_read()
3754 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_write()
3763 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_write()
3773 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_read()
3783 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_update_bits()