Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dcore.c30 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start()
58 enum usb_role role = cdns->role; in cdns3_role_stop() local
194 enum usb_role role = USB_ROLE_NONE; in cdns3_hw_role_state_machine() local
338 static int cdns3_role_set(struct usb_role_switch *sw, enum usb_role role) in cdns3_role_set()
/kernel/linux/linux-5.10/net/bridge/
Dbr_mrp_switchdev.c48 enum br_mrp_ring_role_type role) in br_mrp_switchdev_set_ring_role()
112 enum br_mrp_in_role_type role) in br_mrp_switchdev_set_in_role()
190 enum br_mrp_port_role_type role) in br_mrp_port_switchdev_set_role()
Dbr_mrp_netlink.c109 enum br_mrp_port_role_type role; in br_mrp_port_role_parse() local
172 struct br_mrp_ring_role role; in br_mrp_ring_role_parse() local
288 struct br_mrp_in_role role; in br_mrp_in_role_parse() local
Dbr_mrp.c571 enum br_mrp_port_role_type role) in br_mrp_set_port_role()
625 struct br_mrp_ring_role *role) in br_mrp_set_ring_role()
706 int br_mrp_set_in_role(struct net_bridge *br, struct br_mrp_in_role *role) in br_mrp_set_in_role()
/kernel/linux/linux-5.10/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
221 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
/kernel/linux/linux-5.10/drivers/misc/
Dhisi_hikey_usb.c45 enum usb_role role; member
102 enum usb_role role; in relay_set_role_switch() local
134 static int hub_usb_role_switch_set(struct usb_role_switch *sw, enum usb_role role) in hub_usb_role_switch_set()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dotg.c124 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role() local
169 enum ci_role role = ci_otg_role(ci); in ci_handle_id_switch() local
Dcore.c590 enum usb_role role; in ci_usb_role_switch_get() local
601 enum usb_role role) in ci_usb_role_switch_set()
956 enum ci_role role; in role_store() local
Dci.h214 enum ci_role role; member
268 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
286 enum ci_role role = ci->role; in ci_role_stop() local
306 static inline enum ci_role usb_role_to_ci_role(enum usb_role role) in usb_role_to_ci_role()
/kernel/linux/linux-5.10/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.c167 enum usb_role role; in axp288_get_id_pin() local
181 enum usb_role role; in axp288_usb_role_work() local
/kernel/linux/linux-5.10/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
Dtps6598x.c195 enum typec_data_role role, bool connected) in tps6598x_set_data_role()
327 static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role) in tps6598x_dr_set()
357 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dit913x.h27 unsigned int role:2; member
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_clocking.c141 int port, sja1105_mii_role_t role) in sja1105_cgu_mii_tx_clk_config()
250 sja1105_mii_role_t role) in sja1105_mii_clocking_setup()
499 sja1105_mii_role_t role) in sja1105_rgmii_clocking_setup()
648 sja1105_mii_role_t role) in sja1105_rmii_clocking_setup()
683 sja1105_mii_role_t role; in sja1105_clocking_setup_port() local
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmediatek.c50 enum usb_role role; member
118 static int mtk_otg_switch_set(struct mtk_glue *glue, enum usb_role role) in mtk_otg_switch_set()
170 static int musb_usb_role_sx_set(struct usb_role_switch *sw, enum usb_role role) in musb_usb_role_sx_set()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_dr.c323 static int ssusb_role_sw_set(struct usb_role_switch *sw, enum usb_role role) in ssusb_role_sw_set()
340 enum usb_role role; in ssusb_role_sw_get() local
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dbnep.h112 __u16 role; member
123 __u16 role; member
148 unsigned int role; member
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Ddrd.c482 enum usb_role role) in dwc3_usb_role_switch_set()
510 enum usb_role role; in dwc3_usb_role_switch_get() local
/kernel/linux/linux-5.10/drivers/net/
Dgtp.c72 unsigned int role; member
154 unsigned int hdrlen, unsigned int role) in gtp_check_ms_ipv4()
173 unsigned int hdrlen, unsigned int role) in gtp_check_ms()
183 unsigned int hdrlen, unsigned int role) in gtp_rx()
835 unsigned int role = GTP_ROLE_GGSN; in gtp_encap_enable() local
/kernel/linux/linux-5.10/include/linux/netfilter/
Dnf_conntrack_dccp.h31 u_int8_t role[IP_CT_DIR_MAX]; member
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
Ducsi.c653 enum typec_role role; in ucsi_handle_connector_change() local
910 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap()
948 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Ddrd.c72 static int dwc2_drd_role_sw_set(struct usb_role_switch *sw, enum usb_role role) in dwc2_drd_role_sw_set()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c131 enum usb_role role; member
375 static int pmc_usb_connect(struct pmc_usb_port *port, enum usb_role role) in pmc_usb_connect()
454 static int pmc_usb_set_role(struct usb_role_switch *sw, enum usb_role role) in pmc_usb_set_role()

12345