Searched refs:evt_ring (Results 1 – 12 of 12) sorted by relevance
/linux-5.19.10/drivers/net/ipa/ |
D | gsi.c | 654 struct gsi_ring *ring = &gsi->evt_ring[evt_ring_id].ring; in gsi_evt_ring_doorbell() 667 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_program() local 668 size_t size = evt_ring->ring.count * GSI_RING_ELEMENT_SIZE; in gsi_evt_ring_program() 684 val = lower_32_bits(evt_ring->ring.addr); in gsi_evt_ring_program() 686 val = upper_32_bits(evt_ring->ring.addr); in gsi_evt_ring_program() 1119 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_isr_glob_evt_err() local 1120 u32 channel_id = gsi_channel_id(evt_ring->channel); in gsi_isr_glob_evt_err() 1244 napi_schedule(&gsi->evt_ring[evt_ring_id].channel->napi); in gsi_isr_ieob() 1362 static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) in gsi_evt_ring_rx_update() argument 1364 struct gsi_channel *channel = evt_ring->channel; in gsi_evt_ring_rx_update() [all …]
|
D | gsi.h | 161 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
|
/linux-5.19.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() 673 xdbc_free_ring(&xdbc.evt_ring); in early_xdbc_setup_hardware() 805 evt_trb = xdbc.evt_ring.dequeue; in xdbc_handle_events() 806 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events() 824 ++(xdbc.evt_ring.dequeue); in xdbc_handle_events() 825 if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { in xdbc_handle_events() 826 xdbc.evt_ring.dequeue = xdbc.evt_seg.trbs; in xdbc_handle_events() 827 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events() [all …]
|
D | xhci-dbc.h | 164 struct xdbc_ring evt_ring; member
|
/linux-5.19.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() 736 switch (rrpriv->evt_ring[eidx].code){ in rr_handle_event() 909 u16 index = rrpriv->evt_ring[eidx].index; in rr_handle_event() 918 dev->name, rrpriv->evt_ring[eidx].code); in rr_handle_event()
|
D | rrunner.h | 804 struct event *evt_ring; member
|
/linux-5.19.10/drivers/net/ethernet/alteon/ |
D | acenic.c | 721 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 …]
|
D | acenic.h | 673 struct event *evt_ring; member
|
/linux-5.19.10/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 1026 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-5.19.10/drivers/usb/host/ |
D | xhci-mem.c | 1784 struct xhci_ring *evt_ring, in xhci_alloc_erst() argument 1793 size = sizeof(struct xhci_erst_entry) * evt_ring->num_segs; in xhci_alloc_erst() 1799 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst() 1801 seg = evt_ring->first_seg; in xhci_alloc_erst() 1802 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 | 2072 struct xhci_ring *evt_ring,
|