Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/s390/net/
Dqeth_l2_sys.c30 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
44 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
56 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
80 enum qeth_sbp_roles role; in qeth_bridge_port_role_store() local
85 role = QETH_SBP_ROLE_PRIMARY; in qeth_bridge_port_role_store()
87 role = QETH_SBP_ROLE_SECONDARY; in qeth_bridge_port_role_store()
89 role = QETH_SBP_ROLE_NONE; in qeth_bridge_port_role_store()
101 rc = qeth_bridgeport_setrole(card, role); in qeth_bridge_port_role_store()
103 card->options.sbp.role = role; in qeth_bridge_port_role_store()
105 card->options.sbp.role = role; in qeth_bridge_port_role_store()
[all …]
Dqeth_l2.h18 enum qeth_sbp_roles *role,
20 int qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role);
Dqeth_l2_main.c536 int role; in qeth_promisc_to_bridge() local
550 role = QETH_SBP_ROLE_PRIMARY; in qeth_promisc_to_bridge()
552 role = QETH_SBP_ROLE_SECONDARY; in qeth_promisc_to_bridge()
554 role = QETH_SBP_ROLE_NONE; in qeth_promisc_to_bridge()
556 rc = qeth_bridgeport_setrole(card, role); in qeth_promisc_to_bridge()
560 card->options.sbp.role = role; in qeth_promisc_to_bridge()
1438 data->card->options.sbp.role = entry->role; in qeth_bridge_state_change_worker()
1443 (entry->role == QETH_SBP_ROLE_NONE) ? "none" : in qeth_bridge_state_change_worker()
1444 (entry->role == QETH_SBP_ROLE_PRIMARY) ? "primary" : in qeth_bridge_state_change_worker()
1445 (entry->role == QETH_SBP_ROLE_SECONDARY) ? "secondary" : in qeth_bridge_state_change_worker()
[all …]
Dqeth_core_mpc.h693 __u8 role; member
/linux-4.19.296/drivers/extcon/
Dextcon-usbc-cros-ec.c151 pd_control.role = USB_PD_CTRL_ROLE_NO_CHANGE; in cros_ec_usb_get_role()
165 return resp.role; in cros_ec_usb_get_role()
187 static const char *cros_ec_usb_role_string(unsigned int role) in cros_ec_usb_role_string() argument
189 return role == DR_NONE ? "DISCONNECTED" : in cros_ec_usb_role_string()
190 (role == DR_HOST ? "DFP" : "UFP"); in cros_ec_usb_role_string()
222 unsigned int role) in cros_ec_usb_power_type_is_wall_wart() argument
250 int role, power_type; in extcon_cros_ec_detect_cable() local
265 role = cros_ec_usb_get_role(info, &polarity); in extcon_cros_ec_detect_cable()
266 if (role < 0) { in extcon_cros_ec_detect_cable()
267 if (role != -ENOTCONN) { in extcon_cros_ec_detect_cable()
[all …]
Dextcon-axp288.c173 enum usb_role role; in axp288_get_id_pin() local
179 role = usb_role_switch_get_role(info->role_sw); in axp288_get_id_pin()
180 return role != USB_ROLE_HOST; in axp288_get_id_pin()
187 enum usb_role role; in axp288_usb_role_work() local
193 role = USB_ROLE_HOST; in axp288_usb_role_work()
195 role = USB_ROLE_DEVICE; in axp288_usb_role_work()
197 role = USB_ROLE_NONE; in axp288_usb_role_work()
199 ret = usb_role_switch_set_role(info->role_sw, role); in axp288_usb_role_work()
DKconfig77 If you say yes here you get support for the USB OTG role detection by
79 enable a system with an integrated USB OTG dual-role transceiver to
80 function as an USB OTG dual-role device.
/linux-4.19.296/drivers/media/tuners/
Dit913x.c28 u8 role:2; member
46 dev_dbg(&pdev->dev, "role %u\n", dev->role); in it913x_init()
163 dev_dbg(&pdev->dev, "role %u\n", dev->role); in it913x_sleep()
175 if (dev->role == IT913X_ROLE_DUAL_MASTER) in it913x_sleep()
180 dev_dbg(&pdev->dev, "role %u, len %d\n", dev->role, len); in it913x_sleep()
228 dev->role, c->frequency, c->bandwidth_hz); in it913x_set_params()
408 dev->role = pdata->role; in it913x_probe()
424 dev_dbg(&pdev->dev, "chip_ver %u, role %u\n", dev->chip_ver, dev->role); in it913x_probe()
Dit913x.h37 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()
1204 priv->role = (cfg) ? cfg->role : TDA18271_MASTER; in tda18271_setup_configuration()
1316 if (cfg->role) in tda18271_attach()
1317 priv->role = cfg->role; in tda18271_attach()
Dtda18271.h94 enum tda18271_role role; member
Dtda18271-priv.h110 enum tda18271_role role; member
Dtda18271-common.c732 (state->role == TDA18271_MASTER) ? 'M' : 'S', in _tda_printk()
/linux-4.19.296/include/linux/usb/
Dtypec.h203 int role);
234 void typec_set_data_role(struct typec_port *port, enum typec_data_role role);
235 void typec_set_pwr_role(struct typec_port *port, enum typec_role role);
236 void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
Drole.h16 typedef int (*usb_role_switch_set_t)(struct device *dev, enum usb_role role);
43 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role);
Dtcpm.h149 enum typec_role role, enum typec_data_role data);
153 int (*try_role)(struct tcpc_dev *dev, int role);
/linux-4.19.296/include/linux/netfilter/
Dnf_conntrack_dccp.h32 u_int8_t role[IP_CT_DIR_MAX]; member
/linux-4.19.296/include/linux/
Ddrbd.h268 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member
292 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
/linux-4.19.296/include/uapi/linux/
Dsmc_diag.h96 __u8 role; member
/linux-4.19.296/include/net/bluetooth/
Dhci_core.h459 __u8 role; member
713 if (c->role == HCI_ROLE_SLAVE) in hci_conn_hash_add()
739 if (c->role == HCI_ROLE_SLAVE) in hci_conn_hash_del()
902 u8 role);
917 u8 role, bdaddr_t *direct_rpa);
926 int hci_conn_switch_role(struct hci_conn *conn, __u8 role);
1097 u8 addr_type, u8 role);
1241 void (*role_switch_cfm) (struct hci_conn *conn, __u8 status, __u8 role);
1348 __u8 role) in hci_role_switch_cfm() argument
1355 cb->role_switch_cfm(conn, status, role); in hci_role_switch_cfm()
Dhci.h583 __u8 role; member
856 __u8 role; member
862 __u8 role; member
1789 __u8 role; member
2047 __u8 role; member
2164 __u8 role; member
/linux-4.19.296/include/media/
Dsoc_camera.h71 enum soc_camera_subdev_role role; member
/linux-4.19.296/include/linux/mfd/
Dcros_ec_commands.h3026 uint8_t role; member
3045 uint8_t role; member
3093 uint8_t role; member
/linux-4.19.296/include/scsi/
Dlibsas.h338 enum sas_phy_role role; member
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Daf9035.c1527 it913x_pdata.role = IT913X_ROLE_DUAL_MASTER; in af9035_tuner_attach()
1529 it913x_pdata.role = IT913X_ROLE_DUAL_SLAVE; in af9035_tuner_attach()
1531 it913x_pdata.role = IT913X_ROLE_SINGLE; in af9035_tuner_attach()

12