Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/typec/tcpm/
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 …]
DMakefile5 typec_wcove-y := wcove.o
/Linux-v6.1/drivers/gpio/
DMakefile175 obj-$(CONFIG_GPIO_WHISKEY_COVE) += gpio-wcove.o
DKconfig1457 called gpio-wcove.
/Linux-v6.1/
DMAINTAINERS22149 F: drivers/gpio/gpio-wcove.c