Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-ring.c403 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
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() argument
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() argument
459 ring_doorbell_for_active_rings(xhci, slot_id, ep_index); in xhci_ring_doorbell_for_active_rings()
[all …]
Dxhci.c1394 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1400 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1424 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument
1435 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1460 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1469 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1470 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1503 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
1515 slot_id = urb->dev->slot_id; in xhci_urb_enqueue()
1517 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
[all …]
Dxhci-hub.c364 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]->eps[i]; in xhci_ring_device()
[all …]
Dxhci-mem.c818 int slot_id) in xhci_free_tt_info() argument
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()
903 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
929 slot_id, i); in xhci_free_virt_device()
933 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
Dxhci.h811 int slot_id; member
1008 int slot_id; member
1057 int slot_id; member
2006 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
2007 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
2097 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id);
2119 u32 trb_type, u32 slot_id);
2121 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev);
2125 int slot_id, unsigned int ep_index, int suspend);
2127 int slot_id, unsigned int ep_index);
[all …]
Dxhci-trace.h83 __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;
296 __entry->urb, __entry->pipe, __entry->slot_id,
Dxhci-debugfs.c433 int slot_id) in xhci_debugfs_create_context_files() argument
435 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files()
591 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument
594 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot()
600 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot()
608 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot()
611 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument
615 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-mtk-sch.c83 virt_dev = xhci->devs[udev->slot_id]; in get_bw_index()
695 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_add_ep_quirk()
742 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_drop_ep_quirk()
770 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
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()
Datmel-mci.c610 u32 slot_id; in atmci_of_init() local
622 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
628 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
636 &pdata->slot[slot_id].bus_width)) in atmci_of_init()
637 pdata->slot[slot_id].bus_width = 1; in atmci_of_init()
639 pdata->slot[slot_id].detect_pin = in atmci_of_init()
642 pdata->slot[slot_id].detect_is_active_high = in atmci_of_init()
645 pdata->slot[slot_id].non_removable = in atmci_of_init()
648 pdata->slot[slot_id].wp_pin = in atmci_of_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c2213 unsigned int slot_id = 0; in tpacket_rcv() local
2323 slot_id = po->rx_ring.head; in tpacket_rcv()
2324 if (test_bit(slot_id, po->rx_ring.rx_owner_map)) in tpacket_rcv()
2326 __set_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
2444 __clear_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dopal.h156 int64_t opal_set_slot_led_status(uint64_t phb_id, uint64_t slot_id, uint8_t led_type, uint8_t led_a…
/kernel/linux/linux-5.10/include/linux/
Dusb.h705 int slot_id; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch5923 xhci_stop_device(xhci, slot_id, 1);
6011 + int slot_id;
6040 + slot_id = urb->dev->slot_id;
6045 + ret = prepare_transfer(xhci, xhci->devs[slot_id],
6069 + giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
6074 + ret = prepare_transfer(xhci, xhci->devs[slot_id],
6110 + giveback_first_trb(xhci, slot_id, ep_index, 0,