Home
last modified time | relevance | path

Searched refs:role (Results 1 – 169 of 169) sorted by relevance

/linux-4.1.27/drivers/s390/net/
Dqeth_l2_sys.c31 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
45 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
57 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
78 enum qeth_sbp_roles role; in qeth_bridge_port_role_store() local
83 role = QETH_SBP_ROLE_PRIMARY; in qeth_bridge_port_role_store()
85 role = QETH_SBP_ROLE_SECONDARY; in qeth_bridge_port_role_store()
87 role = QETH_SBP_ROLE_NONE; in qeth_bridge_port_role_store()
94 rc = qeth_bridgeport_setrole(card, role); in qeth_bridge_port_role_store()
96 card->options.sbp.role = role; in qeth_bridge_port_role_store()
98 card->options.sbp.role = role; in qeth_bridge_port_role_store()
[all …]
Dqeth_l2_main.c1476 data->card->options.sbp.role = entry->role; in qeth_bridge_state_change_worker()
1481 (entry->role == QETH_SBP_ROLE_NONE) ? "none" : in qeth_bridge_state_change_worker()
1482 (entry->role == QETH_SBP_ROLE_PRIMARY) ? "primary" : in qeth_bridge_state_change_worker()
1483 (entry->role == QETH_SBP_ROLE_SECONDARY) ? "secondary" : in qeth_bridge_state_change_worker()
1602 enum qeth_sbp_roles *role; member
1738 card->options.sbp.role = QETH_SBP_ROLE_NONE; in qeth_bridgeport_query_support()
1763 if (cbctl->data.qports.role) in qeth_bridgeport_query_ports_cb()
1764 *cbctl->data.qports.role = qports->entry[0].role; in qeth_bridgeport_query_ports_cb()
1782 enum qeth_sbp_roles *role, enum qeth_sbp_states *state) in qeth_bridgeport_query_ports() argument
1790 .role = role, in qeth_bridgeport_query_ports()
[all …]
Dqeth_core.h176 enum qeth_sbp_roles role; member
946 enum qeth_sbp_roles *role, enum qeth_sbp_states *state);
947 int qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role);
Dqeth_core_mpc.h574 __u8 role; member
/linux-4.1.27/drivers/usb/chipidea/
Dci.h207 enum ci_role role; member
253 BUG_ON(ci->role >= CI_ROLE_END || !ci->roles[ci->role]); in ci_role()
254 return ci->roles[ci->role]; in ci_role()
257 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start() argument
261 if (role >= CI_ROLE_END) in ci_role_start()
264 if (!ci->roles[role]) in ci_role_start()
267 ret = ci->roles[role]->start(ci); in ci_role_start()
269 ci->role = role; in ci_role_start()
275 enum ci_role role = ci->role; in ci_role_stop() local
277 if (role == CI_ROLE_END) in ci_role_stop()
[all …]
Dotg.c52 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role() local
56 return role; in ci_otg_role()
73 enum ci_role role = ci_otg_role(ci); in ci_handle_id_switch() local
75 if (role != ci->role) { in ci_handle_id_switch()
77 ci_role(ci)->name, ci->roles[role]->name); in ci_handle_id_switch()
83 ci_role_start(ci, role); in ci_handle_id_switch()
Ddebug.c130 if (ci->role != CI_ROLE_GADGET) { in ci_qheads_show()
176 if (ci->role != CI_ROLE_GADGET) { in ci_requests_show()
303 enum ci_role role; in ci_role_write() local
310 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in ci_role_write()
311 if (ci->roles[role] && in ci_role_write()
312 !strncmp(buf, ci->roles[role]->name, in ci_role_write()
313 strlen(ci->roles[role]->name))) in ci_role_write()
316 if (role == CI_ROLE_END || role == ci->role) in ci_role_write()
320 ret = ci_role_start(ci, role); in ci_role_write()
Dcore.c554 if (ci->role != CI_ROLE_END) in ci_irq()
784 ci->role = ci_otg_role(ci); in ci_hdrc_probe()
793 ci->role = CI_ROLE_GADGET; in ci_hdrc_probe()
796 ci->role = ci->roles[CI_ROLE_HOST] in ci_hdrc_probe()
803 if (ci->role == CI_ROLE_GADGET) in ci_hdrc_probe()
806 ret = ci_role_start(ci, ci->role); in ci_hdrc_probe()
DKconfig5 Say Y here if your system has a dual role high speed USB
Dhost.c178 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy()
/linux-4.1.27/arch/x86/kvm/
Dmmutrace.h13 __field(__u32, role) \
20 __entry->role = sp->role.word; \
29 union kvm_mmu_page_role role; \
31 role.word = __entry->role; \
35 __entry->gfn, role.level, \
36 role.cr4_pae ? " pae" : "", \
37 role.quadrant, \
38 role.direct ? " direct" : "", \
39 access_str[role.access], \
40 role.invalid ? " invalid" : "", \
[all …]
Dmmu.c756 if (!sp->role.direct) in kvm_mmu_page_get_gfn()
759 return sp->gfn + (index << ((sp->role.level - 1) * PT64_LEVEL_BITS)); in kvm_mmu_page_get_gfn()
764 if (sp->role.direct) in kvm_mmu_page_set_gfn()
1045 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level); in rmap_add()
1057 rmapp = gfn_to_rmap(kvm, gfn, sp->role.level); in rmap_remove()
1132 WARN_ON(page_header(__pa(sptep))->role.level == in __drop_large_spte()
1550 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level); in rmap_recycle()
1552 kvm_unmap_rmapp(vcpu->kvm, rmapp, NULL, gfn, sp->role.level, 0); in rmap_recycle()
1620 if (!sp->role.direct) in kvm_mmu_free_page()
1822 if ((_sp)->role.direct || (_sp)->role.invalid) {} else
[all …]
Dmmu_audit.c149 rmapp = gfn_to_rmap(kvm, gfn, rev_sp->role.level); in inspect_spte_has_rmap()
178 if (sp->role.level != PT_PAGE_TABLE_LEVEL) in check_mappings_rmap()
195 if (sp->role.direct || sp->unsync || sp->role.invalid) in audit_write_protection()
205 sp->gfn, sp->role.word); in audit_write_protection()
Dpaging_tmpl.h476 pte_access = sp->role.access & FNAME(gpte_access)(vcpu, gpte); in FNAME()
534 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in FNAME()
537 if (sp->role.direct) in FNAME()
822 WARN_ON(sp->role.level != PT_PAGE_TABLE_LEVEL); in FNAME()
825 offset = sp->role.quadrant << PT64_LEVEL_BITS; in FNAME()
944 BUG_ON(sp->role.direct); in FNAME()
969 pte_access = sp->role.access; in FNAME()
/linux-4.1.27/scripts/
Dget_maintainer.pl948 my $role = "unknown";
962 $role = $pvalue;
967 $role = lc($role);
968 if ($role eq "supported") {
969 $role = "supporter";
970 } elsif ($role eq "maintained") {
971 $role = "maintainer";
972 } elsif ($role eq "odd fixes") {
973 $role = "odd fixer";
974 } elsif ($role eq "orphan") {
[all …]
/linux-4.1.27/tools/lib/traceevent/
Dplugin_kvm.c374 union kvm_mmu_page_role role; in kvm_mmu_print_role() local
379 role.word = (int)val; in kvm_mmu_print_role()
389 role.level, in kvm_mmu_print_role()
390 role.glevels, in kvm_mmu_print_role()
391 role.quadrant, in kvm_mmu_print_role()
392 role.direct ? " direct" : "", in kvm_mmu_print_role()
393 access_str[role.access], in kvm_mmu_print_role()
394 role.invalid ? " invalid" : "", in kvm_mmu_print_role()
395 role.cr4_pge ? "" : "!", in kvm_mmu_print_role()
396 role.nxe ? "" : "!"); in kvm_mmu_print_role()
[all …]
/linux-4.1.27/security/selinux/ss/
Dcontext.h28 u32 role; member
122 dst->role = src->role; in context_cpy()
143 c->user = c->role = c->type = 0; in context_destroy()
157 (c1->role == c2->role) && in context_cmp()
Dservices.c313 val1 = scontext->role; in constraint_expr_eval()
314 val2 = tcontext->role; in constraint_expr_eval()
415 val1 = c->role; in constraint_expr_eval()
697 scontext->role != tcontext->role) { in context_struct_compute_av()
699 if (scontext->role == ra->role && in context_struct_compute_av()
700 tcontext->role == ra->new_role) in context_struct_compute_av()
1032 *scontext_len += strlen(sym_name(&policydb, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string()
1050 sym_name(&policydb, SYM_ROLES, context->role - 1), in context_struct_to_string()
1053 1 + strlen(sym_name(&policydb, SYM_ROLES, context->role - 1)) + in context_struct_to_string()
1152 struct role_datum *role; in string_to_context_struct() local
[all …]
Dpolicydb.c174 struct role_datum *role; in roles_init() local
177 role = kzalloc(sizeof(*role), GFP_KERNEL); in roles_init()
178 if (!role) in roles_init()
182 role->value = ++p->p_roles.nprim; in roles_init()
183 if (role->value != OBJECT_R_VAL) in roles_init()
191 rc = hashtab_insert(p->p_roles.table, key, role); in roles_init()
198 kfree(role); in roles_init()
365 struct role_datum *role; in role_index() local
368 role = datum; in role_index()
370 if (!role->value in role_index()
[all …]
Dpolicydb.h88 u32 role; /* current role */ member
107 u32 role; /* current role */ member
309 extern int policydb_role_isvalid(struct policydb *p, unsigned int role);
Dmls.c201 if (c->role == OBJECT_R_VAL) in mls_context_isvalid()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_state.c76 device->state.role != R_SECONDARY) { in conn_all_vols_unconf()
107 enum drbd_role role = R_UNKNOWN; in conn_highest_role() local
114 role = max_role(role, device->state.role); in conn_highest_role()
118 return role; in conn_highest_role()
241 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg()
446 drbd_role_str(ns.role), in print_st()
476 if (ns.role != os.role && flags & CS_DC_ROLE) in print_state_change()
478 drbd_role_str(os.role), in print_state_change()
479 drbd_role_str(ns.role)); in print_state_change()
566 if (!nc->two_primaries && ns.role == R_PRIMARY) { in is_valid_state()
[all …]
Ddrbd_state.h82 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member
102 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
Ddrbd_proc.c287 state.role == R_SECONDARY) { in drbd_seq_show()
300 drbd_role_str(state.role), in drbd_seq_show()
Ddrbd_nl.c587 mask.i = 0; mask.role = R_MASK; in drbd_set_role()
588 val.i = 0; val.role = new_role; in drbd_set_role()
1219 if (device->state.role == R_PRIMARY && new < now) in drbd_reconsider_max_bio_size()
1688 device->state.role == R_PRIMARY && device->ed_uuid && in drbd_adm_attach()
1738 !(device->state.role == R_PRIMARY && device->resource->susp_nod)) in drbd_adm_attach()
1763 if (device->state.role != R_PRIMARY && in drbd_adm_attach()
1855 if (device->state.role == R_PRIMARY) in drbd_adm_attach()
2034 if (device->state.role == R_PRIMARY && new_net_conf->discard_my_data) in _check_net_options()
2478 if (device->state.role != device->state.peer) in resync_after_online_grow()
2479 iass = (device->state.role == R_PRIMARY); in resync_after_online_grow()
[all …]
DKconfig24 Each minor device has a role, which can be 'primary' or 'secondary'.
Ddrbd_receiver.c2822 if (hg == -1 && device->state.role == R_SECONDARY) in drbd_asb_recover_1p()
2824 if (hg == 1 && device->state.role == R_PRIMARY) in drbd_asb_recover_1p()
2831 return device->state.role == R_PRIMARY ? 1 : -1; in drbd_asb_recover_1p()
2834 if (hg == -1 && device->state.role == R_PRIMARY) { in drbd_asb_recover_1p()
2840 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); in drbd_asb_recover_1p()
2890 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); in drbd_asb_recover_2p()
3172 int pcount = (device->state.role == R_PRIMARY) in drbd_sync_handshake()
3230 device->state.role == R_PRIMARY && device->state.disk >= D_CONSISTENT) { in drbd_sync_handshake()
3893 device->state.role == R_PRIMARY && in receive_uuids()
3921 device->state.role == R_PRIMARY) { in receive_uuids()
[all …]
Ddrbd_main.c1868 if (device->state.role != R_PRIMARY) { in drbd_open()
1896 { .role = R_SECONDARY, in drbd_set_defaults()
3396 if (device->state.role == R_PRIMARY) in __drbd_uuid_set()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_proto_dccp.c449 ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT; in dccp_new()
450 ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; in dccp_new()
487 enum ct_dccp_roles role; in dccp_packet() local
502 role = ct->proto.dccp.role[dir]; in dccp_packet()
504 new_state = dccp_state_table[role][type][old_state]; in dccp_packet()
509 role == CT_DCCP_ROLE_SERVER) { in dccp_packet()
512 ct->proto.dccp.role[dir] = CT_DCCP_ROLE_CLIENT; in dccp_packet()
513 ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_SERVER; in dccp_packet()
535 ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_CLIENT; in dccp_packet()
536 ct->proto.dccp.role[dir] = CT_DCCP_ROLE_SERVER; in dccp_packet()
[all …]
/linux-4.1.27/drivers/media/tuners/
Dit913x.c31 u8 role:2; member
48 dev_dbg(&dev->client->dev, "role %u\n", dev->role); in it913x_init()
164 dev_dbg(&dev->client->dev, "role %u\n", dev->role); in it913x_sleep()
176 if (dev->role == IT913X_ROLE_DUAL_MASTER) in it913x_sleep()
181 dev_dbg(&dev->client->dev, "role %u, len %d\n", dev->role, len); in it913x_sleep()
228 dev->role, c->frequency, c->bandwidth_hz); in it913x_set_params()
411 dev->role = cfg->role; in it913x_probe()
433 dev->chip_ver, dev->role); in it913x_probe()
Dit913x.h51 unsigned int role:2; member
Dtda18271-fe.c65 (priv->role == TDA18271_SLAVE) ? in charge_pump_source()
145 switch (priv->role) { in tda18271_channel_configuration()
168 switch (priv->role) { in tda18271_channel_configuration()
1206 priv->role = (cfg) ? cfg->role : TDA18271_MASTER; in tda18271_setup_configuration()
1318 if (cfg->role) in tda18271_attach()
1319 priv->role = cfg->role; in tda18271_attach()
Dtda18271.h94 enum tda18271_role role; member
Dtda18271-priv.h108 enum tda18271_role role; member
Dtda18271-common.c732 (state->role == TDA18271_MASTER) ? 'M' : 'S', in _tda_printk()
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt10 controllers, or "fsl-usb2-dr" for dual role USB controllers
11 or "fsl,mpc5121-usb2-dr" for dual role USB controllers of MPC5121.
15 "ulpi", or "serial". For dual role USB controllers, should be
58 Example dual role USB controller device node :
70 Example dual role USB controller device node for MPC5121ADS:
Dux500-usb.txt7 - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral"
Dnvidia,tegra20-usb-phy.txt63 - dr_mode : dual role mode. Indicates the working mode for the PHY. Can be
/linux-4.1.27/drivers/staging/wlan-ng/
Dprism2sta.c677 hw->cap_sup_mfi.role = le16_to_cpu(hw->cap_sup_mfi.role); in prism2sta_getcardinfo()
685 hw->cap_sup_mfi.role, hw->cap_sup_mfi.id, in prism2sta_getcardinfo()
700 hw->cap_sup_cfi.role = le16_to_cpu(hw->cap_sup_cfi.role); in prism2sta_getcardinfo()
708 hw->cap_sup_cfi.role, hw->cap_sup_cfi.id, in prism2sta_getcardinfo()
723 hw->cap_sup_pri.role = le16_to_cpu(hw->cap_sup_pri.role); in prism2sta_getcardinfo()
731 hw->cap_sup_pri.role, hw->cap_sup_pri.id, in prism2sta_getcardinfo()
746 hw->cap_sup_sta.role = le16_to_cpu(hw->cap_sup_sta.role); in prism2sta_getcardinfo()
755 hw->cap_sup_sta.role, hw->cap_sup_sta.id, in prism2sta_getcardinfo()
761 hw->cap_sup_sta.role, hw->cap_sup_sta.id, in prism2sta_getcardinfo()
777 hw->cap_act_pri_cfi.role = le16_to_cpu(hw->cap_act_pri_cfi.role); in prism2sta_getcardinfo()
[all …]
Dprism2fw.c307 priid.role = *data++; in prism2_fwapply()
1150 s3info[i].info.compat.role, in validate_identity()
1157 if ((s3info[i].info.compat.role == 1) && in validate_identity()
1166 if ((s3info[i].info.compat.role == 1) && in validate_identity()
1175 if ((s3info[i].info.compat.role == 1) && in validate_identity()
Dhfa384x.h377 u16 role; member
/linux-4.1.27/net/bluetooth/bnep/
Dbnep.h122 __u16 role; member
133 __u16 role; member
158 unsigned int role; member
Dcore.c604 s->role = req->role; in bnep_add_connection()
683 ci->role = s->role; in __bnep_copy_ci()
/linux-4.1.27/arch/arm/mach-omap2/
Domap_hwmod_54xx_data.c355 { .role = "32khz_clk", .clk = "dss_32khz_clk" },
356 { .role = "sys_clk", .clk = "dss_sys_clk" },
357 { .role = "hdmi_clk", .clk = "dss_48mhz_clk" },
402 { .role = "sys_clk", .clk = "dss_sys_clk" },
451 { .role = "sys_clk", .clk = "dss_sys_clk" },
472 { .role = "sys_clk", .clk = "dss_sys_clk" },
512 { .role = "sys_clk", .clk = "dss_sys_clk" },
553 { .role = "ick", .clk = "l3_iclk_div" },
648 { .role = "dbclk", .clk = "gpio1_dbclk" },
670 { .role = "dbclk", .clk = "gpio2_dbclk" },
[all …]
Domap_hwmod_44xx_data.c578 { .role = "sys_clk", .clk = "dss_sys_clk" },
579 { .role = "tv_clk", .clk = "dss_tv_clk" },
580 { .role = "hdmi_clk", .clk = "dss_48mhz_clk" },
690 { .role = "sys_clk", .clk = "dss_sys_clk" },
724 { .role = "sys_clk", .clk = "dss_sys_clk" },
778 { .role = "sys_clk", .clk = "dss_sys_clk" },
832 { .role = "ick", .clk = "l3_div_ck" },
1031 { .role = "dbclk", .clk = "gpio1_dbclk" },
1053 { .role = "dbclk", .clk = "gpio2_dbclk" },
1076 { .role = "dbclk", .clk = "gpio3_dbclk" },
[all …]
Domap_hwmod_7xx_data.c435 { .role = "dss_clk", .clk = "dss_dss_clk" },
436 { .role = "hdmi_phy_clk", .clk = "dss_48mhz_clk" },
437 { .role = "32khz_clk", .clk = "dss_32khz_clk" },
438 { .role = "video2_clk", .clk = "dss_video2_clk" },
439 { .role = "video1_clk", .clk = "dss_video1_clk" },
440 { .role = "hdmi_clk", .clk = "dss_hdmi_clk" },
528 { .role = "sys_clk", .clk = "dss_hdmi_clk" },
614 { .role = "dbclk", .clk = "gpio1_dbclk" },
636 { .role = "dbclk", .clk = "gpio2_dbclk" },
659 { .role = "dbclk", .clk = "gpio3_dbclk" },
[all …]
Domap_hwmod_3xxx_data.c597 { .role = "softreset_uart1_fck", .clk = "uart1_fck" },
639 { .role = "sys_clk", .clk = "dss2_alwon_fck" },
640 { .role = "tv_clk", .clk = "dss_tv_fck" },
642 { .role = "tv_dac_clk", .clk = "dss_96m_fck" },
738 { .role = "sys_clk", .clk = "dss2_alwon_fck" },
759 { .role = "ick", .clk = "dss_ick" },
780 { .role = "tv_dac_clk", .clk = "dss_96m_fck" },
915 { .role = "dbclk", .clk = "gpio1_dbck", },
940 { .role = "dbclk", .clk = "gpio2_dbck", },
965 { .role = "dbclk", .clk = "gpio3_dbck", },
[all …]
Domap_hwmod_2430_data.c259 { .role = "pad_fck", .clk = "mcbsp_clks" },
260 { .role = "prcm_fck", .clk = "func_96m_ck" },
372 { .role = "dbck", .clk = "mmchsdb1_fck" },
400 { .role = "dbck", .clk = "mmchsdb2_fck" },
Domap_hwmod_33xx_data.c212 { .role = "dbg_sysclk", .clk = "dbg_sysclk_ck" },
213 { .role = "dbg_clka", .clk = "dbg_clka_ck" },
251 { .role = "dbclk", .clk = "gpio0_dbclk" },
Domap_hwmod_2420_data.c190 { .role = "pad_fck", .clk = "mcbsp_clks" },
191 { .role = "prcm_fck", .clk = "func_96m_ck" },
Domap_hwmod_2xxx_ipblock_data.c546 { .role = "tv_clk", .clk = "dss_54m_fck" },
547 { .role = "sys_clk", .clk = "dss2_fck" },
588 { .role = "ick", .clk = "dss_ick" },
Domap_hwmod_43xx_data.c79 { .role = "dbclk", .clk = "gpio0_dbclk" },
281 { .role = "dbclk", .clk = "gpio4_dbclk" },
302 { .role = "dbclk", .clk = "gpio5_dbclk" },
Domap_hwmod_81xx_data.c410 { .role = "dbclk", .clk = "sysclk18_ck" },
436 { .role = "dbclk", .clk = "sysclk18_ck" },
792 { .role = "dbck", .clk = "sysclk18_ck", },
Domap_hwmod_33xx_43xx_ipblock_data.c590 { .role = "dbclk", .clk = "gpio1_dbclk" },
611 { .role = "dbclk", .clk = "gpio2_dbclk" },
632 { .role = "dbclk", .clk = "gpio3_dbclk" },
Domap_hwmod.h216 const char *role; member
Domap_device.c109 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev()
Domap_hwmod.c888 pr_debug("omap_hwmod: enable %s:%s\n", oc->role, in _enable_optional_clocks()
903 pr_debug("omap_hwmod: disable %s:%s\n", oc->role, in _disable_optional_clocks()
/linux-4.1.27/net/bluetooth/
Dhci_conn.c77 conn->role = HCI_ROLE_MASTER; in hci_acl_create_connection()
144 if (conn->type == ACL_LINK && conn->role == HCI_ROLE_MASTER) { in hci_disconnect()
421 if (conn->role == HCI_ROLE_SLAVE) { in le_conn_timeout()
433 u8 role) in hci_conn_add() argument
447 conn->role = role; in hci_conn_add()
461 if (conn->role == HCI_ROLE_MASTER) in hci_conn_add()
728 u8 role) in hci_connect_le() argument
785 conn = hci_conn_add(hdev, LE_LINK, dst, role); in hci_connect_le()
809 if (conn->role == HCI_ROLE_SLAVE) { in hci_connect_le()
1100 int hci_conn_switch_role(struct hci_conn *conn, __u8 role) in hci_conn_switch_role() argument
[all …]
Damp.c116 u8 role = out ? HCI_ROLE_MASTER : HCI_ROLE_SLAVE; in phylink_add() local
118 hcon = hci_conn_add(hdev, AMP_LINK, dst, role); in phylink_add()
Dsmp.c900 if (hcon->role == HCI_ROLE_MASTER) in tk_request()
1721 if (conn->hcon->role != HCI_ROLE_SLAVE) in smp_cmd_pairing_req()
1906 if (conn->hcon->role != HCI_ROLE_MASTER) in smp_cmd_pairing_rsp()
2183 key = hci_find_ltk(hcon->hdev, &hcon->dst, hcon->dst_type, hcon->role); in smp_ltk_encrypt()
2216 hci_find_ltk(hcon->hdev, &hcon->dst, hcon->dst_type, hcon->role)) in smp_sufficient_security()
2239 if (hcon->role != HCI_ROLE_MASTER) in smp_cmd_security_req()
2306 if (hcon->role == HCI_ROLE_MASTER) in smp_conn_security()
2342 if (hcon->role == HCI_ROLE_MASTER) { in smp_conn_security()
2907 if (hcon->role != HCI_ROLE_MASTER) in bredr_pairing()
Dhci_event.c110 conn->role = rp->role; in hci_cc_role_discovery()
2379 cp.role = 0x00; /* Become master */ in hci_conn_request_evt()
2381 cp.role = 0x01; /* Remain slave */ in hci_conn_request_evt()
3189 conn->role = ev->role; in hci_role_change_evt()
3193 hci_role_switch_cfm(conn, ev->status, ev->role); in hci_role_change_evt()
4459 conn = hci_conn_add(hdev, LE_LINK, &ev->bdaddr, ev->role); in hci_le_conn_complete_evt()
4944 ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role); in hci_le_ltk_request_evt()
5026 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
Dhci_core.c2259 u8 addr_type, u8 role) in hci_find_ltk() argument
2268 if (smp_ltk_is_sc(k) || ltk_role(k->type) == role) { in hci_find_ltk()
2376 u8 role = ltk_role(type); in hci_add_ltk() local
2378 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk()
Dsco.c732 cp.role = 0x00; /* Ignored */ in sco_conn_defer_accept()
Dl2cap_core.c1493 if (hcon->role == HCI_ROLE_SLAVE && in l2cap_le_conn_ready()
5198 if (hcon->role != HCI_ROLE_MASTER) in l2cap_conn_param_update_req()
7106 u8 role; in l2cap_chan_connect() local
7116 role = HCI_ROLE_SLAVE; in l2cap_chan_connect()
7118 role = HCI_ROLE_MASTER; in l2cap_chan_connect()
7121 HCI_LE_CONN_TIMEOUT, role); in l2cap_chan_connect()
Dmgmt.c6617 u8 status, flags, role, addr[7], hash[16], rand[16]; in read_local_oob_ext_data() local
6714 role = 0x02; in read_local_oob_ext_data()
6716 role = 0x01; in read_local_oob_ext_data()
6719 &role, sizeof(role)); in read_local_oob_ext_data()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_rnode.c457 rn->role = CSIO_RNFR_FABRIC; in csio_rn_verify_rparams()
470 rn->role = CSIO_RNFR_NS; in csio_rn_verify_rparams()
480 rn->role = CSIO_RNFR_NPORT; in csio_rn_verify_rparams()
494 rn->role |= CSIO_RNFR_TARGET; in csio_rn_verify_rparams()
497 rn->role |= CSIO_RNFR_INITIATOR; in csio_rn_verify_rparams()
504 rn->role = 0; in csio_rn_verify_rparams()
557 if (rn->role & CSIO_RNFR_TARGET) in __csio_reg_rnode()
578 if (rn->role & CSIO_RNFR_TARGET) { in __csio_unreg_rnode()
Dcsio_attr.c72 if (rn->role & CSIO_RNFR_INITIATOR || rn->role & CSIO_RNFR_TARGET) { in csio_reg_rnode()
98 if (rn->role & CSIO_RNFR_INITIATOR) in csio_reg_rnode()
100 if (rn->role & CSIO_RNFR_TARGET) in csio_reg_rnode()
126 rn->role &= ~(CSIO_RNFR_INITIATOR | CSIO_RNFR_TARGET); in csio_unreg_rnode()
Dcsio_rnode.h105 uint32_t role; /* Fabric/Target/ member
/linux-4.1.27/drivers/usb/dwc2/
DKconfig13 dwc2_platform.ko. For all modes(host, gadget and dual-role), there
32 comment "Gadget/Dual-role mode requires USB Gadget support to be enabled"
47 Select this option if you want the driver to work in a dual-role
49 the role will be determined by the cable that gets plugged-in. This
/linux-4.1.27/Documentation/virtual/kvm/
Dmmu.txt132 role.level:
135 role.direct:
140 by role.level (2MB for first level, 1GB for second level, 0.5TB for third
144 role.quadrant:
145 When role.cr4_pae=0, the guest uses 32-bit gptes while the host uses 64-bit
148 For first-level shadow pages, role.quadrant can be 0 or 1 and denotes the
152 shadow pages) so role.quadrant takes values in the range 0..3. Each
154 role.access:
157 role.invalid:
161 role.cr4_pae:
[all …]
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-input.c507 while (dev->board.buttons[j].role >= 0 && in em28xx_query_buttons()
508 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_query_buttons()
533 switch (button->role) { in em28xx_query_buttons()
609 while (dev->board.buttons[i].role >= 0 && in em28xx_init_buttons()
610 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_init_buttons()
627 if (button->role == EM28XX_BUTTON_SNAPSHOT) { in em28xx_init_buttons()
631 } else if (button->role == EM28XX_BUTTON_ILLUMINATION) { in em28xx_init_buttons()
Dem28xx.h419 enum em28xx_led_role role; member
432 enum em28xx_button_role role; member
760 enum em28xx_led_role role);
Dem28xx-core.c613 enum em28xx_led_role role) in em28xx_find_led() argument
618 while (dev->board.leds[k].role >= 0 && in em28xx_find_led()
619 dev->board.leds[k].role < EM28XX_NUM_LED_ROLES) { in em28xx_find_led()
620 if (dev->board.leds[k].role == role) in em28xx_find_led()
Dem28xx-cards.c499 .role = EM28XX_BUTTON_SNAPSHOT,
510 .role = EM28XX_BUTTON_SNAPSHOT,
516 .role = EM28XX_BUTTON_ILLUMINATION,
529 .role = EM28XX_LED_ANALOG_CAPTURING,
535 .role = EM28XX_LED_ILLUMINATION,
545 .role = EM28XX_LED_DIGITAL_CAPTURING,
555 .role = EM28XX_LED_DIGITAL_CAPTURING,
Dem28xx-dvb.c872 .role = TDA18271_MASTER,
/linux-4.1.27/include/linux/
Ddrbd.h269 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member
293 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
/linux-4.1.27/include/linux/netfilter/
Dnf_conntrack_dccp.h31 u_int8_t role[IP_CT_DIR_MAX]; member
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_core.c155 role_t role);
270 role_t role, uint32_t status);
1274 if (devinfo.role == ROLE_INITIATOR) { in ahc_handle_seqint()
2218 u_int *period, u_int *ppr_options, role_t role) in ahc_devlimited_syncrate() argument
2247 if (role == ROLE_TARGET) in ahc_devlimited_syncrate()
2391 u_int *offset, int wide, role_t role) in ahc_validate_offset() argument
2408 if (role == ROLE_TARGET) in ahc_validate_offset()
2421 u_int *bus_width, role_t role) in ahc_validate_width() argument
2436 if (role == ROLE_TARGET) in ahc_validate_width()
2773 role_t role; in ahc_fetch_devinfo() local
[all …]
Daic79xx_core.c127 role_t role);
198 role_t role, uint32_t status,
242 role_t role, uint32_t status);
267 u_int tag, role_t role);
2099 if (devinfo.role == ROLE_INITIATOR) { in ahd_handle_seqint()
3699 u_int *period, u_int *ppr_options, role_t role) in ahd_devlimited_syncrate() argument
3722 if (role == ROLE_TARGET) in ahd_devlimited_syncrate()
3788 role_t role) in ahd_validate_offset() argument
3804 if (role == ROLE_TARGET) in ahd_validate_offset()
3817 u_int *bus_width, role_t role) in ahd_validate_width() argument
[all …]
Daic7xxx.h1105 role_t role; /* member
1158 u_int tag, role_t role);
1185 role_t role, uint32_t status,
1203 role_t role);
Daic79xx.h1301 role_t role; /* member
1387 role_t role, uint32_t status,
1399 role_t role);
Daic7xxx_osm.h688 role_t role, uint32_t status);
Daic79xx_osm.h679 role_t role, uint32_t status);
Daic7xxx_osm.c1355 int lun, u_int tag, role_t role, uint32_t status) in ahc_platform_abort_scbs() argument
Daic79xx_osm.c1489 int lun, u_int tag, role_t role, uint32_t status) in ahd_platform_abort_scbs() argument
/linux-4.1.27/Documentation/s390/
Dqeth.txt7 To generate the events the device must be assigned a role of either
19 ROLE={primary|secondary|none} - the role assigned to the port.
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-platform-chipidea-usb-otg16 is using the bus as host role, otherwise 0.
46 is using the bus as host role, otherwise 0.
/linux-4.1.27/drivers/usb/musb/
DKconfig11 Say Y here if your system has a dual role high speed USB
14 it's being used with, including the USB peripheral role,
15 or the USB host role, or both.
/linux-4.1.27/include/net/bluetooth/
Dhci_core.h413 __u8 role; member
654 if (c->role == HCI_ROLE_SLAVE) in hci_conn_hash_add()
680 if (c->role == HCI_ROLE_SLAVE) in hci_conn_hash_del()
799 u8 role);
811 u8 role);
820 int hci_conn_switch_role(struct hci_conn *conn, __u8 role);
986 u8 addr_type, u8 role);
1100 void (*role_switch_cfm) (struct hci_conn *conn, __u8 status, __u8 role);
1189 __u8 role) in hci_role_switch_cfm() argument
1196 cb->role_switch_cfm(conn, status, role); in hci_role_switch_cfm()
Dhci.h531 __u8 role; member
804 __u8 role; member
810 __u8 role; member
1582 __u8 role; member
1840 __u8 role; member
/linux-4.1.27/Documentation/devicetree/bindings/serio/
Dallwinner,sun4i-ps2.txt3 A20 PS2 is dual role controller (PS2 host and PS2 device). These bindings are
/linux-4.1.27/Documentation/devicetree/bindings/iio/
Dsensorhub.txt3 Sensorhub is a MCU which manages several sensors and also plays the role
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Drtl8188e_cmd.h94 u8 role:1; /* 1: Owner, 0: Client */ member
Drtw_mlme.h213 enum P2P_ROLE role; member
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Dclockdomain.txt5 This binding uses the common clock binding[1] in consumer role.
/linux-4.1.27/drivers/usb/core/
DKconfig51 or a host. The initial role is decided by the type of
53 role devices talk to each other.
/linux-4.1.27/Documentation/security/
DSELinux.txt24 kernel, with a single selinux user, role, and type.
Dtomoyo.txt38 The role of "pathname based access control" in security.
/linux-4.1.27/Documentation/blackfin/
Dbfin-spi-notes.txt15 You can even use the same pin whose peripheral role is a SSEL,
/linux-4.1.27/drivers/staging/rtl8723au/include/
Drtl8723a_cmd.h93 u8 role:1; /* 1: Owner, 0: Client */ member
/linux-4.1.27/drivers/usb/isp1760/
DKconfig6 or an ISP1761 USB dual-role controller.
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Ddt_object.h285 struct dt_object *dt, unsigned role);
287 struct dt_object *dt, unsigned role);
1039 unsigned role) in dt_read_lock() argument
1044 dt->do_ops->do_read_lock(env, dt, role); in dt_read_lock()
1049 unsigned role) in dt_write_lock() argument
1054 dt->do_ops->do_write_lock(env, dt, role); in dt_write_lock()
/linux-4.1.27/Documentation/
DCodeOfConflict21 role is, please see:
Dvgaarbiter.txt17 ideally, being a userspace application, it is not the role of the X server to
Dmd.txt139 and its role in the array.
419 This gives the role that the device has in the array. It will
Dinitrd.txt284 The key role of initrd here is to re-use the configuration data during
/linux-4.1.27/Documentation/timers/
Dhpet.txt17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
/linux-4.1.27/Documentation/acpi/
Dscan_handlers.txt15 parsing code (although their role is analogous to the role of those objects).
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dfw.c564 p2p_ps_offload->role = 1; in rtl8723be_set_p2p_ps_offload_cmd()
567 p2p_ps_offload->role = 0; in rtl8723be_set_p2p_ps_offload_cmd()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
Dfw.c579 p2p_ps_offload->role = 1; in rtl8723e_set_p2p_ps_offload_cmd()
582 p2p_ps_offload->role = 0; in rtl8723e_set_p2p_ps_offload_cmd()
/linux-4.1.27/drivers/net/wireless/p54/
Dlmac.h124 __le16 role; member
132 __le16 role; member
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_fcbuild.h173 u16 ox_id, enum bfa_lport_role role);
225 enum bfa_lport_role role);
Dbfad_drv.h301 bfa_status_t bfad_cfg_pport(struct bfad_s *bfad, enum bfa_lport_role role);
Dbfi_ms.h601 u8 role; member
Dbfad.c934 bfad_cfg_pport(struct bfad_s *bfad, enum bfa_lport_role role) in bfad_cfg_pport() argument
940 (role & BFA_LPORT_ROLE_FCP_IM)) { in bfad_cfg_pport()
Dbfa_fcbuild.c417 __be16 ox_id, enum bfa_lport_role role) in fc_prli_acc_build() argument
/linux-4.1.27/drivers/md/
Ddm-raid.c900 int role; in super_init_validation() local
1005 role = le32_to_cpu(sb2->array_position); in super_init_validation()
1006 if (role != r->raid_disk) { in super_init_validation()
1013 role, r->raid_disk); in super_init_validation()
1020 if (failed_devices & (1 << role)) in super_init_validation()
Dmd.c1648 int role; in super_1_validate() local
1651 role = 0xffff; in super_1_validate()
1654 role = le16_to_cpu(sb->dev_roles[rdev->desc_nr]); in super_1_validate()
1655 switch(role) { in super_1_validate()
1662 rdev->saved_raid_disk = role; in super_1_validate()
1671 rdev->raid_disk = role; in super_1_validate()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.h221 u8 role; member
Dfweh.c186 ifevent->flags, ifevent->role); in brcmf_fweh_handle_if_event()
/linux-4.1.27/Documentation/fb/
Dinternals.txt12 The following structures play a role in the game of frame buffer devices. They
Dsisfb.txt21 important role in connection with DRM/DRI: Sisfb manages the memory heap
/linux-4.1.27/Documentation/watchdog/
Dpcwd-watchdog.txt13 The Watchdog Driver has one basic role: to talk to the card and send
/linux-4.1.27/drivers/media/pci/saa7164/
Dsaa7164-dvb.c64 .role = TDA18271_MASTER,
70 .role = TDA18271_SLAVE,
/linux-4.1.27/Documentation/device-mapper/
Dsnapshot.txt52 works with persistent snapshots. This target assumes the role of the
101 A merging snapshot assumes the role of the "snapshot-origin" while
/linux-4.1.27/include/media/
Dsoc_camera.h75 enum soc_camera_subdev_role role; member
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_common.h190 __le16 role; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dfw.c790 p2p_ps_offload->role = 1; in rtl88e_set_p2p_ps_offload_cmd()
793 p2p_ps_offload->role = 0; in rtl88e_set_p2p_ps_offload_cmd()
/linux-4.1.27/Documentation/usb/
Dchipidea.txt33 B-device should take host role and enumrate A-device.
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dfw.c812 p2p_ps_offload->role = 1; in rtl92ee_set_p2p_ps_offload_cmd()
815 p2p_ps_offload->role = 0; in rtl92ee_set_p2p_ps_offload_cmd()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.c840 p2p_ps_offload->role = 1; in rtl92c_set_p2p_ps_offload_cmd()
843 p2p_ps_offload->role = 0; in rtl92c_set_p2p_ps_offload_cmd()
/linux-4.1.27/Documentation/power/
Dpci.txt351 The PCI subsystem plays a vital role in the runtime power management of PCI
708 general may be registered at any time. In that case the role of the prepare()
763 The role of this callback is analogous to the role of the suspend() callback
781 The role of this callback is analogous to the role of the suspend_noirq()
795 The role of this callback is analogous to the role of the suspend() and freeze()
809 The role of this callback is analogous to the role of the suspend_noirq() and
848 The role of this callback is analogous to the role of resume_noirq(). The
Ddevices.txt31 by implementing various role-specific suspend and resume methods to
57 various role-specific suspend and resume methods, so that the hardware
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_hwi.c78 if (phy->sas_phy.role & PHY_ROLE_INITIATOR) in asd_init_phy_identify()
80 if (phy->sas_phy.role & PHY_ROLE_TARGET) in asd_init_phy_identify()
97 sas_phy->role = PHY_ROLE_INITIATOR; in asd_init_phy()
Daic94xx_scb.c796 if (phy->sas_phy.role == PHY_ROLE_INITIATOR) in asd_build_control_phy()
798 else if (phy->sas_phy.role == PHY_ROLE_TARGET) in asd_build_control_phy()
/linux-4.1.27/Documentation/scsi/
Dscsi_fc_transport.txt53 be specified for the vport, with FCP_Initiator being the primary role
176 vport with the role of FCP_Initiator. Each WWN is specified as 16
354 - If the role is FCP Initiator, the LLDD is to :
420 be followed. E.g. If the vport has a FCP Initiator role, the LLDD
Dosst.txt7 It is intended to help advanced users to understand the role of osst and to
Dlibsas.txt68 class, proto, type, role, oob_mode, linkrate -- must be set
DChangeLog.lpfc334 * rport fixes: when receiving PRLI's, set node/rport role values
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Daf9035.c1463 it913x_config.role = IT913X_ROLE_DUAL_MASTER; in af9035_tuner_attach()
1465 it913x_config.role = IT913X_ROLE_DUAL_SLAVE; in af9035_tuner_attach()
1488 it913x_config.role = IT913X_ROLE_DUAL_MASTER; in af9035_tuner_attach()
1490 it913x_config.role = IT913X_ROLE_DUAL_SLAVE; in af9035_tuner_attach()
/linux-4.1.27/arch/arm/kvm/
Dinterrupts.S191 @ Reset Hyp-role
/linux-4.1.27/arch/arm/boot/dts/
Dimx51-digi-connectcore-som.dtsi204 /* Device role is not known, keep status disabled */
/linux-4.1.27/include/scsi/
Dlibsas.h338 enum sas_phy_role role; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dfw.c1775 p2p_ps_offload->role = 1; in rtl8821ae_set_p2p_ps_offload_cmd()
1778 p2p_ps_offload->role = 0; in rtl8821ae_set_p2p_ps_offload_cmd()
/linux-4.1.27/Documentation/arm/
Dvlocks.txt68 whether an election is in progress, and plays a role analogous to the
Dcluster-pm-race-avoidance.txt433 attempts to play the first man role and do the cluster-level
/linux-4.1.27/drivers/usb/phy/
DKconfig162 implements role switch between EHCI host driver and gadget driver.
/linux-4.1.27/drivers/usb/gadget/legacy/
DKconfig49 the "B-Peripheral" role, that device will use HNP to let this
50 one serve as the USB host instead (in the "B-Host" role).
/linux-4.1.27/drivers/target/
Dtarget_core_stat.c102 DEV_STAT_SCSI_DEV_ATTR_RO(role);
624 DEV_STAT_SCSI_PORT_ATTR_RO(role);
/linux-4.1.27/Documentation/driver-model/
Dplatform.txt102 on a non-driver role: the driver registers its platform device, rather than
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_init.c104 sas_phy->role = PHY_ROLE_INITIATOR; in mvs_phy_init()
/linux-4.1.27/Documentation/development-process/
D3.Early-stage134 that role currently. So, when there is doubt about who to contact, a
D4.Coding134 More recent compilers take an increasingly active role in deciding whether
/linux-4.1.27/arch/x86/include/asm/
Dkvm_host.h223 union kvm_mmu_page_role role; member
/linux-4.1.27/drivers/scsi/isci/
Dphy.c1414 iphy->sas_phy.role = PHY_ROLE_INITIATOR; in isci_phy_init()
/linux-4.1.27/Documentation/fmc/
Dcarrier.txt256 If, however, your GPIO pin has a specific known role, you can pass a
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_init.c130 sas_phy->role = PHY_ROLE_INITIATOR; in pm8001_phy_init()
/linux-4.1.27/Documentation/rapidio/
Drapidio.txt154 routine depending on the configured role of a master port: host or agent.
/linux-4.1.27/drivers/spi/
DKconfig5 # nobody's needed a slave side API yet. The master-role API is not
/linux-4.1.27/Documentation/filesystems/
DLocking249 WBC_SYNC_NONE) then its role is to get as much writeout underway as
Dcoda.txt406 Before going on let us elucidate the role of the various fields. The
448 detailed description of the role of the SCM.--)
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt452 its role and imperative given its nature. Some of the cgroup features
/linux-4.1.27/drivers/usb/host/
DKconfig9 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_camera.c1518 if (sasd->role == SOCAM_SUBDEV_DATA_SOURCE) in scan_async_group()
/linux-4.1.27/drivers/gpio/
DKconfig556 Port Expanders. Each IO port on these chips has a fixed role of
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dwifi.h1141 u8 role:1; /* 1: Owner, 0: Client */ member
/linux-4.1.27/drivers/staging/speakup/
Dspkguide.txt1357 Version filling the role of the Document, thus licensing distribution
/linux-4.1.27/Documentation/networking/
Dbonding.txt438 to this MAC address while they are in a backup role; a
/linux-4.1.27/
DMAINTAINERS86 role as you write your new code].