/openbmc/linux/drivers/usb/host/ |
H A D | xhci-ring.c | 550 if (slot_id == 0 || slot_id >= MAX_HC_SLOTS) { in xhci_get_virt_ep() 941 unsigned int slot_id = ep->vdev->slot_id; in xhci_handle_halted_endpoint() local 994 unsigned int slot_id = ep->vdev->slot_id; in xhci_invalidate_cancelled_tds() local 1397 slot_id); in xhci_handle_cmd_set_deq() 1506 command->slot_id = slot_id; in xhci_handle_cmd_enable_slot() 1582 slot_id); in xhci_handle_cmd_reset_dev() 1850 u32 slot_id; in handle_device_notification() local 1861 slot_id); in handle_device_notification() 1904 int slot_id; in handle_port_status() local 1958 if (slot_id && xhci->devs[slot_id]) in handle_port_status() [all …]
|
H A D | xhci.c | 1389 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args() 1510 slot_id = urb->dev->slot_id; in xhci_urb_enqueue() 3307 slot_id = udev->slot_id; in xhci_calculate_no_streams_bitmask() 3669 slot_id = udev->slot_id; in xhci_discover_or_reset_device() 3691 slot_id); in xhci_discover_or_reset_device() 3749 slot_id, in xhci_discover_or_reset_device() 3878 slot_id); in xhci_disable_slot() 3950 slot_id = command->slot_id; in xhci_alloc_dev() 3988 udev->slot_id = slot_id; in xhci_alloc_dev() 4172 udev->slot_id, in xhci_setup_device() [all …]
|
H A D | xhci-hub.c | 463 int slot_id; in xhci_find_slot_id_by_port() local 467 slot_id = 0; in xhci_find_slot_id_by_port() 474 slot_id = i; in xhci_find_slot_id_by_port() 479 return slot_id; in xhci_find_slot_id_by_port() 933 int slot_id; in xhci_handle_usb2_port_link_resume() local 991 if (!slot_id) { in xhci_handle_usb2_port_link_resume() 1205 int slot_id; in xhci_hub_control() local 1824 int slot_id; in xhci_bus_suspend() local 1828 if (slot_id) { in xhci_bus_suspend() 1880 int slot_id; in xhci_bus_resume() local [all …]
|
H A D | xhci-mem.c | 774 int slot_id) in xhci_free_tt_info() argument 792 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 827 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info() 854 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device() 885 slot_id, i); in xhci_free_virt_device() 930 if (tt_info->slot_id == slot_id) { in xhci_free_virt_devices_depth_first() 953 if (slot_id == 0 || xhci->devs[slot_id]) { in xhci_alloc_virt_device() 962 dev->slot_id = slot_id; in xhci_alloc_virt_device() 997 slot_id, in xhci_alloc_virt_device() 1081 udev->slot_id); in xhci_setup_addressable_virt_dev() [all …]
|
H A D | xhci.h | 814 int slot_id; member 1011 int slot_id; member 1060 int slot_id; member 2169 u32 trb_type, u32 slot_id); 2177 int slot_id, unsigned int ep_index); 2179 int slot_id, unsigned int ep_index); 2181 int slot_id, unsigned int ep_index); 2190 int slot_id, unsigned int ep_index, 2193 u32 slot_id); 2203 unsigned int slot_id, [all …]
|
H A D | xhci-debugfs.c | 434 int slot_id) in xhci_debugfs_create_context_files() argument 436 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files() 592 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument 595 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot() 601 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot() 609 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot() 612 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument 616 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_remove_slot()
|
H A D | xhci-trace.h | 211 __field(int, slot_id) 222 __entry->slot_id = vdev->udev->slot_id; 227 __entry->portnum, __entry->level, __entry->slot_id 267 __field(int, slot_id) 282 __entry->slot_id = urb->dev->slot_id; 291 __entry->urb, __entry->pipe, __entry->slot_id,
|
H A D | xhci-debugfs.h | 111 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 D | xhci-pci.c | 892 unsigned int slot_id; in xhci_pci_poweroff_late() local 915 slot_id = xhci_find_slot_id_by_port(port->rhub->hcd, xhci, in xhci_pci_poweroff_late() 917 if (!slot_id || !xhci->devs[slot_id]) { in xhci_pci_poweroff_late() 919 slot_id, port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late() 923 udev = xhci->devs[slot_id]->udev; in xhci_pci_poweroff_late()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-mem.c | 137 int slot_id; in xhci_free_virt_devices() local 144 for (slot_id = 0; slot_id < MAX_HC_SLOTS; slot_id++) { in xhci_free_virt_devices() 145 virt_dev = ctrl->devs[slot_id]; in xhci_free_virt_devices() 149 ctrl->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_devices() 162 ctrl->devs[slot_id] = NULL; in xhci_free_virt_devices() 448 if (ctrl->devs[slot_id]) { in xhci_alloc_virt_device() 453 ctrl->devs[slot_id] = (struct xhci_virt_device *) in xhci_alloc_virt_device() 456 if (!ctrl->devs[slot_id]) { in xhci_alloc_virt_device() 462 virt_dev = ctrl->devs[slot_id]; in xhci_alloc_virt_device() 726 int slot_id = udev->slot_id; in xhci_setup_addressable_virt_dev() local [all …]
|
H A D | xhci-ring.c | 282 fields[3] = TRB_TYPE(cmd) | SLOT_ID_FOR_TRB(slot_id) | in xhci_queue_command() 376 xhci_writel(&ctrl->dba->doorbell[udev->slot_id], in giveback_first_trb() 495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td() 503 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td() 511 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in abort_td() 564 int slot_id = udev->slot_id; in xhci_bulk_tx() local 583 virt_dev = ctrl->devs[slot_id]; in xhci_bulk_tx() 724 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_bulk_tx() 758 int slot_id = udev->slot_id; in xhci_ctrl_tx() local 916 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_ctrl_tx() [all …]
|
H A D | xhci.c | 456 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints() 464 != udev->slot_id); in xhci_configure_endpoints() 505 int slot_id = udev->slot_id; in xhci_set_configuration() local 631 int slot_id = udev->slot_id; in xhci_address_device() local 634 virt_dev = ctrl->devs[slot_id]; in xhci_address_device() 655 slot_id); in xhci_address_device() 763 unsigned int slot_id = udev->slot_id; in xhci_check_maxpacket() local 773 out_ctx = ctrl->devs[slot_id]->out_ctx; in xhci_check_maxpacket() 788 in_ctx = ctrl->devs[slot_id]->in_ctx; in xhci_check_maxpacket() 1410 int slot_id = udev->slot_id; in xhci_update_hub_device() local [all …]
|
/openbmc/qemu/target/xtensa/ |
H A D | xtensa-isa.c | 576 int slot_id; in xtensa_format_slot_nop_opcode() local 581 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_format_slot_nop_opcode() 590 int slot_id; in xtensa_format_get_slot() local 595 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_format_get_slot() 605 int slot_id; in xtensa_format_set_slot() local 610 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_format_set_slot() 667 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_opcode_decode() 691 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_opcode_encode() 932 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_operand_get_field() 968 slot_id = intisa->formats[fmt].slot_id[slot]; in xtensa_operand_set_field() [all …]
|
H A D | xtensa-isa-internal.h | 69 int *slot_id; /* Array[num_slots] of slot IDs. */ member
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 664 s8 slot_id; member 874 int slot_id, ref_id; in vdec_av1_slice_cleanup_slots() local 879 for (slot_id = 0; slot_id < AV1_MAX_FRAME_BUF_COUNT; slot_id++) { in vdec_av1_slice_cleanup_slots() 911 if (vsi->slot_id == AV1_INVALID_IDX) { in vdec_av1_slice_setup_slot() 913 vsi->slot_id = 0; in vdec_av1_slice_setup_slot() 1492 &slots->frame_info[vsi->slot_id]; in vdec_av1_slice_setup_ref() 1494 int i, slot_id; in vdec_av1_slice_setup_ref() local 1503 slot_id = frame->ref_frame_map[ref_idx]; in vdec_av1_slice_setup_ref() 1505 if (slot_id == AV1_INVALID_IDX) { in vdec_av1_slice_setup_ref() 1641 if (vsi->slot_id != AV1_INVALID_IDX) { in vdec_av1_slice_setup_seg_buffer() [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpiphp_ibm.c | 58 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()
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | hisilicon,hi6220-mailbox.txt | 21 <&phandle slot_id dst_irq ack_irq> 23 slot_id: Slot id used either for TX or RX
|
/openbmc/u-boot/board/freescale/p1022ds/ |
H A D | p1022ds.c | 173 enum slot_id { enum 230 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 582 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() 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() 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() 615 h->items[slot_id].pkt = NULL; in brcmf_fws_hanger_poppkt() 648 u32 slot_id) in brcmf_fws_hanger_mark_suppressed() argument [all …]
|
/openbmc/qemu/include/sysemu/ |
H A D | hvf_int.h | 27 int slot_id; member
|
/openbmc/linux/drivers/mmc/host/ |
H A D | meson-mx-sdio.c | 117 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() 535 if (of_property_read_u32(slot_dev->of_node, "reg", &host->slot_id)) { in meson_mx_mmc_add_host() 540 if (host->slot_id >= MESON_MX_SDIO_MAX_SLOTS) { in meson_mx_mmc_add_host() 542 host->slot_id); in meson_mx_mmc_add_host()
|
H A D | atmel-mci.c | 642 u32 slot_id; in atmci_of_init() local 655 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init() 661 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init() 670 pdata->slot[slot_id].bus_width = 1; in atmci_of_init() 672 pdata->slot[slot_id].detect_pin = in atmci_of_init() 675 err = PTR_ERR_OR_ZERO(pdata->slot[slot_id].detect_pin); in atmci_of_init() 679 pdata->slot[slot_id].detect_pin = NULL; in atmci_of_init() 682 pdata->slot[slot_id].non_removable = in atmci_of_init() 685 pdata->slot[slot_id].wp_pin = in atmci_of_init() 688 err = PTR_ERR_OR_ZERO(pdata->slot[slot_id].wp_pin); in atmci_of_init() [all …]
|
/openbmc/u-boot/board/gdsys/p1022/ |
H A D | controlcenterd.c | 147 enum slot_id { enum 204 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
|
/openbmc/qemu/hw/display/ |
H A D | qxl.c | 1313 guest_end = le64_to_cpu(d->guest_slots[slot_id].slot.mem_end); in qxl_add_memslot() 1317 if (slot_id >= NUM_MEMSLOTS) { in qxl_add_memslot() 1319 slot_id, NUM_MEMSLOTS); in qxl_add_memslot() 1368 memslot.slot_id = slot_id; in qxl_add_memslot() 1377 d->guest_slots[slot_id].mr = mr; in qxl_add_memslot() 1378 d->guest_slots[slot_id].offset = memslot.virt_start - virt_start; in qxl_add_memslot() 1380 d->guest_slots[slot_id].delta = delta; in qxl_add_memslot() 1381 d->guest_slots[slot_id].active = 1; in qxl_add_memslot() 1385 static void qxl_del_memslot(PCIQXLDevice *d, uint32_t slot_id) in qxl_del_memslot() argument 1387 qemu_spice_del_memslot(&d->ssd, MEMSLOT_GROUP_HOST, slot_id); in qxl_del_memslot() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | stmfts.c | 174 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()
|