Searched refs:pep (Results 1 - 17 of 17) sorted by relevance

/linux-master/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) argument
275 return readl_relaxed(pep->base + offset);
278 static inline void wrl(struct pxa168_eth_private *pep, int offset, u32 data) argument
280 writel_relaxed(data, pep->base + offset);
283 static void abort_dma(struct pxa168_eth_private *pep) argument
289 wrl(pep, SDMA_CMD, SDMA_CMD_AR | SDMA_CMD_AT);
293 while ((rdl(pep, SDMA_CMD) & (SDMA_CMD_AR | SDMA_CMD_AT))
300 netdev_err(pep->dev, "%s : DMA Stuck\n", __func__);
305 struct pxa168_eth_private *pep local
356 struct pxa168_eth_private *pep = from_timer(pep, t, timeout); local
436 add_del_hash_entry(struct pxa168_eth_private *pep, const unsigned char *mac_addr, u32 rd, u32 skip, int del) argument
522 update_hash_table_mac_address(struct pxa168_eth_private *pep, unsigned char *oaddr, const unsigned char *addr) argument
533 init_hash_table(struct pxa168_eth_private *pep) argument
563 struct pxa168_eth_private *pep = netdev_priv(dev); local
588 struct pxa168_eth_private *pep = netdev_priv(dev); local
603 struct pxa168_eth_private *pep = netdev_priv(dev); local
630 struct pxa168_eth_private *pep = netdev_priv(dev); local
666 struct pxa168_eth_private *pep = netdev_priv(dev); local
698 struct pxa168_eth_private *pep = netdev_priv(dev); local
747 struct pxa168_eth_private *pep = netdev_priv(dev); local
756 struct pxa168_eth_private *pep = container_of(work, local
766 struct pxa168_eth_private *pep = netdev_priv(dev); local
840 pxa168_eth_collect_events(struct pxa168_eth_private *pep, struct net_device *dev) argument
863 struct pxa168_eth_private *pep = netdev_priv(dev); local
873 pxa168_eth_recalc_skb_size(struct pxa168_eth_private *pep) argument
902 set_port_config_ext(struct pxa168_eth_private *pep) argument
931 struct pxa168_eth_private *pep = netdev_priv(dev); local
960 struct pxa168_eth_private *pep = netdev_priv(dev); local
989 pxa168_init_hw(struct pxa168_eth_private *pep) argument
1021 struct pxa168_eth_private *pep = netdev_priv(dev); local
1059 struct pxa168_eth_private *pep = netdev_priv(dev); local
1081 struct pxa168_eth_private *pep = netdev_priv(dev); local
1116 struct pxa168_eth_private *pep = netdev_priv(dev); local
1130 struct pxa168_eth_private *pep = netdev_priv(dev); local
1169 struct pxa168_eth_private *pep = netdev_priv(dev); local
1189 struct pxa168_eth_private *pep = netdev_priv(dev); local
1212 eth_alloc_tx_desc_index(struct pxa168_eth_private *pep) argument
1226 struct pxa168_eth_private *pep = local
1253 struct pxa168_eth_private *pep = netdev_priv(dev); local
1286 smi_wait_ready(struct pxa168_eth_private *pep) argument
1302 struct pxa168_eth_private *pep = bus->priv; local
1327 struct pxa168_eth_private *pep = bus->priv; local
1389 struct pxa168_eth_private *pep = NULL; local
1534 struct pxa168_eth_private *pep = netdev_priv(dev); local
[all...]
/linux-master/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c75 struct cdns2_endpoint *pep)
79 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma;
99 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, argument
102 u32 offset = (char *)trb - (char *)pep->ring.trbs;
104 return pep->ring.dma + offset;
107 static void cdns2_free_tr_segment(struct cdns2_endpoint *pep) argument
109 struct cdns2_device *pdev = pep->pdev;
110 struct cdns2_ring *ring = &pep->ring;
112 if (pep->ring.trbs) {
119 static int cdns2_alloc_tr_segment(struct cdns2_endpoint *pep) argument
74 cdns2_get_dma_pos(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
153 cdns2_ep_stall_flush(struct cdns2_endpoint *pep) argument
227 cdns2_next_trb(struct cdns2_endpoint *pep, struct cdns2_trb *trb) argument
236 cdns2_gadget_giveback(struct cdns2_endpoint *pep, struct cdns2_request *preq, int status) argument
265 cdns2_wa1_restore_cycle_bit(struct cdns2_endpoint *pep) argument
280 cdns2_wa1_update_guard(struct cdns2_endpoint *pep, struct cdns2_trb *trb) argument
302 cdns2_wa1_tray_restore_cycle_bit(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
315 cdns2_prepare_ring(struct cdns2_device *pdev, struct cdns2_endpoint *pep, int num_trbs) argument
363 cdns2_dbg_request_trbs(struct cdns2_endpoint *pep, struct cdns2_request *preq) argument
383 cdns2_count_trbs(struct cdns2_endpoint *pep, u64 addr, u64 len) argument
412 cdns2_count_sg_trbs(struct cdns2_endpoint *pep, struct usb_request *req) argument
498 cdns2_ep_tx_isoc(struct cdns2_endpoint *pep, struct cdns2_request *preq, int num_trbs) argument
614 cdns2_ep_tx_bulk(struct cdns2_endpoint *pep, struct cdns2_request *preq, int trbs_per_td) argument
688 cdns2_set_drdy(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
711 cdns2_prepare_first_isoc_transfer(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
761 cdns2_ep_run_transfer(struct cdns2_endpoint *pep, struct cdns2_request *preq) argument
821 cdns2_start_all_request(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
878 cdns2_trb_handled(struct cdns2_endpoint *pep, struct cdns2_request *preq) argument
949 cdns2_skip_isoc_td(struct cdns2_device *pdev, struct cdns2_endpoint *pep, struct cdns2_request *preq) argument
971 cdns2_transfer_completed(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
1051 cdns2_rearm_transfer(struct cdns2_endpoint *pep, u8 rearm) argument
1072 cdns2_handle_epx_interrupt(struct cdns2_endpoint *pep) argument
1342 struct cdns2_endpoint *pep; local
1411 cdns2_ep_config(struct cdns2_endpoint *pep, bool enable) argument
1504 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); local
1531 struct cdns2_endpoint *pep; local
1613 struct cdns2_endpoint *pep; local
1668 cdns2_ep_enqueue(struct cdns2_endpoint *pep, struct cdns2_request *preq, gfp_t gfp_flags) argument
1700 struct cdns2_endpoint *pep; local
1742 struct cdns2_endpoint *pep; local
1822 cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep, int value) argument
1887 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); local
1914 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); local
1926 struct cdns2_endpoint *pep; local
1966 struct cdns2_endpoint *pep; local
2130 struct cdns2_endpoint *pep; local
2178 struct cdns2_endpoint *pep; local
[all...]
H A Dcdns2-trace.h129 TP_PROTO(struct cdns2_endpoint *pep, u32 ep_trbaddr),
130 TP_ARGS(pep, ep_trbaddr),
132 __string(name, pep->num ? pep->name :
133 (pep->dir ? "ep0in" : "ep0out"))
137 __assign_str(name, pep->name);
145 TP_PROTO(struct cdns2_endpoint *pep, u32 ep_trbaddr),
146 TP_ARGS(pep, ep_trbaddr)
150 TP_PROTO(struct cdns2_endpoint *pep, u32 ep_trbaddr),
151 TP_ARGS(pep, ep_trbadd
[all...]
H A Dcdns2-ep0.c45 struct cdns2_endpoint *pep = &pdev->eps[0]; local
46 struct cdns2_ring *ring = &pep->ring;
64 trace_cdns2_queue_trb(pep, ring->trbs);
66 if (!pep->dir)
69 cdns2_select_ep(pdev, pep->dir);
72 writel(pep->ring.dma, &regs->ep_traddr);
74 trace_cdns2_doorbell_ep0(pep, readl(&regs->ep_traddr));
92 struct cdns2_endpoint *pep = &pdev->eps[0]; local
95 preq = cdns2_next_preq(&pep->pending_list);
99 cdns2_gadget_giveback(pep, pre
109 struct cdns2_endpoint *pep = &pdev->eps[0]; local
176 struct cdns2_endpoint *pep; local
286 struct cdns2_endpoint *pep; local
381 struct cdns2_endpoint *pep = &pdev->eps[0]; local
461 struct cdns2_endpoint *pep = &pdev->eps[0]; local
517 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); local
540 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); local
621 struct cdns2_endpoint *pep; local
645 cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument
[all...]
H A Dcdns2-debug.h98 static inline const char *cdns2_raw_ring(struct cdns2_endpoint *pep, argument
102 struct cdns2_ring *ring = &pep->ring;
108 ret = scnprintf(str, size, "\n\t\tTR for %s:", pep->name);
111 dma = cdns2_trb_virt_to_dma(pep, trb);
117 dma = cdns2_trb_virt_to_dma(pep, trb);
H A Dcdns2-gadget.h581 * @pep: extended representation of usb_ep object.
591 struct cdns2_endpoint *pep; member in struct:cdns2_request
682 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep,
692 void cdns2_gadget_giveback(struct cdns2_endpoint *pep,
695 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep);
704 int cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep,
/linux-master/net/phonet/
H A DMakefile12 pn_pep-y := pep.o pep-gprs.o
H A Dsocket.c25 #include <net/phonet/pep.h>
H A Dpep.c3 * File: pep.c
23 #include <net/phonet/pep.h>
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-gadget.c344 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq) argument
346 struct cdnsp_device *pdev = pep->pdev;
350 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) {
358 preq->direction = pep->direction;
359 preq->epnum = pep->number;
362 ret = usb_gadget_map_request_by_dev(pdev->dev, request, pep->direction);
368 list_add_tail(&preq->list, &pep->pending_list);
372 switch (usb_endpoint_type(pep->endpoint.desc)) {
391 pep->direction);
423 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struc argument
487 cdnsp_invalidate_ep_events(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
595 cdnsp_halt_endpoint(struct cdnsp_device *pdev, struct cdnsp_ep *pep, int value) argument
635 cdnsp_update_eps_configuration(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
765 cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
931 struct cdnsp_ep *pep; local
1005 struct cdnsp_ep *pep; local
1064 struct cdnsp_ep *pep = to_cdnsp_ep(ep); local
1094 struct cdnsp_ep *pep; local
1121 struct cdnsp_ep *pep = to_cdnsp_ep(ep); local
1149 struct cdnsp_ep *pep = to_cdnsp_ep(ep); local
1175 struct cdnsp_ep *pep = to_cdnsp_ep(ep); local
1210 cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq, int status) argument
1569 cdnsp_get_ep_buffering(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
1599 struct cdnsp_ep *pep; local
1689 struct cdnsp_ep *pep; local
[all...]
H A Dcdnsp-mem.c22 struct cdnsp_ep *pep);
410 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
412 cdnsp_ring_free(pdev, pep->ring);
413 pep->ring = NULL;
414 cdnsp_free_stream_info(pdev, pep);
518 struct cdnsp_ep *pep)
520 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array,
521 pep->stream_info.ctx_array_dma);
526 *cdnsp_alloc_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
529 pep
517 cdnsp_free_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
543 cdnsp_dma_to_transfer_ring(struct cdnsp_ep *pep, u64 address) argument
561 cdnsp_alloc_stream_info(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int num_stream_ctxs, unsigned int num_streams) argument
642 cdnsp_free_stream_info(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
781 cdnsp_parse_exponent_interval(struct usb_gadget *g, struct cdnsp_ep *pep) argument
811 cdnsp_microframes_to_exponent(struct usb_gadget *g, struct cdnsp_ep *pep, unsigned int desc_interval, unsigned int min_exponent, unsigned int max_exponent) argument
829 cdnsp_get_endpoint_interval(struct usb_gadget *g, struct cdnsp_ep *pep) argument
866 cdnsp_get_endpoint_mult(struct usb_gadget *g, struct cdnsp_ep *pep) argument
875 cdnsp_get_endpoint_max_burst(struct usb_gadget *g, struct cdnsp_ep *pep) argument
915 cdnsp_get_max_esit_payload(struct usb_gadget *g, struct cdnsp_ep *pep) argument
941 cdnsp_endpoint_init(struct cdnsp_device *pdev, struct cdnsp_ep *pep, gfp_t mem_flags) argument
1017 cdnsp_endpoint_zero(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
[all...]
H A Dcdnsp-ring.c277 struct cdnsp_ep *pep,
281 unsigned int ep_state = pep->ep_state;
292 if (pep->ep_state & EP_HAS_STREAMS) {
293 if (pep->stream_info.drbls_count >= 2)
296 pep->stream_info.drbls_count++;
299 pep->ep_state &= ~EP_STOPPED;
301 if (pep->idx == 0 && pdev->ep0_stage == CDNSP_DATA_STAGE &&
303 db_value = DB_VALUE_EP0_OUT(pep->idx, stream_id);
305 db_value = DB_VALUE(pep->idx, stream_id);
307 trace_cdnsp_tr_drbl(pep, stream_i
276 cdnsp_ring_ep_doorbell(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id) argument
322 cdnsp_get_transfer_ring(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id) argument
347 cdnsp_ring_doorbell_for_active_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
403 struct cdnsp_ep *pep; local
430 cdnsp_find_new_dequeue_state(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id, struct cdnsp_td *cur_td, struct cdnsp_dequeue_state *state) argument
634 cdnsp_cmd_set_deq(struct cdnsp_device *pdev, struct cdnsp_ep *pep, struct cdnsp_dequeue_state *deq_state) argument
690 cdnsp_remove_request(struct cdnsp_device *pdev, struct cdnsp_request *preq, struct cdnsp_ep *pep) argument
963 cdnsp_giveback_first_trb(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id, int start_cycle, struct cdnsp_generic_trb *start_trb) argument
992 cdnsp_process_ctrl_td(struct cdnsp_device *pdev, struct cdnsp_td *td, union cdnsp_trb *event_trb, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int *status) argument
1040 cdnsp_process_isoc_td(struct cdnsp_device *pdev, struct cdnsp_td *td, union cdnsp_trb *ep_trb, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int status) argument
1104 cdnsp_skip_isoc_td(struct cdnsp_device *pdev, struct cdnsp_td *td, struct cdnsp_transfer_event *event, struct cdnsp_ep *pep, int status) argument
1178 struct cdnsp_ep *pep; local
1235 struct cdnsp_ep *pep; local
1872 struct cdnsp_ep *pep; local
2015 struct cdnsp_ep *pep = preq->pep; local
2107 cdnsp_cmd_stop_ep(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument
2418 cdnsp_queue_new_dequeue_state(struct cdnsp_device *pdev, struct cdnsp_ep *pep, struct cdnsp_dequeue_state *deq_state) argument
[all...]
H A Dcdnsp-ep0.c21 struct cdnsp_ep *pep; local
23 pep = &pdev->eps[0];
24 preq = next_request(&pep->pending_list);
27 cdnsp_halt_endpoint(pdev, pep, true);
30 cdnsp_gadget_giveback(pep, preq, -ECONNRESET);
32 pep->ep_state |= EP0_HALTED_STATUS;
132 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq);
147 struct cdnsp_ep *pep; local
173 pep = &pdev->eps[ep_sts];
174 ep_sts = GET_EP_CTX_STATE(pep
301 struct cdnsp_ep *pep; local
[all...]
H A Dcdnsp-trace.h38 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
39 TP_ARGS(pep, stream_id),
41 __string(name, pep->name)
51 __assign_str(name, pep->name);
52 __entry->state = pep->ep_state;
54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
55 __entry->num_streams = pep->stream_info.num_streams;
56 __entry->td_count = pep->stream_info.td_count;
57 __entry->first_prime_det = pep->stream_info.first_prime_det;
58 __entry->drbls_count = pep
[all...]
H A Dcdnsp-gadget.h1298 * @pep: Extended representation of usb_ep object
1306 struct cdnsp_ep *pep; member in struct:cdnsp_request
1488 struct cdnsp_ep *pep,
1495 struct cdnsp_ep *pep,
1498 int cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1499 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1543 struct cdnsp_ep *pep,
1546 struct cdnsp_ep *pep);
1564 void cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq,
1566 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struc
[all...]
/linux-master/drivers/scsi/
H A Dam53c974.c120 struct pci_esp_priv *pep = pci_esp_get_priv(esp); local
122 pep->dma_status = pci_esp_read8(esp, ESP_DMA_STATUS);
123 esp_dma_log("dma intr dreg[%02x]\n", pep->dma_status);
125 if (pep->dma_status & (ESP_DMA_STAT_ERROR |
183 struct pci_esp_priv *pep = pci_esp_get_priv(esp); local
188 pep->dma_status = 0;
193 struct pci_esp_priv *pep = pci_esp_get_priv(esp); local
195 if (pep->dma_status & ESP_DMA_STAT_ERROR) {
203 if (pep->dma_status & ESP_DMA_STAT_ABORT) {
205 pep
214 struct pci_esp_priv *pep = pci_esp_get_priv(esp); local
378 struct pci_esp_priv *pep; local
500 struct pci_esp_priv *pep = pci_get_drvdata(pdev); local
[all...]
/linux-master/fs/
H A Deventpoll.c1117 static int ep_alloc(struct eventpoll **pep) argument
1135 *pep = ep;

Completed in 189 milliseconds