Searched refs:role_switch (Results 1 – 6 of 6) sorted by relevance
261 pi->role_switch = rfcomm_pi(parent)->role_switch; in rfcomm_sock_init() 268 pi->role_switch = 0; in rfcomm_sock_init() 272 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init() 416 d->role_switch = rfcomm_pi(sk)->role_switch; in rfcomm_sock_connect() 664 rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); in rfcomm_sock_setsockopt_old() 780 if (rfcomm_pi(sk)->role_switch) in rfcomm_sock_getsockopt_old()
1333 if (d->role_switch) in rfcomm_dlc_accept()
1180 ci->role_switch = usb_role_switch_register(dev, in ci_hdrc_probe() 1182 if (IS_ERR(ci->role_switch)) { in ci_hdrc_probe() 1183 ret = PTR_ERR(ci->role_switch); in ci_hdrc_probe() 1228 if (ci->role_switch) in ci_hdrc_probe() 1229 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_probe() 1249 if (ci->role_switch) in ci_hdrc_remove() 1250 usb_role_switch_unregister(ci->role_switch); in ci_hdrc_remove() 1319 if ((!IS_ERR(cable_id->edev) || ci->role_switch) in ci_extcon_wakeup_int() 1324 if ((!IS_ERR(cable_vbus->edev) || ci->role_switch) in ci_extcon_wakeup_int()
184 u8 role_switch;307 u8 role_switch;187 u8 role_switch; global() member 310 u8 role_switch; global() 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()
7003 cp.role_switch = 0x01; in create_le_conn_complete() 7005 cp.role_switch = 0x00; in create_le_conn_complete()