Searched refs:role_switch (Results 1 – 5 of 5) sorted by relevance
251 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() 406 d->role_switch = rfcomm_pi(sk)->role_switch; in rfcomm_sock_connect() 649 rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); in rfcomm_sock_setsockopt_old() 765 if (rfcomm_pi(sk)->role_switch) in rfcomm_sock_getsockopt_old()
1336 if (d->role_switch) in rfcomm_dlc_accept()
187 u8 role_switch; member310 u8 role_switch; member
262 struct usb_role_switch *role_switch; member619 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_otg_init()620 if (IS_ERR(priv->role_switch)) in dwc3_meson_g12a_otg_init()838 usb_role_switch_unregister(priv->role_switch); in dwc3_meson_g12a_remove()
6959 cp.role_switch = 0x01; in hci_acl_create_conn_sync()6961 cp.role_switch = 0x00; in hci_acl_create_conn_sync()