/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A 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 in gsi_evt_ring_alloc_command() 381 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; gsi_evt_ring_reset_command() local 401 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; gsi_evt_ring_de_alloc_command() local 606 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; gsi_evt_ring_program() local 977 struct gsi_evt_ring *evt_ring; gsi_isr_evt_ctrl() local 1008 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; gsi_isr_glob_evt_err() local 1204 gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) gsi_evt_ring_rx_update() argument 1320 struct gsi_evt_ring *evt_ring; gsi_channel_update() local 1708 struct gsi_evt_ring *evt_ring; gsi_channel_evt_ring_init() local 1736 struct gsi_evt_ring *evt_ring; gsi_channel_evt_ring_exit() local [all...] |
H A D | gsi.h | 156 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A 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 in xdbc_handle_events() [all...] |
H A D | xhci-dbc.h | 164 struct xdbc_ring evt_ring; member
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A 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() 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 in xdbc_handle_events() [all...] |
H A D | xhci-dbc.h | 164 struct xdbc_ring evt_ring; member
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | gsi.c | 707 struct gsi_ring *ring = &gsi->evt_ring[evt_ring_id].ring; in gsi_evt_ring_doorbell() 720 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_evt_ring_program() local 721 struct gsi_ring *ring = &evt_ring->ring; in gsi_evt_ring_program() 1196 struct gsi_evt_ring *evt_ring = &gsi->evt_ring[evt_ring_id]; in gsi_isr_glob_evt_err() local 1197 u32 channel_id = gsi_channel_id(evt_ring->channel); in gsi_isr_glob_evt_err() 1200 dev_err(gsi->dev, "evt_ring for channel %u out of resources\n", in gsi_isr_glob_evt_err() 1339 napi_schedule(&gsi->evt_ring[evt_ring_id].channel->napi); in gsi_isr_ieob() 1488 struct gsi_evt_ring *evt_ring in gsi_evt_ring_update() local 1607 struct gsi_evt_ring *evt_ring; gsi_channel_update() local 2116 struct gsi_evt_ring *evt_ring; gsi_channel_evt_ring_init() local 2144 struct gsi_evt_ring *evt_ring; gsi_channel_evt_ring_exit() local [all...] |
H A D | gsi.h | 157 struct gsi_evt_ring evt_ring[GSI_EVT_RING_COUNT_MAX]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alteon/ |
H A 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[evtcs in ace_handle_event() [all...] |
H A D | acenic.h | 673 struct event *evt_ring; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/alteon/ |
H A 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[evtcs in ace_handle_event() [all...] |
H A D | acenic.h | 673 struct event *evt_ring; member
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 1026 struct cdnsp_ring *evt_ring, in cdnsp_alloc_erst() 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() 1025 cdnsp_alloc_erst(struct cdnsp_device *pdev, struct cdnsp_ring *evt_ring, struct cdnsp_erst *erst) cdnsp_alloc_erst() argument
|
/kernel/linux/linux-5.10/drivers/net/hippi/ |
H A 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()
|
H A D | rrunner.h | 804 struct event *evt_ring; member
|
/kernel/linux/linux-6.6/drivers/net/hippi/ |
H A 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() 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 D | rrunner.h | 804 struct event *evt_ring; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 1820 struct xhci_ring *evt_ring, in xhci_alloc_erst() 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() 1819 xhci_alloc_erst(struct xhci_hcd *xhci, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) xhci_alloc_erst() argument
|
H A 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()
|
H A D | xhci.h | 2045 struct xhci_ring *evt_ring,
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mem.c | 1770 struct xhci_ring *evt_ring, in xhci_alloc_erst() 1779 size = size_mul(sizeof(struct xhci_erst_entry), evt_ring->num_segs); in xhci_alloc_erst() 1785 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst() 1787 seg = evt_ring->first_seg; in xhci_alloc_erst() 1788 for (val = 0; val < evt_ring->num_segs; val++) { in xhci_alloc_erst() 1769 xhci_alloc_erst(struct xhci_hcd *xhci, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) xhci_alloc_erst() argument
|
H A 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()
|
H A D | xhci.h | 2083 struct xhci_ring *evt_ring,
|