Home
last modified time | relevance | path

Searched refs:evt_ring (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ipa/
Dgsi.c369 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_command() local
370 struct completion *completion = &evt_ring->completion; in gsi_evt_ring_command()
656 struct gsi_ring *ring = &gsi->evt_ring[evt_ring_id].ring; in gsi_evt_ring_doorbell()
669 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_program() local
670 size_t size = evt_ring->ring.count * GSI_RING_ELEMENT_SIZE; in gsi_evt_ring_program()
686 val = lower_32_bits(evt_ring->ring.addr); in gsi_evt_ring_program()
688 val = upper_32_bits(evt_ring->ring.addr); in gsi_evt_ring_program()
1097 struct gsi_evt_ring *evt_ring; in gsi_isr_evt_ctrl() local
1101 evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_isr_evt_ctrl()
1103 complete(&evt_ring->completion); in gsi_isr_evt_ctrl()
[all …]
Dgsi.h158 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
/drivers/usb/early/
Dxhci-dbc.c210 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 …]
Dxhci-dbc.h164 struct xdbc_ring evt_ring; member
/drivers/net/hippi/
Drrunner.c176 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()
Drrunner.h804 struct event *evt_ring; member
/drivers/net/ethernet/alteon/
Dacenic.c722 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 …]
Dacenic.h673 struct event *evt_ring; member
/drivers/usb/cdns3/
Dcdnsp-mem.c1026 struct cdnsp_ring *evt_ring, in cdnsp_alloc_erst() argument
1034 size = sizeof(struct cdnsp_erst_entry) * evt_ring->num_segs; in cdnsp_alloc_erst()
1040 erst->num_entries = evt_ring->num_segs; in cdnsp_alloc_erst()
1042 seg = evt_ring->first_seg; in cdnsp_alloc_erst()
1043 for (val = 0; val < evt_ring->num_segs; val++) { in cdnsp_alloc_erst()
/drivers/usb/host/
Dxhci-mem.c1806 struct xhci_ring *evt_ring, in xhci_alloc_erst() argument
1815 size = sizeof(struct xhci_erst_entry) * evt_ring->num_segs; in xhci_alloc_erst()
1821 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1823 seg = evt_ring->first_seg; in xhci_alloc_erst()
1824 for (val = 0; val < evt_ring->num_segs; val++) { in xhci_alloc_erst()
Dxhci-dbgcap.c380 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()
Dxhci.h2071 struct xhci_ring *evt_ring,