Home
last modified time | relevance | path

Searched refs:roles (Results 1 – 25 of 46) sorted by relevance

12

/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/drivers/usb/chipidea/
H A Dcore.c638 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_get_role()
651 role = ci->roles[CI_ROLE_HOST] ? CI_ROLE_HOST in ci_get_role()
932 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()
934 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role()
936 else if (ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()
947 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()
985 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGE in role_store()
[all...]
/linux/include/scsi/
H A Dscsi_transport_srp.h14 u8 roles; member
59 u8 roles; member
/linux/drivers/scsi/
H A Dscsi_transport_fc.c301 * Define roles that are specific to port_id. Values are relative to ROLE_MASK.
762 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_pname_stats_update()
763 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_pname_stats_update()
790 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_li_stats_update()
791 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_li_stats_update()
826 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_delivery_stats_update()
827 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_delivery_stats_update()
857 (rport->roles & FC_PORT_ROLE_FCP_TARGET || in fc_fpin_peer_congn_stats_update()
858 rport->roles & FC_PORT_ROLE_NVME_TARGET)) { in fc_fpin_peer_congn_stats_update()
1207 /* identify any roles tha in show_fc_rport_roles()
3543 fc_remote_port_rolechg(struct fc_rport * rport,u32 roles) fc_remote_port_rolechg() argument
[all...]
/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/scsi/libfc/
H A Dfc_rport.c150 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_create()
1053 if (rdata->ids.roles == FC_PORT_ROLE_UNKNOWN) in fc_rport_compatible_roles()
1055 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_TARGET) && in fc_rport_compatible_roles()
1058 if ((rdata->ids.roles & FC_PORT_ROLE_FCP_INITIATOR) && in fc_rport_compatible_roles()
1127 u32 roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp()
1152 /* reinitialize remote port roles */ in fc_rport_prli_resp()
1153 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_prli_resp()
1209 roles |= FC_RPORT_ROLE_FCP_INITIATOR; in fc_rport_prli_resp()
1211 roles |= FC_RPORT_ROLE_FCP_TARGET; in fc_rport_prli_resp()
1213 rdata->ids.roles in fc_rport_prli_resp()
1126 u32 roles = FC_RPORT_ROLE_UNKNOWN; fc_rport_prli_resp() local
[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/drivers/scsi/bfa/
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()
910 bfad->pport.roles |= BFA_LPORT_ROLE_FCP_IM; in bfad_cfg_pport()
923 (bfad->pport.roles & BFA_LPORT_ROLE_FCP_IM)) { in bfad_uncfg_pport()
927 bfad->pport.roles &= ~BFA_LPORT_ROLE_FCP_IM; in bfad_uncfg_pport()
1004 vid.roles = FC_PORT_ROLE_FCP_INITIATOR; in bfad_start_ops()
H A Dbfad_im.c1071 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in bfad_im_fc_rport_add()
1086 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in bfad_im_fc_rport_add()
1088 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in bfad_im_fc_rport_add()
1089 fc_remote_port_rolechg(fc_rport, rport_ids.roles); in bfad_im_fc_rport_add()
H A Dbfa_defs.h493 u16 roles; /* Logical port mode,IM/TM/IP etc */ member
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c391 rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET && in bnx2fc_init_tgt()
392 !(rdata->ids.roles & FC_RPORT_ROLE_FCP_INITIATOR)) { in bnx2fc_init_tgt()
476 if (!(rdata->ids.roles & FC_RPORT_ROLE_FCP_TARGET)) { in bnx2fc_rport_event_handler()
/linux/drivers/message/fusion/
H A Dmptfc.c454 rid->roles = FC_RPORT_ROLE_UNKNOWN; in mptfc_generate_rport_ids()
468 u32 roles = FC_RPORT_ROLE_UNKNOWN; in mptfc_register_dev() local
473 roles |= FC_RPORT_ROLE_FCP_TARGET; in mptfc_register_dev()
475 roles |= FC_RPORT_ROLE_FCP_INITIATOR; in mptfc_register_dev()
519 fc_remote_port_rolechg(rport,roles); in mptfc_register_dev()
/linux/drivers/nvme/target/
H A Dfcloop.c30 u32 roles; member
39 { NVMF_OPT_ROLES, "roles=%d" },
98 opts->roles = token; in fcloop_parse_options()
1227 pinfo.port_role = opts->roles; in fcloop_create_local_port()
1377 newnport->port_role = opts->roles; in fcloop_alloc_nport()
1414 nport->port_role = opts->roles; in fcloop_alloc_nport()
/linux/Documentation/ABI/stable/
H A Dsysfs-class-udc39 but HNP was used to switch roles.
H A Dsysfs-transport-srp41 What: /sys/class/srp_remote_ports/port-<h>:<n>/roles
/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 */
123 struct ebitmap roles; /* set of authorized roles for user */
122 struct ebitmap roles; /* set of authorized roles for user */ global() member
H A Dpolicydb.c46 "roles",
294 ebitmap_destroy(&usrdatum->roles); in user_destroy()
743 ebitmap_for_each_positive_bit(&usr->roles, node, bit) { in policydb_index()
827 "SELinux: %d users, %d roles, %d types, %d bools, %d sens, %d cats\n", in policydb_destroy()
831 pr_debug("SELinux: %d users, %d roles, %d types, %d bools\n", in policydb_destroy()
1166 if (!ebitmap_get_bit(&usrdatum->roles, c->role - 1)) in context_read_and_validate()
1918 rc = ebitmap_read(&usrdatum->roles, fp); in cat_read()
2060 ebitmap_for_each_positive_bit(&user->roles, node, bit) in policydb_bounds_sanity_check()
2062 if (ebitmap_get_bit(&upper->roles, bit)) in policydb_bounds_sanity_check()
3742 rc = ebitmap_write(&usrdatum->roles, f in ocontext_write()
[all...]
/linux/Documentation/driver-api/usb/
H A Dtypec.rst22 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/drivers/usb/
H A DKconfig160 source "drivers/usb/roles/Kconfig"
/linux/drivers/usb/typec/
H A DKconfig40 both roles are supported.
/linux/Documentation/filesystems/nfs/
H A Dnfsd-maintainer-entry-profile.rst485 Community roles and their authority
493 define the community roles here.
514 One or more people will take on the following roles. These people
/linux/Documentation/arch/arm/
H A Dcluster-pm-race-avoidance.rst272 which exact CPUs within the cluster play these roles. This must
453 mechanism to choose which CPUs should play these roles.
/linux/Documentation/input/devices/
H A Diforce-protocol.rst31 values inside packets are encoded using little-endian. Bytes whose roles are
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c12158 slot_h2c->roles[i].w0 = in fw_txpwr_lmt_2ghz_entry_valid()
12159 le32_encode_bits(slot_arg->roles[i].macid, in fw_txpwr_lmt_2ghz_entry_valid()
12161 le32_encode_bits(slot_arg->roles[i].role_type, in fw_txpwr_lmt_2ghz_entry_valid()
12163 le32_encode_bits(slot_arg->roles[i].is_master, in fw_txpwr_lmt_2ghz_entry_valid()
12165 le32_encode_bits(slot_arg->roles[i].en_tx_null, in fw_txpwr_lmt_2ghz_entry_valid()
12171 slot_h2c->roles[i].w1 = in rtw89_fw_load_txpwr_lmt_2ghz()
12172 le32_encode_bits(slot_arg->roles[i].central_ch, in rtw89_fw_load_txpwr_lmt_2ghz()
12174 le32_encode_bits(slot_arg->roles[i].primary_ch, in rtw89_fw_load_txpwr_lmt_2ghz()
12176 le32_encode_bits(slot_arg->roles[i].bw, in rtw89_fw_load_txpwr_lmt_2ghz()
12178 le32_encode_bits(slot_arg->roles[ in rtw89_fw_load_txpwr_lmt_2ghz()
[all...]

12