/drivers/usb/host/ |
D | xhci-ring.c | 326 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 …]
|
D | xhci-hub.c | 244 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() 300 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device() 309 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device() 334 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument 340 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device() [all …]
|
D | xhci.c | 1214 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args() 1220 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args() 1244 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket() argument 1255 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket() 1280 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket() 1289 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket() 1290 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket() 1299 xhci_dbg(xhci, "Slot %d input context\n", slot_id); in xhci_check_maxpacket() 1301 xhci_dbg(xhci, "Slot %d output context\n", slot_id); in xhci_check_maxpacket() 1328 unsigned int slot_id, ep_index; in xhci_urb_enqueue() local [all …]
|
D | xhci.h | 966 int slot_id; member 1501 int slot_id; member 1666 unsigned int slot_id, unsigned int ep_index, 1674 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id); 1675 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, struct usb_device *udev, gfp_t flags… 1803 u32 trb_type, u32 slot_id); 1805 dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev); 1809 int slot_id, unsigned int ep_index, int suspend); 1811 int slot_id, unsigned int ep_index); 1813 int slot_id, unsigned int ep_index); [all …]
|
D | xhci-mem.c | 844 int slot_id) in xhci_free_tt_info() argument 862 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 895 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info() 905 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info() 915 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) in xhci_free_virt_device() argument 922 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device() 925 dev = xhci->devs[slot_id]; in xhci_free_virt_device() 926 xhci->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_device() 947 slot_id, i); in xhci_free_virt_device() 950 xhci_free_tt_info(xhci, dev, slot_id); in xhci_free_virt_device() [all …]
|
D | xhci-trace.h | 80 __field(int, slot_id) 93 __entry->slot_id = udev->slot_id;
|
D | xhci-dbg.c | 370 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/fmc/ |
D | fmc-core.c | 172 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()
|
D | fmc-dump.c | 53 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()
|
D | fmc-match.c | 75 dev_info(fmc->hwdev, "mezzanine %i\n", fmc->slot_id); /* header */ in fmc_fill_id_info()
|
D | fmc-fakedev.c | 291 fmc->slot_id = i; in ff_dev_create()
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 72 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()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwsignal.c | 621 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 …]
|
/drivers/mmc/host/ |
D | omap_hsmmc.c | 158 #define mmc_slot(host) (host->pdata->slots[host->slot_id]) 210 int slot_id; member 417 mmc_slot(host).set_power(host->dev, host->slot_id, 1, vdd); in omap_hsmmc_reg_get() 418 mmc_slot(host).set_power(host->dev, host->slot_id, 0, 0); in omap_hsmmc_reg_get() 797 r = mmc_slot(host).get_cover_state(host->dev, host->slot_id); in omap_hsmmc_cover_is_closed() 1215 ret = mmc_slot(host).set_power(host->dev, host->slot_id, 0, 0); in omap_hsmmc_switch_opcond() 1219 ret = mmc_slot(host).set_power(host->dev, host->slot_id, 1, in omap_hsmmc_switch_opcond() 1268 if (mmc_slot(host).get_cover_state(host->dev, host->slot_id)) { in omap_hsmmc_protect_card() 1297 carddetect = slot->card_detect(host->dev, host->slot_id); in omap_hsmmc_detect() 1623 mmc_slot(host).set_power(host->dev, host->slot_id, in omap_hsmmc_set_ios() [all …]
|
D | atmel-mci.c | 527 u32 slot_id; in atmci_of_init() local 541 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init() 547 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init() 554 &pdata->slot[slot_id].bus_width)) in atmci_of_init() 555 pdata->slot[slot_id].bus_width = 1; in atmci_of_init() 557 pdata->slot[slot_id].detect_pin = in atmci_of_init() 560 pdata->slot[slot_id].detect_is_active_high = in atmci_of_init() 563 pdata->slot[slot_id].wp_pin = in atmci_of_init()
|
/drivers/gpu/drm/qxl/ |
D | qxl_drv.h | 374 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()
|
D | qxl_cmd.c | 514 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()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 128 u8 slot_id[SLOT_ID_LEN]; member 509 if (inqp->slot_id[1] == 0x31) in initialize_controller()
|