Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mfd/
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()
587 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe()
[all …]
/Linux-v6.6/drivers/regulator/
Dpalmas-regulator.c403 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_read()
413 addr = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, reg); in palmas_smps_write()
423 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_read()
433 addr = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, reg); in palmas_ldo_write()
930 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration()
933 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in palmas_ldo_registration()
968 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in palmas_ldo_registration()
1048 desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration()
1051 desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, in tps65917_ldo_registration()
1075 PALMAS_BASE_TO_REG(PALMAS_RESOURCE_BASE, in tps65917_ldo_registration()
[all …]
/Linux-v6.6/include/linux/mfd/
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()