Home
last modified time | relevance | path

Searched defs:role (Results 1 – 25 of 85) sorted by relevance

1234

/drivers/staging/r8188eu/include/
Drtw_p2p.h62 enum P2P_ROLE role) in _rtw_p2p_set_role()
90 enum P2P_ROLE role) in _rtw_p2p_chk_role()
98 #define rtw_p2p_set_role(wdinfo, role) _rtw_p2p_set_role(wdinfo, role) argument
104 #define rtw_p2p_chk_role(wdinfo, role) _rtw_p2p_chk_role(wdinfo, role) argument
/drivers/usb/roles/
Dclass.c22 enum usb_role role; member
42 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
72 enum usb_role role; in usb_role_switch_get_role() local
220 const char *usb_role_string(enum usb_role role) in usb_role_string()
233 enum usb_role role = usb_role_switch_get_role(sw); in role_show() local
Dintel-xhci-usb-role-switch.c56 enum usb_role role) in intel_xhci_usb_set_role()
134 enum usb_role role; in intel_xhci_usb_get_role() local
/drivers/usb/cdns3/
Dcore.c28 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start()
56 enum usb_role role = cdns->role; in cdns_role_stop() local
213 enum usb_role role = USB_ROLE_NONE; in cdns_hw_role_state_machine() local
357 static int cdns_role_set(struct usb_role_switch *sw, enum usb_role role) in cdns_role_set()
/drivers/misc/
Dhisi_hikey_usb.c44 enum usb_role role; member
98 enum usb_role role; in relay_set_role_switch() local
130 static int hub_usb_role_switch_set(struct usb_role_switch *sw, enum usb_role role) in hub_usb_role_switch_set()
/drivers/usb/chipidea/
Dotg.c124 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role() local
170 enum ci_role role; in ci_handle_id_switch() local
Dci.h215 enum ci_role role; member
270 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
288 enum ci_role role = ci->role; in ci_role_stop() local
308 static inline enum ci_role usb_role_to_ci_role(enum usb_role role) in usb_role_to_ci_role()
Dcore.c604 enum usb_role role; in ci_usb_role_switch_get() local
615 enum usb_role role) in ci_usb_role_switch_set()
974 enum ci_role role; in role_store() local
/drivers/usb/dwc2/
Ddrd.c86 static int dwc2_drd_role_sw_set(struct usb_role_switch *sw, enum usb_role role) in dwc2_drd_role_sw_set()
211 enum usb_role role; in dwc2_drd_resume() local
/drivers/extcon/
Dextcon-usbc-cros-ec.c188 static const char *cros_ec_usb_role_string(unsigned int role) in cros_ec_usb_role_string()
223 unsigned int role) in cros_ec_usb_power_type_is_wall_wart()
251 int role, power_type; in extcon_cros_ec_detect_cable() local
Dextcon-axp288.c168 enum usb_role role; in axp288_get_id_pin() local
182 enum usb_role role; in axp288_usb_role_work() local
/drivers/net/dsa/sja1105/
Dsja1105_clocking.c152 int port, sja1105_mii_role_t role) in sja1105_cgu_mii_tx_clk_config()
273 sja1105_mii_role_t role) in sja1105_mii_clocking_setup()
582 sja1105_mii_role_t role) in sja1105_rgmii_clocking_setup()
731 sja1105_mii_role_t role) in sja1105_rmii_clocking_setup()
766 sja1105_mii_role_t role; in sja1105_clocking_setup_port() local
/drivers/usb/musb/
Dmediatek.c50 enum usb_role role; member
65 static int mtk_otg_switch_set(struct mtk_glue *glue, enum usb_role role) in mtk_otg_switch_set()
117 static int musb_usb_role_sx_set(struct usb_role_switch *sw, enum usb_role role) in musb_usb_role_sx_set()
/drivers/usb/typec/
Dqcom-pmic-typec.c69 enum usb_role role; in qcom_pmic_typec_check_connection() local
136 int ret, irq, role; in qcom_pmic_typec_probe() local
Dpd.h19 enum typec_role role; member
Dwusb3801.c140 static unsigned int wusb3801_map_try_role(int role) in wusb3801_map_try_role()
181 static int wusb3801_try_role(struct typec_port *port, int role) in wusb3801_try_role()
/drivers/usb/mtu3/
Dmtu3_dr.c174 static void ssusb_set_mode(struct otg_switch_mtk *otg_sx, enum usb_role role) in ssusb_set_mode()
260 static int ssusb_role_sw_set(struct usb_role_switch *sw, enum usb_role role) in ssusb_role_sw_set()
/drivers/usb/dwc3/
Ddrd.c444 enum usb_role role) in dwc3_usb_role_switch_set()
472 enum usb_role role; in dwc3_usb_role_switch_get() local
/drivers/media/tuners/
Dit913x.h27 unsigned int role:2; member
/drivers/usb/typec/mux/
Dintel_pmc_mux.c129 enum usb_role role; member
416 static int pmc_usb_connect(struct pmc_usb_port *port, enum usb_role role) in pmc_usb_connect()
495 static int pmc_usb_set_role(struct usb_role_switch *sw, enum usb_role role) in pmc_usb_set_role()
/drivers/usb/typec/ucsi/
Ducsi.c777 enum typec_role role; in ucsi_handle_connector_change() local
938 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap()
982 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
/drivers/usb/typec/tipd/
Dcore.c215 enum typec_data_role role, bool connected) in tps6598x_set_data_role()
351 static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role) in tps6598x_dr_set()
381 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
/drivers/net/
Dgtp.c74 unsigned int role; member
174 unsigned int hdrlen, unsigned int role) in gtp_check_ms_ipv4()
193 unsigned int hdrlen, unsigned int role) in gtp_check_ms()
203 unsigned int hdrlen, unsigned int role) in gtp_rx()
1048 unsigned int role = GTP_ROLE_GGSN; in gtp_newlink() local
/drivers/scsi/aic7xxx/
Daic7xxx_core.c2193 u_int *period, u_int *ppr_options, role_t role) in ahc_devlimited_syncrate()
2366 u_int *offset, int wide, role_t role) in ahc_validate_offset()
2396 u_int *bus_width, role_t role) in ahc_validate_width()
2748 role_t role; in ahc_fetch_devinfo() local
2796 u_int lun, char channel, role_t role) in ahc_compile_devinfo()
2820 role_t role; in ahc_scb_devinfo() local
5692 char channel, int lun, u_int tag, role_t role) in ahc_match_scb()
5799 int lun, u_int tag, role_t role, uint32_t status, in ahc_search_qinfifo()
6267 int lun, u_int tag, role_t role, uint32_t status) in ahc_abort_scbs()
/drivers/s390/net/
Dqeth_l2_main.c390 int role; in qeth_l2_promisc_to_bridge() local
1299 u8 role; member
1544 enum qeth_sbp_roles *role; member
1755 enum qeth_sbp_roles *role, enum qeth_sbp_states *state) in qeth_bridgeport_query_ports()
1794 int qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role) in qeth_bridgeport_setrole()

1234