Home
last modified time | relevance | path

Searched refs:role_switch (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/usb/chipidea/
A Dotg.c39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
88 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_write_otgsc()
102 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_write_otgsc()
A Dcore.c1153 ci->role_switch = usb_role_switch_register(dev, in ci_hdrc_probe()
1155 if (IS_ERR(ci->role_switch)) { in ci_hdrc_probe()
1156 ret = PTR_ERR(ci->role_switch); in ci_hdrc_probe()
1204 if (ci->role_switch) in ci_hdrc_probe()
1205 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_probe()
1225 if (ci->role_switch) in ci_hdrc_remove()
1226 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_remove()
1297 if ((!IS_ERR(cable_id->edev) || ci->role_switch) in ci_extcon_wakeup_int()
1302 if ((!IS_ERR(cable_vbus->edev) || ci->role_switch) in ci_extcon_wakeup_int()
A Dci.h226 struct usb_role_switch *role_switch; member
A Dci_hdrc_msm.c117 if (!IS_ERR(ci->platdata->vbus_extcon.edev) || ci->role_switch) { in ci_hdrc_msm_notify_event()
/linux-6.3-rc2/net/bluetooth/rfcomm/
A Dsock.c251 pi->role_switch = rfcomm_pi(parent)->role_switch; in rfcomm_sock_init()
258 pi->role_switch = 0; in rfcomm_sock_init()
262 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
412 d->role_switch = rfcomm_pi(sk)->role_switch; in rfcomm_sock_connect()
656 rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); in rfcomm_sock_setsockopt_old()
775 if (rfcomm_pi(sk)->role_switch) in rfcomm_sock_getsockopt_old()
A Dcore.c1336 if (d->role_switch) in rfcomm_dlc_accept()
/linux-6.3-rc2/include/net/bluetooth/
A Drfcomm.h187 u8 role_switch; member
310 u8 role_switch; member
A Dhci.h696 __u8 role_switch; member
/linux-6.3-rc2/drivers/usb/dwc3/
A Ddwc3-meson-g12a.c268 struct usb_role_switch *role_switch; member
628 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_otg_init()
629 if (IS_ERR(priv->role_switch)) in dwc3_meson_g12a_otg_init()
845 usb_role_switch_unregister(priv->role_switch); in dwc3_meson_g12a_remove()
/linux-6.3-rc2/net/bluetooth/
A Dhci_conn.c263 cp.role_switch = 0x01; in hci_acl_create_connection()
265 cp.role_switch = 0x00; in hci_acl_create_connection()

Completed in 44 milliseconds