Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c266 static int pxa168_init_hw(struct pxa168_eth_private *pep);
273 static inline u32 rdl(struct pxa168_eth_private *pep, int offset) in rdl() argument
275 return readl_relaxed(pep->base + offset); in rdl()
278 static inline void wrl(struct pxa168_eth_private *pep, int offset, u32 data) in wrl() argument
280 writel_relaxed(data, pep->base + offset); in wrl()
283 static void abort_dma(struct pxa168_eth_private *pep) in abort_dma() argument
289 wrl(pep, SDMA_CMD, SDMA_CMD_AR | SDMA_CMD_AT); in abort_dma()
293 while ((rdl(pep, SDMA_CMD) & (SDMA_CMD_AR | SDMA_CMD_AT)) in abort_dma()
300 netdev_err(pep->dev, "%s : DMA Stuck\n", __func__); in abort_dma()
305 struct pxa168_eth_private *pep in rxq_refill() local
356 struct pxa168_eth_private *pep = timer_container_of(pep, t, timeout); rxq_refill_timer_wrapper() local
436 add_del_hash_entry(struct pxa168_eth_private * pep,const unsigned char * mac_addr,u32 rd,u32 skip,int del) add_del_hash_entry() argument
522 update_hash_table_mac_address(struct pxa168_eth_private * pep,unsigned char * oaddr,const unsigned char * addr) update_hash_table_mac_address() argument
533 init_hash_table(struct pxa168_eth_private * pep) init_hash_table() argument
563 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_set_rx_mode() local
588 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_get_mac_address() local
603 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_set_mac_address() local
630 struct pxa168_eth_private *pep = netdev_priv(dev); eth_port_start() local
666 struct pxa168_eth_private *pep = netdev_priv(dev); eth_port_reset() local
698 struct pxa168_eth_private *pep = netdev_priv(dev); txq_reclaim() local
747 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_tx_timeout() local
756 struct pxa168_eth_private *pep = container_of(work, pxa168_eth_tx_timeout_task() local
766 struct pxa168_eth_private *pep = netdev_priv(dev); rxq_process() local
840 pxa168_eth_collect_events(struct pxa168_eth_private * pep,struct net_device * dev) pxa168_eth_collect_events() argument
863 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_int_handler() local
873 pxa168_eth_recalc_skb_size(struct pxa168_eth_private * pep) pxa168_eth_recalc_skb_size() argument
902 set_port_config_ext(struct pxa168_eth_private * pep) set_port_config_ext() argument
931 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_adjust_link() local
960 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_init_phy() local
989 pxa168_init_hw(struct pxa168_eth_private * pep) pxa168_init_hw() argument
1021 struct pxa168_eth_private *pep = netdev_priv(dev); rxq_init() local
1059 struct pxa168_eth_private *pep = netdev_priv(dev); rxq_deinit() local
1081 struct pxa168_eth_private *pep = netdev_priv(dev); txq_init() local
1116 struct pxa168_eth_private *pep = netdev_priv(dev); txq_deinit() local
1130 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_open() local
1169 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_stop() local
1189 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_change_mtu() local
1212 eth_alloc_tx_desc_index(struct pxa168_eth_private * pep) eth_alloc_tx_desc_index() argument
1226 struct pxa168_eth_private *pep = pxa168_rx_poll() local
1253 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_start_xmit() local
1286 smi_wait_ready(struct pxa168_eth_private * pep) smi_wait_ready() argument
1302 struct pxa168_eth_private *pep = bus->priv; pxa168_smi_read() local
1327 struct pxa168_eth_private *pep = bus->priv; pxa168_smi_write() local
1389 struct pxa168_eth_private *pep = NULL; pxa168_eth_probe() local
1529 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_remove() local
[all...]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c76 struct cdns2_endpoint *pep) in cdns2_get_dma_pos() argument
80 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos()
100 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, in cdns2_trb_virt_to_dma() argument
103 u32 offset = (char *)trb - (char *)pep->ring.trbs; in cdns2_trb_virt_to_dma()
105 return pep->ring.dma + offset; in cdns2_trb_virt_to_dma()
108 static void cdns2_free_tr_segment(struct cdns2_endpoint *pep) in cdns2_free_tr_segment() argument
110 struct cdns2_device *pdev = pep->pdev; in cdns2_free_tr_segment()
111 struct cdns2_ring *ring = &pep->ring; in cdns2_free_tr_segment()
113 if (pep->ring.trbs) { in cdns2_free_tr_segment()
120 static int cdns2_alloc_tr_segment(struct cdns2_endpoint *pep) in cdns2_alloc_tr_segment() argument
154 cdns2_ep_stall_flush(struct cdns2_endpoint * pep) cdns2_ep_stall_flush() argument
228 cdns2_next_trb(struct cdns2_endpoint * pep,struct cdns2_trb * trb) cdns2_next_trb() argument
237 cdns2_gadget_giveback(struct cdns2_endpoint * pep,struct cdns2_request * preq,int status) cdns2_gadget_giveback() argument
266 cdns2_wa1_restore_cycle_bit(struct cdns2_endpoint * pep) cdns2_wa1_restore_cycle_bit() argument
281 cdns2_wa1_update_guard(struct cdns2_endpoint * pep,struct cdns2_trb * trb) cdns2_wa1_update_guard() argument
304 cdns2_wa1_tray_restore_cycle_bit(struct cdns2_device * pdev,struct cdns2_endpoint * pep) cdns2_wa1_tray_restore_cycle_bit() argument
317 cdns2_prepare_ring(struct cdns2_device * pdev,struct cdns2_endpoint * pep,int num_trbs) cdns2_prepare_ring() argument
364 cdns2_dbg_request_trbs(struct cdns2_endpoint * pep,struct cdns2_request * preq) cdns2_dbg_request_trbs() argument
384 cdns2_count_trbs(struct cdns2_endpoint * pep,u64 addr,u64 len) cdns2_count_trbs() argument
413 cdns2_count_sg_trbs(struct cdns2_endpoint * pep,struct usb_request * req) cdns2_count_sg_trbs() argument
499 cdns2_ep_tx_isoc(struct cdns2_endpoint * pep,struct cdns2_request * preq,int num_trbs) cdns2_ep_tx_isoc() argument
615 cdns2_ep_tx_bulk(struct cdns2_endpoint * pep,struct cdns2_request * preq,int trbs_per_td) cdns2_ep_tx_bulk() argument
690 cdns2_set_drdy(struct cdns2_device * pdev,struct cdns2_endpoint * pep) cdns2_set_drdy() argument
713 cdns2_prepare_first_isoc_transfer(struct cdns2_device * pdev,struct cdns2_endpoint * pep) cdns2_prepare_first_isoc_transfer() argument
762 cdns2_ep_run_transfer(struct cdns2_endpoint * pep,struct cdns2_request * preq) cdns2_ep_run_transfer() argument
823 cdns2_start_all_request(struct cdns2_device * pdev,struct cdns2_endpoint * pep) cdns2_start_all_request() argument
879 cdns2_trb_handled(struct cdns2_endpoint * pep,struct cdns2_request * preq) cdns2_trb_handled() argument
951 cdns2_skip_isoc_td(struct cdns2_device * pdev,struct cdns2_endpoint * pep,struct cdns2_request * preq) cdns2_skip_isoc_td() argument
973 cdns2_transfer_completed(struct cdns2_device * pdev,struct cdns2_endpoint * pep) cdns2_transfer_completed() argument
1052 cdns2_rearm_transfer(struct cdns2_endpoint * pep,u8 rearm) cdns2_rearm_transfer() argument
1073 cdns2_handle_epx_interrupt(struct cdns2_endpoint * pep) cdns2_handle_epx_interrupt() argument
1343 struct cdns2_endpoint *pep; cdns2_eps_onchip_buffer_init() local
1412 cdns2_ep_config(struct cdns2_endpoint * pep,bool enable) cdns2_ep_config() argument
1505 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_alloc_request() local
1532 struct cdns2_endpoint *pep; cdns2_gadget_ep_enable() local
1614 struct cdns2_endpoint *pep; cdns2_gadget_ep_disable() local
1669 cdns2_ep_enqueue(struct cdns2_endpoint * pep,struct cdns2_request * preq,gfp_t gfp_flags) cdns2_ep_enqueue() argument
1701 struct cdns2_endpoint *pep; cdns2_gadget_ep_queue() local
1743 struct cdns2_endpoint *pep; cdns2_gadget_ep_dequeue() local
1824 cdns2_halt_endpoint(struct cdns2_device * pdev,struct cdns2_endpoint * pep,int value) cdns2_halt_endpoint() argument
1888 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_set_halt() local
1915 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_set_wedge() local
1927 struct cdns2_endpoint *pep; cdns2_find_available_ep() local
1967 struct cdns2_endpoint *pep; cdns2_gadget_match_ep() local
2131 struct cdns2_endpoint *pep; cdns2_gadget_udc_stop() local
2179 struct cdns2_endpoint *pep; cdns2_init_eps() local
[all...]
H A Dcdns2-ep0.c45 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_enqueue() local
46 struct cdns2_ring *ring = &pep->ring; in cdns2_ep0_enqueue()
64 trace_cdns2_queue_trb(pep, ring->trbs); in cdns2_ep0_enqueue()
66 if (!pep->dir) in cdns2_ep0_enqueue()
69 cdns2_select_ep(pdev, pep->dir); in cdns2_ep0_enqueue()
72 writel(pep->ring.dma, &regs->ep_traddr); in cdns2_ep0_enqueue()
74 trace_cdns2_doorbell_ep0(pep, readl(&regs->ep_traddr)); in cdns2_ep0_enqueue()
92 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_stall() local
95 preq = cdns2_next_preq(&pep->pending_list); in cdns2_ep0_stall()
99 cdns2_gadget_giveback(pep, preq, -ECONNRESET); in cdns2_ep0_stall()
[all …]
H A Dcdns2-debug.h98 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()
H A Dcdns2-gadget.h600 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,
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c374 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq) in cdnsp_ep_enqueue() argument
376 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_enqueue()
380 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) { in cdnsp_ep_enqueue()
388 preq->direction = pep->direction; in cdnsp_ep_enqueue()
389 preq->epnum = pep->number; in cdnsp_ep_enqueue()
392 ret = usb_gadget_map_request_by_dev(pdev->dev, request, pep->direction); in cdnsp_ep_enqueue()
398 list_add_tail(&preq->list, &pep->pending_list); in cdnsp_ep_enqueue()
402 switch (usb_endpoint_type(pep->endpoint.desc)) { in cdnsp_ep_enqueue()
421 pep->direction); in cdnsp_ep_enqueue()
453 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struc argument
518 cdnsp_invalidate_ep_events(struct cdnsp_device * pdev,struct cdnsp_ep * pep) cdnsp_invalidate_ep_events() argument
642 cdnsp_halt_endpoint(struct cdnsp_device * pdev,struct cdnsp_ep * pep,int value) cdnsp_halt_endpoint() argument
682 cdnsp_update_eps_configuration(struct cdnsp_device * pdev,struct cdnsp_ep * pep) cdnsp_update_eps_configuration() argument
811 cdnsp_alloc_streams(struct cdnsp_device * pdev,struct cdnsp_ep * pep) cdnsp_alloc_streams() argument
977 struct cdnsp_ep *pep; cdnsp_gadget_ep_enable() local
1051 struct cdnsp_ep *pep; cdnsp_gadget_ep_disable() local
1110 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_alloc_request() local
1140 struct cdnsp_ep *pep; cdnsp_gadget_ep_queue() local
1167 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_dequeue() local
1195 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_set_halt() local
1221 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_set_wedge() local
1256 cdnsp_gadget_giveback(struct cdnsp_ep * pep,struct cdnsp_request * preq,int status) cdnsp_gadget_giveback() argument
1624 cdnsp_get_ep_buffering(struct cdnsp_device * pdev,struct cdnsp_ep * pep) cdnsp_get_ep_buffering() argument
1653 struct cdnsp_ep *pep; cdnsp_gadget_init_endpoints() local
1743 struct cdnsp_ep *pep; cdnsp_gadget_free_endpoints() local
[all...]
H A Dcdnsp-mem.c22 struct cdnsp_ep *pep);
403 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_free_endpoint_rings() argument
405 cdnsp_ring_free(pdev, pep->ring); in cdnsp_free_endpoint_rings()
406 pep->ring = NULL; in cdnsp_free_endpoint_rings()
407 cdnsp_free_stream_info(pdev, pep); in cdnsp_free_endpoint_rings()
511 struct cdnsp_ep *pep) in cdnsp_free_stream_ctx() argument
513 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array, in cdnsp_free_stream_ctx()
514 pep->stream_info.ctx_array_dma); in cdnsp_free_stream_ctx()
519 *cdnsp_alloc_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_alloc_stream_ctx() argument
522 pep->stream_info.num_stream_ctxs; in cdnsp_alloc_stream_ctx()
[all …]
H A Dcdnsp-ep0.c21 struct cdnsp_ep *pep; in cdnsp_ep0_stall() local
23 pep = &pdev->eps[0]; in cdnsp_ep0_stall()
24 preq = next_request(&pep->pending_list); in cdnsp_ep0_stall()
27 cdnsp_halt_endpoint(pdev, pep, true); in cdnsp_ep0_stall()
30 cdnsp_gadget_giveback(pep, preq, -ECONNRESET); in cdnsp_ep0_stall()
32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall()
132 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq); in cdnsp_status_stage()
147 struct cdnsp_ep *pep; in cdnsp_ep0_handle_status() local
173 pep = &pdev->eps[ep_sts]; in cdnsp_ep0_handle_status()
174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
[all …]
H A Dcdnsp-gadget.h1322 struct cdnsp_ep *pep; member
1508 struct cdnsp_ep *pep,
1516 struct cdnsp_ep *pep,
1519 int cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1520 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1564 struct cdnsp_ep *pep,
1567 struct cdnsp_ep *pep);
1585 void cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq,
1587 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
1588 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
[all …]
/linux/drivers/scsi/
H A Dam53c974.c120 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_irq_pending() local
122 pep->dma_status = pci_esp_read8(esp, ESP_DMA_STATUS); in pci_esp_irq_pending()
123 esp_dma_log("dma intr dreg[%02x]\n", pep->dma_status); in pci_esp_irq_pending()
125 if (pep->dma_status & (ESP_DMA_STAT_ERROR | in pci_esp_irq_pending()
183 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_dma_invalidate() local
188 pep->dma_status = 0; in pci_esp_dma_invalidate()
193 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_dma_error() local
195 if (pep->dma_status & ESP_DMA_STAT_ERROR) { in pci_esp_dma_error()
203 if (pep->dma_status & ESP_DMA_STAT_ABORT) { in pci_esp_dma_error()
205 pep->dma_status = pci_esp_read8(esp, ESP_DMA_CMD); in pci_esp_dma_error()
[all …]
/linux/net/phonet/
H A DMakefile12 pn_pep-y := pep.o pep-gprs.o
/linux/fs/
H A Deventpoll.c1435 static int ep_alloc(struct eventpoll **pep) in ep_alloc() argument
1454 *pep = ep; in ep_alloc()