| /linux/drivers/usb/chipidea/ |
| H A D | core.c | 652 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_get_role() 665 role = ci->roles[CI_ROLE_HOST] ? CI_ROLE_HOST in ci_get_role() 955 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role() 957 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role() 959 else if (ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role() 970 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy() 1008 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store() 1014 if (!strncmp(buf, ci->roles[role]->name, in role_store() 1015 strlen(ci->roles[role]->name))) in role_store() 1182 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe() [all …]
|
| /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/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 300 * Define roles that are specific to port_id. Values are relative to ROLE_MASK. 760 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_li_stats_update() 761 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_li_stats_update() 773 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_li_stats_update() 774 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_li_stats_update() 807 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_delivery_stats_update() 808 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_delivery_stats_update() 840 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_peer_congn_stats_update() 841 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_peer_congn_stats_update() 853 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_peer_congn_stats_update() [all …]
|
| H A D | scsi_transport_srp.c | 147 if (srp_rport_role_names[i].value == rport->roles) { in show_srp_rport_roles() 154 static DEVICE_ATTR(roles, S_IRUGO, show_srp_rport_roles, NULL); 715 rport->roles = ids->roles; in srp_rport_add()
|
| /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
|
| /linux/drivers/usb/cdns3/ |
| H A D | core.h | 65 * @roles: array of supported roles for this controller 107 struct cdns_role_driver *roles[USB_ROLE_DEVICE + 1]; member
|
| /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/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 = roles; in fc_rport_prli_resp() [all …]
|
| /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/include/linux/usb/ |
| H A D | typec.h | 142 * @roles: Only for ports. DRP if the mode is available in both roles 153 enum typec_port_data roles; member
|
| H A D | otg.h | 6 * (for either host or peripheral roles) don't use these calls; they
|
| /linux/drivers/usb/typec/ |
| H A D | bus.h | 18 enum typec_port_data roles; member
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-coremask.h | 13 * initialization and differentiation of roles within a single shared binary
|
| /linux/drivers/nvme/target/ |
| H A D | fcloop.c | 30 u32 roles; member 39 { NVMF_OPT_ROLES, "roles=%d" }, 98 opts->roles = token; in fcloop_parse_options() 1218 pinfo.port_role = opts->roles; in fcloop_create_local_port() 1368 newnport->port_role = opts->roles; in fcloop_alloc_nport() 1405 nport->port_role = opts->roles; in fcloop_alloc_nport()
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-class-udc | 39 but HNP was used to switch roles.
|
| H A D | sysfs-transport-srp | 41 What: /sys/class/srp_remote_ports/port-<h>:<n>/roles
|
| /linux/Documentation/driver-api/usb/ |
| H A D | typec.rst | 22 the roles and alternate modes of ports, partners and cable plugs when the port 135 When the partner has executed a role change, or when the default roles change
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-maintainer-entry-profile.rst | 485 Community roles and their authority 493 define the community roles here. 514 One or more people will take on the following roles. These people
|