/linux-master/arch/arm/mach-omap2/ |
H A D | omap_hwmod_81xx_data.c | 474 { .role = "dbclk", .clk = "sysclk18_ck" }, 500 { .role = "dbclk", .clk = "sysclk18_ck" }, 526 { .role = "dbclk", .clk = "sysclk18_ck" }, 552 { .role = "dbclk", .clk = "sysclk18_ck" }, 915 { .role = "dbck", .clk = "sysclk18_ck", },
|
H A D | omap_hwmod.h | 171 * @role: "sys", "32k", "tv", etc -- for use in clk_get() 179 const char *role; member in struct:omap_hwmod_opt_clk
|
/linux-master/drivers/usb/typec/ |
H A D | rt1719.c | 12 #include <linux/usb/role.h> 399 static int rt1719_dr_set(struct typec_port *port, enum typec_data_role role) argument 412 if (cur_role == role) 427 if (cur_role != role) 430 rt1719_set_data_role(data, role, true); 879 dev_err(&i2c->dev, "Failed to get usb role switch (%d)\n", ret);
|
/linux-master/drivers/staging/wlan-ng/ |
H A D | prism2fw.c | 297 priid.role = *data++; 1145 s3info[i].info.compat.role, 1152 if ((s3info[i].info.compat.role == 1) && 1161 if ((s3info[i].info.compat.role == 1) && 1171 if ((s3info[i].info.compat.role == 1) &&
|
/linux-master/drivers/power/supply/ |
H A D | cros_usbpd-charger.c | 205 switch (resp.role) { 223 dev_err(dev, "Unknown role %d\n", resp.role); 239 * For dual-role devices when we are a source, the firmware 243 if (resp.role == USB_PD_PORT_POWER_SOURCE && resp.dualrole)
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcbuild.h | 165 u16 ox_id, enum bfa_lport_role role); 217 enum bfa_lport_role role);
|
H A D | bfad_drv.h | 296 bfa_status_t bfad_cfg_pport(struct bfad_s *bfad, enum bfa_lport_role role);
|
/linux-master/drivers/net/wireless/intersil/p54/ |
H A D | lmac.h | 121 __le16 role; member in struct:exp_if 129 __le16 role; member in struct:dep_if
|
/linux-master/drivers/usb/chipidea/ |
H A D | host.c | 217 ci->role = CI_ROLE_END; 235 if (ci->role == CI_ROLE_HOST && ci->hcd)
|
/linux-master/net/smc/ |
H A D | smc_diag.c | 152 .role = smc->conn.lgr->role,
|
H A D | smc_llc.c | 245 "LLC msg: msg %d flow %d role %d\n", 249 flow_type, lgr->role); 363 "msg %d exp %d flow %d role %d flags %x\n", 366 flow->type, lgr->role, 879 if (lgr->role == SMC_CLNT) 1565 if (lgr->role == SMC_CLNT) 1575 * called only for role SMC_SERV 1746 if (lgr->role == SMC_CLNT) 1883 if (lgr->role == SMC_CLNT) { 1963 if (lgr->role [all...] |
/linux-master/include/net/bluetooth/ |
H A D | hci_core.h | 711 __u8 role; member in struct:hci_conn 1021 if (c->role == HCI_ROLE_SLAVE) 1050 if (c->role == HCI_ROLE_SLAVE) 1500 u8 role, u16 handle); 1502 bdaddr_t *dst, u8 role); 1517 u16 conn_timeout, u8 role, u8 phy, u8 sec_phy); 1544 int hci_conn_switch_role(struct hci_conn *conn, __u8 role); 1773 u8 addr_type, u8 role); 2003 void (*role_switch_cfm) (struct hci_conn *conn, __u8 status, __u8 role); 2110 __u8 role) 2109 hci_role_switch_cfm(struct hci_conn *conn, __u8 status, __u8 role) argument [all...] |
/linux-master/drivers/media/tuners/ |
H A D | tda18271-priv.h | 98 enum tda18271_role role; member in struct:tda18271_priv
|
/linux-master/drivers/usb/dwc3/ |
H A D | dwc3-meson-g12a.c | 30 #include <linux/usb/role.h> 516 enum usb_role role) 521 if (role == USB_ROLE_NONE) 524 mode = (role == USB_ROLE_HOST) ? PHY_MODE_USB_HOST 610 /* Setup role switcher */ 515 dwc3_meson_g12a_role_set(struct usb_role_switch *sw, enum usb_role role) argument
|
/linux-master/drivers/usb/misc/ |
H A D | qcom_eud.c | 17 #include <linux/usb/role.h> 162 dev_err(chip->dev, "failed to set role switch\n"); 192 "failed to get role switch\n"); 197 "failed to add role switch release action\n");
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fweh.h | 188 /* role field values for brcmf_ifevent */ 280 u8 role; member in struct:brcmf_if_event
|
/linux-master/include/uapi/linux/ |
H A D | virtio_snd.h | 398 /* element role (VIRTIO_SND_CTL_ROLE_XXX) */ 399 __le32 role; member in struct:virtio_snd_ctl_info
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_receiver.c | 3118 if (hg == -1 && device->state.role == R_SECONDARY) 3120 if (hg == 1 && device->state.role == R_PRIMARY) 3127 return device->state.role == R_PRIMARY ? 1 : -1; 3130 if (hg == -1 && device->state.role == R_PRIMARY) { 3136 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); 3140 drbd_warn(device, "Successfully gave up primary role.\n"); 3186 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); 3190 drbd_warn(device, "Successfully gave up primary role.\n"); 3321 if (device->state.role == R_PRIMARY || peer_role == R_PRIMARY) { 3327 if (device->state.role [all...] |
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 30 #include <linux/usb/role.h> 1031 tcpm_log(port, "Requesting mux state %d, usb-role %d, orientation %d", 1126 enum typec_role role, enum typec_data_role data) 1144 if (role == TYPEC_SOURCE) 1153 if (role == TYPEC_SINK) 1166 ret = port->tcpc->set_roles(port->tcpc, attached, role, data); 1176 port->pwr_role = role; 1179 typec_set_pwr_role(port->typec_port, role); 1184 static int tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role) argument 1188 ret = port->tcpc->set_roles(port->tcpc, true, role, 1125 tcpm_set_roles(struct tcpm_port *port, bool attached, enum typec_role role, enum typec_data_role data) argument 1204 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role) argument 6482 tcpm_pr_set(struct typec_port *p, enum typec_role role) argument 6531 tcpm_vconn_set(struct typec_port *p, enum typec_role role) argument 6576 tcpm_try_role(struct typec_port *p, int role) argument [all...] |
H A D | wcove.c | 331 enum typec_role role, enum typec_data_role data) 342 val = role; 596 PROPERTY_ENTRY_STRING("data-role", "dual"), 597 PROPERTY_ENTRY_STRING("power-role", "dual"), 598 PROPERTY_ENTRY_STRING("try-power-role", "sink"), 330 wcove_set_roles(struct tcpc_dev *tcpc, bool attached, enum typec_role role, enum typec_data_role data) argument
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_debugfs.c | 232 params->role = 0; 240 "p%d: %s en:%.2x role:%.2x pol:%.2x\n", i, 241 resp->state, resp->enabled, resp->role,
|
/linux-master/drivers/phy/tegra/ |
H A D | xusb.h | 17 #include <linux/usb/role.h>
|
/linux-master/drivers/extcon/ |
H A D | extcon-ptn5150.c | 20 #include <linux/usb/role.h> 111 dev_err(info->dev, "failed to set %s role: %d\n", 153 "failed to set none role: %d\n", 317 "failed to get role switch\n");
|
/linux-master/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 299 static struct kobj_attribute password_spm_role = __ATTR_RO(role);
|
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3.h | 26 #include <linux/usb/role.h> 202 * @desired_role : role desired to switch 203 * @default_role : default mode while usb role is USB_ROLE_NONE 204 * @role_sw : use USB Role Switch to support dual-role switch, can't use 207 * @is_u3_drd: whether port0 supports usb3.0 dual-role device or not 208 * @manual_drd_enabled: it's true when supports dual-role device by debugfs 229 * host only, device only or dual-role mode 234 * but when use dual-role mode, can't disable u2port0 237 * @dbgfs_root: only used when supports manual dual-role switch via debugfs
|