Home
last modified time | relevance | path

Searched refs:dev_conf (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/usb/musb/
Dtusb6010.c631 u32 otg_stat, phy_otg_ctrl, phy_otg_ena, dev_conf; in tusb_musb_set_mode() local
636 dev_conf = musb_readl(tbase, TUSB_DEV_CONF); in tusb_musb_set_mode()
643 dev_conf |= TUSB_DEV_CONF_ID_SEL; in tusb_musb_set_mode()
644 dev_conf &= ~TUSB_DEV_CONF_SOFT_ID; in tusb_musb_set_mode()
649 dev_conf |= (TUSB_DEV_CONF_ID_SEL | TUSB_DEV_CONF_SOFT_ID); in tusb_musb_set_mode()
654 dev_conf &= ~(TUSB_DEV_CONF_ID_SEL | TUSB_DEV_CONF_SOFT_ID); in tusb_musb_set_mode()
666 musb_writel(tbase, TUSB_DEV_CONF, dev_conf); in tusb_musb_set_mode()
/linux-5.19.10/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c446 u32 dev_conf; in handle_standard_request() local
458 dev_conf = mtu3_readl(mbase, U3D_DEVICE_CONF); in handle_standard_request()
459 dev_conf &= ~DEV_ADDR_MSK; in handle_standard_request()
460 dev_conf |= DEV_ADDR(mtu->address); in handle_standard_request()
461 mtu3_writel(mbase, U3D_DEVICE_CONF, dev_conf); in handle_standard_request()