Home
last modified time | relevance | path

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

12345

/Linux-v6.6/drivers/usb/cdns3/
Dcore.c29 static int cdns_role_start(struct cdns *cdns, enum usb_role role) in cdns_role_start()
57 enum usb_role role = cdns->role; in cdns_role_stop() local
214 enum usb_role role = USB_ROLE_NONE; in cdns_hw_role_state_machine() local
358 static int cdns_role_set(struct usb_role_switch *sw, enum usb_role role) in cdns_role_set()
/Linux-v6.6/drivers/usb/roles/
Dclass.c24 enum usb_role role; member
44 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
74 enum usb_role role; in usb_role_switch_get_role() local
222 const char *usb_role_string(enum usb_role role) in usb_role_string()
235 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
/Linux-v6.6/net/bridge/
Dbr_mrp_switchdev.c66 enum br_mrp_ring_role_type role) in br_mrp_switchdev_set_ring_role()
142 enum br_mrp_in_role_type role) in br_mrp_switchdev_set_in_role()
229 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.c618 enum br_mrp_port_role_type role) in br_mrp_set_port_role()
672 struct br_mrp_ring_role *role) in br_mrp_set_ring_role()
758 int br_mrp_set_in_role(struct net_bridge *br, struct br_mrp_in_role *role) in br_mrp_set_in_role()
/Linux-v6.6/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()
/Linux-v6.6/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
Dcore.c597 enum usb_role role; in ci_usb_role_switch_get() local
608 enum usb_role role) in ci_usb_role_switch_set()
642 enum ci_role role; in ci_get_role() local
974 enum ci_role role; in role_store() local
1394 enum ci_role role; in ci_handle_power_lost() local
Dci.h219 enum ci_role role; member
274 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
303 enum ci_role role = ci->role; in ci_role_stop() local
326 static inline enum ci_role usb_role_to_ci_role(enum usb_role role) in usb_role_to_ci_role()
/Linux-v6.6/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
/Linux-v6.6/include/linux/usb/
Drole.h71 enum usb_role role) in usb_role_switch_set_role()
119 static inline const char *usb_role_string(enum usb_role role) in usb_role_string()
/Linux-v6.6/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
/Linux-v6.6/drivers/usb/typec/ucsi/
Ducsi.c574 enum typec_role role, int is_partner, in ucsi_read_pdos()
594 static int ucsi_get_pdos(struct ucsi_connector *con, enum typec_role role, in ucsi_get_pdos()
877 enum typec_role role; in ucsi_handle_connector_change() local
1040 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap()
1084 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
/Linux-v6.6/drivers/usb/musb/
Dmediatek.c51 enum usb_role role; member
66 static int mtk_otg_switch_set(struct mtk_glue *glue, enum usb_role role) in mtk_otg_switch_set()
118 static int musb_usb_role_sx_set(struct usb_role_switch *sw, enum usb_role role) in musb_usb_role_sx_set()
/Linux-v6.6/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()
/Linux-v6.6/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
/Linux-v6.6/net/bluetooth/bnep/
Dbnep.h112 __u16 role; member
123 __u16 role; member
148 unsigned int role; member
/Linux-v6.6/drivers/media/tuners/
Dit913x.h27 unsigned int role:2; member
/Linux-v6.6/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
/Linux-v6.6/drivers/usb/typec/
Dpd.h19 enum typec_role role; member
/Linux-v6.6/include/linux/netfilter/
Dnf_conntrack_dccp.h31 u_int8_t role[IP_CT_DIR_MAX]; member
/Linux-v6.6/security/selinux/ss/
Dpolicydb.c258 struct role_datum *role; in role_destroy() local
382 struct role_datum *role; in roles_init() local
582 struct role_datum *role; in role_index() local
908 int policydb_role_isvalid(struct policydb *p, unsigned int role) in policydb_role_isvalid()
928 struct role_datum *role; in policydb_context_isvalid() local
1388 struct role_datum *role; in role_read() local
1692 struct role_datum *upper, *role; in role_bounds_sanity_check() local
3131 struct role_datum *role = datum; in role_write() local
/Linux-v6.6/drivers/phy/tegra/
Dxusb.c593 static enum usb_phy_events to_usb_phy_event(enum usb_role role) in to_usb_phy_event()
612 enum usb_role role = usb_role_switch_get_role(port->usb_role_sw); in tegra_xusb_usb_phy_work() local
623 enum usb_role role) in tegra_xusb_role_sw_set()
727 enum usb_role role = USB_ROLE_NONE; in tegra_xusb_parse_usb_role_default_mode() local

12345