/Linux-v6.6/drivers/usb/cdns3/ |
D | core.c | 29 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/ |
D | class.c | 24 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
|
D | intel-xhci-usb-role-switch.c | 56 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/ |
D | br_mrp_switchdev.c | 66 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()
|
D | br_mrp_netlink.c | 109 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
|
D | br_mrp.c | 618 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/ |
D | hisi_hikey_usb.c | 44 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/ |
D | otg.c | 124 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
|
D | core.c | 597 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
|
D | ci.h | 219 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/ |
D | drd.c | 86 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/ |
D | role.h | 71 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/ |
D | extcon-usbc-cros-ec.c | 188 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
|
D | extcon-axp288.c | 168 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/ |
D | ucsi.c | 574 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/ |
D | mediatek.c | 51 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/ |
D | mtu3_dr.c | 174 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/ |
D | sja1105_clocking.c | 152 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/ |
D | bnep.h | 112 __u16 role; member 123 __u16 role; member 148 unsigned int role; member
|
/Linux-v6.6/drivers/media/tuners/ |
D | it913x.h | 27 unsigned int role:2; member
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | drd.c | 444 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/ |
D | pd.h | 19 enum typec_role role; member
|
/Linux-v6.6/include/linux/netfilter/ |
D | nf_conntrack_dccp.h | 31 u_int8_t role[IP_CT_DIR_MAX]; member
|
/Linux-v6.6/security/selinux/ss/ |
D | policydb.c | 258 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/ |
D | xusb.c | 593 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
|