Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/chipidea/
Dotg.c38 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
56 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
86 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_write_otgsc()
100 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_write_otgsc()
Dcore.c1119 ci->role_switch = usb_role_switch_register(dev, in ci_hdrc_probe()
1121 if (IS_ERR(ci->role_switch)) { in ci_hdrc_probe()
1122 ret = PTR_ERR(ci->role_switch); in ci_hdrc_probe()
1185 if (ci->role_switch) in ci_hdrc_probe()
1186 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_probe()
1206 if (ci->role_switch) in ci_hdrc_remove()
1207 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_remove()
Dci.h221 struct usb_role_switch *role_switch; member
/Linux-v5.4/net/bluetooth/rfcomm/
Dsock.c254 pi->role_switch = rfcomm_pi(parent)->role_switch; in rfcomm_sock_init()
261 pi->role_switch = 0; in rfcomm_sock_init()
265 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
414 d->role_switch = rfcomm_pi(sk)->role_switch; in rfcomm_sock_connect()
679 rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); in rfcomm_sock_setsockopt_old()
797 if (rfcomm_pi(sk)->role_switch) in rfcomm_sock_getsockopt_old()
Dcore.c1299 if (d->role_switch) in rfcomm_dlc_accept()
/Linux-v5.4/drivers/usb/dwc3/
Ddwc3-meson-g12a.c122 struct usb_role_switch *role_switch; member
503 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_probe()
504 if (IS_ERR(priv->role_switch)) in dwc3_meson_g12a_probe()
530 usb_role_switch_unregister(priv->role_switch); in dwc3_meson_g12a_remove()
/Linux-v5.4/include/net/bluetooth/
Drfcomm.h188 u8 role_switch; member
311 u8 role_switch; member
Dhci.h572 __u8 role_switch; member
/Linux-v5.4/net/bluetooth/
Dhci_conn.c224 cp.role_switch = 0x01; in hci_acl_create_connection()
226 cp.role_switch = 0x00; in hci_acl_create_connection()