| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | prestera_main.c | 93 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, in prestera_port_find_by_hwid() argument 110 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id) in prestera_find_port() argument 372 struct prestera_switch *sw in prestera_port_sfp_bind() local 603 prestera_port_create(struct prestera_switch * sw,u32 id) prestera_port_create() argument 764 prestera_destroy_ports(struct prestera_switch * sw) prestera_destroy_ports() argument 772 prestera_create_ports(struct prestera_switch * sw) prestera_create_ports() argument 795 prestera_port_handle_event(struct prestera_switch * sw,struct prestera_event * evt,void * arg) prestera_port_handle_event() argument 843 prestera_event_handlers_register(struct prestera_switch * sw) prestera_event_handlers_register() argument 850 prestera_event_handlers_unregister(struct prestera_switch * sw) prestera_event_handlers_unregister() argument 856 prestera_switch_set_base_mac_addr(struct prestera_switch * sw) prestera_switch_set_base_mac_addr() argument 870 prestera_lag_by_id(struct prestera_switch * sw,u16 id) prestera_lag_by_id() argument 875 prestera_lag_by_dev(struct prestera_switch * sw,struct net_device * dev) prestera_lag_by_dev() argument 890 prestera_lag_id(struct prestera_switch * sw,struct net_device * lag_dev,u16 * lag_id) prestera_lag_id() argument 914 prestera_lag_create(struct prestera_switch * sw,struct net_device * lag_dev) prestera_lag_create() argument 933 prestera_lag_destroy(struct prestera_switch * sw,struct prestera_lag * lag) prestera_lag_destroy() argument 944 struct prestera_switch *sw = port->sw; prestera_lag_port_add() local 974 struct prestera_switch *sw = port->sw; prestera_lag_port_del() local 1013 prestera_lag_init(struct prestera_switch * sw) prestera_lag_init() argument 1027 prestera_lag_fini(struct prestera_switch * sw) prestera_lag_fini() argument 1206 prestera_mdb_entry_create(struct prestera_switch * sw,const unsigned char * addr,u16 vid) prestera_mdb_entry_create() argument 1246 prestera_flood_domain_create(struct prestera_switch * sw) prestera_flood_domain_create() argument 1349 prestera_netdev_event_handler_register(struct prestera_switch * sw) prestera_netdev_event_handler_register() argument 1356 prestera_netdev_event_handler_unregister(struct prestera_switch * sw) prestera_netdev_event_handler_unregister() argument 1361 prestera_switch_init(struct prestera_switch * sw) prestera_switch_init() argument 1452 prestera_switch_fini(struct prestera_switch * sw) prestera_switch_fini() argument 1472 struct prestera_switch *sw; prestera_device_register() local 1494 struct prestera_switch *sw = dev->priv; prestera_device_unregister() local [all...] |
| H A D | prestera_devlink.c | 127 struct prestera_switch *sw; member 356 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() local 396 void prestera_devlink_free(struct prestera_switch *sw) in prestera_devlink_free() 403 void prestera_devlink_register(struct prestera_switch *sw) in prestera_devlink_register() 410 void prestera_devlink_unregister(struct prestera_switch *sw) in prestera_devlink_unregister() 419 struct prestera_switch *sw = port->sw; in prestera_devlink_port_register() local 445 int prestera_devlink_traps_register(struct prestera_switch *sw) in prestera_devlink_traps_register() 499 prestera_get_trap_item_by_cpu_code(struct prestera_switch *sw, u8 cpu_code) in prestera_get_trap_item_by_cpu_code() 531 prestera_devlink_trap_item_lookup(struct prestera_switch *sw, u16 trap_id) in prestera_devlink_trap_item_lookup() 547 struct prestera_switch *sw = devlink_priv(devlink); in prestera_trap_init() local [all …]
|
| H A 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()
|
| H A D | prestera_hw.c | 813 static int __prestera_cmd_ret(struct prestera_switch *sw, in __prestera_cmd_ret() 836 static int prestera_cmd_ret(struct prestera_switch *sw, in prestera_cmd_ret() 844 static int prestera_cmd_ret_wait(struct prestera_switch *sw, in prestera_cmd_ret_wait() 853 static int prestera_cmd(struct prestera_switch *sw, in prestera_cmd() 918 __find_event_handler(const struct prestera_switch *sw, in __find_event_handler() 931 static int prestera_find_event_handler(const struct prestera_switch *sw, in prestera_find_event_handler() 951 struct prestera_switch *sw = dev->priv; in prestera_evt_recv() local 981 struct prestera_switch *sw = dev->priv; in prestera_pkt_recv() local 1044 int prestera_hw_switch_mac_set(struct prestera_switch *sw, const char *mac) in prestera_hw_switch_mac_set() 1056 int prestera_hw_switch_init(struct prestera_switch *sw) in prestera_hw_switch_init() [all …]
|
| H A D | prestera_switchdev.c | 30 struct prestera_switch *sw; member 97 prestera_bridge_find(const struct prestera_switch *sw, in prestera_bridge_find() 123 prestera_bridge_port_find(struct prestera_switch *sw, in prestera_bridge_port_find() 788 struct prestera_switch *sw = port->sw; in prestera_port_attr_br_ageing_set() local 801 struct prestera_switch *sw = port->sw; in prestera_port_attr_br_vlan_set() local 879 struct prestera_switch *sw; in prestera_br_port_lag_mdb_mc_enable_sync() local 1094 struct prestera_switch *sw = port->sw; in prestera_port_attr_br_mc_disabled_set() local 1220 struct prestera_switch *sw = port->sw; in prestera_port_fdb_set() local 1474 struct prestera_switch *sw = port->sw; in prestera_port_vlans_add() local 1494 prestera_br_mdb_entry_create(struct prestera_switch *sw, in prestera_br_mdb_entry_create() [all …]
|
| H A D | prestera_flow.c | 79 prestera_flow_block_create(struct prestera_switch *sw, in prestera_flow_block_create() 173 prestera_flow_block_get(struct prestera_switch *sw, in prestera_flow_block_get() 222 struct prestera_switch *sw = port->sw; in prestera_setup_flow_block_bind() local 259 struct prestera_switch *sw = port->sw; in prestera_setup_flow_block_unbind() local
|
| H A D | prestera_acl.c | 15 struct prestera_switch *sw; member 477 int prestera_acl_rule_add(struct prestera_switch *sw, in prestera_acl_rule_add() 529 void prestera_acl_rule_del(struct prestera_switch *sw, in prestera_acl_rule_del() 578 static int __prestera_acl_rule_entry2hw_del(struct prestera_switch *sw, in __prestera_acl_rule_entry2hw_del() 584 static int __prestera_acl_rule_entry2hw_add(struct prestera_switch *sw, in __prestera_acl_rule_entry2hw_add() 633 __prestera_acl_rule_entry_act_destruct(struct prestera_switch *sw, in __prestera_acl_rule_entry_act_destruct() 659 __prestera_acl_rule_entry_act_construct(struct prestera_switch *sw, in __prestera_acl_rule_entry_act_construct() 878 int prestera_acl_init(struct prestera_switch *sw) in prestera_acl_init() 913 void prestera_acl_fini(struct prestera_switch *sw) in prestera_acl_fini()
|
| /linux/drivers/thunderbolt/ |
| H A D | lc.c | 20 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 27 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 36 struct tb_switch *sw = port->sw; in find_port_lc_cap() local 64 struct tb_switch *sw = port->sw; in tb_lc_reset_port() local 99 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() local 161 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() local 227 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() local 261 struct tb_switch *sw = port->sw; in tb_lc_is_clx_supported() local 285 struct tb_switch *sw = port->sw; in tb_lc_is_usb_plugged() local 312 struct tb_switch *sw = port->sw; in tb_lc_is_xhci_connected() local [all …]
|
| H A D | eeprom.c | 18 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write() argument 26 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read() argument 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() argument 71 tb_eeprom_transfer(struct tb_switch * sw,struct tb_eeprom_ctl * ctl,enum tb_eeprom_transfer direction) tb_eeprom_transfer() argument 96 tb_eeprom_out(struct tb_switch * sw,u8 val) tb_eeprom_out() argument 116 tb_eeprom_in(struct tb_switch * sw,u8 * val) tb_eeprom_in() argument 137 tb_eeprom_get_drom_offset(struct tb_switch * sw,u16 * offset) tb_eeprom_get_drom_offset() argument 168 tb_eeprom_read_n(struct tb_switch * sw,u16 offset,u8 * val,size_t count) tb_eeprom_read_n() argument 304 tb_drom_read_uid_only(struct tb_switch * sw,u64 * uid) tb_drom_read_uid_only() argument 326 tb_drom_parse_entry_generic(struct tb_switch * sw,struct tb_drom_entry_header * header) tb_drom_parse_entry_generic() argument 362 tb_drom_parse_entry_port(struct tb_switch * sw,struct tb_drom_entry_header * header) tb_drom_parse_entry_port() argument 409 tb_drom_parse_entries(struct tb_switch * sw,size_t header_size) tb_drom_parse_entries() argument 440 tb_switch_drom_alloc(struct tb_switch * sw,size_t size) tb_switch_drom_alloc() argument 453 tb_switch_drom_free(struct tb_switch * sw) tb_switch_drom_free() argument 466 tb_drom_copy_efi(struct tb_switch * sw,u16 * size) tb_drom_copy_efi() argument 496 tb_drom_copy_nvm(struct tb_switch * sw,u16 * size) tb_drom_copy_nvm() argument 536 usb4_copy_drom(struct tb_switch * sw,u16 * size) usb4_copy_drom() argument 557 tb_drom_bit_bang(struct tb_switch * sw,u16 * size) tb_drom_bit_bang() argument 585 tb_drom_parse_v1(struct tb_switch * sw) tb_drom_parse_v1() argument 613 usb4_drom_parse(struct tb_switch * sw) usb4_drom_parse() argument 629 tb_drom_parse(struct tb_switch * sw,u16 size) tb_drom_parse() argument 667 tb_drom_host_read(struct tb_switch * sw) tb_drom_host_read() argument 688 tb_drom_device_read(struct tb_switch * sw) tb_drom_device_read() argument 716 tb_drom_read(struct tb_switch * sw) tb_drom_read() argument [all...] |
| H A 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() 411 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 447 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 565 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() [all …]
|
| H A D | tb.c | 111 static void tb_add_dp_resources(struct tb_switch *sw) in tb_add_dp_resources() argument 138 static void tb_remove_dp_resources(struct tb_switch *sw) in tb_remove_dp_resources() argument 184 tb_enable_clx(struct tb_switch * sw) tb_enable_clx() argument 235 tb_disable_clx(struct tb_switch * sw) tb_disable_clx() argument 256 struct tb_switch *sw; tb_increase_switch_tmu_accuracy() local 283 struct tb_switch *sw; tb_increase_tmu_accuracy() local 303 struct tb_switch *sw = tb_to_switch(dev); tb_switch_tmu_hifi_uni_required() local 319 tb_enable_tmu(struct tb_switch * sw) tb_enable_tmu() argument 376 tb_switch_discover_tunnels(struct tb_switch * sw,struct list_head * list,bool alloc_hopids) tb_switch_discover_tunnels() argument 433 struct tb_switch *sw = port->sw; tb_scan_xdomain() local 460 tb_find_unused_port(struct tb_switch * sw,enum tb_port_type type) tb_find_unused_port() argument 479 tb_find_usb3_down(struct tb_switch * sw,const struct tb_port * port) tb_find_usb3_down() argument 513 struct tb_switch *sw; tb_find_first_usb3_tunnel() local 905 tb_tunnel_usb3(struct tb * tb,struct tb_switch * sw) tb_tunnel_usb3() argument 997 tb_create_usb3_tunnels(struct tb_switch * sw) tb_create_usb3_tunnels() argument 1044 struct tb_switch *sw; tb_configure_asym() local 1151 struct tb_switch *sw; tb_configure_sym() local 1233 tb_configure_link(struct tb_port * down,struct tb_port * up,struct tb_switch * sw) tb_configure_link() argument 1273 tb_scan_switch(struct tb_switch * sw) tb_scan_switch() argument 1294 struct tb_switch *sw; tb_scan_port() local 1790 tb_free_unplugged_children(struct tb_switch * sw) tb_free_unplugged_children() argument 1814 tb_find_pcie_down(struct tb_switch * sw,const struct tb_port * port) tb_find_pcie_down() argument 2106 struct tb_switch *sw = port->sw; tb_enter_redrive() local 2131 struct tb_switch *sw = port->sw; tb_exit_redrive() local 2147 tb_switch_enter_redrive(struct tb_switch * sw) tb_switch_enter_redrive() argument 2159 tb_switch_exit_redrive(struct tb_switch * sw) tb_switch_exit_redrive() argument 2254 tb_disconnect_pci(struct tb * tb,struct tb_switch * sw) tb_disconnect_pci() argument 2275 tb_tunnel_pci(struct tb * tb,struct tb_switch * sw) tb_tunnel_pci() argument 2326 struct tb_switch *sw; tb_approve_xdomain_paths() local 2375 struct tb_switch *sw; __tb_disconnect_xdomain_paths() local 2426 struct tb_switch *sw; tb_handle_hotplug() local 2738 struct tb_switch *sw; tb_handle_dp_bandwidth_request() local 2968 struct tb_switch *sw = tb_to_switch(dev); tb_scan_finalize_switch() local 3081 tb_restore_children(struct tb_switch * sw) tb_restore_children() argument 3174 tb_free_unplugged_xdomains(struct tb_switch * sw) tb_free_unplugged_xdomains() argument [all...] |
| H A D | usb4.c | 54 static int usb4_native_switch_op(struct tb_switch *sw, u16 opcode, in usb4_native_switch_op() argument 109 static int __usb4_switch_op(struct tb_switch *sw, u16 opcode, u32 *metadata, in __usb4_switch_op() argument 142 usb4_switch_op(struct tb_switch * sw,u16 opcode,u32 * metadata,u8 * status) usb4_switch_op() argument 148 usb4_switch_op_data(struct tb_switch * sw,u16 opcode,u32 * metadata,u8 * status,const void * tx_data,size_t tx_dwords,void * rx_data,size_t rx_dwords) usb4_switch_op_data() argument 163 usb4_switch_check_wakes(struct tb_switch * sw) usb4_switch_check_wakes() argument 243 usb4_switch_setup(struct tb_switch * sw) usb4_switch_setup() argument 311 usb4_switch_configuration_valid(struct tb_switch * sw) usb4_switch_configuration_valid() argument 342 usb4_switch_read_uid(struct tb_switch * sw,u64 * uid) usb4_switch_read_uid() argument 351 struct tb_switch *sw = data; usb4_switch_drom_read_block() local 381 usb4_switch_drom_read(struct tb_switch * sw,unsigned int address,void * buf,size_t size) usb4_switch_drom_read() argument 397 usb4_switch_lane_bonding_possible(struct tb_switch * sw) usb4_switch_lane_bonding_possible() argument 421 usb4_switch_set_wake(struct tb_switch * sw,unsigned int flags,bool runtime) usb4_switch_set_wake() argument 502 usb4_switch_set_sleep(struct tb_switch * sw) usb4_switch_set_sleep() argument 531 usb4_switch_nvm_sector_size(struct tb_switch * sw) usb4_switch_nvm_sector_size() argument 551 struct tb_switch *sw = data; usb4_switch_nvm_read_block() local 583 usb4_switch_nvm_read(struct tb_switch * sw,unsigned int address,void * buf,size_t size) usb4_switch_nvm_read() argument 600 usb4_switch_nvm_set_offset(struct tb_switch * sw,unsigned int address) usb4_switch_nvm_set_offset() argument 621 struct tb_switch *sw = data; usb4_switch_nvm_write_next_block() local 647 usb4_switch_nvm_write(struct tb_switch * sw,unsigned int address,const void * buf,size_t size) usb4_switch_nvm_write() argument 675 usb4_switch_nvm_authenticate(struct tb_switch * sw) usb4_switch_nvm_authenticate() argument 709 usb4_switch_nvm_authenticate_status(struct tb_switch * sw,u32 * status) usb4_switch_nvm_authenticate_status() argument 753 usb4_switch_credits_init(struct tb_switch * sw) usb4_switch_credits_init() argument 895 usb4_switch_query_dp_resource(struct tb_switch * sw,struct tb_port * in) usb4_switch_query_dp_resource() argument 928 usb4_switch_alloc_dp_resource(struct tb_switch * sw,struct tb_port * in) usb4_switch_alloc_dp_resource() argument 953 usb4_switch_dealloc_dp_resource(struct tb_switch * sw,struct tb_port * in) usb4_switch_dealloc_dp_resource() argument 977 usb4_port_index(const struct tb_switch * sw,const struct tb_port * port) usb4_port_index() argument 1010 usb4_switch_map_pcie_down(struct tb_switch * sw,const struct tb_port * port) usb4_switch_map_pcie_down() argument 1043 usb4_switch_map_usb3_down(struct tb_switch * sw,const struct tb_port * port) usb4_switch_map_usb3_down() argument 1073 usb4_switch_add_ports(struct tb_switch * sw) usb4_switch_add_ports() argument 1106 usb4_switch_remove_ports(struct tb_switch * sw) usb4_switch_remove_ports() argument [all...] |
| H A D | icm.c | 422 struct icm_fr_pkg_get_topology_response *switches, *sw; in icm_fr_get_route() local 498 icm_fr_approve_switch(struct tb * tb,struct tb_switch * sw) icm_fr_approve_switch() argument 525 icm_fr_add_switch_key(struct tb * tb,struct tb_switch * sw) icm_fr_add_switch_key() argument 552 icm_fr_challenge_switch_key(struct tb * tb,struct tb_switch * sw,const u8 * challenge,u8 * response) icm_fr_challenge_switch_key() argument 638 struct tb_switch *sw; alloc_switch() local 656 add_switch(struct tb_switch * parent_sw,struct tb_switch * sw) add_switch() argument 672 update_switch(struct tb_switch * sw,u64 route,u8 connection_id,u8 connection_key,u8 link,u8 depth,bool boot) update_switch() argument 698 remove_switch(struct tb_switch * sw) remove_switch() argument 704 add_xdomain(struct tb_switch * sw,u64 route,const uuid_t * local_uuid,const uuid_t * remote_uuid,u8 link,u8 depth) add_xdomain() argument 737 struct tb_switch *sw; remove_xdomain() local 750 struct tb_switch *sw, *parent_sw; icm_fr_device_connected() local 897 struct tb_switch *sw; icm_fr_device_disconnected() local 932 struct tb_switch *sw; icm_fr_xdomain_connected() local 1066 icm_tr_approve_switch(struct tb * tb,struct tb_switch * sw) icm_tr_approve_switch() argument 1093 icm_tr_add_switch_key(struct tb * tb,struct tb_switch * sw) icm_tr_add_switch_key() argument 1121 icm_tr_challenge_switch_key(struct tb * tb,struct tb_switch * sw,const u8 * challenge,u8 * response) icm_tr_challenge_switch_key() argument 1236 struct tb_switch *sw, *parent_sw; __icm_tr_device_connected() local 1335 struct tb_switch *sw; icm_tr_device_disconnected() local 1361 struct tb_switch *sw; icm_tr_xdomain_connected() local 2042 icm_unplug_children(struct tb_switch * sw) icm_unplug_children() argument 2059 struct tb_switch *sw = tb_to_switch(dev); complete_rpm() local 2066 remove_unplugged_switch(struct tb_switch * sw) remove_unplugged_switch() argument 2087 icm_free_unplugged_children(struct tb_switch * sw) icm_free_unplugged_children() argument 2153 icm_runtime_suspend_switch(struct tb_switch * sw) icm_runtime_suspend_switch() argument 2160 icm_runtime_resume_switch(struct tb_switch * sw) icm_runtime_resume_switch() argument 2292 icm_usb4_switch_op(struct tb_switch * sw,u16 opcode,u32 * metadata,u8 * status,const void * tx_data,size_t tx_data_len,void * rx_data,size_t rx_data_len) icm_usb4_switch_op() argument 2354 icm_usb4_switch_nvm_authenticate_status(struct tb_switch * sw,u32 * status) icm_usb4_switch_nvm_authenticate_status() argument [all...] |
| H A D | debugfs.c | 221 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write() argument 295 struct tb_switch *sw = s->private; in switch_regs_write() local 386 struct tb_switch *sw = port->sw; port_sb_regs_write() local 1225 struct tb_switch *sw = port->sw; margining_run_write() local 1793 margining_switch_init(struct tb_switch * sw) margining_switch_init() argument 1810 margining_switch_remove(struct tb_switch * sw) margining_switch_remove() argument 1861 margining_switch_init(struct tb_switch * sw) margining_switch_init() argument 1862 margining_switch_remove(struct tb_switch * sw) margining_switch_remove() argument 1892 struct tb_switch *sw = port->sw; counters_write() local 1934 cap_show_by_dw(struct seq_file * s,struct tb_switch * sw,struct tb_port * port,unsigned int cap,unsigned int offset,u8 cap_id,u8 vsec_id,int dwords) cap_show_by_dw() argument 1957 cap_show(struct seq_file * s,struct tb_switch * sw,struct tb_port * port,unsigned int cap,u8 cap_id,u8 vsec_id,int length) cap_show() argument 2100 struct tb_switch *sw = port->sw; port_regs_show() local 2129 switch_cap_show(struct tb_switch * sw,struct seq_file * s,unsigned int cap) switch_cap_show() argument 2169 switch_caps_show(struct tb_switch * sw,struct seq_file * s) switch_caps_show() argument 2180 switch_basic_regs_show(struct tb_switch * sw,struct seq_file * s) switch_basic_regs_show() argument 2204 struct tb_switch *sw = s->private; switch_regs_show() local 2256 struct tb_switch *sw = port->sw; path_show() local 2319 struct tb_switch *sw = port->sw; counters_show() local 2379 struct tb_switch *sw = port->sw; port_sb_regs_show() local 2408 tb_switch_debugfs_init(struct tb_switch * sw) tb_switch_debugfs_init() argument 2452 tb_switch_debugfs_remove(struct tb_switch * sw) tb_switch_debugfs_remove() argument [all...] |
| H A D | nvm.c | 58 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_version() local 91 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_validate() local 138 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_write_headers() local 162 struct tb_switch *sw = tb_to_switch(nvm->dev); in asmedia_switch_nvm_version() local 296 const struct tb_switch *sw = tb_to_switch(dev); in tb_nvm_alloc() local
|
| /linux/drivers/input/joystick/ |
| H A D | sidewinder.c | 96 struct sw { struct 112 * sw_read_packet() is a function which reads either a data packet, or an argument 283 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse() 407 static int sw_read(struct sw *sw) in sw_read() 484 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local 493 struct sw *sw = input_get_drvdata(dev); in sw_open() local 501 struct sw *sw = input_get_drvdata(dev); in sw_close() local 570 struct sw *sw; in sw_connect() local 790 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
|
| /linux/drivers/platform/surface/ |
| H A 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 …]
|
| /linux/drivers/usb/roles/ |
| H A D | class.c | 75 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() 106 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 169 struct usb_role_switch *sw; in usb_role_switch_get() local 192 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local 211 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put() 231 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local 250 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local 276 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local 285 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local 334 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local [all …]
|
| /linux/include/linux/usb/ |
| H A 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()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
| H A D | base.c | 30 nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data) in nvkm_sw_mthd() 61 struct nvkm_sw *sw = nvkm_sw(oclass->engine); in nvkm_sw_oclass_get() local 80 struct nvkm_sw *sw = nvkm_sw(oclass->engine); in nvkm_sw_cclass_get() local 101 struct nvkm_sw *sw; in nvkm_sw_new_() local
|
| /linux/drivers/block/ |
| H A D | swim3.c | 274 struct swim3 __iomem *sw = fs->swim3; in swim3_select() local 286 struct swim3 __iomem *sw = fs->swim3; in swim3_action() local 298 struct swim3 __iomem *sw = fs->swim3; in swim3_readbit() local 374 struct swim3 __iomem *sw = fs->swim3; in scan_track() local 387 struct swim3 __iomem *sw = fs->swim3; in seek_track() local 434 struct swim3 __iomem *sw = fs->swim3; in setup_transfer() local 559 struct swim3 __iomem *sw = fs->swim3; in scan_timeout() local 583 struct swim3 __iomem *sw = fs->swim3; in seek_timeout() local 602 struct swim3 __iomem *sw = fs->swim3; in settle_timeout() local 631 struct swim3 __iomem *sw = fs->swim3; in xfer_timeout() local [all …]
|
| /linux/arch/nios2/kernel/ |
| H A D | signal.c | 38 struct switch_stack *sw, in rt_restore_ucontext() 101 asmlinkage int do_rt_sigreturn(struct switch_stack *sw) in do_rt_sigreturn() 130 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext() local
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_event.c | 13 bool sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_queue_work() 43 struct sas_work *sw, *_sw; in sas_queue_deferred_work() local 155 struct sas_work *sw = &ev->work; in sas_defer_event() local
|