/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-ring.c | 403 unsigned int slot_id, in xhci_ring_ep_doorbell() 407 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell() 408 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell() 421 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell() 431 unsigned int slot_id, in ring_doorbell_for_active_rings() 437 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings() 442 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings() 450 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings() 456 unsigned int slot_id, in xhci_ring_doorbell_for_active_rings() 459 ring_doorbell_for_active_rings(xhci, slot_id, ep_inde in xhci_ring_doorbell_for_active_rings() 402 xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) xhci_ring_ep_doorbell() argument 430 ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) ring_doorbell_for_active_rings() argument 455 xhci_ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) xhci_ring_doorbell_for_active_rings() argument 462 xhci_get_virt_ep(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) xhci_get_virt_ep() argument 486 xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) xhci_triad_to_transfer_ring() argument 563 xhci_find_new_dequeue_state(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *cur_td, struct xhci_dequeue_state *state) xhci_find_new_dequeue_state() argument 822 xhci_reset_halted_ep(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, enum xhci_ep_reset_type reset_type) xhci_reset_halted_ep() argument 847 unsigned int slot_id = ep->vdev->slot_id; xhci_handle_halted_endpoint() local 933 xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, struct xhci_event_cmd *event) xhci_handle_cmd_stop_ep() argument 1037 xhci_kill_endpoint_urbs(struct xhci_hcd *xhci, int slot_id, int ep_index) xhci_kill_endpoint_urbs() argument 1226 xhci_handle_cmd_set_deq(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, u32 cmd_comp_code) xhci_handle_cmd_set_deq() argument 1323 xhci_handle_cmd_reset_ep(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, u32 cmd_comp_code) xhci_handle_cmd_reset_ep() argument 1373 xhci_handle_cmd_enable_slot(struct xhci_hcd *xhci, int slot_id, struct xhci_command *command, u32 cmd_comp_code) xhci_handle_cmd_enable_slot() argument 1382 xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_disable_slot() argument 1399 xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id, struct xhci_event_cmd *event, u32 cmd_comp_code) xhci_handle_cmd_config_ep() argument 1456 xhci_handle_cmd_addr_dev(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_addr_dev() argument 1466 xhci_handle_cmd_reset_dev(struct xhci_hcd *xhci, int slot_id, struct xhci_event_cmd *event) xhci_handle_cmd_reset_dev() argument 1572 int slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); handle_cmd_completion() local 1715 u32 slot_id; handle_device_notification() local 1768 int slot_id; handle_port_status() local 2435 unsigned int slot_id; handle_tx_event() local 3261 giveback_first_trb(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, int start_cycle, struct xhci_generic_trb *start_trb) giveback_first_trb() argument 3313 xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_intr_tx() argument 3441 xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_bulk_tx() argument 3602 xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_ctrl_tx() argument 3899 xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_isoc_tx() argument 4092 xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_isoc_tx_prepare() argument 4219 xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd, u32 trb_type, u32 slot_id) xhci_queue_slot_control() argument 4227 xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev setup) xhci_queue_address_device() argument 4243 xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, u32 slot_id) xhci_queue_reset_device() argument 4252 xhci_queue_configure_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, bool command_must_succeed) xhci_queue_configure_endpoint() argument 4263 xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, bool command_must_succeed) xhci_queue_evaluate_context() argument 4276 xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, int slot_id, unsigned int ep_index, int suspend) xhci_queue_stop_endpoint() argument 4289 xhci_queue_new_dequeue_state(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct xhci_dequeue_state *deq_state) xhci_queue_new_dequeue_state() argument 4353 xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd, int slot_id, unsigned int ep_index, enum xhci_ep_reset_type reset_type) xhci_queue_reset_ep() argument [all...] |
H A D | xhci.c | 1400 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args() 1406 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args() 1430 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument 1441 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket() 1466 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket() 1475 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket() 1476 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket() 1509 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local 1521 slot_id in xhci_urb_enqueue() 3044 xhci_setup_input_ctx_for_quirk(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, struct xhci_dequeue_state *deq_state) xhci_setup_input_ctx_for_quirk() argument 3083 xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *td) xhci_cleanup_stalled_ring() argument 3307 xhci_check_streams_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint *ep, unsigned int slot_id) xhci_check_streams_endpoint() argument 3410 unsigned int slot_id; xhci_calculate_no_streams_bitmask() local 3767 unsigned int slot_id; xhci_discover_or_reset_device() local 3964 xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id) xhci_disable_slot() argument 4041 int ret, slot_id; xhci_alloc_dev() local 5371 unsigned int slot_id; xhci_clear_tt_buffer_complete() local [all...] |
H A D | xhci-hub.c | 364 int slot_id; in xhci_find_slot_id_by_port() local 368 slot_id = 0; in xhci_find_slot_id_by_port() 375 slot_id = i; in xhci_find_slot_id_by_port() 380 return slot_id; in xhci_find_slot_id_by_port() 389 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument 398 virt_dev = xhci->devs[slot_id]; in xhci_stop_device() 427 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device() 436 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device() 462 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument 468 ep = &xhci->devs[slot_id] in xhci_ring_device() 828 int slot_id; xhci_handle_usb2_port_link_resume() local 1100 int slot_id; xhci_hub_control() local 1717 int slot_id; xhci_bus_suspend() local 1773 int slot_id; xhci_bus_resume() local [all...] |
H A D | xhci-mem.c | 818 int slot_id) in xhci_free_tt_info() 836 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 871 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info() 881 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info() 891 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument 898 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device() 901 dev = xhci->devs[slot_id]; in xhci_free_virt_device() 816 xhci_free_tt_info(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, int slot_id) xhci_free_tt_info() argument 954 xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) xhci_free_virt_devices_depth_first() argument 990 xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags) xhci_alloc_virt_device() argument [all...] |
H A D | xhci-trace.h | 83 __field(int, slot_id) 96 __entry->slot_id = udev->slot_id; 216 __field(int, slot_id) 227 __entry->slot_id = vdev->udev->slot_id; 232 __entry->portnum, __entry->level, __entry->slot_id 272 __field(int, slot_id) 287 __entry->slot_id = urb->dev->slot_id; [all...] |
H A D | xhci.h | 811 int slot_id; member 1008 int slot_id; member 1057 int slot_id; member 2011 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id); 2012 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags); 2102 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id); 2124 u32 trb_type, u32 slot_id); 2126 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev); 2130 int slot_id, unsigned int ep_index, int suspend); 2132 int slot_id, unsigne [all...] |
H A D | xhci-debugfs.c | 434 int slot_id) in xhci_debugfs_create_context_files() 436 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files() 592 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument 595 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot() 601 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot() 609 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot() 612 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument 616 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_remove_slot() 432 xhci_debugfs_create_context_files(struct xhci_hcd *xhci, struct dentry *parent, int slot_id) xhci_debugfs_create_context_files() argument
|
H A D | xhci-debugfs.h | 111 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id); 112 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id);
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-ring.c | 481 unsigned int slot_id, in xhci_ring_ep_doorbell() 485 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell() 486 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell() 499 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell() 508 unsigned int slot_id, in ring_doorbell_for_active_rings() 514 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings() 519 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings() 527 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings() 533 unsigned int slot_id, in xhci_ring_doorbell_for_active_rings() 536 ring_doorbell_for_active_rings(xhci, slot_id, ep_inde in xhci_ring_doorbell_for_active_rings() 480 xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) xhci_ring_ep_doorbell() argument 507 ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) ring_doorbell_for_active_rings() argument 532 xhci_ring_doorbell_for_active_rings(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) xhci_ring_doorbell_for_active_rings() argument 539 xhci_get_virt_ep(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index) xhci_get_virt_ep() argument 583 xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id) xhci_triad_to_transfer_ring() argument 620 xhci_move_dequeue_past_td(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, unsigned int stream_id, struct xhci_td *td) xhci_move_dequeue_past_td() argument 905 xhci_reset_halted_ep(struct xhci_hcd *xhci, unsigned int slot_id, unsigned int ep_index, enum xhci_ep_reset_type reset_type) xhci_reset_halted_ep() argument 934 unsigned int slot_id = ep->vdev->slot_id; xhci_handle_halted_endpoint() local 987 unsigned int slot_id = ep->vdev->slot_id; xhci_invalidate_cancelled_tds() local 1090 xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, u32 comp_code) xhci_handle_cmd_stop_ep() argument 1195 xhci_kill_endpoint_urbs(struct xhci_hcd *xhci, int slot_id, int ep_index) xhci_kill_endpoint_urbs() argument 1320 xhci_handle_cmd_set_deq(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, u32 cmd_comp_code) xhci_handle_cmd_set_deq() argument 1429 xhci_handle_cmd_reset_ep(struct xhci_hcd *xhci, int slot_id, union xhci_trb *trb, u32 cmd_comp_code) xhci_handle_cmd_reset_ep() argument 1463 xhci_handle_cmd_enable_slot(struct xhci_hcd *xhci, int slot_id, struct xhci_command *command, u32 cmd_comp_code) xhci_handle_cmd_enable_slot() argument 1472 xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_disable_slot() argument 1489 xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id, u32 cmd_comp_code) xhci_handle_cmd_config_ep() argument 1523 xhci_handle_cmd_addr_dev(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_addr_dev() argument 1535 xhci_handle_cmd_reset_dev(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_reset_dev() argument 1666 unsigned int slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); handle_cmd_completion() local 1811 u32 slot_id; handle_device_notification() local 1865 int slot_id; handle_port_status() local 2566 unsigned int slot_id; handle_tx_event() local 3411 giveback_first_trb(struct xhci_hcd *xhci, int slot_id, unsigned int ep_index, unsigned int stream_id, int start_cycle, struct xhci_generic_trb *start_trb) giveback_first_trb() argument 3463 xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_intr_tx() argument 3591 xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_bulk_tx() argument 3752 xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_ctrl_tx() argument 4049 xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_isoc_tx() argument 4241 xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, int slot_id, unsigned int ep_index) xhci_queue_isoc_tx_prepare() argument 4367 xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd, u32 trb_type, u32 slot_id) xhci_queue_slot_control() argument 4375 xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev setup) xhci_queue_address_device() argument 4391 xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, u32 slot_id) xhci_queue_reset_device() argument 4400 xhci_queue_configure_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, bool command_must_succeed) xhci_queue_configure_endpoint() argument 4411 xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd, dma_addr_t in_ctx_ptr, u32 slot_id, bool command_must_succeed) xhci_queue_evaluate_context() argument 4424 xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, int slot_id, unsigned int ep_index, int suspend) xhci_queue_stop_endpoint() argument 4436 xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd, int slot_id, unsigned int ep_index, enum xhci_ep_reset_type reset_type) xhci_queue_reset_ep() argument [all...] |
H A D | xhci.c | 1389 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args() 1395 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args() 1419 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument 1430 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket() 1455 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket() 1464 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket() 1465 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket() 1498 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local 1510 slot_id in xhci_urb_enqueue() 3199 xhci_check_streams_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint *ep, unsigned int slot_id) xhci_check_streams_endpoint() argument 3302 unsigned int slot_id; xhci_calculate_no_streams_bitmask() local 3659 unsigned int slot_id; xhci_discover_or_reset_device() local 3854 xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id) xhci_disable_slot() argument 3931 int ret, slot_id; xhci_alloc_dev() local 5257 unsigned int slot_id; xhci_clear_tt_buffer_complete() local [all...] |
H A D | xhci-hub.c | 463 int slot_id; in xhci_find_slot_id_by_port() local 467 slot_id = 0; in xhci_find_slot_id_by_port() 474 slot_id = i; in xhci_find_slot_id_by_port() 479 return slot_id; in xhci_find_slot_id_by_port() 489 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument 498 virt_dev = xhci->devs[slot_id]; in xhci_stop_device() 527 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device() 536 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device() 562 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument 568 ep = &xhci->devs[slot_id] in xhci_ring_device() 933 int slot_id; xhci_handle_usb2_port_link_resume() local 1205 int slot_id; xhci_hub_control() local 1824 int slot_id; xhci_bus_suspend() local 1880 int slot_id; xhci_bus_resume() local [all...] |
H A D | xhci-mem.c | 774 int slot_id) in xhci_free_tt_info() 792 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 827 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info() 837 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info() 847 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument 854 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device() 857 dev = xhci->devs[slot_id]; in xhci_free_virt_device() 772 xhci_free_tt_info(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, int slot_id) xhci_free_tt_info() argument 910 xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id) xhci_free_virt_devices_depth_first() argument 946 xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags) xhci_alloc_virt_device() argument [all...] |
H A D | xhci.h | 814 int slot_id; member 1009 int slot_id; member 1058 int slot_id; member 2050 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id); 2051 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags); 2141 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id); 2163 u32 trb_type, u32 slot_id); 2165 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev); 2169 int slot_id, unsigned int ep_index, int suspend); 2171 int slot_id, unsigne [all...] |
H A D | xhci-debugfs.c | 434 int slot_id) in xhci_debugfs_create_context_files() 436 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files() 592 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument 595 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot() 601 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot() 609 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot() 612 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument 616 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_remove_slot() 432 xhci_debugfs_create_context_files(struct xhci_hcd *xhci, struct dentry *parent, int slot_id) xhci_debugfs_create_context_files() argument
|
H A D | xhci-trace.h | 211 __field(int, slot_id) 222 __entry->slot_id = vdev->udev->slot_id; 227 __entry->portnum, __entry->level, __entry->slot_id 267 __field(int, slot_id) 282 __entry->slot_id = urb->dev->slot_id; 291 __entry->urb, __entry->pipe, __entry->slot_id,
|
H A D | xhci-debugfs.h | 111 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id); 112 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id);
|
H A D | xhci-pci.c | 885 unsigned int slot_id; in xhci_pci_poweroff_late() local 908 slot_id = xhci_find_slot_id_by_port(port->rhub->hcd, xhci, in xhci_pci_poweroff_late() 910 if (!slot_id || !xhci->devs[slot_id]) { in xhci_pci_poweroff_late() 911 xhci_err(xhci, "No dev for slot_id %d for port %d-%d in U3\n", in xhci_pci_poweroff_late() 912 slot_id, port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late() 916 udev = xhci->devs[slot_id]->udev; in xhci_pci_poweroff_late()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 640 * @slot_id: current frame slot id 664 s8 slot_id; member 874 int slot_id, ref_id; in vdec_av1_slice_cleanup_slots() local 879 for (slot_id = 0; slot_id < AV1_MAX_FRAME_BUF_COUNT; slot_id++) { in vdec_av1_slice_cleanup_slots() 880 u64 timestamp = slots->timestamp[slot_id]; in vdec_av1_slice_cleanup_slots() 884 if (slots->frame_info[slot_id].ref_count == 0) in vdec_av1_slice_cleanup_slots() 889 frame->ref_frame_map[ref_id] = slot_id; in vdec_av1_slice_cleanup_slots() 895 vdec_av1_slice_decrease_ref_count(slots, slot_id); in vdec_av1_slice_cleanup_slots() 1494 int i, slot_id; vdec_av1_slice_setup_ref() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 582 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() 584 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt() 587 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt() 593 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt() 594 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt() 600 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() 603 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt() 606 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt() 612 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt() 614 h->items[slot_id] in brcmf_fws_hanger_poppkt() 581 brcmf_fws_hanger_pushpkt(struct brcmf_fws_hanger *h, struct sk_buff *pkt, u32 slot_id) brcmf_fws_hanger_pushpkt() argument 599 brcmf_fws_hanger_poppkt(struct brcmf_fws_hanger *h, u32 slot_id, struct sk_buff **pktout, bool remove_item) brcmf_fws_hanger_poppkt() argument 647 brcmf_fws_hanger_mark_suppressed(struct brcmf_fws_hanger *h, u32 slot_id) brcmf_fws_hanger_mark_suppressed() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 582 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() 584 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt() 587 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt() 593 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt() 594 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt() 600 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() 603 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt() 606 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt() 612 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt() 614 h->items[slot_id] in brcmf_fws_hanger_poppkt() 581 brcmf_fws_hanger_pushpkt(struct brcmf_fws_hanger *h, struct sk_buff *pkt, u32 slot_id) brcmf_fws_hanger_pushpkt() argument 599 brcmf_fws_hanger_poppkt(struct brcmf_fws_hanger *h, u32 slot_id, struct sk_buff **pktout, bool remove_item) brcmf_fws_hanger_poppkt() argument 647 brcmf_fws_hanger_mark_suppressed(struct brcmf_fws_hanger *h, u32 slot_id) brcmf_fws_hanger_mark_suppressed() argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 58 u16 slot_id; member 176 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_set_attention_status() 180 args[0].integer.value = ibm_slot->slot.slot_id; in ibm_set_attention_status() 226 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_get_attention_status()
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 58 u16 slot_id; member 176 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_set_attention_status() 180 args[0].integer.value = ibm_slot->slot.slot_id; in ibm_set_attention_status() 226 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_get_attention_status()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | stmfts.c | 174 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_event() local 182 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_event() 198 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_release() local 200 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_release()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | stmfts.c | 174 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_event() local 182 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_event() 198 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_release() local 200 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_release()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | meson-mx-sdio.c | 117 unsigned int slot_id; member 220 mult |= FIELD_PREP(MESON_MX_SDIO_MULT_PORT_SEL_MASK, host->slot_id); in meson_mx_mmc_start_cmd() 536 if (of_property_read_u32(slot_dev->of_node, "reg", &host->slot_id)) { in meson_mx_mmc_add_host() 541 if (host->slot_id >= MESON_MX_SDIO_MAX_SLOTS) { in meson_mx_mmc_add_host() 543 host->slot_id); in meson_mx_mmc_add_host()
|