Home
last modified time | relevance | path

Searched refs:wcove (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/typec/tcpm/
H A Dwcove.c179 static int wcove_typec_func(struct wcove_typec *wcove, in wcove_typec_func() argument
189 obj = acpi_evaluate_dsm(ACPI_HANDLE(wcove->dev), &wcove->guid, 1, func, in wcove_typec_func()
192 dev_err(wcove->dev, "%s: failed to evaluate _DSM\n", __func__); in wcove_typec_func()
202 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_init() local
205 ret = regmap_write(wcove->regmap, USBC_CONTROL1, 0); in wcove_init()
210 ret = regmap_write(wcove->regmap, USBC_IRQMASK1, 0); in wcove_init()
214 return regmap_write(wcove->regmap, USBC_IRQMASK2, 0); in wcove_init()
219 struct wcove_typec *wcove = tcpc_to_wcove(tcpc); in wcove_get_vbus() local
223 ret = regmap_read(wcove->regmap, USBC_CC1_CTRL, &cc1ctrl); in wcove_get_vbus()
227 wcove->vbus = !!(cc1ctrl & USBC_CC_CTRL_VBUSOK); in wcove_get_vbus()
[all …]
H A DMakefile5 typec_wcove-y := wcove.o
/linux/Documentation/leds/
H A Dwell-known-leds.txt69 Good: "platform:*:charging" (allwinner sun50i, leds-cht-wcove)
/linux/drivers/leds/
H A DMakefile26 obj-$(CONFIG_LEDS_CHT_WCOVE) += leds-cht-wcove.o
H A DKconfig178 will be called leds-cht-wcove.
/linux/
H A DMAINTAINERS29380 F: drivers/gpio/gpio-wcove.c