Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/usb/host/
H A Dxhci-ring.c612 if (slot_id == 0 || slot_id >= MAX_HC_SLOTS) { in xhci_get_virt_ep()
984 unsigned int slot_id = ep->vdev->slot_id; in xhci_handle_halted_endpoint() local
1037 unsigned int slot_id = ep->vdev->slot_id; in xhci_invalidate_cancelled_tds() local
1192 slot_id); in xhci_handle_cmd_stop_ep()
1465 slot_id); in xhci_handle_cmd_set_deq()
1588 command->slot_id = slot_id; in xhci_handle_cmd_enable_slot()
1663 slot_id); in xhci_handle_cmd_reset_dev()
1933 u32 slot_id; in handle_device_notification() local
1944 slot_id); in handle_device_notification()
2036 if (port->slot_id && xhci->devs[port->slot_id]) in handle_port_status()
[all …]
H A Dxhci.c1430 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1574 slot_id = urb->dev->slot_id; in xhci_urb_enqueue()
3414 slot_id = udev->slot_id; in xhci_calculate_no_streams_bitmask()
3778 slot_id = udev->slot_id; in xhci_discover_or_reset_device()
3800 slot_id); in xhci_discover_or_reset_device()
3875 slot_id, in xhci_discover_or_reset_device()
4004 slot_id); in xhci_disable_slot()
4076 slot_id = command->slot_id; in xhci_alloc_dev()
4114 udev->slot_id = slot_id; in xhci_alloc_dev()
4300 udev->slot_id, in xhci_setup_device()
[all …]
H A Dxhci-mem.c767 int slot_id) in xhci_free_tt_info() argument
784 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
819 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
846 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
892 if (dev->rhub_port && dev->rhub_port->slot_id == slot_id) in xhci_free_virt_device()
923 if (tt_info->slot_id == slot_id) { in xhci_free_virt_devices_depth_first()
946 if (slot_id == 0 || xhci->devs[slot_id]) { in xhci_alloc_virt_device()
955 dev->slot_id = slot_id; in xhci_alloc_virt_device()
990 slot_id, in xhci_alloc_virt_device()
1113 dev->rhub_port->slot_id = udev->slot_id; in xhci_setup_addressable_virt_dev()
[all …]
H A Dxhci-trace.h179 __field(int, slot_id)
187 __entry->slot_id = (int) vdev->slot_id;
191 __entry->vdev, __entry->slot_id, __entry->in_ctx,
213 __field(int, slot_id)
224 __entry->slot_id = vdev->udev->slot_id;
229 __entry->portnum, __entry->level, __entry->slot_id
270 __field(int, slot_id)
286 __entry->slot_id = urb->dev->slot_id;
296 __entry->urb, __entry->pipe, __entry->slot_id,
H A Dxhci.h536 int slot_id; member
735 int slot_id; member
783 int slot_id; member
1480 int slot_id; member
1901 u32 trb_type, u32 slot_id);
1909 int slot_id, unsigned int ep_index);
1911 int slot_id, unsigned int ep_index);
1913 int slot_id, unsigned int ep_index);
1922 int slot_id, unsigned int ep_index,
1925 u32 slot_id);
[all …]
H A Dxhci-hub.c467 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
537 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
1000 if (!port->slot_id) { in xhci_handle_usb2_port_link_resume()
1004 xhci_ring_device(xhci, port->slot_id); in xhci_handle_usb2_port_link_resume()
1343 if (!port->slot_id) { in xhci_hub_control()
1472 if (port->slot_id) { in xhci_hub_control()
1591 if (!port->slot_id) { in xhci_hub_control()
1826 int slot_id = ports[port_index]->slot_id; in xhci_bus_suspend() local
1827 if (slot_id) { in xhci_bus_suspend()
1829 xhci_stop_device(xhci, slot_id, 1); in xhci_bus_suspend()
[all …]
H A Dxhci-debugfs.c415 int slot_id) in xhci_debugfs_create_context_files() argument
417 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_context_files()
573 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_create_slot() argument
576 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_create_slot()
582 snprintf(priv->name, sizeof(priv->name), "%02d", slot_id); in xhci_debugfs_create_slot()
590 xhci_debugfs_create_context_files(xhci, priv->root, slot_id); in xhci_debugfs_create_slot()
593 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id) in xhci_debugfs_remove_slot() argument
597 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_debugfs_remove_slot()
H A Dxhci-debugfs.h111 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 Dxhci-pci.c874 if (!port->slot_id || !xhci->devs[port->slot_id]) { in xhci_pci_poweroff_late()
876 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()
881 udev = xhci->devs[port->slot_id]->udev; in xhci_pci_poweroff_late()
H A Dxhci-mtk-sch.c134 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info()
921 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
977 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth()
/linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c664 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()
1500 &slots->frame_info[vsi->slot_id]; in vdec_av1_slice_setup_ref()
1502 int i, slot_id; in vdec_av1_slice_setup_ref() local
1511 slot_id = frame->ref_frame_map[ref_idx]; in vdec_av1_slice_setup_ref()
1513 if (slot_id == AV1_INVALID_IDX) { in vdec_av1_slice_setup_ref()
1649 if (vsi->slot_id != AV1_INVALID_IDX) { in vdec_av1_slice_setup_seg_buffer()
[all …]
/linux-6.15/drivers/pci/hotplug/
H A 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-6.15/Documentation/devicetree/bindings/mailbox/
H A Dhisilicon,hi6220-mailbox.txt21 <&phandle slot_id dst_irq ack_irq>
23 slot_id: Slot id used either for TX or RX
/linux-6.15/sound/soc/intel/avs/
H A Dicl.c59 union avs_icl_memwnd2_slot_type slot_id; member
94 if (desc[i].slot_id.val == slot_type.val) in avs_icl_slot_offset()
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c582 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 …]
/linux-6.15/drivers/mmc/host/
H A Dmeson-mx-sdio.c117 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 Datmel-mci.c633 u32 slot_id; in atmci_of_init() local
640 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
645 if (slot_id >= ATMCI_MAX_NR_SLOTS) { in atmci_of_init()
653 &host->pdata[slot_id].bus_width)) in atmci_of_init()
654 host->pdata[slot_id].bus_width = 1; in atmci_of_init()
656 host->pdata[slot_id].detect_pin = in atmci_of_init()
665 host->pdata[slot_id].detect_pin = NULL; in atmci_of_init()
668 host->pdata[slot_id].non_removable = in atmci_of_init()
671 host->pdata[slot_id].wp_pin = in atmci_of_init()
674 err = PTR_ERR_OR_ZERO(host->pdata[slot_id].wp_pin); in atmci_of_init()
[all …]
/linux-6.15/drivers/input/touchscreen/
H A Dstmfts.c174 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()
/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-ring.c2406 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_slot_control()
2417 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_address_device()
2425 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_reset_device()
2435 SLOT_ID_FOR_TRB(pdev->slot_id)); in cdnsp_queue_configure_endpoint()
2444 cdnsp_queue_command(pdev, 0, 0, 0, SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_stop_endpoint()
2454 u32 trb_slot_id = SLOT_ID_FOR_TRB(pdev->slot_id); in cdnsp_queue_new_dequeue_state()
2474 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_reset_ep()
2485 SLOT_ID_FOR_TRB(pdev->slot_id) | in cdnsp_queue_halt_endpoint()
H A Dcdnsp-gadget.c832 pdev->slot_id = 0; in cdnsp_disable_slot()
862 pdev->slot_id = 1; in cdnsp_enable_slot()
881 if (!pdev->slot_id) { in cdnsp_setup_device()
H A Dcdnsp-gadget.h1440 int slot_id; member
/linux-6.15/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c128 u8 slot_id[SLOT_ID_LEN]; member
446 if (inqp->slot_id[1] == 0x31) in initialize_controller()
/linux-6.15/arch/powerpc/include/asm/
H A Dopal.h150 int64_t opal_set_slot_led_status(uint64_t phb_id, uint64_t slot_id, uint8_t led_type, uint8_t led_a…
/linux-6.15/net/packet/
H A Daf_packet.c2298 unsigned int slot_id = 0; in tpacket_rcv() local
2409 slot_id = po->rx_ring.head; in tpacket_rcv()
2410 if (test_bit(slot_id, po->rx_ring.rx_owner_map)) in tpacket_rcv()
2412 __set_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
2537 __clear_bit(slot_id, po->rx_ring.rx_owner_map); in tpacket_rcv()
/linux-6.15/include/linux/
H A Dusb.h728 int slot_id; member

12