Home
last modified time | relevance | path

Searched full:roles (Results 1 – 25 of 127) sorted by relevance

123456

/linux/drivers/usb/cdns3/
H A Dcore.c40 if (!cdns->roles[role]) in cdns_role_start()
43 if (cdns->roles[role]->state == CDNS_ROLE_STATE_ACTIVE) in cdns_role_start()
47 ret = cdns->roles[role]->start(cdns); in cdns_role_start()
49 cdns->roles[role]->state = CDNS_ROLE_STATE_ACTIVE; in cdns_role_start()
62 if (cdns->roles[role]->state == CDNS_ROLE_STATE_INACTIVE) in cdns_role_stop()
66 cdns->roles[role]->stop(cdns); in cdns_role_stop()
67 cdns->roles[role]->state = CDNS_ROLE_STATE_INACTIVE; in cdns_role_stop()
289 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init()
295 * cdns_hw_role_switch - switch roles based on HW state
515 if (cdns->roles[cdns->role]->suspend) { in cdns_suspend()
[all …]
H A Dcore.h65 * @roles: array of supported roles for this controller
105 struct cdns_role_driver *roles[USB_ROLE_DEVICE + 1]; member
/linux/drivers/usb/chipidea/
H A Dci.h170 * @roles: array of supported roles for this controller
219 struct ci_role_driver *roles[CI_ROLE_END]; member
272 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role()
273 return ci->roles[ci->role]; in ci_role()
283 if (!ci->roles[role]) in ci_role_start()
286 ret = ci->roles[role]->start(ci); in ci_role_start()
312 ci->roles[role]->stop(ci); in ci_role_stop()
464 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
465 ci->roles[CI_ROLE_GADGET] && (otg_caps->srp_support || in ci_otg_is_fsm_mode()
/linux/drivers/usb/roles/
H A DMakefile3 obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o
4 roles-y := class.o
H A DKconfig12 Say Y here if your USB connectors support both device and host roles.
14 called roles.ko.
/linux/include/scsi/
H A Dscsi_transport_srp.h14 u8 roles; member
38 * @roles: Role of this port - initiator or target.
59 u8 roles; member
H A Dscsi_transport_fc.h143 * FC Port Roles
145 * for reporting (e.g. report roles). If you alter this list,
184 u32 roles; member
200 * A virtual port may support 1 or more FC4 roles. Typically it is a
202 * roles. FC port attributes for the vport will be reported on any
229 u32 roles; member
286 u32 roles; member
366 u32 roles; member
780 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) in fc_remote_port_chkready()
837 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles);
[all...]
/linux/Documentation/mhi/
H A Dtopology.rst20 Below are the roles of the MHI controller driver:
54 Below are the roles of the MHI driver:
/linux/security/selinux/ss/
H A Dpolicydb.h35 * users, roles, types, sensitivities, categories, etc.
78 struct ebitmap dominates; /* set of roles dominated by this role */
122 struct ebitmap roles; /* set of authorized roles for user */ member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dchan.c294 "unhandled ent: %d chanctxs %d roles\n", in rtw89_entity_recalc()
354 /* This function centrally manages how MCC roles are sorted and iterated.
369 struct rtw89_mcc_role * const roles[] = { in rtw89_iterate_mcc_roles() local
376 BUILD_BUG_ON(ARRAY_SIZE(roles) != NUM_OF_RTW89_MCC_ROLES); in rtw89_iterate_mcc_roles()
379 ret = iterator(rtwdev, roles[idx], idx, data); in rtw89_iterate_mcc_roles()
959 "MCC calc ptrn: not support dual limited roles\n"); in rtw89_mcc_calc_pattern()
1227 "MCC dual roles are on 2GHz; consider BT duration\n"); in rtw89_mcc_duration_decision_on_bt()
1235 "MCC dual roles are not on 2GHz; ignore BT duration\n"); in rtw89_mcc_duration_decision_on_bt()
1453 slot_arg->roles[0].role_type = RTW89_H2C_MRC_ROLE_WIFI; in __mrc_fw_add_role()
1454 slot_arg->roles[0].is_master = role == ref; in __mrc_fw_add_role()
[all …]
/linux/Documentation/filesystems/xfs/
H A Dxfs-maintainer-entry-profile.rst23 Roles chapter
25 There are eight key roles in the XFS project.
26 A person can take on multiple roles, and a role can be filled by
/linux/drivers/scsi/bfa/
H A Dbfa_defs_fcs.h72 * Roles of FCS port:
73 * - FCP IM and FCP TM roles cannot be enabled together for a FCS port
90 enum bfa_lport_role roles; /* FCS port roles */ member
H A Dbfad.c433 enum bfa_lport_role roles, struct bfad_vf_s *vf_drv, in bfa_fcb_lport_new() argument
454 port_drv->roles = roles; in bfa_fcb_lport_new()
456 if (roles & BFA_LPORT_ROLE_FCP_IM) { in bfa_fcb_lport_new()
506 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfa_fcb_pbc_vport_create()
658 if (port_cfg->roles & BFA_LPORT_ROLE_FCP_IM) { in bfad_vport_create()
929 bfad->pport.roles |= BFA_LPORT_ROLE_FCP_IM; in bfad_cfg_pport()
942 (bfad->pport.roles & BFA_LPORT_ROLE_FCP_IM)) { in bfad_uncfg_pport()
946 bfad->pport.roles &= ~BFA_LPORT_ROLE_FCP_IM; in bfad_uncfg_pport()
1023 vid.roles = FC_PORT_ROLE_FCP_INITIATOR; in bfad_start_ops()
/linux/drivers/scsi/csiostor/
H A Dcsio_attr.c70 ids.roles = FC_RPORT_ROLE_UNKNOWN; in csio_reg_rnode()
99 ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in csio_reg_rnode()
101 ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in csio_reg_rnode()
103 if (ids.roles != FC_RPORT_ROLE_UNKNOWN) in csio_reg_rnode()
104 fc_remote_port_rolechg(rport, ids.roles); in csio_reg_rnode()
109 rn->nport_id, ids.roles); in csio_reg_rnode()
/linux/drivers/net/wireless/ti/wlcore/
H A Devent.c194 wl1271_debug(DEBUG_EVENT, "%s: roles=0x%lx allowed=0x%lx", in wlcore_event_ba_rx_constraint()
217 wl1271_debug(DEBUG_EVENT, "%s: roles=0x%lx success=%d", in wlcore_event_channel_switch()
321 wl1271_info("Beacon loss detected. roles:0x%lx", roles_bitmap); in wlcore_event_beacon_loss()
/linux/drivers/scsi/libfc/
H A Dfc_rport.c150 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_create()
1052 if (rdata->ids.roles == FC_PORT_ROLE_UNKNOWN) in fc_rport_compatible_roles()
1054 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_TARGET) && in fc_rport_compatible_roles()
1057 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_INITIATOR) && in fc_rport_compatible_roles()
1126 u32 roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp() local
1151 /* reinitialize remote port roles */ in fc_rport_prli_resp()
1152 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp()
1208 roles |= FC_RPORT_ROLE_FCP_INITIATOR; in fc_rport_prli_resp()
1210 roles |= FC_RPORT_ROLE_FCP_TARGET; in fc_rport_prli_resp()
1212 rdata->ids.roles in fc_rport_prli_resp()
[all...]
/linux/include/linux/usb/
H A Dtypec.h131 * @roles: Only for ports. DRP if the mode is available in both roles
141 enum typec_port_data roles; member
/linux/Documentation/sphinx/
H A DrstFlatTable.py35 roles:
46 from docutils.parsers.rst import directives, roles
61 roles.register_local_role('cspan', c_span)
62 roles.register_local_role('rspan', r_span)
/linux/Documentation/devicetree/bindings/phy/
H A Dnvidia,tegra194-xusb-padctl.yaml249 supports switching between USB host and peripheral roles.
287 supports switching between USB host and peripheral roles.
325 supports switching between USB host and peripheral roles.
363 supports switching between USB host and peripheral roles.
H A Dnvidia,tegra210-xusb-padctl.yaml377 supports switching between USB host and peripheral roles.
415 supports switching between USB host and peripheral roles.
453 supports switching between USB host and peripheral roles.
491 supports switching between USB host and peripheral roles.
H A Dnvidia,tegra186-xusb-padctl.yaml258 supports switching between USB host and peripheral roles.
296 supports switching between USB host and peripheral roles.
334 supports switching between USB host and peripheral roles.
H A Dnvidia,tegra124-xusb-padctl.yaml355 supports switching between USB host and peripheral roles.
390 supports switching between USB host and peripheral roles.
425 supports switching between USB host and peripheral roles.
/linux/drivers/usb/typec/
H A Dbus.h18 enum typec_port_data roles; member
/linux/scripts/selinux/mdp/
H A Dmdp.c125 /* types, roles, and allows */ in main()
132 fprintf(fout, "user user_u roles { base_r }"); in main()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-typec7 The supported USB data roles. This attribute can be used for
22 The supported power roles. This attribute can be used to request
346 Space separated list of the supported roles.

123456