Home
last modified time | relevance | path

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

/linux/drivers/usb/early/
H A Dxhci-dbc.c210 if (ring != &xdbc.evt_ring) { in xdbc_reset_ring()
238 xdbc_reset_ring(&xdbc.evt_ring); in xdbc_mem_init()
573 ret = xdbc_alloc_ring(&xdbc.evt_seg, &xdbc.evt_ring); in xdbc_early_setup()
672 xdbc_free_ring(&xdbc.evt_ring); in early_xdbc_setup_hardware()
804 evt_trb = xdbc.evt_ring.dequeue; in xdbc_handle_events()
805 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()
823 ++(xdbc.evt_ring.dequeue); in xdbc_handle_events()
824 if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { in xdbc_handle_events()
825 xdbc.evt_ring.dequeue = xdbc.evt_seg.trbs; in xdbc_handle_events()
826 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events()
[all …]
H A Dxhci-dbc.h164 struct xdbc_ring evt_ring; member
/linux/drivers/net/ipa/
H A Dgsi.c705 struct gsi_ring *ring = &gsi->evt_ring[evt_ring_id].ring; in gsi_evt_ring_doorbell()
718 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_program() local
719 struct gsi_ring *ring = &evt_ring->ring; in gsi_evt_ring_program()
1194 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_isr_glob_evt_err() local
1195 u32 channel_id = gsi_channel_id(evt_ring->channel); in gsi_isr_glob_evt_err()
1337 napi_schedule(&gsi->evt_ring[evt_ring_id].channel->napi); in gsi_isr_ieob()
1486 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_update() local
1487 struct gsi_ring *ring = &evt_ring->ring; in gsi_evt_ring_update()
1605 struct gsi_evt_ring *evt_ring; in gsi_channel_update() local
1612 evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_channel_update()
[all …]
H A Dgsi.h153 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
/linux/drivers/net/hippi/
H A 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()
235 dma_free_coherent(&pdev->dev, EVT_RING_SIZE, rr->evt_ring, in rr_remove_one()
737 switch (rrpriv->evt_ring[eidx].code){ in rr_handle_event()
910 u16 index = rrpriv->evt_ring[eidx].index; in rr_handle_event()
919 dev->name, rrpriv->evt_ring[eidx].code); in rr_handle_event()
H A Drrunner.h804 struct event *evt_ring; member
/linux/drivers/net/ethernet/alteon/
H A Dacenic.c721 if (ap->evt_ring != NULL) { in ace_free_descriptors()
723 dma_free_coherent(&ap->pdev->dev, size, ap->evt_ring, in ace_free_descriptors()
725 ap->evt_ring = NULL; in ace_free_descriptors()
774 ap->evt_ring = dma_alloc_coherent(&ap->pdev->dev, size, in ace_allocate_descriptors()
777 if (ap->evt_ring == NULL) in ace_allocate_descriptors()
1183 memset(ap->evt_ring, 0, EVT_RING_ENTRIES * sizeof(struct event)); in ace_init()
1814 switch (ap->evt_ring[evtcsm].evt) { in ace_handle_event()
1825 u16 code = ap->evt_ring[evtcsm].code; in ace_handle_event()
1853 switch(ap->evt_ring[evtcsm].code) { in ace_handle_event()
1868 ap->name, ap->evt_ring[evtcsm].code); in ace_handle_event()
[all …]
H A Dacenic.h673 struct event *evt_ring; member
/linux/drivers/usb/cdns3/
H A 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()
/linux/drivers/usb/host/
H A Dxhci-mem.c1761 struct xhci_ring *evt_ring, in xhci_alloc_erst() argument
1770 size = array_size(sizeof(struct xhci_erst_entry), evt_ring->num_segs); in xhci_alloc_erst()
1776 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1778 seg = evt_ring->first_seg; in xhci_alloc_erst()
1779 for (val = 0; val < evt_ring->num_segs; val++) { in xhci_alloc_erst()