Home
last modified time | relevance | path

Searched refs:TWL_MODULE_PM_MASTER (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dtwl4030-power.c191 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, address, R_MEMORY_ADDRESS); in twl4030_write_script_byte()
194 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, byte, R_MEMORY_DATA); in twl4030_write_script_byte()
250 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, address, R_SEQ_ADD_S2A3); in twl4030_config_wakeup3_sequence()
255 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &data, R_P3_SW_EVENTS); in twl4030_config_wakeup3_sequence()
259 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, data, R_P3_SW_EVENTS); in twl4030_config_wakeup3_sequence()
274 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, address, R_SEQ_ADD_S2A12); in twl4030_config_wakeup12_sequence()
279 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &data, R_P1_SW_EVENTS); in twl4030_config_wakeup12_sequence()
284 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, data, R_P1_SW_EVENTS); in twl4030_config_wakeup12_sequence()
288 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &data, R_P2_SW_EVENTS); in twl4030_config_wakeup12_sequence()
293 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, data, R_P2_SW_EVENTS); in twl4030_config_wakeup12_sequence()
[all …]
Dtwl-core.c572 twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &ctrl, R_CFG_BOOT); in twl_get_hfclk_rate()
690 return add_numbered_child(TWL_MODULE_PM_MASTER, "twl_reg", num, in add_regulator_linked()
836 child = add_child(TWL_MODULE_PM_MASTER, "twl4030_pwrbutton", in add_children()
952 child = add_child(TWL_MODULE_PM_MASTER, "twl4030_power", in add_children()
973 e = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, 0, in protect_pm_master()
982 e |= twl_i2c_write_u8(TWL_MODULE_PM_MASTER, TWL4030_PM_MASTER_KEY_CFG1, in unprotect_pm_master()
984 e |= twl_i2c_write_u8(TWL_MODULE_PM_MASTER, TWL4030_PM_MASTER_KEY_CFG2, in unprotect_pm_master()
1026 e |= twl_i2c_write_u8(TWL_MODULE_PM_MASTER, ctrl, R_CFG_BOOT); in clocks_init()
/Linux-v5.4/drivers/regulator/
Dtwl-regulator.c139 ret = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &val, in twl4030_wait_pb_ready()
161 ret = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &val, in twl4030_send_pb_msg()
167 ret = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, val | PB_I2C_BWEN, in twl4030_send_pb_msg()
176 ret = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, msg >> 8, in twl4030_send_pb_msg()
181 ret = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, msg & 0xff, in twl4030_send_pb_msg()
191 return twl_i2c_write_u8(TWL_MODULE_PM_MASTER, val, in twl4030_send_pb_msg()
/Linux-v5.4/drivers/phy/ti/
Dphy-twl4030-usb.c287 status = twl4030_readb(twl, TWL_MODULE_PM_MASTER, STS_HW_CONDITIONS); in twl4030_usb_linkstat()
501 twl_i2c_write_u8(TWL_MODULE_PM_MASTER, TWL4030_PM_MASTER_KEY_CFG1, in twl4030_usb_ldo_init()
504 twl_i2c_write_u8(TWL_MODULE_PM_MASTER, TWL4030_PM_MASTER_KEY_CFG2, in twl4030_usb_ldo_init()
541 twl_i2c_write_u8(TWL_MODULE_PM_MASTER, 0, in twl4030_usb_ldo_init()
/Linux-v5.4/drivers/input/misc/
Dtwl4030-pwrbutton.c42 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS); in powerbutton_irq()
/Linux-v5.4/drivers/power/supply/
Dtwl4030_charger.c179 return twl4030_clear_set(TWL_MODULE_PM_MASTER, clear, in twl4030_clear_set_boot_bci()
278 if (twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &boot_bci, in twl4030_charger_update_current()
/Linux-v5.4/include/linux/mfd/
Dtwl.h33 TWL_MODULE_PM_MASTER, enumerator