Searched refs:evt_ring (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | gsi.c | 337 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in evt_ring_command() local 338 struct completion *completion = &evt_ring->completion; in evt_ring_command() 349 opcode, evt_ring_id, evt_ring->state); in evt_ring_command() 357 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_alloc_command() local 361 evt_ring->state = gsi_evt_ring_state(gsi, evt_ring_id); in gsi_evt_ring_alloc_command() 362 if (evt_ring->state != GSI_EVT_RING_STATE_NOT_ALLOCATED) { in gsi_evt_ring_alloc_command() 364 evt_ring->state); in gsi_evt_ring_alloc_command() 369 if (!ret && evt_ring->state != GSI_EVT_RING_STATE_ALLOCATED) { in gsi_evt_ring_alloc_command() 371 evt_ring->state); in gsi_evt_ring_alloc_command() 381 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_reset_command() local [all …]
|
D | gsi.h | 156 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
D | xhci-dbc.c | 210 if (ring != &xdbc.evt_ring) { in xdbc_reset_ring() 238 xdbc_reset_ring(&xdbc.evt_ring); in xdbc_mem_init() 574 ret = xdbc_alloc_ring(&xdbc.evt_seg, &xdbc.evt_ring); in xdbc_early_setup() 670 xdbc_free_ring(&xdbc.evt_ring); in early_xdbc_setup_hardware() 802 evt_trb = xdbc.evt_ring.dequeue; in xdbc_handle_events() 803 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events() 821 ++(xdbc.evt_ring.dequeue); in xdbc_handle_events() 822 if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { in xdbc_handle_events() 823 xdbc.evt_ring.dequeue = xdbc.evt_seg.trbs; in xdbc_handle_events() 824 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events() [all …]
|
D | xhci-dbc.h | 164 struct xdbc_ring evt_ring; member
|
/kernel/linux/linux-5.10/drivers/net/hippi/ |
D | rrunner.c | 176 rrpriv->evt_ring = tmpptr; in rr_init_one() 203 if (rrpriv->evt_ring) in rr_init_one() 204 dma_free_coherent(&pdev->dev, EVT_RING_SIZE, rrpriv->evt_ring, in rr_init_one() 234 dma_free_coherent(&pdev->dev, EVT_RING_SIZE, rr->evt_ring, in rr_remove_one() 734 switch (rrpriv->evt_ring[eidx].code){ in rr_handle_event() 907 u16 index = rrpriv->evt_ring[eidx].index; in rr_handle_event() 916 dev->name, rrpriv->evt_ring[eidx].code); in rr_handle_event()
|
D | rrunner.h | 804 struct event *evt_ring; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alteon/ |
D | acenic.c | 722 if (ap->evt_ring != NULL) { in ace_free_descriptors() 724 dma_free_coherent(&ap->pdev->dev, size, ap->evt_ring, in ace_free_descriptors() 726 ap->evt_ring = NULL; in ace_free_descriptors() 775 ap->evt_ring = dma_alloc_coherent(&ap->pdev->dev, size, in ace_allocate_descriptors() 778 if (ap->evt_ring == NULL) in ace_allocate_descriptors() 1186 memset(ap->evt_ring, 0, EVT_RING_ENTRIES * sizeof(struct event)); in ace_init() 1817 switch (ap->evt_ring[evtcsm].evt) { in ace_handle_event() 1828 u16 code = ap->evt_ring[evtcsm].code; in ace_handle_event() 1856 switch(ap->evt_ring[evtcsm].code) { in ace_handle_event() 1871 ap->name, ap->evt_ring[evtcsm].code); in ace_handle_event() [all …]
|
D | acenic.h | 673 struct event *evt_ring; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-mem.c | 1820 struct xhci_ring *evt_ring, in xhci_alloc_erst() argument 1829 size = sizeof(struct xhci_erst_entry) * evt_ring->num_segs; in xhci_alloc_erst() 1835 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst() 1837 seg = evt_ring->first_seg; in xhci_alloc_erst() 1838 for (val = 0; val < evt_ring->num_segs; val++) { in xhci_alloc_erst()
|
D | xhci-dbgcap.c | 380 static int dbc_erst_alloc(struct device *dev, struct xhci_ring *evt_ring, in dbc_erst_alloc() argument 389 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
|
D | xhci.h | 2040 struct xhci_ring *evt_ring,
|