Home
last modified time | relevance | path

Searched refs:twl_i2c_read_u8 (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/drivers/input/misc/
Dtwl4030-vibra.c46 twl_i2c_read_u8(TWL4030_MODULE_LED, &reg, LEDEN); in vibra_disable_leds()
59 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, in vibra_enable()
74 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, in vibra_disable()
96 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, in vibra_play_work()
104 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, in vibra_play_work()
Dtwl4030-pwrbutton.c43 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS); in powerbutton_irq()
/Linux-v6.1/drivers/iio/adc/
Dtwl4030-madc.c329 ret = twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, &val, in twl4030battery_temperature()
352 ret = twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, &val, in twl4030battery_current()
446 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &val, madc->imr); in twl4030_madc_disable_irq()
472 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &isr_val, madc->isr); in twl4030_madc_threaded_irq_handler()
478 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &imr_val, madc->imr); in twl4030_madc_threaded_irq_handler()
579 ret = twl_i2c_read_u8(TWL4030_MODULE_MADC, &reg, status_reg); in twl4030_madc_wait_conversion_ready()
684 ret = twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, in twl4030_madc_set_current_generator()
720 ret = twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, in twl4030_madc_set_power()
796 ret = twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, in twl4030_madc_probe()
813 ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, &regval, TWL4030_REG_GPBR1); in twl4030_madc_probe()
[all …]
/Linux-v6.1/drivers/mfd/
Dtwl4030-power.c255 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &data, R_P3_SW_EVENTS); in twl4030_config_wakeup3_sequence()
279 err = twl_i2c_read_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()
300 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &data, in twl4030_config_wakeup12_sequence()
342 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &rd_data, R_P1_SW_EVENTS); in twl4030_config_warmreset_sequence()
351 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &rd_data, R_P2_SW_EVENTS); in twl4030_config_warmreset_sequence()
360 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &rd_data, R_P3_SW_EVENTS); in twl4030_config_warmreset_sequence()
389 err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &grp, in twl4030_configure_resource()
409 err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &type, in twl4030_configure_resource()
435 err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &remap, in twl4030_configure_resource()
[all …]
Dtwl6030-irq.c236 ret = twl_i2c_read_u8(TWL_MODULE_PIH, &unmask_value, in twl6030_interrupt_unmask()
250 ret = twl_i2c_read_u8(TWL_MODULE_PIH, &mask_value, in twl6030_interrupt_mask()
273 ret = twl_i2c_read_u8(TWL6030_MODULE_ID0, &reg_val, TWL6030_MMCCTRL); in twl6030_mmc_card_detect_config()
287 ret = twl_i2c_read_u8(TWL6030_MODULE_ID0, &reg_val, in twl6030_mmc_card_detect_config()
325 ret = twl_i2c_read_u8(TWL6030_MODULE_ID0, &read_reg, in twl6030_mmc_card_detect()
Dtwl4030-audio.c49 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &val, in twl4030_audio_set_resource()
68 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &val, in twl4030_audio_get_resource()
Dtwl-core.c572 twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &ctrl, R_CFG_BOOT); in twl_get_hfclk_rate()
892 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &temp, REG_GPPUPDCTR1); in twl_probe()
897 twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp, in twl_probe()
Dtwl4030-irq.c285 ret = twl_i2c_read_u8(TWL_MODULE_PIH, &pih_isr, in handle_twl4030_pih()
/Linux-v6.1/drivers/pwm/
Dpwm-twl-led.c115 ret = twl_i2c_read_u8(TWL4030_MODULE_LED, &val, TWL4030_LEDEN_REG); in twl4030_pwmled_enable()
140 ret = twl_i2c_read_u8(TWL4030_MODULE_LED, &val, TWL4030_LEDEN_REG); in twl4030_pwmled_disable()
219 ret = twl_i2c_read_u8(TWL6030_MODULE_ID1, &val, TWL6030_LED_PWM_CTRL2); in twl6030_pwmled_enable()
246 ret = twl_i2c_read_u8(TWL6030_MODULE_ID1, &val, TWL6030_LED_PWM_CTRL2); in twl6030_pwmled_disable()
297 ret = twl_i2c_read_u8(TWL6030_MODULE_ID1, &val, TWL6030_LED_PWM_CTRL2); in twl6030_pwmled_request()
323 ret = twl_i2c_read_u8(TWL6030_MODULE_ID1, &val, TWL6030_LED_PWM_CTRL2); in twl6030_pwmled_free()
Dpwm-twl.c101 ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, &val, TWL4030_GPBR1_REG); in twl4030_pwm_enable()
131 ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, &val, TWL4030_GPBR1_REG); in twl4030_pwm_disable()
168 ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, &val, TWL4030_PMBR1_REG); in twl4030_pwm_request()
203 ret = twl_i2c_read_u8(TWL4030_MODULE_INTBR, &val, TWL4030_PMBR1_REG); in twl4030_pwm_free()
/Linux-v6.1/drivers/video/backlight/
Dpandora_bl.c61 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &r, TWL_INTBR_GPBR1); in pandora_backlight_update_status()
78 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &r, TWL_INTBR_GPBR1); in pandora_backlight_update_status()
142 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &r, TWL_INTBR_PMBR1); in pandora_backlight_probe()
/Linux-v6.1/arch/arm/mach-omap2/
Domap_twl.c65 twl_i2c_read_u8(TWL6030_MODULE_ID0, &smps_offset, in twl6030_vsel_to_uv()
99 twl_i2c_read_u8(TWL6030_MODULE_ID0, &smps_offset, in twl6030_uv_to_vsel()
/Linux-v6.1/drivers/regulator/
Dtwl-regulator.c81 status = twl_i2c_read_u8(slave_subgp, in twlreg_read()
139 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()
Dtwl6030-regulator.c93 status = twl_i2c_read_u8(slave_subgp, in twlreg_read()
621 twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &value, in twl_get_smps_offset()
630 twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &value, in twl_get_smps_mult()
/Linux-v6.1/drivers/power/supply/
Dtwl4030_charger.c162 ret = twl_i2c_read_u8(mod_no, &val, reg); in twl4030_clear_set()
174 return twl_i2c_read_u8(TWL_MODULE_MAIN_CHARGE, val, reg); in twl4030_bci_read()
278 if (twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &boot_bci, in twl4030_charger_update_current()
611 ret = twl_i2c_read_u8(TWL4030_MODULE_INTERRUPTS, &irqs1, in twl4030_bci_interrupt()
616 ret = twl_i2c_read_u8(TWL4030_MODULE_INTERRUPTS, &irqs2, in twl4030_bci_interrupt()
/Linux-v6.1/drivers/phy/ti/
Dphy-twl4030-usb.c182 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
190 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
220 ret = twl_i2c_read_u8(module, &data, address); in twl4030_readb()
/Linux-v6.1/drivers/rtc/
Drtc-twl.c162 ret = twl_i2c_read_u8(TWL_MODULE_RTC, data, (twl_rtc->reg_map[reg])); in twl_rtc_read_u8()
468 res = twl_i2c_read_u8(TWL4030_MODULE_INT, in twl_rtc_interrupt()
/Linux-v6.1/drivers/gpio/
Dgpio-twl4030.c109 ret = twl_i2c_read_u8(TWL4030_MODULE_GPIO, &data, address); in gpio_twl4030_read()
236 status = twl_i2c_read_u8(TWL4030_MODULE_LED, &cached_leden, in twl_request()
/Linux-v6.1/sound/soc/codecs/
Dtwl4030.c78 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, i); in tw4030_init_ctl_cache()
101 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &value, reg); in twl4030_read()
274 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &pin_mux, in twl4030_init_chip()
327 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, in twl4030_init_chip()
/Linux-v6.1/include/linux/mfd/
Dtwl.h179 static inline int twl_i2c_read_u8(u8 mod_no, u8 *val, u8 reg) { in twl_i2c_read_u8() function
/Linux-v6.1/drivers/usb/phy/
Dphy-twl6030-usb.c121 ret = twl_i2c_read_u8(module, &data, address); in twl6030_readb()