Home
last modified time | relevance | path

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

/drivers/usb/host/
Dxhci-ring.c401 unsigned int slot_id, in xhci_ring_ep_doorbell() argument
405 __le32 __iomem *db_addr = &xhci->dba->doorbell[slot_id]; in xhci_ring_ep_doorbell()
406 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
427 unsigned int slot_id, in ring_doorbell_for_active_rings() argument
433 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
438 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); in ring_doorbell_for_active_rings()
446 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, in ring_doorbell_for_active_rings()
478 unsigned int slot_id, unsigned int ep_index, in xhci_triad_to_transfer_ring() argument
483 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring()
492 slot_id, ep_index); in xhci_triad_to_transfer_ring()
[all …]
Dxhci-hub.c242 int slot_id; in xhci_find_slot_id_by_port() local
246 slot_id = 0; in xhci_find_slot_id_by_port()
253 slot_id = i; in xhci_find_slot_id_by_port()
258 return slot_id; in xhci_find_slot_id_by_port()
267 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
277 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
287 xhci_queue_stop_endpoint(xhci, slot_id, i, suspend); in xhci_stop_device()
291 xhci_queue_stop_endpoint(xhci, slot_id, 0, suspend); in xhci_stop_device()
321 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
326 if (xhci->devs[slot_id]->eps[i].ring && in xhci_ring_device()
[all …]
Dxhci.c1178 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1184 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1205 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument
1216 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1229 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1230 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1231 in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1244 xhci_dbg(xhci, "Slot %d input context\n", slot_id); in xhci_check_maxpacket()
1246 xhci_dbg(xhci, "Slot %d output context\n", slot_id); in xhci_check_maxpacket()
1270 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local
[all …]
Dxhci.h943 int slot_id; member
1453 int slot_id; member
1632 unsigned int slot_id, unsigned int ep_index,
1638 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id);
1639 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags…
1783 int xhci_queue_slot_control(struct xhci_hcd *xhci, u32 trb_type, u32 slot_id);
1785 u32 slot_id);
1788 int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, int slot_id,
1791 int slot_id, unsigned int ep_index);
1793 int slot_id, unsigned int ep_index);
[all …]
Dxhci-mem.c799 int slot_id) in xhci_free_tt_info() argument
817 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
850 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
860 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
870 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument
877 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
880 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
881 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device()
902 slot_id, i); in xhci_free_virt_device()
905 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device()
[all …]
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()
/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c541 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() argument
544 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt()
547 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt()
553 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt()
554 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt()
560 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() argument
564 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt()
567 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt()
573 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt()
575 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_FREE; in brcmf_fws_hanger_poppkt()
[all …]
/drivers/pci/hotplug/
Dacpiphp_ibm.c83 u16 slot_id; member
193 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_set_attention_status()
197 args[0].integer.value = ibm_slot->slot.slot_id; in ibm_set_attention_status()
238 ibm_slot->slot.slot_num, ibm_slot->slot.slot_id, in ibm_get_attention_status()
/drivers/mmc/host/
Domap_hsmmc.c131 #define mmc_slot(host) (host->pdata->slots[host->slot_id])
177 int slot_id; member
351 mmc_slot(host).set_power(host->dev, host->slot_id, in omap_hsmmc_reg_get()
353 mmc_slot(host).set_power(host->dev, host->slot_id, in omap_hsmmc_reg_get()
730 r = mmc_slot(host).get_cover_state(host->dev, host->slot_id); in omap_hsmmc_cover_is_closed()
1101 ret = mmc_slot(host).set_power(host->dev, host->slot_id, 0, 0); in omap_hsmmc_switch_opcond()
1105 ret = mmc_slot(host).set_power(host->dev, host->slot_id, 1, in omap_hsmmc_switch_opcond()
1154 if (mmc_slot(host).get_cover_state(host->dev, host->slot_id)) { in omap_hsmmc_protect_card()
1186 carddetect = slot->card_detect(host->dev, host->slot_id); in omap_hsmmc_detect()
1498 mmc_slot(host).set_power(host->dev, host->slot_id, in omap_hsmmc_set_ios()
[all …]
Datmel-mci.c521 u32 slot_id; in atmci_of_init() local
535 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
541 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
548 &pdata->slot[slot_id].bus_width)) in atmci_of_init()
549 pdata->slot[slot_id].bus_width = 1; in atmci_of_init()
551 pdata->slot[slot_id].detect_pin = in atmci_of_init()
554 pdata->slot[slot_id].detect_is_active_high = in atmci_of_init()
557 pdata->slot[slot_id].wp_pin = in atmci_of_init()
/drivers/gpu/drm/qxl/
Dqxl_drv.h353 int slot_id = bo->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_bo_physical_address() local
354 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_bo_physical_address()
Dqxl_cmd.c508 int slot_id = surf->type == QXL_GEM_DOMAIN_VRAM ? qdev->main_mem_slot : qdev->surfaces_mem_slot; in qxl_hw_surface_alloc() local
509 struct qxl_memslot *slot = &(qdev->mem_slots[slot_id]); in qxl_hw_surface_alloc()
/drivers/scsi/device_handler/
Dscsi_dh_rdac.c128 u8 slot_id[SLOT_ID_LEN]; member
509 if (inqp->slot_id[1] == 0x31) in initialize_controller()