| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_router_hw.c | 67 int prestera_router_hw_init(struct prestera_switch *sw) in prestera_router_hw_init() 99 void prestera_router_hw_fini(struct prestera_switch *sw) in prestera_router_hw_fini() 110 static struct prestera_vr *__prestera_vr_find(struct prestera_switch *sw, in __prestera_vr_find() 123 static struct prestera_vr *__prestera_vr_create(struct prestera_switch *sw, in __prestera_vr_create() 152 static void __prestera_vr_destroy(struct prestera_switch *sw, in __prestera_vr_destroy() 160 static struct prestera_vr *prestera_vr_get(struct prestera_switch *sw, u32 tb_id, in prestera_vr_get() 179 static void prestera_vr_put(struct prestera_switch *sw, struct prestera_vr *vr) in prestera_vr_put() 213 prestera_rif_entry_find(const struct prestera_switch *sw, in prestera_rif_entry_find() 231 void prestera_rif_entry_destroy(struct prestera_switch *sw, in prestera_rif_entry_destroy() 247 prestera_rif_entry_create(struct prestera_switch *sw, in prestera_rif_entry_create() [all …]
|
| D | prestera_router.c | 106 static int prestera_util_nhc2nc_key(struct prestera_switch *sw, in prestera_util_nhc2nc_key() 133 prestera_util_nhc_eq_n_cache_key(struct prestera_switch *sw, in prestera_util_nhc_eq_n_cache_key() 151 prestera_util_neigh2nc_key(struct prestera_switch *sw, struct neighbour *n, in prestera_util_neigh2nc_key() 430 prestera_neigh_iface_init(struct prestera_switch *sw, in prestera_neigh_iface_init() 452 prestera_kern_neigh_cache_find(struct prestera_switch *sw, in prestera_kern_neigh_cache_find() 464 __prestera_kern_neigh_cache_destruct(struct prestera_switch *sw, in __prestera_kern_neigh_cache_destruct() 471 __prestera_kern_neigh_cache_destroy(struct prestera_switch *sw, in __prestera_kern_neigh_cache_destroy() 482 __prestera_kern_neigh_cache_create(struct prestera_switch *sw, in __prestera_kern_neigh_cache_create() 512 prestera_kern_neigh_cache_get(struct prestera_switch *sw, in prestera_kern_neigh_cache_get() 525 prestera_kern_neigh_cache_put(struct prestera_switch *sw, in prestera_kern_neigh_cache_put() [all …]
|
| D | prestera_main.c | 93 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, in prestera_port_find_by_hwid() 110 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id) in prestera_find_port() 371 struct prestera_switch *sw = port->sw; in prestera_port_sfp_bind() local 603 static int prestera_port_create(struct prestera_switch *sw, u32 id) in prestera_port_create() 763 static void prestera_destroy_ports(struct prestera_switch *sw) in prestera_destroy_ports() 771 static int prestera_create_ports(struct prestera_switch *sw) in prestera_create_ports() 794 static void prestera_port_handle_event(struct prestera_switch *sw, in prestera_port_handle_event() 842 static int prestera_event_handlers_register(struct prestera_switch *sw) in prestera_event_handlers_register() 849 static void prestera_event_handlers_unregister(struct prestera_switch *sw) in prestera_event_handlers_unregister() 855 static int prestera_switch_set_base_mac_addr(struct prestera_switch *sw) in prestera_switch_set_base_mac_addr() [all …]
|
| D | prestera_span.c | 21 struct prestera_switch *sw; member 78 struct prestera_switch *sw = port->sw; in prestera_span_get() local 103 static int prestera_span_put(struct prestera_switch *sw, u8 span_id) in prestera_span_put() 127 struct prestera_switch *sw = binding->port->sw; in prestera_span_rule_add() local 169 int prestera_span_init(struct prestera_switch *sw) in prestera_span_init() 185 void prestera_span_fini(struct prestera_switch *sw) in prestera_span_fini()
|
| /kernel/linux/linux-6.6/drivers/thunderbolt/ |
| D | switch.c | 37 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() 49 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() 60 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() 85 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status() 98 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write() 126 static int nvm_authenticate_host_dma_port(struct tb_switch *sw) in nvm_authenticate_host_dma_port() 166 static int nvm_authenticate_device_dma_port(struct tb_switch *sw) in nvm_authenticate_device_dma_port() 211 static void nvm_authenticate_start_dma_port(struct tb_switch *sw) in nvm_authenticate_start_dma_port() 226 static void nvm_authenticate_complete_dma_port(struct tb_switch *sw) in nvm_authenticate_complete_dma_port() 235 static inline bool nvm_readable(struct tb_switch *sw) in nvm_readable() [all …]
|
| D | lc.c | 18 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 25 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 34 struct tb_switch *sw = port->sw; in find_port_lc_cap() local 61 struct tb_switch *sw = port->sw; in tb_lc_reset_port() local 96 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() local 154 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() local 218 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() local 250 struct tb_switch *sw = port->sw; in tb_lc_is_clx_supported() local 273 struct tb_switch *sw = port->sw; in tb_lc_is_usb_plugged() local 299 struct tb_switch *sw = port->sw; in tb_lc_is_xhci_connected() local [all …]
|
| D | eeprom.c | 18 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write() 26 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read() 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() 71 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer() 96 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out() 116 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in() 137 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset() 168 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n() 302 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() 324 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic() [all …]
|
| D | tmu.c | 58 static bool tb_switch_tmu_enhanced_is_supported(const struct tb_switch *sw) in tb_switch_tmu_enhanced_is_supported() 63 static int tb_switch_set_tmu_mode_params(struct tb_switch *sw, in tb_switch_set_tmu_mode_params() 122 static bool tb_switch_tmu_ucap_is_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_is_supported() 135 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read() 149 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 332 static int tb_switch_tmu_set_time_disruption(struct tb_switch *sw, bool set) in tb_switch_tmu_set_time_disruption() 357 static int tmu_mode_init(struct tb_switch *sw) in tmu_mode_init() 409 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 443 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 559 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() [all …]
|
| D | quirks.c | 10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link() 16 static void quirk_dp_credit_allocation(struct tb_switch *sw) in quirk_dp_credit_allocation() 24 static void quirk_clx_disable(struct tb_switch *sw) in quirk_clx_disable() 30 static void quirk_usb3_maximum_bandwidth(struct tb_switch *sw) in quirk_usb3_maximum_bandwidth() 46 static void quirk_block_rpm_in_redrive(struct tb_switch *sw) in quirk_block_rpm_in_redrive() 118 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
|
| D | tb.c | 204 static void tb_add_dp_resources(struct tb_switch *sw) in tb_add_dp_resources() 221 static void tb_remove_dp_resources(struct tb_switch *sw) in tb_remove_dp_resources() 267 static int tb_enable_clx(struct tb_switch *sw) in tb_enable_clx() 320 static bool tb_disable_clx(struct tb_switch *sw) in tb_disable_clx() 341 struct tb_switch *sw; in tb_increase_switch_tmu_accuracy() local 368 struct tb_switch *sw; in tb_increase_tmu_accuracy() local 388 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_tmu_hifi_uni_required() local 404 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu() 461 static void tb_switch_discover_tunnels(struct tb_switch *sw, in tb_switch_discover_tunnels() 548 struct tb_switch *sw = port->sw; in tb_scan_xdomain() local [all …]
|
| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | switch.c | 42 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() 54 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() 65 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() 90 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status() 103 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write() 171 static int nvm_authenticate_host_dma_port(struct tb_switch *sw) in nvm_authenticate_host_dma_port() 211 static int nvm_authenticate_device_dma_port(struct tb_switch *sw) in nvm_authenticate_device_dma_port() 256 static void nvm_authenticate_start_dma_port(struct tb_switch *sw) in nvm_authenticate_start_dma_port() 271 static void nvm_authenticate_complete_dma_port(struct tb_switch *sw) in nvm_authenticate_complete_dma_port() 280 static inline bool nvm_readable(struct tb_switch *sw) in nvm_readable() [all …]
|
| D | lc.c | 16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 23 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 32 struct tb_switch *sw = port->sw; in find_port_lc_cap() local 51 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() local 109 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() local 161 static int tb_lc_set_wake_one(struct tb_switch *sw, unsigned int offset, in tb_lc_set_wake_one() 196 int tb_lc_set_wake(struct tb_switch *sw, unsigned int flags) in tb_lc_set_wake() 235 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep() 279 bool tb_lc_lane_bonding_possible(struct tb_switch *sw) in tb_lc_lane_bonding_possible() 300 static int tb_lc_dp_sink_from_port(const struct tb_switch *sw, in tb_lc_dp_sink_from_port() [all …]
|
| D | eeprom.c | 18 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write() 26 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read() 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() 71 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer() 96 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out() 116 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in() 137 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset() 168 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n() 287 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() 309 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic() [all …]
|
| D | tmu.c | 14 static const char *tb_switch_tmu_mode_name(const struct tb_switch *sw) in tb_switch_tmu_mode_name() 40 static bool tb_switch_tmu_ucap_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_supported() 53 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read() 67 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 131 static int tb_switch_tmu_set_time_disruption(struct tb_switch *sw, bool set) in tb_switch_tmu_set_time_disruption() 158 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 208 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 298 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() 339 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable()
|
| D | tb.c | 69 static void tb_add_dp_resources(struct tb_switch *sw) in tb_add_dp_resources() 86 static void tb_remove_dp_resources(struct tb_switch *sw) in tb_remove_dp_resources() 105 static void tb_discover_tunnels(struct tb_switch *sw) in tb_discover_tunnels() 181 struct tb_switch *sw = port->sw; in tb_scan_xdomain() local 202 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu() 226 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port() 245 static struct tb_port *tb_find_usb3_down(struct tb_switch *sw, in tb_find_usb3_down() 279 struct tb_switch *sw; in tb_find_first_usb3_tunnel() local 433 static int tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) in tb_tunnel_usb3() 511 static int tb_create_usb3_tunnels(struct tb_switch *sw) in tb_create_usb3_tunnels() [all …]
|
| D | usb4.c | 55 static int usb4_switch_wait_for_bit(struct tb_switch *sw, u32 offset, u32 bit, in usb4_switch_wait_for_bit() 77 static int usb4_switch_op_read_data(struct tb_switch *sw, void *data, in usb4_switch_op_read_data() 86 static int usb4_switch_op_write_data(struct tb_switch *sw, const void *data, in usb4_switch_op_write_data() 95 static int usb4_switch_op_read_metadata(struct tb_switch *sw, u32 *metadata) in usb4_switch_op_read_metadata() 100 static int usb4_switch_op_write_metadata(struct tb_switch *sw, u32 metadata) in usb4_switch_op_write_metadata() 175 static int usb4_switch_op(struct tb_switch *sw, u16 opcode, u8 *status) in usb4_switch_op() 200 static void usb4_switch_check_wakes(struct tb_switch *sw) in usb4_switch_check_wakes() 265 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup() 334 int usb4_switch_read_uid(struct tb_switch *sw, u64 *uid) in usb4_switch_read_uid() 343 struct tb_switch *sw = data; in usb4_switch_drom_read_block() local [all …]
|
| /kernel/linux/linux-5.10/drivers/input/joystick/ |
| D | sidewinder.c | 98 struct sw { struct 114 * sw_read_packet() is a function which reads either a data packet, or an argument 285 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse() 409 static int sw_read(struct sw *sw) in sw_read() 486 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local 495 struct sw *sw = input_get_drvdata(dev); in sw_open() local 503 struct sw *sw = input_get_drvdata(dev); in sw_close() local 572 struct sw *sw; in sw_connect() local 791 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
|
| /kernel/linux/linux-6.6/drivers/input/joystick/ |
| D | sidewinder.c | 95 struct sw { struct 111 * sw_read_packet() is a function which reads either a data packet, or an argument 282 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse() 406 static int sw_read(struct sw *sw) in sw_read() 483 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local 492 struct sw *sw = input_get_drvdata(dev); in sw_open() local 500 struct sw *sw = input_get_drvdata(dev); in sw_close() local 569 struct sw *sw; in sw_connect() local 789 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
|
| /kernel/linux/linux-5.10/drivers/usb/roles/ |
| D | class.c | 43 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() 71 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 129 struct usb_role_switch *sw; in usb_role_switch_get() local 152 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local 171 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put() 191 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local 210 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local 227 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local 236 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local 286 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| D | surface_aggregator_tabletsw.c | 72 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in state_show() local 90 struct ssam_tablet_sw *sw = container_of(work, struct ssam_tablet_sw, update_work); in ssam_tablet_sw_update_workfn() local 110 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in ssam_tablet_sw_resume() local 120 struct ssam_tablet_sw *sw; in ssam_tablet_sw_probe() local 194 struct ssam_tablet_sw *sw = ssam_device_get_drvdata(sdev); in ssam_tablet_sw_remove() local 216 static const char *ssam_kip_cover_state_name(struct ssam_tablet_sw *sw, in ssam_kip_cover_state_name() 244 static bool ssam_kip_cover_state_is_tablet_mode(struct ssam_tablet_sw *sw, in ssam_kip_cover_state_is_tablet_mode() 271 static int ssam_kip_get_cover_state(struct ssam_tablet_sw *sw, struct ssam_tablet_sw_state *state) in ssam_kip_get_cover_state() 289 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_kip_sw_notif() local 358 static const char *ssam_pos_state_name_cover(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_name_cover() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/roles/ |
| D | class.c | 46 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() 77 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 135 struct usb_role_switch *sw; in usb_role_switch_get() local 158 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local 177 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put() 197 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local 216 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local 242 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local 251 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local 300 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_main.c | 50 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, in prestera_port_find_by_hwid() 67 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id) in prestera_find_port() 279 static int prestera_port_create(struct prestera_switch *sw, u32 id) in prestera_port_create() 397 static void prestera_destroy_ports(struct prestera_switch *sw) in prestera_destroy_ports() 405 static int prestera_create_ports(struct prestera_switch *sw) in prestera_create_ports() 426 static void prestera_port_handle_event(struct prestera_switch *sw, in prestera_port_handle_event() 452 static int prestera_event_handlers_register(struct prestera_switch *sw) in prestera_event_handlers_register() 459 static void prestera_event_handlers_unregister(struct prestera_switch *sw) in prestera_event_handlers_unregister() 465 static int prestera_switch_set_base_mac_addr(struct prestera_switch *sw) in prestera_switch_set_base_mac_addr() 544 static int prestera_netdev_event_handler_register(struct prestera_switch *sw) in prestera_netdev_event_handler_register() [all …]
|
| D | prestera_devlink.c | 12 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() local 43 void prestera_devlink_free(struct prestera_switch *sw) in prestera_devlink_free() 50 int prestera_devlink_register(struct prestera_switch *sw) in prestera_devlink_register() 62 void prestera_devlink_unregister(struct prestera_switch *sw) in prestera_devlink_unregister() 71 struct prestera_switch *sw = port->sw; in prestera_devlink_port_register() local
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| D | role.h | 69 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() 75 static inline enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 91 static inline void usb_role_switch_put(struct usb_role_switch *sw) { } in usb_role_switch_put() 106 static inline void usb_role_switch_unregister(struct usb_role_switch *sw) { } in usb_role_switch_unregister() 109 usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata() 113 static inline void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| D | role.h | 70 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() 76 static inline enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 92 static inline void usb_role_switch_put(struct usb_role_switch *sw) { } in usb_role_switch_put() 107 static inline void usb_role_switch_unregister(struct usb_role_switch *sw) { } in usb_role_switch_unregister() 110 usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata() 114 static inline void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()
|