/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_lag.h | 49 u8 role; member in struct:ice_lag
|
H A D | ice_lag.c | 39 if (lag->role != ICE_LAG_UNSET && lag->role != ICE_LAG_BACKUP) { 45 lag->role = ICE_LAG_PRIMARY; 59 if (lag->role != ICE_LAG_UNSET && lag->role != ICE_LAG_PRIMARY) { 65 lag->role = ICE_LAG_BACKUP; 336 const char *name, *upper, *role, *bonded, *primary; local 344 switch (lag->role) { 346 role = "NONE"; 349 role [all...] |
/linux-master/security/selinux/ss/ |
H A D | policydb.c | 257 struct role_datum *role; local 261 role = datum; 262 ebitmap_destroy(&role->dominates); 263 ebitmap_destroy(&role->types); 377 * Initialize the role table. 383 struct role_datum *role; local 385 role = kzalloc(sizeof(*role), GFP_KERNEL); 386 if (!role) 390 role 576 struct role_datum *role; local 929 policydb_role_isvalid(struct policydb *p, unsigned int role) argument 949 struct role_datum *role; local 1407 struct role_datum *role; local 1713 struct role_datum *upper, *role; local 3162 struct role_datum *role = datum; local [all...] |
H A D | policydb.h | 57 /* Options how a new object user, role, and type should be decided */ 76 u32 value; /* internal role value */ 77 u32 bounds; /* boundary of role */ 78 struct ebitmap dominates; /* set of roles dominated by this role */ 79 struct ebitmap types; /* set of authorized types for role */ 83 u32 role; /* current role */ member in struct:role_trans_key 89 u32 new_role; /* new role */ 105 u32 role; /* current role */ member in struct:role_allow [all...] |
H A D | services.c | 307 val1 = scontext->role; 308 val2 = tcontext->role; 409 val1 = c->role; 692 * role is changing, then check the (current_role, new_role) 697 scontext->role != tcontext->role) { 699 if (scontext->role == ra->role && 700 tcontext->role == ra->new_role) 1235 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role 1432 struct role_datum *role; local 2005 struct role_datum *role; local 2715 struct role_datum *role; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | bf.c | 17 if (bfee->role == RTW_BFEE_NONE) 20 if (bfee->role == RTW_BFEE_MU) 22 else if (bfee->role == RTW_BFEE_SU) 27 bfee->role = RTW_BFEE_NONE; 72 bfee->role = RTW_BFEE_MU; 90 bfee->role = RTW_BFEE_SU; 322 if (bfee->role != RTW_BFEE_MU) {
|
/linux-master/scripts/ |
H A D | get_maintainer.pl | 1276 my $role = "unknown"; 1285 $role = $pvalue; 1290 $role = lc($role); 1291 if ($role eq "supported") { 1292 $role = "supporter"; 1293 } elsif ($role eq "maintained") { 1294 $role = "maintainer"; 1295 } elsif ($role eq "odd fixes") { 1296 $role [all...] |
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 366 struct rtw89_mcc_role *role, u64 tsf) 368 struct rtw89_vif *rtwvif = role->rtwvif; 369 u32 bcn_intvl_us = ieee80211_tu_to_usec(role->beacon_interval); 573 "MCC role limit: mismatch interval: %d vs. %d\n", 591 "MCC role limit: hit boundary\n"); 597 "MCC role limit: insufficient duration\n"); 607 "MCC role limit: max_toa %d, max_tob %d, max_dur %d\n", 614 struct rtw89_mcc_role *role) 619 memset(role, 0, sizeof(*role)); 365 rtw89_mcc_get_tbtt_ofst(struct rtw89_dev *rtwdev, struct rtw89_mcc_role *role, u64 tsf) argument 612 rtw89_mcc_fill_role(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, struct rtw89_mcc_role *role) argument 1360 __mcc_fw_add_role(struct rtw89_dev *rtwdev, struct rtw89_mcc_role *role) argument 1414 __mrc_fw_add_role(struct rtw89_dev *rtwdev, struct rtw89_mcc_role *role, struct rtw89_fw_mrc_add_arg *arg, u8 slot_idx) argument [all...] |
/linux-master/drivers/extcon/ |
H A D | extcon-intel-cht-wc.c | 22 #include <linux/usb/role.h> 283 enum usb_role role; local 331 role = USB_ROLE_HOST; 333 role = USB_ROLE_DEVICE; 335 role = USB_ROLE_NONE; 338 ret = usb_role_switch_set_role(ext->role_sw, role); 340 dev_err(ext->dev, "Error setting USB-role: %d\n", ret); 412 /* Some boards require controlling the role-sw and Vbus based on the id-pin */
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_rnode.c | 457 rn->role = CSIO_RNFR_FABRIC; 470 rn->role = CSIO_RNFR_NS; 480 rn->role = CSIO_RNFR_NPORT; 494 rn->role |= CSIO_RNFR_TARGET; 497 rn->role |= CSIO_RNFR_INITIATOR; 504 rn->role = 0; 557 if (rn->role & CSIO_RNFR_TARGET) 578 if (rn->role & CSIO_RNFR_TARGET) {
|
H A D | csio_rnode.h | 81 /* Defines for rnode role */ 105 uint32_t role; /* Fabric/Target/ member in struct:csio_rnode
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_state.h | 24 * is in secondary role. 87 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member in struct:drbd_dev_state::__anon209 107 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
|
/linux-master/include/linux/ |
H A D | drbd.h | 175 R_PRIMARY = 1, /* role */ 176 R_SECONDARY = 2, /* role */ 249 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member in struct:drbd_state::__anon3332 273 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2430_data.c | 208 { .role = "pad_fck", .clk = "mcbsp_clks" }, 209 { .role = "prcm_fck", .clk = "func_96m_ck" }, 311 { .role = "dbck", .clk = "mmchsdb1_fck" }, 337 { .role = "dbck", .clk = "mmchsdb2_fck" },
|
H A D | omap_hwmod_3xxx_data.c | 409 * UART4 is extremely unclear and opaque; it is unclear what the role 415 { .role = "softreset_uart1_fck", .clk = "uart1_fck" }, 446 { .role = "sys_clk", .clk = "dss2_alwon_fck" }, 447 { .role = "tv_clk", .clk = "dss_tv_fck" }, 449 { .role = "tv_dac_clk", .clk = "dss_96m_fck" }, 541 { .role = "sys_clk", .clk = "dss2_alwon_fck" }, 559 { .role = "ick", .clk = "dss_ick" }, 578 { .role = "tv_dac_clk", .clk = "dss_96m_fck" }, 663 { .role = "dbclk", .clk = "gpio1_dbck", }, 684 { .role [all...] |
/linux-master/drivers/usb/typec/ |
H A D | wusb3801.c | 140 static unsigned int wusb3801_map_try_role(int role) argument 142 switch (role) { 181 static int wusb3801_try_role(struct typec_port *port, int role) argument 187 wusb3801_map_try_role(role));
|
/linux-master/drivers/staging/wlan-ng/ |
H A D | prism2sta.c | 663 le16_to_cpus(&hw->cap_sup_mfi.role); 670 "MFI:SUP:role=0x%02x:id=0x%02x:var=0x%02x:b/t=%d/%d\n", 671 hw->cap_sup_mfi.role, hw->cap_sup_mfi.id, 687 le16_to_cpus(&hw->cap_sup_cfi.role); 694 "CFI:SUP:role=0x%02x:id=0x%02x:var=0x%02x:b/t=%d/%d\n", 695 hw->cap_sup_cfi.role, hw->cap_sup_cfi.id, 711 le16_to_cpus(&hw->cap_sup_pri.role); 718 "PRI:SUP:role=0x%02x:id=0x%02x:var=0x%02x:b/t=%d/%d\n", 719 hw->cap_sup_pri.role, hw->cap_sup_pri.id, 735 le16_to_cpus(&hw->cap_sup_sta.role); [all...] |
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 31 * UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests 615 enum typec_role role, int is_partner, 629 command |= is_source(role) ? UCSI_GET_PDOS_SRC_PDOS : 0; 638 static int ucsi_get_pdos(struct ucsi_connector *con, enum typec_role role, argument 645 ret = ucsi_read_pdos(con, role, is_partner, pdos, 0, UCSI_MAX_PDOS); 654 ret = ucsi_read_pdos(con, role, is_partner, pdos, UCSI_MAX_PDOS, 820 caps.role = TYPEC_SOURCE; 839 caps.role = TYPEC_SINK; 1065 dev_err(con->ucsi->dev, "con:%d: failed to set usb role:%d\n", 1164 enum typec_role role; local 614 ucsi_read_pdos(struct ucsi_connector *con, enum typec_role role, int is_partner, u32 *pdos, int offset, int num_pdos) argument 1368 ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) argument 1412 ucsi_pr_swap(struct typec_port *port, enum typec_role role) argument [all...] |
/linux-master/drivers/s390/net/ |
H A D | qeth_l2_main.c | 390 int role; local 397 role = QETH_SBP_ROLE_PRIMARY; 399 role = QETH_SBP_ROLE_SECONDARY; 401 role = QETH_SBP_ROLE_NONE; 403 rc = qeth_bridgeport_setrole(card, role); 406 card->options.sbp.role = role; 1155 card->options.sbp.role != QETH_SBP_ROLE_NONE) { 1157 qeth_bridgeport_setrole(card, card->options.sbp.role); 1158 /* Let the callback function refresh the stored role valu 1300 u8 role; member in struct:qeth_bridge_state_data 1545 enum qeth_sbp_roles *role; member in struct:_qeth_sbp_cbctl::__anon99::__anon100 1755 qeth_bridgeport_query_ports(struct qeth_card *card, enum qeth_sbp_roles *role, enum qeth_sbp_states *state) argument 1795 qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role) argument [all...] |
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 32 /* Supply the USB role switch with the correct pld_crc if it's missing. */ 33 switch_fwnode = fwnode_find_reference(fwnode, "usb-role-switch", 0); 52 ret = fwnode_property_read_string(fwnode, "power-role", &buf); 54 dev_err(dev, "power-role not found: %d\n", ret); 63 ret = fwnode_property_read_string(fwnode, "data-role", &buf); 65 dev_err(dev, "data-role not found: %d\n", ret); 74 /* Try-power-role is optional. */ 75 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); 77 dev_warn(dev, "try-power-role not found: %d\n", ret); 123 dev_err_probe(dev, ret, "USB role switc [all...] |
/linux-master/drivers/usb/musb/ |
H A D | jz4740.c | 16 #include <linux/usb/role.h> 80 enum usb_role role) 88 switch (role) { 154 dev_err(dev, "Failed to register USB role switch\n"); 79 jz4740_musb_role_switch_set(struct usb_role_switch *sw, enum usb_role role) argument
|
/linux-master/drivers/usb/typec/tipd/ |
H A D | core.c | 19 #include <linux/usb/role.h> 257 enum typec_data_role role, bool connected) 261 if (role == TYPEC_HOST) 270 typec_set_data_role(tps->port, role); 406 static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role) argument 408 const char *cmd = (role == TYPEC_DEVICE) ? "SWUF" : "SWDF"; 423 if (role != TPS_STATUS_TO_TYPEC_DATAROLE(status)) { 428 tps6598x_set_data_role(tps, role, true); 436 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) argument 438 const char *cmd = (role 256 tps6598x_set_data_role(struct tps6598x *tps, enum typec_data_role role, bool connected) argument [all...] |
/linux-master/drivers/phy/tegra/ |
H A D | xusb.c | 593 static enum usb_phy_events to_usb_phy_event(enum usb_role role) argument 595 switch (role) { 612 enum usb_role role = usb_role_switch_get_role(port->usb_role_sw); local 614 usb_phy_set_event(&port->usb_phy, to_usb_phy_event(role)); 616 dev_dbg(&port->dev, "%s(): calling notifier for role %s\n", __func__, 617 usb_roles[role]); 623 enum usb_role role) 627 dev_dbg(&port->dev, "%s(): role %s\n", __func__, usb_roles[role]); 671 * USB role switc 622 tegra_xusb_role_sw_set(struct usb_role_switch *sw, enum usb_role role) argument 727 enum usb_role role = USB_ROLE_NONE; local [all...] |
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpci_rt1711h.c | 191 u8 role = 0; local 194 ret = rt1711h_read8(chip, TCPC_ROLE_CTRL, &role); 201 tcpc_presenting_rd(role, CC1)); 205 tcpc_presenting_rd(role, CC2));
|
/linux-master/drivers/net/ |
H A D | gtp.c | 74 unsigned int role; member in struct:gtp_dev 174 unsigned int hdrlen, unsigned int role) 183 if (role == GTP_ROLE_SGSN) 193 unsigned int hdrlen, unsigned int role) 197 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); 203 unsigned int hdrlen, unsigned int role) 205 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { 442 return gtp_rx(pctx, skb, hdrlen, gtp->role); 619 return gtp_rx(pctx, skb, hdrlen, gtp->role); 814 if (gtp->role 173 gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, unsigned int hdrlen, unsigned int role) argument 192 gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, unsigned int hdrlen, unsigned int role) argument 202 gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, unsigned int hdrlen, unsigned int role) argument 1036 unsigned int role = GTP_ROLE_GGSN; local [all...] |