| /drivers/net/ethernet/marvell/ |
| A D | pxa168_eth.c | 310 while (pep->rx_desc_count < pep->rx_ring_size) { in rxq_refill() 557 wrl(pep, HTPR, pep->htpr_dma); in init_hash_table() 1075 pep->p_rx_desc_area, pep->rx_desc_dma); in rxq_deinit() 1124 pep->p_tx_desc_area, pep->tx_desc_dma); in txq_deinit() 1459 pep->port_num = pep->pd->port_number; in pxa168_eth_probe() 1460 pep->phy_addr = pep->pd->phy_addr; in pxa168_eth_probe() 1461 pep->phy_speed = pep->pd->speed; in pxa168_eth_probe() 1462 pep->phy_duplex = pep->pd->duplex; in pxa168_eth_probe() 1463 pep->phy_intf = pep->pd->intf; in pxa168_eth_probe() 1497 pep->smi_bus->priv = pep; in pxa168_eth_probe() [all …]
|
| /drivers/usb/gadget/udc/cdns2/ |
| A D | cdns2-gadget.c | 295 pep->wa1_trb_index = pep->ring.enqueue; in cdns2_wa1_update_guard() 524 num_tds = pep->dir ? pep->interval : 1; in cdns2_ep_tx_isoc() 587 trb = pep->ring.trbs + pep->ring.enqueue; in cdns2_ep_tx_isoc() 724 writel(pep->ring.dma + pep->ring.dequeue, in cdns2_prepare_first_isoc_transfer() 808 if (!pep->wa1_set && !(pep->ep_state & EP_STALLED) && !pep->skip) { in cdns2_ep_run_transfer() 957 trb = pep->ring.trbs + pep->ring.dequeue; in cdns2_skip_isoc_td() 1386 pep->name, tx_offset, pep->buffering); in cdns2_eps_onchip_buffer_init() 1512 preq->pep = pep; in cdns2_gadget_ep_alloc_request() 2141 bEndpointAddress = pep->num | pep->dir; in cdns2_gadget_udc_stop() 2217 pep->endpoint.name = pep->name; in cdns2_init_eps() [all …]
|
| A D | cdns2-trace.h | 132 __string(name, pep->num ? pep->name : 213 TP_ARGS(pdev, pep) 430 TP_ARGS(pep, trb) 440 TP_ARGS(pep), 448 memcpy(__get_dynamic_array(pep), pep, 463 TP_ARGS(pep) 468 TP_ARGS(pep), 502 TP_ARGS(pep) 507 TP_ARGS(pep) 512 TP_ARGS(pep) [all …]
|
| A D | cdns2-ep0.c | 66 if (!pep->dir) in cdns2_ep0_enqueue() 69 cdns2_select_ep(pdev, pep->dir); in cdns2_ep0_enqueue() 104 pep->ep_state |= EP_STALLED; in cdns2_ep0_stall() 176 struct cdns2_endpoint *pep; in cdns2_req_ep0_handle_status() local 193 pep = &pdev->eps[ep_sts]; in cdns2_req_ep0_handle_status() 286 struct cdns2_endpoint *pep; in cdns2_ep0_handle_feature_endpoint() local 413 pep = &pdev->eps[0]; in cdns2_handle_setup_packet() 416 pep->ep_state &= ~EP_STALLED; in cdns2_handle_setup_packet() 466 trace_cdns2_complete_trb(pep, pep->ring.trbs); in cdns2_transfer_completed() 621 struct cdns2_endpoint *pep; in cdns2_ep0_config() local [all …]
|
| A D | cdns2-debug.h | 98 static inline const char *cdns2_raw_ring(struct cdns2_endpoint *pep, in cdns2_raw_ring() argument 102 struct cdns2_ring *ring = &pep->ring; in cdns2_raw_ring() 108 ret = scnprintf(str, size, "\n\t\tTR for %s:", pep->name); in cdns2_raw_ring() 111 dma = cdns2_trb_virt_to_dma(pep, trb); in cdns2_raw_ring() 117 dma = cdns2_trb_virt_to_dma(pep, trb); in cdns2_raw_ring()
|
| A D | cdns2-gadget.h | 600 struct cdns2_endpoint *pep; member 691 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, 701 void cdns2_gadget_giveback(struct cdns2_endpoint *pep, 704 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep); 713 int cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep,
|
| /drivers/usb/cdns3/ |
| A D | cdnsp-gadget.c | 664 if (pep->idx != 0 && !(pep->ep_state & EP_WEDGE)) in cdnsp_halt_endpoint() 1110 preq->pep = pep; in cdnsp_gadget_ep_alloc_request() 1618 pep->buffering = (pep->buffering + 1) / 2; in cdnsp_get_ep_buffering() 1619 pep->buffering_period = (pep->buffering_period + 1) / 2; in cdnsp_get_ep_buffering() 1631 pep->buffering_period = pep->buffering; in cdnsp_get_ep_buffering() 1667 snprintf(pep->name, sizeof(pep->name), "ep%d%s", in cdnsp_gadget_init_endpoints() 1681 pdev->ep0_preq.pep = pep; in cdnsp_gadget_init_endpoints() 1684 snprintf(pep->name, sizeof(pep->name), "ep%d%s", in cdnsp_gadget_init_endpoints() 1703 pep->endpoint.name = pep->name; in cdnsp_gadget_init_endpoints() 1704 pep->in_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, pep->idx); in cdnsp_gadget_init_endpoints() [all …]
|
| A D | cdnsp-ring.c | 328 return pep->ring; in cdnsp_get_transfer_ring() 359 if (!(pep->ep_state & EP_HAS_STREAMS) && pep->number) { in cdnsp_ring_doorbell_for_active_rings() 360 if (pep->ring && !list_empty(&pep->ring->td_list)) in cdnsp_ring_doorbell_for_active_rings() 404 struct cdnsp_ep *pep; in cdnsp_get_hw_deq() local 1277 pep->name); in cdnsp_handle_tx_event() 1302 pep->skip = true; in cdnsp_handle_tx_event() 1325 if (pep->skip) { in cdnsp_handle_tx_event() 1365 pep->skip = false; in cdnsp_handle_tx_event() 1389 if (pep->skip) { in cdnsp_handle_tx_event() 1899 pep = preq->pep; in cdnsp_queue_bulk_tx() [all …]
|
| A D | cdnsp-mem.c | 22 struct cdnsp_ep *pep); 413 pep->ring = NULL; in cdnsp_free_endpoint_rings() 518 struct cdnsp_ep *pep) in cdnsp_free_stream_ctx() argument 549 return pep->ring; in cdnsp_dma_to_transfer_ring() 876 struct cdnsp_ep *pep) in cdnsp_get_endpoint_max_burst() argument 942 struct cdnsp_ep *pep, in cdnsp_endpoint_init() argument 957 ep_ctx = pep->in_ctx; in cdnsp_endpoint_init() 990 if (!pep->ring) in cdnsp_endpoint_init() 993 pep->skip = false; in cdnsp_endpoint_init() 1019 pep->in_ctx->ep_info = 0; in cdnsp_endpoint_zero() [all …]
|
| A D | cdnsp-ep0.c | 21 struct cdnsp_ep *pep; in cdnsp_ep0_stall() local 23 pep = &pdev->eps[0]; in cdnsp_ep0_stall() 27 cdnsp_halt_endpoint(pdev, pep, true); in cdnsp_ep0_stall() 32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall() 147 struct cdnsp_ep *pep; in cdnsp_ep0_handle_status() local 173 pep = &pdev->eps[ep_sts]; in cdnsp_ep0_handle_status() 301 struct cdnsp_ep *pep; in cdnsp_ep0_handle_feature_endpoint() local 417 struct cdnsp_ep *pep; in cdnsp_setup_analyze() local 431 pep = &pdev->eps[0]; in cdnsp_setup_analyze() 444 pep->ep_state &= ~EP_HALTED; in cdnsp_setup_analyze() [all …]
|
| A D | cdnsp-trace.h | 39 TP_ARGS(pep, stream_id), 41 __string(name, pep->name) 52 __entry->state = pep->ep_state; 69 TP_ARGS(pep, stream_id) 74 TP_ARGS(pep, stream_id) 79 TP_ARGS(pep, stream_id) 84 TP_ARGS(pep, stream_id) 89 TP_ARGS(pep, stream_id) 94 TP_ARGS(pep, stream_id) 455 __string(name, req->pep->name) [all …]
|
| A D | cdnsp-gadget.h | 1322 struct cdnsp_ep *pep; member 1507 struct cdnsp_ep *pep, 1514 struct cdnsp_ep *pep, 1517 int cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep); 1562 struct cdnsp_ep *pep, 1565 struct cdnsp_ep *pep); 1585 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq); 1586 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struct cdnsp_request *preq); 1590 struct cdnsp_ep *pep, int value); 1591 int cdnsp_cmd_stop_ep(struct cdnsp_device *pdev, struct cdnsp_ep *pep); [all …]
|
| /drivers/scsi/ |
| A D | am53c974.c | 125 if (pep->dma_status & (ESP_DMA_STAT_ERROR | in pci_esp_irq_pending() 188 pep->dma_status = 0; in pci_esp_dma_invalidate() 195 if (pep->dma_status & ESP_DMA_STAT_ERROR) { in pci_esp_dma_error() 219 pep->dma_status = 0; in pci_esp_send_dma_cmd() 378 struct pci_esp_priv *pep; in pci_esp_probe_one() local 400 if (!pep) { in pci_esp_probe_one() 423 pep->esp = esp; in pci_esp_probe_one() 450 pci_set_drvdata(pdev, pep); in pci_esp_probe_one() 489 kfree(pep); in pci_esp_probe_one() 501 struct esp *esp = pep->esp; in pci_esp_remove_one() [all …]
|