/linux-6.14.4/drivers/usb/cdns3/ |
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 …]
|
D | core.h | 65 * @roles: array of supported roles for this controller 105 struct cdns_role_driver *roles[USB_ROLE_DEVICE + 1]; member
|
/linux-6.14.4/drivers/usb/chipidea/ |
D | ci.h | 171 * @roles: array of supported roles for this controller 220 struct ci_role_driver *roles[CI_ROLE_END]; member 274 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role() 275 return ci->roles[ci->role]; in ci_role() 285 if (!ci->roles[role]) in ci_role_start() 288 ret = ci->roles[role]->start(ci); in ci_role_start() 314 ci->roles[role]->stop(ci); in ci_role_stop() 466 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode() 467 ci->roles[CI_ROLE_GADGET] && (otg_caps->srp_support || in ci_otg_is_fsm_mode()
|
D | core.c | 651 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_get_role() 664 role = ci->roles[CI_ROLE_HOST] ? CI_ROLE_HOST in ci_get_role() 952 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role() 954 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role() 956 else if (ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role() 967 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy() 1005 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store() 1011 if (!strncmp(buf, ci->roles[role]->name, in role_store() 1012 strlen(ci->roles[role]->name))) in role_store() 1179 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe() [all …]
|
/linux-6.14.4/drivers/usb/roles/ |
D | Makefile | 3 obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o 4 roles-y := class.o
|
D | Kconfig | 12 Say Y here if your USB connectors support both device and host roles. 14 called roles.ko.
|
/linux-6.14.4/drivers/scsi/ |
D | scsi_transport_fc.c | 300 * Define roles that are specific to port_id. Values are relative to ROLE_MASK. 766 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_li_stats_update() 767 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_li_stats_update() 779 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_li_stats_update() 780 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_li_stats_update() 813 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_delivery_stats_update() 814 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_delivery_stats_update() 846 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_peer_congn_stats_update() 847 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_peer_congn_stats_update() 859 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_peer_congn_stats_update() [all …]
|
/linux-6.14.4/include/scsi/ |
D | scsi_transport_srp.h | 14 u8 roles; member 38 * @roles: Role of this port - initiator or target. 59 u8 roles; member
|
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);
|
/linux-6.14.4/Documentation/mhi/ |
D | topology.rst | 20 Below are the roles of the MHI controller driver: 54 Below are the roles of the MHI driver:
|
/linux-6.14.4/security/selinux/ss/ |
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-6.14.4/drivers/net/wireless/realtek/rtw89/ |
D | chan.c | 403 "%s: active roles are over max iface num\n", in rtw89_entity_recalc_mgnt_roles() 456 "unhandled ent: %d chanctxs %d roles\n", in rtw89_entity_recalc() 518 /* This function centrally manages how MCC roles are sorted and iterated. 533 struct rtw89_mcc_role * const roles[] = { in rtw89_iterate_mcc_roles() local 540 BUILD_BUG_ON(ARRAY_SIZE(roles) != NUM_OF_RTW89_MCC_ROLES); in rtw89_iterate_mcc_roles() 543 ret = iterator(rtwdev, roles[idx], idx, data); in rtw89_iterate_mcc_roles() 916 rtw89_err(rtwdev, "mcc fill roles: find no link on HW-0\n"); in rtw89_mcc_fill_all_roles() 1150 "MCC calc ptrn: not support dual limited roles\n"); in rtw89_mcc_calc_pattern() 1418 "MCC dual roles are on 2GHz; consider BT duration\n"); in rtw89_mcc_duration_decision_on_bt() 1426 "MCC dual roles are not on 2GHz; ignore BT duration\n"); in rtw89_mcc_duration_decision_on_bt() [all …]
|
/linux-6.14.4/Documentation/filesystems/xfs/ |
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-6.14.4/drivers/scsi/bfa/ |
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
|
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() 909 bfad->pport.roles |= BFA_LPORT_ROLE_FCP_IM; in bfad_cfg_pport() 922 (bfad->pport.roles & BFA_LPORT_ROLE_FCP_IM)) { in bfad_uncfg_pport() 926 bfad->pport.roles &= ~BFA_LPORT_ROLE_FCP_IM; in bfad_uncfg_pport() 1003 vid.roles = FC_PORT_ROLE_FCP_INITIATOR; in bfad_start_ops()
|
/linux-6.14.4/drivers/scsi/csiostor/ |
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-6.14.4/drivers/net/wireless/ti/wlcore/ |
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-6.14.4/drivers/scsi/libfc/ |
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 = roles; in fc_rport_prli_resp() [all …]
|
/linux-6.14.4/Documentation/sphinx/ |
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-6.14.4/Documentation/devicetree/bindings/phy/ |
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.
|
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.
|
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.
|
/linux-6.14.4/include/linux/usb/ |
D | typec.h | 142 * @roles: Only for ports. DRP if the mode is available in both roles 153 enum typec_port_data roles; member
|
/linux-6.14.4/drivers/usb/typec/ |
D | bus.h | 18 enum typec_port_data roles; member
|
/linux-6.14.4/drivers/net/ethernet/intel/ice/ |
D | ice_lag.h | 9 /* LAG roles for netdev */
|