Home
last modified time | relevance | path

Searched refs:slot_id (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/usb/host/
Dxhci-ring.c491 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
495 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell()
496 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
509 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
518 unsigned int slot_id, in ring_doorbell_for_active_rings() argument
524 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
529 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings()
537 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings()
543 unsigned int slot_id, in xhci_ring_doorbell_for_active_rings() argument
546 ring_doorbell_for_active_rings(xhci, slot_id, ep_index); in xhci_ring_doorbell_for_active_rings()
[all …]
Dxhci.c1440 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1446 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1548 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
1584 slot_id = urb->dev->slot_id; in xhci_urb_enqueue()
1591 if (xhci->devs[slot_id]->flags & VDEV_PORT_ERROR) { in xhci_urb_enqueue()
1604 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1622 slot_id, ep_index); in xhci_urb_enqueue()
1626 slot_id, ep_index); in xhci_urb_enqueue()
1630 slot_id, ep_index); in xhci_urb_enqueue()
1634 slot_id, ep_index); in xhci_urb_enqueue()
[all …]
Dxhci-mem.c773 int slot_id) in xhci_free_tt_info() argument
790 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
825 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
835 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
845 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument
852 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
855 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
857 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
883 slot_id, i); in xhci_free_virt_device()
887 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
Dxhci-trace.h175 __field(int, slot_id)
183 __entry->slot_id = (int) vdev->slot_id;
187 __entry->vdev, __entry->slot_id, __entry->in_ctx,
209 __field(int, slot_id)
220 __entry->slot_id = vdev->udev->slot_id;
225 __entry->portnum, __entry->level, __entry->slot_id
266 __field(int, slot_id)
282 __entry->slot_id = urb->dev->slot_id;
292 __entry->urb, __entry->pipe, __entry->slot_id,
Dxhci.h532 int slot_id; member
729 int slot_id; member
777 int slot_id; member
1465 int slot_id; member
1765 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
1766 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
1858 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id);
1881 u32 trb_type, u32 slot_id);
1883 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev);
1887 int slot_id, unsigned int ep_index, int suspend);
[all …]
Dxhci-hub.c457 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
466 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
495 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device()
504 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
530 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
536 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
540 xhci_ring_ep_doorbell(xhci, slot_id, i, s); in xhci_ring_device()
542 xhci_ring_ep_doorbell(xhci, slot_id, i, 0); in xhci_ring_device()
992 if (!port->slot_id) { in xhci_handle_usb2_port_link_resume()
996 xhci_ring_device(xhci, port->slot_id); in xhci_handle_usb2_port_link_resume()
[all …]
Dxhci-debugfs.c434 int slot_id) in xhci_debugfs_create_context_files() argument
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()
Dxhci-debugfs.h111 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);
Dxhci-pci.c872 if (!port->slot_id || !xhci->devs[port->slot_id]) { in xhci_pci_poweroff_late()
874 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()
879 udev = xhci->devs[port->slot_id]->udev; in xhci_pci_poweroff_late()
Dxhci-mtk-sch.c134 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info()
921 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
977 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c664 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()
909 vsi->slot_id = vdec_av1_slice_get_new_slot(vsi); in vdec_av1_slice_setup_slot()
911 if (vsi->slot_id == AV1_INVALID_IDX) { in vdec_av1_slice_setup_slot()
913 vsi->slot_id = 0; in vdec_av1_slice_setup_slot()
[all …]
/linux-6.12.1/drivers/pci/hotplug/
Dacpiphp_ibm.c58 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()
/linux-6.12.1/Documentation/devicetree/bindings/mailbox/
Dhisilicon,hi6220-mailbox.txt21 <&phandle slot_id dst_irq ack_irq>
23 slot_id: Slot id used either for TX or RX
/linux-6.12.1/sound/soc/intel/avs/
Dicl.c59 union avs_icl_memwnd2_slot_type slot_id; member
94 if (desc[i].slot_id.val == slot_type.val) in avs_icl_slot_offset()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c582 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() argument
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() argument
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].state = BRCMF_FWS_HANGER_ITEM_STATE_FREE; in brcmf_fws_hanger_poppkt()
[all …]
/linux-6.12.1/drivers/mmc/host/
Dmeson-mx-sdio.c117 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()
535 if (of_property_read_u32(slot_dev->of_node, "reg", &host->slot_id)) { in meson_mx_mmc_add_host()
540 if (host->slot_id >= MESON_MX_SDIO_MAX_SLOTS) { in meson_mx_mmc_add_host()
542 host->slot_id); in meson_mx_mmc_add_host()
Datmel-mci.c633 u32 slot_id; in atmci_of_init() local
640 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
645 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
653 &host->pdata[slot_id].bus_width)) in atmci_of_init()
654 host->pdata[slot_id].bus_width = 1; in atmci_of_init()
656 host->pdata[slot_id].detect_pin = in atmci_of_init()
659 err = PTR_ERR_OR_ZERO(host->pdata[slot_id].detect_pin); in atmci_of_init()
665 host->pdata[slot_id].detect_pin = NULL; in atmci_of_init()
668 host->pdata[slot_id].non_removable = in atmci_of_init()
671 host->pdata[slot_id].wp_pin = in atmci_of_init()
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dstmfts.c174 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()
/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-ring.c2405 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_slot_control()
2416 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_address_device()
2424 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_reset_device()
2434 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_configure_endpoint()
2443 cdnsp_queue_command(pdev, 0, 0, 0, SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_stop_endpoint()
2453 u32 trb_slot_id = SLOT_ID_FOR_TRB(pdev->slot_id); in cdnsp_queue_new_dequeue_state()
2473 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_reset_ep()
2484 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_halt_endpoint()
Dcdnsp-gadget.c811 pdev->slot_id = 0; in cdnsp_disable_slot()
841 pdev->slot_id = 1; in cdnsp_enable_slot()
860 if (!pdev->slot_id) { in cdnsp_setup_device()
Dcdnsp-gadget.h1434 int slot_id; member
/linux-6.12.1/drivers/scsi/device_handler/
Dscsi_dh_rdac.c128 u8 slot_id[SLOT_ID_LEN]; member
446 if (inqp->slot_id[1] == 0x31) in initialize_controller()
/linux-6.12.1/arch/powerpc/include/asm/
Dopal.h150 int64_t opal_set_slot_led_status(uint64_t phb_id, uint64_t slot_id, uint8_t led_type, uint8_t led_a…
/linux-6.12.1/net/packet/
Daf_packet.c2311 unsigned int slot_id = 0; in tpacket_rcv() local
2422 slot_id = po->rx_ring.head; in tpacket_rcv()
2423 if (test_bit(slot_id, po->rx_ring.rx_owner_map)) in tpacket_rcv()
2425 __set_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
2550 __clear_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
/linux-6.12.1/include/linux/
Dusb.h726 int slot_id; member

12