Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-ring.c429 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
433 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell()
434 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
447 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
456 unsigned int slot_id, in ring_doorbell_for_active_rings() argument
462 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
467 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings()
475 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings()
481 unsigned int slot_id, in xhci_ring_doorbell_for_active_rings() argument
484 ring_doorbell_for_active_rings(xhci, slot_id, ep_index); in xhci_ring_doorbell_for_active_rings()
[all …]
H A Dxhci.c1385 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1391 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1415 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument
1426 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1451 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1460 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1461 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1494 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
1506 slot_id = urb->dev->slot_id; in xhci_urb_enqueue()
1508 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
[all …]
H A 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()
455 ret = xhci_vendor_sync_dev_ctx(xhci, slot_id); in xhci_stop_device()
467 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
[all …]
H A Dxhci-mem.c873 int slot_id) in xhci_free_tt_info() argument
891 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
926 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
936 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
946 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument
953 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
956 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
958 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
984 slot_id, i); in xhci_free_virt_device()
988 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
H A Dxhci.h812 int slot_id; member
1011 int slot_id; member
1060 int slot_id; member
2033 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
2034 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
2123 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id);
2145 u32 trb_type, u32 slot_id);
2147 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev);
2151 int slot_id, unsigned int ep_index, int suspend);
2153 int slot_id, unsigned int ep_index);
[all …]
H A 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,
H A 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()
H A 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);
H A Dxhci-mtk-sch.c131 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info()
724 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
762 virt_dev = xhci->devs[udev->slot_id]; in drop_ep_quirk()
783 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-mem.c138 int slot_id; in xhci_free_virt_devices() local
145 for (slot_id = 0; slot_id < MAX_HC_SLOTS; slot_id++) { in xhci_free_virt_devices()
146 virt_dev = ctrl->devs[slot_id]; in xhci_free_virt_devices()
150 ctrl->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_devices()
163 ctrl->devs[slot_id] = NULL; in xhci_free_virt_devices()
443 int xhci_alloc_virt_device(struct xhci_ctrl *ctrl, unsigned int slot_id) in xhci_alloc_virt_device() argument
449 if (ctrl->devs[slot_id]) { in xhci_alloc_virt_device()
450 printf("Virt dev for slot[%d] already allocated\n", slot_id); in xhci_alloc_virt_device()
454 ctrl->devs[slot_id] = (struct xhci_virt_device *) in xhci_alloc_virt_device()
457 if (!ctrl->devs[slot_id]) { in xhci_alloc_virt_device()
[all …]
H A Dxhci-ring.c272 void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr, u32 slot_id, in xhci_queue_command() argument
283 fields[3] = TRB_TYPE(cmd) | SLOT_ID_FOR_TRB(slot_id) | in xhci_queue_command()
377 xhci_writel(&ctrl->dba->doorbell[udev->slot_id], in giveback_first_trb()
488 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in abort_td()
492 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_STOP_RING); in abort_td()
496 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td()
504 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
509 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in abort_td()
512 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td()
565 int slot_id = udev->slot_id; in xhci_bulk_tx() local
[all …]
H A Dxhci.c457 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints()
461 xhci_queue_command(ctrl, in_ctx->bytes, udev->slot_id, 0, in xhci_configure_endpoints()
465 != udev->slot_id); in xhci_configure_endpoints()
506 int slot_id = udev->slot_id; in xhci_set_configuration() local
507 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_set_configuration()
632 int slot_id = udev->slot_id; in xhci_address_device() local
635 virt_dev = ctrl->devs[slot_id]; in xhci_address_device()
648 xhci_queue_command(ctrl, (void *)ctrl_ctx, slot_id, 0, TRB_ADDR_DEV); in xhci_address_device()
650 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device()
656 slot_id); in xhci_address_device()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A 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()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_wlfc.c261 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
269 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
273 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
274 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
291 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
296 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
297 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
298 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
299 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
300 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_wlfc.c261 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
269 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
273 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
274 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
291 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
296 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
297 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
298 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
299 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
300 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_wlfc.c261 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
269 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
273 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
274 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
291 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
296 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
297 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
298 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
299 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
300 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_wlfc.c267 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
275 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
279 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
280 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
297 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
302 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
303 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
304 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
305 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
306 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_wlfc.c381 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
389 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
393 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
394 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
411 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
416 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
417 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
418 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
419 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
420 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_wlfc.c381 _dhd_wlfc_hanger_get_genbit(void* hanger, void* pkt, uint32 slot_id, int* gen) in _dhd_wlfc_hanger_get_genbit() argument
389 if (slot_id == WLFC_HANGER_MAXITEMS) in _dhd_wlfc_hanger_get_genbit()
393 if (h->items[slot_id].state != WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_get_genbit()
394 *gen = h->items[slot_id].gen; in _dhd_wlfc_hanger_get_genbit()
411 _dhd_wlfc_hanger_pushpkt(void* hanger, void* pkt, uint32 slot_id) in _dhd_wlfc_hanger_pushpkt() argument
416 if (h && (slot_id < WLFC_HANGER_MAXITEMS)) { in _dhd_wlfc_hanger_pushpkt()
417 if (h->items[slot_id].state == WLFC_HANGER_ITEM_STATE_FREE) { in _dhd_wlfc_hanger_pushpkt()
418 h->items[slot_id].state = WLFC_HANGER_ITEM_STATE_INUSE; in _dhd_wlfc_hanger_pushpkt()
419 h->items[slot_id].pkt = pkt; in _dhd_wlfc_hanger_pushpkt()
420 h->items[slot_id].pkt_state = 0; in _dhd_wlfc_hanger_pushpkt()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mailbox/
H A Dhisilicon,hi6220-mailbox.txt21 <&phandle slot_id dst_irq ack_irq>
23 slot_id: Slot id used either for TX or RX
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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()
/OK3568_Linux_fs/u-boot/board/freescale/p1022ds/
H A Dp1022ds.c176 enum slot_id { enum
233 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
/OK3568_Linux_fs/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd.c149 enum slot_id { enum
206 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A 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()

12