Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dxhci-ring.c326 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
330 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell()
331 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
351 unsigned int slot_id, in ring_doorbell_for_active_rings() argument
357 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
362 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings()
370 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings()
376 unsigned int slot_id, unsigned int ep_index, in xhci_triad_to_transfer_ring() argument
381 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring()
390 slot_id, ep_index); in xhci_triad_to_transfer_ring()
[all …]
Dxhci-hub.c244 int slot_id; in xhci_find_slot_id_by_port() local
248 slot_id = 0; in xhci_find_slot_id_by_port()
255 slot_id = i; in xhci_find_slot_id_by_port()
260 return slot_id; in xhci_find_slot_id_by_port()
269 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
278 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
297 xhci_queue_stop_endpoint(xhci, command, slot_id, i, in xhci_stop_device()
301 xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
319 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
325 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
[all …]
Dxhci.c1225 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1231 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1255 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument
1266 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1291 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1300 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1301 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1310 xhci_dbg(xhci, "Slot %d input context\n", slot_id); in xhci_check_maxpacket()
1312 xhci_dbg(xhci, "Slot %d output context\n", slot_id); in xhci_check_maxpacket()
1339 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
[all …]
Dxhci.h967 int slot_id; member
1506 int slot_id; member
1673 unsigned int slot_id, unsigned int ep_index,
1681 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
1682 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
1808 u32 trb_type, u32 slot_id);
1810 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev);
1814 int slot_id, unsigned int ep_index, int suspend);
1816 int slot_id, unsigned int ep_index);
1818 int slot_id, unsigned int ep_index);
[all …]
Dxhci-mem.c842 int slot_id) in xhci_free_tt_info() argument
860 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
893 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
903 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
913 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument
920 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
923 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
924 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
945 slot_id, i); in xhci_free_virt_device()
948 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
Dxhci-trace.h87 __field(int, slot_id)
100 __entry->slot_id = udev->slot_id;
Dxhci-dbg.c370 unsigned int slot_id, unsigned int ep_index, in xhci_dbg_ep_rings() argument
380 slot_id, ep_index, i); in xhci_dbg_ep_rings()
388 slot_id, ep_index); in xhci_dbg_ep_rings()
/linux-4.1.27/drivers/fmc/
Dfmc-core.c172 fmc->slot_id); in fmc_device_register_n()
177 fmc->slot_id); in fmc_device_register_n()
182 fmc->slot_id); in fmc_device_register_n()
227 "\"%s\"\n", fmc->slot_id, fmc->dev.kobj.name); in fmc_device_register_n()
Dfmc-dump.c53 fmc->carrier_name, fmc->slot_id, dev_name(&fmc->dev)); in fmc_dump_eeprom()
91 fmc->carrier_name, fmc->slot_id, dev_name(&fmc->dev)); in fmc_dump_sdb()
Dfmc-match.c75 dev_info(fmc->hwdev, "mezzanine %i\n", fmc->slot_id); /* header */ in fmc_fill_id_info()
Dfmc-fakedev.c291 fmc->slot_id = i; in ff_dev_create()
/linux-4.1.27/drivers/pci/hotplug/
Dacpiphp_ibm.c72 u16 slot_id; member
182 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_set_attention_status()
186 args[0].integer.value = ibm_slot->slot.slot_id; in ibm_set_attention_status()
227 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_get_attention_status()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c621 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() argument
623 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt()
626 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt()
632 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt()
633 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt()
639 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() argument
642 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt()
645 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt()
651 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt()
653 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_FREE; in brcmf_fws_hanger_poppkt()
[all …]
/linux-4.1.27/include/linux/
Dfmc.h173 int slot_id; /* Index in the slot array */ member
Dusb.h606 int slot_id; member
/linux-4.1.27/drivers/mmc/host/
Datmel-mci.c530 u32 slot_id; in atmci_of_init() local
544 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
550 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
557 &pdata->slot[slot_id].bus_width)) in atmci_of_init()
558 pdata->slot[slot_id].bus_width = 1; in atmci_of_init()
560 pdata->slot[slot_id].detect_pin = in atmci_of_init()
563 pdata->slot[slot_id].detect_is_active_high = in atmci_of_init()
566 pdata->slot[slot_id].non_removable = in atmci_of_init()
569 pdata->slot[slot_id].wp_pin = in atmci_of_init()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_drv.h374 int slot_id = bo->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_bo_physical_address() local
375 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_bo_physical_address()
Dqxl_cmd.c514 int slot_id = surf->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_hw_surface_alloc() local
515 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_hw_surface_alloc()
/linux-4.1.27/drivers/scsi/device_handler/
Dscsi_dh_rdac.c128 u8 slot_id[SLOT_ID_LEN]; member
508 if (inqp->slot_id[1] == 0x31) in initialize_controller()
/linux-4.1.27/arch/powerpc/include/asm/
Dopal.h143 int64_t opal_set_slot_led_status(uint64_t phb_id, uint64_t slot_id, uint8_t led_type, uint8_t led_a…
/linux-4.1.27/Documentation/fmc/
Dcarrier.txt45 int slot_id; /* Index in the slot array */
82 * slot_id: the index of this slot (starting from zero).