Home
last modified time | relevance | path

Searched defs:sw (Results 1 – 25 of 137) sorted by relevance

123456

/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_router_hw.c67 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()
247 prestera_rif_entry_create(struct prestera_switch *sw, in prestera_rif_entry_create()
298 __prestera_nh_neigh_create(struct prestera_switch *sw, in __prestera_nh_neigh_create()
326 prestera_nh_neigh_find(struct prestera_switch *sw, in prestera_nh_neigh_find()
337 prestera_nh_neigh_get(struct prestera_switch *sw, in prestera_nh_neigh_get()
349 void prestera_nh_neigh_put(struct prestera_switch *sw, in prestera_nh_neigh_put()
357 int prestera_nh_neigh_set(struct prestera_switch *sw, in prestera_nh_neigh_set()
491 prestera_nexthop_group_get(struct prestera_switch *sw, in prestera_nexthop_group_get()
614 struct prestera_switch *sw = arg; in prestera_fib_node_destroy_ht_cb() local
[all …]
A Dprestera_router.c430 prestera_neigh_iface_init(struct prestera_switch *sw, in prestera_neigh_iface_init()
724 __prestera_k_arb_n_lpm_set(struct prestera_switch *sw, in __prestera_k_arb_n_lpm_set()
817 __prestera_k_arb_nc_apply(struct prestera_switch *sw, in __prestera_k_arb_nc_apply()
1152 prestera_k_arb_fib_evt(struct prestera_switch *sw, in prestera_k_arb_fib_evt()
1217 struct prestera_switch *sw = arg; in __prestera_k_arb_abort_neigh_ht_cb() local
1235 struct prestera_switch *sw = arg; in __prestera_k_arb_abort_fib_ht_cb() local
1386 struct prestera_switch *sw; member
1395 struct prestera_switch *sw = fib_work->sw; in __prestera_router_fib_event_work() local
1471 struct prestera_switch *sw; member
1479 struct prestera_switch *sw = net_work->sw; in prestera_router_neigh_event_work() local
[all …]
A Dprestera_main.c377 struct prestera_switch *sw = port->sw; in prestera_port_sfp_bind() local
894 int prestera_lag_id(struct prestera_switch *sw, in prestera_lag_id()
948 struct prestera_switch *sw = port->sw; in prestera_lag_port_add() local
978 struct prestera_switch *sw = port->sw; in prestera_lag_port_del() local
1017 static int prestera_lag_init(struct prestera_switch *sw) in prestera_lag_init()
1031 static void prestera_lag_fini(struct prestera_switch *sw) in prestera_lag_fini()
1210 prestera_mdb_entry_create(struct prestera_switch *sw, in prestera_mdb_entry_create()
1250 prestera_flood_domain_create(struct prestera_switch *sw) in prestera_flood_domain_create()
1365 static int prestera_switch_init(struct prestera_switch *sw) in prestera_switch_init()
1476 struct prestera_switch *sw; in prestera_device_register() local
[all …]
A Dprestera_span.c21 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()
A Dprestera_devlink.c127 struct prestera_switch *sw; member
356 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() local
394 void prestera_devlink_free(struct prestera_switch *sw) in prestera_devlink_free()
401 void prestera_devlink_register(struct prestera_switch *sw) in prestera_devlink_register()
408 void prestera_devlink_unregister(struct prestera_switch *sw) in prestera_devlink_unregister()
417 struct prestera_switch *sw = port->sw; in prestera_devlink_port_register() local
443 int prestera_devlink_traps_register(struct prestera_switch *sw) in prestera_devlink_traps_register()
530 prestera_devlink_trap_item_lookup(struct prestera_switch *sw, u16 trap_id) in prestera_devlink_trap_item_lookup()
546 struct prestera_switch *sw = devlink_priv(devlink); in prestera_trap_init() local
572 struct prestera_switch *sw = devlink_priv(devlink); in prestera_drop_counter_get() local
[all …]
A Dprestera_hw.c834 static int prestera_cmd_ret(struct prestera_switch *sw, in prestera_cmd_ret()
851 static int prestera_cmd(struct prestera_switch *sw, in prestera_cmd()
916 __find_event_handler(const struct prestera_switch *sw, in __find_event_handler()
949 struct prestera_switch *sw = dev->priv; in prestera_evt_recv() local
979 struct prestera_switch *sw = dev->priv; in prestera_pkt_recv() local
1054 int prestera_hw_switch_init(struct prestera_switch *sw) in prestera_hw_switch_init()
1085 void prestera_hw_switch_fini(struct prestera_switch *sw) in prestera_hw_switch_fini()
1306 int prestera_hw_vtcam_create(struct prestera_switch *sw, in prestera_hw_vtcam_create()
2001 int prestera_hw_rif_create(struct prestera_switch *sw, in prestera_hw_rif_create()
2170 int prestera_hw_rxtx_init(struct prestera_switch *sw, in prestera_hw_rxtx_init()
[all …]
/linux-6.3-rc2/drivers/thunderbolt/
A Dswitch.c829 const struct tb_switch *sw) in tb_switch_is_reachable()
1600 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset()
1704 struct tb_switch *sw = tb_to_switch(dev); in authorized_show() local
1712 struct tb_switch *sw; in disapprove_switch() local
1792 struct tb_switch *sw = tb_to_switch(dev); in authorized_store() local
1814 struct tb_switch *sw = tb_to_switch(dev); in boot_show() local
1823 struct tb_switch *sw = tb_to_switch(dev); in device_show() local
1832 struct tb_switch *sw = tb_to_switch(dev); in device_name_show() local
2331 struct tb_switch *sw; in tb_switch_alloc() local
2450 struct tb_switch *sw; in tb_switch_alloc_safe_mode() local
[all …]
A Dtmu.c14 static int tb_switch_set_tmu_mode_params(struct tb_switch *sw, in tb_switch_set_tmu_mode_params()
89 static bool tb_switch_tmu_ucap_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_supported()
102 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read()
235 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init()
285 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time()
384 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable()
600 static int __tb_switch_tmu_change_mode(struct tb_switch *sw) in __tb_switch_tmu_change_mode()
653 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable()
739 void tb_switch_tmu_configure(struct tb_switch *sw, in tb_switch_tmu_configure()
749 struct tb_switch *sw = tb_to_switch(dev); in tb_switch_tmu_config_enable() local
[all …]
A Dlc.c16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid()
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
173 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() local
205 struct tb_switch *sw = port->sw; in tb_lc_is_clx_supported() local
228 struct tb_switch *sw = port->sw; in tb_lc_is_usb_plugged() local
254 struct tb_switch *sw = port->sw; in tb_lc_is_xhci_connected() local
274 struct tb_switch *sw = port->sw; in __tb_lc_xhci_connect() local
406 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep()
[all …]
A Deeprom.c42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
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()
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()
360 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port()
441 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi()
472 static int tb_drom_copy_nvm(struct tb_switch *sw, u16 *size) in tb_drom_copy_nvm()
547 static int tb_drom_parse(struct tb_switch *sw) in tb_drom_parse()
575 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse()
[all …]
A Dtb.c181 static void tb_add_dp_resources(struct tb_switch *sw) in tb_add_dp_resources()
336 struct tb_switch *sw = port->sw; in tb_scan_xdomain() local
360 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu()
437 struct tb_switch *sw; in tb_find_first_usb3_tunnel() local
720 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch()
740 struct tb_switch *sw; in tb_scan_port() local
1423 struct tb_switch *sw; in tb_approve_xdomain_paths() local
1457 struct tb_switch *sw; in __tb_disconnect_xdomain_paths() local
1501 struct tb_switch *sw; in tb_handle_hotplug() local
1731 struct tb_switch *sw; in tb_handle_dp_bandwidth_request() local
[all …]
A Dusb4.c156 static void usb4_switch_check_wakes(struct tb_switch *sw) in usb4_switch_check_wakes()
234 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup()
317 struct tb_switch *sw = data; in usb4_switch_drom_read_block() local
462 int usb4_switch_set_sleep(struct tb_switch *sw) in usb4_switch_set_sleep()
490 int usb4_switch_nvm_sector_size(struct tb_switch *sw) in usb4_switch_nvm_sector_size()
510 struct tb_switch *sw = data; in usb4_switch_nvm_read_block() local
576 struct tb_switch *sw = data; in usb4_switch_nvm_write_next_block() local
624 int usb4_switch_nvm_authenticate(struct tb_switch *sw) in usb4_switch_nvm_authenticate()
700 int usb4_switch_credits_init(struct tb_switch *sw) in usb4_switch_credits_init()
1001 int usb4_switch_add_ports(struct tb_switch *sw) in usb4_switch_add_ports()
[all …]
A Dtb.h276 struct tb_switch *sw; member
541 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port()
559 static inline u64 tb_route(const struct tb_switch *sw) in tb_route()
632 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, in tb_sw_read()
694 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument
819 #define tb_switch_for_each_port(sw, p) \ argument
823 static inline struct tb_switch *tb_switch_get(struct tb_switch *sw) in tb_switch_get()
830 static inline void tb_switch_put(struct tb_switch *sw) in tb_switch_put()
936 static inline bool tb_switch_is_usb4(const struct tb_switch *sw) in tb_switch_is_usb4()
950 static inline bool tb_switch_is_icm(const struct tb_switch *sw) in tb_switch_is_icm()
[all …]
A Ddma_port.c55 struct tb_switch *sw; member
168 static int dma_find_port(struct tb_switch *sw) in dma_find_port()
201 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw) in dma_port_alloc()
243 struct tb_switch *sw = dma->sw; in dma_port_wait_for_completion() local
281 struct tb_switch *sw = dma->sw; in dma_port_request() local
306 struct tb_switch *sw = dma->sw; in dma_port_flash_read_block() local
328 struct tb_switch *sw = dma->sw; in dma_port_flash_write_block() local
422 struct tb_switch *sw = dma->sw; in dma_port_flash_update_auth_status() local
A Dicm.c613 struct tb_switch *sw; in alloc_switch() local
672 static void remove_switch(struct tb_switch *sw) in remove_switch()
714 struct tb_switch *sw; in remove_xdomain() local
727 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local
874 struct tb_switch *sw; in icm_fr_device_disconnected() local
909 struct tb_switch *sw; in icm_fr_xdomain_connected() local
1207 struct tb_switch *sw, *parent_sw; in __icm_tr_device_connected() local
1306 struct tb_switch *sw; in icm_tr_device_disconnected() local
1332 struct tb_switch *sw; in icm_tr_xdomain_connected() local
2010 static void icm_unplug_children(struct tb_switch *sw) in icm_unplug_children()
[all …]
A Ddebugfs.c180 struct tb_switch *sw = s->private; in switch_regs_write() local
554 struct tb_switch *sw = port->sw; in margining_run_write() local
951 static void margining_switch_init(struct tb_switch *sw) in margining_switch_init()
968 static void margining_switch_remove(struct tb_switch *sw) in margining_switch_remove()
1035 struct tb_switch *sw = port->sw; in counters_write() local
1235 struct tb_switch *sw = port->sw; in port_regs_show() local
1339 struct tb_switch *sw = s->private; in switch_regs_show() local
1391 struct tb_switch *sw = port->sw; in path_show() local
1454 struct tb_switch *sw = port->sw; in counters_show() local
1489 void tb_switch_debugfs_init(struct tb_switch *sw) in tb_switch_debugfs_init()
[all …]
A Dcap.c20 struct tb_switch *sw = port->sw; in tb_port_enable_tmu() local
145 int tb_switch_next_cap(struct tb_switch *sw, unsigned int offset) in tb_switch_next_cap()
188 int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap()
221 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) in tb_switch_find_vse_cap()
A Dquirks.c10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link()
15 static void quirk_dp_credit_allocation(struct tb_switch *sw) in quirk_dp_credit_allocation()
48 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
/linux-6.3-rc2/drivers/input/joystick/
A Dsidewinder.c95 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
/linux-6.3-rc2/drivers/usb/roles/
A Dclass.c70 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
128 struct usb_role_switch *sw; in usb_role_switch_get() local
151 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
170 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
206 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
232 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
241 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
290 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
320 struct usb_role_switch *sw; in usb_role_switch_register() local
365 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
[all …]
/linux-6.3-rc2/drivers/platform/surface/
A Dsurface_aggregator_tabletsw.c63 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in state_show() local
101 struct ssam_tablet_sw *sw = dev_get_drvdata(dev); in ssam_tablet_sw_resume() local
111 struct ssam_tablet_sw *sw; in ssam_tablet_sw_probe() local
185 struct ssam_tablet_sw *sw = ssam_device_get_drvdata(sdev); in ssam_tablet_sw_remove() local
255 static int ssam_kip_get_cover_state(struct ssam_tablet_sw *sw, u32 *state) in ssam_kip_get_cover_state()
272 struct ssam_tablet_sw *sw = container_of(nf, struct ssam_tablet_sw, notif); in ssam_kip_sw_notif() local
327 static const char *ssam_pos_state_name(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_name()
348 static bool ssam_pos_state_is_tablet_mode(struct ssam_tablet_sw *sw, u32 state) in ssam_pos_state_is_tablet_mode()
404 static int ssam_pos_get_source(struct ssam_tablet_sw *sw, u32 *source_id) in ssam_pos_get_source()
453 static int ssam_pos_get_posture(struct ssam_tablet_sw *sw, u32 *state) in ssam_pos_get_posture()
[all …]
/linux-6.3-rc2/include/linux/usb/
A Drole.h70 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-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/sw/
A Dbase.c30 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
81 struct nvkm_sw *sw = nvkm_sw(oclass->engine); in nvkm_sw_cclass_get() local
102 struct nvkm_sw *sw; in nvkm_sw_new_() local
/linux-6.3-rc2/drivers/block/
A Dswim3.c275 struct swim3 __iomem *sw = fs->swim3; in swim3_select() local
287 struct swim3 __iomem *sw = fs->swim3; in swim3_action() local
299 struct swim3 __iomem *sw = fs->swim3; in swim3_readbit() local
375 struct swim3 __iomem *sw = fs->swim3; in scan_track() local
388 struct swim3 __iomem *sw = fs->swim3; in seek_track() local
435 struct swim3 __iomem *sw = fs->swim3; in setup_transfer() local
560 struct swim3 __iomem *sw = fs->swim3; in scan_timeout() local
584 struct swim3 __iomem *sw = fs->swim3; in seek_timeout() local
603 struct swim3 __iomem *sw = fs->swim3; in settle_timeout() local
1035 struct swim3 __iomem *sw; in floppy_revalidate() local
[all …]
/linux-6.3-rc2/drivers/input/misc/
A Dad714x.c216 struct ad714x_button_drv *sw = &ad714x->sw->button[idx]; in ad714x_button_state_machine() local
269 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_highest_stage() local
294 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_abs_pos() local
315 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_flt_pos() local
341 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_state_machine() local
410 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_highest_stage() local
452 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_abs_pos() local
483 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_flt_pos() local
513 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_state_machine() local
597 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_cal_highest_stage() local
[all …]

Completed in 94 milliseconds

123456