Searched refs:PALMAS_BASE_TO_REG (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/mfd/ ! |
D | palmas.c | 27 .max_register = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, 33 .max_register = PALMAS_BASE_TO_REG(PALMAS_GPADC_BASE, 39 .max_register = PALMAS_BASE_TO_REG(PALMAS_TRIM_GPADC_BASE, 305 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 307 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 318 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 320 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, 432 addr = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, in palmas_power_off() 452 addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL); in palmas_power_off() 593 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe() [all …]
|
/linux-5.19.10/drivers/regulator/ ! |
D | palmas-regulator.c | 403 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-5.19.10/include/linux/mfd/ ! |
D | palmas.h | 647 #define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y) macro 3754 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_read() 3763 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_write() 3772 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_write() 3782 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_read() 3792 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_update_bits()
|