Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/usb/host/
Dxhci-ring.c387 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
391 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell()
392 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
412 unsigned int slot_id, in ring_doorbell_for_active_rings() argument
418 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
423 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings()
431 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings()
441 unsigned int slot_id, unsigned int ep_index, in xhci_triad_to_transfer_ring() argument
446 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring()
455 slot_id, ep_index); in xhci_triad_to_transfer_ring()
[all …]
Dxhci.c1304 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1310 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1334 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument
1345 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1370 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1379 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1380 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1412 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
1421 slot_id = urb->dev->slot_id; in xhci_urb_enqueue()
1423 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
[all …]
Dxhci-hub.c354 int slot_id; in xhci_find_slot_id_by_port() local
358 slot_id = 0; in xhci_find_slot_id_by_port()
365 slot_id = i; in xhci_find_slot_id_by_port()
370 return slot_id; in xhci_find_slot_id_by_port()
379 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
388 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
417 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device()
426 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
452 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
458 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
[all …]
Dxhci-mem.c804 int slot_id) in xhci_free_tt_info() argument
822 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
857 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
867 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
877 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument
884 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
887 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
889 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
912 slot_id, i); in xhci_free_virt_device()
915 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
Dxhci-trace.h85 __field(int, slot_id)
98 __entry->slot_id = udev->slot_id;
217 __field(int, slot_id)
228 __entry->slot_id = vdev->udev->slot_id;
233 __entry->portnum, __entry->level, __entry->slot_id
273 __field(int, slot_id)
288 __entry->slot_id = urb->dev->slot_id;
308 } s; }), __entry->urb, __entry->pipe, __entry->slot_id,
Dxhci.h797 int slot_id; member
1027 int slot_id; member
1952 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
1953 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
2036 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id);
2058 u32 trb_type, u32 slot_id);
2060 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev);
2064 int slot_id, unsigned int ep_index, int suspend);
2066 int slot_id, unsigned int ep_index);
2068 int slot_id, unsigned int ep_index);
[all …]
Dxhci-debugfs.c426 int slot_id) in xhci_debugfs_create_context_files() argument
428 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files()
474 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument
477 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot()
483 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot()
491 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot()
494 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument
498 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_remove_slot()
Dxhci-debugfs.h109 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id);
110 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id);
Dxhci-mtk-sch.c52 virt_dev = xhci->devs[udev->slot_id]; in get_bw_index()
324 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_add_ep_quirk()
392 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_drop_ep_quirk()
/Linux-v4.19/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-v4.19/drivers/fmc/
Dfmc-core.c231 fmc->slot_id); in fmc_device_register_n_gw()
236 fmc->slot_id); in fmc_device_register_n_gw()
241 fmc->slot_id); in fmc_device_register_n_gw()
301 "\"%s\"\n", fmc->slot_id, fmc->dev.kobj.name); in fmc_device_register_n_gw()
Dfmc-dump.c51 fmc->carrier_name, fmc->slot_id, dev_name(&fmc->dev)); in fmc_dump_eeprom()
Dfmc-match.c75 dev_info(fmc->hwdev, "mezzanine %i\n", fmc->slot_id); /* header */ in fmc_fill_id_info()
Dfmc-debug.c127 fmc->carrier_name, fmc->slot_id, dev_name(&fmc->dev)); in fmc_sdb_dump()
Dfmc-fakedev.c291 fmc->slot_id = i; in ff_dev_create()
/Linux-v4.19/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-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c632 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() argument
634 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt()
637 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt()
643 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt()
644 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt()
650 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() argument
653 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt()
656 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt()
662 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt()
664 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_FREE; in brcmf_fws_hanger_poppkt()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dmeson-mx-sdio.c120 unsigned int slot_id; member
223 mult |= FIELD_PREP(MESON_MX_SDIO_MULT_PORT_SEL_MASK, host->slot_id); in meson_mx_mmc_start_cmd()
545 if (of_property_read_u32(slot_dev->of_node, "reg", &host->slot_id)) { in meson_mx_mmc_add_host()
550 if (host->slot_id >= MESON_MX_SDIO_MAX_SLOTS) { in meson_mx_mmc_add_host()
552 host->slot_id); in meson_mx_mmc_add_host()
Datmel-mci.c655 u32 slot_id; in atmci_of_init() local
667 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
673 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
681 &pdata->slot[slot_id].bus_width)) in atmci_of_init()
682 pdata->slot[slot_id].bus_width = 1; in atmci_of_init()
684 pdata->slot[slot_id].detect_pin = in atmci_of_init()
687 pdata->slot[slot_id].detect_is_active_high = in atmci_of_init()
690 pdata->slot[slot_id].non_removable = in atmci_of_init()
693 pdata->slot[slot_id].wp_pin = in atmci_of_init()
/Linux-v4.19/drivers/input/touchscreen/
Dstmfts.c172 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_event() local
180 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_event()
196 u8 slot_id = (event[0] & STMFTS_MASK_TOUCH_ID) >> 4; in stmfts_report_contact_release() local
198 input_mt_slot(sdata->input, slot_id); in stmfts_report_contact_release()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_drv.h340 int slot_id = bo->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_bo_physical_address() local
341 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_bo_physical_address()
Dqxl_cmd.c486 int slot_id = surf->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_hw_surface_alloc() local
487 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_hw_surface_alloc()
/Linux-v4.19/include/linux/
Dfmc.h177 int slot_id; /* Index in the slot array */ member
/Linux-v4.19/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-v4.19/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c572 int slot_id = 0; in wilc_wfi_cfg_alloc_fill_ssid() local
583 struct hidden_net_info *info = &ntwk->net_info[slot_id]; in wilc_wfi_cfg_alloc_fill_ssid()
592 slot_id++; in wilc_wfi_cfg_alloc_fill_ssid()
601 for (i = 0; i < slot_id; i++) in wilc_wfi_cfg_alloc_fill_ssid()

12