/linux/drivers/usb/cdns3/ |
H A D | core.c | 40 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 D | core.h | 65 * @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 D | ci.h | 170 * @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 D | Makefile | 3 obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o 4 roles-y := class.o
|
H A D | Kconfig | 12 Say Y here if your USB connectors support both device and host roles. 14 called roles.ko.
|
/linux/include/scsi/ |
H A D | scsi_transport_srp.h | 14 u8 roles; member 38 * @roles: Role of this port - initiator or target. 59 u8 roles; member
|
H A D | scsi_transport_fc.h | 143 * 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 D | topology.rst | 20 Below are the roles of the MHI controller driver: 54 Below are the roles of the MHI driver:
|
/linux/security/selinux/ss/ |
H A D | policydb.h | 35 * 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 D | chan.c | 294 "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 D | xfs-maintainer-entry-profile.rst | 23 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 D | bfa_defs_fcs.h | 72 * 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 D | bfad.c | 433 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 D | csio_attr.c | 70 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 D | event.c | 194 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 D | fc_rport.c | 150 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 D | typec.h | 131 * @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 D | rstFlatTable.py | 35 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 D | nvidia,tegra194-xusb-padctl.yaml | 249 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 D | nvidia,tegra210-xusb-padctl.yaml | 377 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 D | nvidia,tegra186-xusb-padctl.yaml | 258 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 D | nvidia,tegra124-xusb-padctl.yaml | 355 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 D | bus.h | 18 enum typec_port_data roles; member
|
/linux/scripts/selinux/mdp/ |
H A D | mdp.c | 125 /* types, roles, and allows */ in main() 132 fprintf(fout, "user user_u roles { base_r }"); in main()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-typec | 7 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.
|