/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 266 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 = from_timer(pep, t, timeout); rxq_refill_timer_wrapper() local 436 add_del_hash_entry(struct pxa168_eth_private *pep, 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, 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 990 pxa168_init_hw(struct pxa168_eth_private *pep) pxa168_init_hw() argument 1022 struct pxa168_eth_private *pep = netdev_priv(dev); rxq_init() local 1060 struct pxa168_eth_private *pep = netdev_priv(dev); rxq_deinit() local 1082 struct pxa168_eth_private *pep = netdev_priv(dev); txq_init() local 1117 struct pxa168_eth_private *pep = netdev_priv(dev); txq_deinit() local 1131 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_open() local 1170 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_stop() local 1190 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_change_mtu() local 1213 eth_alloc_tx_desc_index(struct pxa168_eth_private *pep) eth_alloc_tx_desc_index() argument 1227 struct pxa168_eth_private *pep = pxa168_rx_poll() local 1254 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_start_xmit() local 1287 smi_wait_ready(struct pxa168_eth_private *pep) smi_wait_ready() argument 1303 struct pxa168_eth_private *pep = bus->priv; pxa168_smi_read() local 1328 struct pxa168_eth_private *pep = bus->priv; pxa168_smi_write() local 1390 struct pxa168_eth_private *pep = NULL; pxa168_eth_probe() local 1534 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 266 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 = from_timer(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 1534 struct pxa168_eth_private *pep = netdev_priv(dev); pxa168_eth_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 75 struct cdns2_endpoint *pep) in cdns2_get_dma_pos() 79 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos() 99 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, in cdns2_trb_virt_to_dma() argument 102 u32 offset = (char *)trb - (char *)pep->ring.trbs; in cdns2_trb_virt_to_dma() 104 return pep->ring.dma + offset; in cdns2_trb_virt_to_dma() 107 static void cdns2_free_tr_segment(struct cdns2_endpoint *pep) in cdns2_free_tr_segment() argument 109 struct cdns2_device *pdev = pep->pdev; in cdns2_free_tr_segment() 110 struct cdns2_ring *ring = &pep->ring; in cdns2_free_tr_segment() 112 if (pep->ring.trbs) { in cdns2_free_tr_segment() 119 static int cdns2_alloc_tr_segment(struct cdns2_endpoint *pep) in cdns2_alloc_tr_segment() argument 74 cdns2_get_dma_pos(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_get_dma_pos() argument 153 cdns2_ep_stall_flush(struct cdns2_endpoint *pep) cdns2_ep_stall_flush() argument 227 cdns2_next_trb(struct cdns2_endpoint *pep, struct cdns2_trb *trb) cdns2_next_trb() argument 236 cdns2_gadget_giveback(struct cdns2_endpoint *pep, struct cdns2_request *preq, int status) cdns2_gadget_giveback() argument 265 cdns2_wa1_restore_cycle_bit(struct cdns2_endpoint *pep) cdns2_wa1_restore_cycle_bit() argument 280 cdns2_wa1_update_guard(struct cdns2_endpoint *pep, struct cdns2_trb *trb) cdns2_wa1_update_guard() argument 302 cdns2_wa1_tray_restore_cycle_bit(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_wa1_tray_restore_cycle_bit() argument 315 cdns2_prepare_ring(struct cdns2_device *pdev, struct cdns2_endpoint *pep, int num_trbs) cdns2_prepare_ring() argument 363 cdns2_dbg_request_trbs(struct cdns2_endpoint *pep, struct cdns2_request *preq) cdns2_dbg_request_trbs() argument 383 cdns2_count_trbs(struct cdns2_endpoint *pep, u64 addr, u64 len) cdns2_count_trbs() argument 412 cdns2_count_sg_trbs(struct cdns2_endpoint *pep, struct usb_request *req) cdns2_count_sg_trbs() argument 498 cdns2_ep_tx_isoc(struct cdns2_endpoint *pep, struct cdns2_request *preq, int num_trbs) cdns2_ep_tx_isoc() argument 614 cdns2_ep_tx_bulk(struct cdns2_endpoint *pep, struct cdns2_request *preq, int trbs_per_td) cdns2_ep_tx_bulk() argument 688 cdns2_set_drdy(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_set_drdy() argument 711 cdns2_prepare_first_isoc_transfer(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_prepare_first_isoc_transfer() argument 761 cdns2_ep_run_transfer(struct cdns2_endpoint *pep, struct cdns2_request *preq) cdns2_ep_run_transfer() argument 821 cdns2_start_all_request(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_start_all_request() argument 878 cdns2_trb_handled(struct cdns2_endpoint *pep, struct cdns2_request *preq) cdns2_trb_handled() argument 949 cdns2_skip_isoc_td(struct cdns2_device *pdev, struct cdns2_endpoint *pep, struct cdns2_request *preq) cdns2_skip_isoc_td() argument 971 cdns2_transfer_completed(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_transfer_completed() argument 1051 cdns2_rearm_transfer(struct cdns2_endpoint *pep, u8 rearm) cdns2_rearm_transfer() argument 1072 cdns2_handle_epx_interrupt(struct cdns2_endpoint *pep) cdns2_handle_epx_interrupt() argument 1342 struct cdns2_endpoint *pep; cdns2_eps_onchip_buffer_init() local 1411 cdns2_ep_config(struct cdns2_endpoint *pep, bool enable) cdns2_ep_config() argument 1504 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_alloc_request() local 1531 struct cdns2_endpoint *pep; cdns2_gadget_ep_enable() local 1613 struct cdns2_endpoint *pep; cdns2_gadget_ep_disable() local 1668 cdns2_ep_enqueue(struct cdns2_endpoint *pep, struct cdns2_request *preq, gfp_t gfp_flags) cdns2_ep_enqueue() argument 1700 struct cdns2_endpoint *pep; cdns2_gadget_ep_queue() local 1742 struct cdns2_endpoint *pep; cdns2_gadget_ep_dequeue() local 1822 cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep, int value) cdns2_halt_endpoint() argument 1887 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_set_halt() local 1914 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep_set_wedge() local 1926 struct cdns2_endpoint *pep; cdns2_find_available_ep() local 1966 struct cdns2_endpoint *pep; cdns2_gadget_match_ep() local 2130 struct cdns2_endpoint *pep; cdns2_gadget_udc_stop() local 2178 struct cdns2_endpoint *pep; cdns2_init_eps() local [all...] |
H A D | cdns2-trace.h | 129 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 D | cdns2-ep0.c | 45 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, ®s->ep_traddr); in cdns2_ep0_enqueue() 74 trace_cdns2_doorbell_ep0(pep, readl(®s->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, pre in cdns2_ep0_stall() 109 struct cdns2_endpoint *pep = &pdev->eps[0]; cdns2_status_stage() local 176 struct cdns2_endpoint *pep; cdns2_req_ep0_handle_status() local 286 struct cdns2_endpoint *pep; cdns2_ep0_handle_feature_endpoint() local 381 struct cdns2_endpoint *pep = &pdev->eps[0]; cdns2_handle_setup_packet() local 461 struct cdns2_endpoint *pep = &pdev->eps[0]; cdns2_transfer_completed() local 517 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep0_set_halt() local 540 struct cdns2_endpoint *pep = ep_to_cdns2_ep(ep); cdns2_gadget_ep0_queue() local 621 struct cdns2_endpoint *pep; cdns2_ep0_config() local 645 cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep) cdns2_init_ep0() argument [all...] |
H 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 = snprintf(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 D | cdns2-gadget.h | 581 * @pep: extended representation of usb_ep object. 591 struct cdns2_endpoint *pep; member 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,
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 344 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq) in cdnsp_ep_enqueue() argument 346 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_enqueue() 350 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) { in cdnsp_ep_enqueue() 358 preq->direction = pep->direction; in cdnsp_ep_enqueue() 359 preq->epnum = pep->number; in cdnsp_ep_enqueue() 362 ret = usb_gadget_map_request_by_dev(pdev->dev, request, pep->direction); in cdnsp_ep_enqueue() 368 list_add_tail(&preq->list, &pep->pending_list); in cdnsp_ep_enqueue() 372 switch (usb_endpoint_type(pep->endpoint.desc)) { in cdnsp_ep_enqueue() 391 pep->direction); in cdnsp_ep_enqueue() 423 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struc argument 487 cdnsp_invalidate_ep_events(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_invalidate_ep_events() argument 595 cdnsp_halt_endpoint(struct cdnsp_device *pdev, struct cdnsp_ep *pep, int value) cdnsp_halt_endpoint() argument 635 cdnsp_update_eps_configuration(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_update_eps_configuration() argument 765 cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_alloc_streams() argument 931 struct cdnsp_ep *pep; cdnsp_gadget_ep_enable() local 1005 struct cdnsp_ep *pep; cdnsp_gadget_ep_disable() local 1066 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_alloc_request() local 1096 struct cdnsp_ep *pep; cdnsp_gadget_ep_queue() local 1123 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_dequeue() local 1151 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_set_halt() local 1177 struct cdnsp_ep *pep = to_cdnsp_ep(ep); cdnsp_gadget_ep_set_wedge() local 1212 cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq, int status) cdnsp_gadget_giveback() argument 1573 cdnsp_get_ep_buffering(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_get_ep_buffering() argument 1603 struct cdnsp_ep *pep; cdnsp_gadget_init_endpoints() local 1693 struct cdnsp_ep *pep; cdnsp_gadget_free_endpoints() local [all...] |
H A D | cdnsp-ring.c | 277 struct cdnsp_ep *pep, in cdnsp_ring_ep_doorbell() 281 unsigned int ep_state = pep->ep_state; in cdnsp_ring_ep_doorbell() 292 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_ring_ep_doorbell() 293 if (pep->stream_info.drbls_count >= 2) in cdnsp_ring_ep_doorbell() 296 pep->stream_info.drbls_count++; in cdnsp_ring_ep_doorbell() 299 pep->ep_state &= ~EP_STOPPED; in cdnsp_ring_ep_doorbell() 301 if (pep->idx == 0 && pdev->ep0_stage == CDNSP_DATA_STAGE && in cdnsp_ring_ep_doorbell() 303 db_value = DB_VALUE_EP0_OUT(pep->idx, stream_id); in cdnsp_ring_ep_doorbell() 305 db_value = DB_VALUE(pep->idx, stream_id); in cdnsp_ring_ep_doorbell() 307 trace_cdnsp_tr_drbl(pep, stream_i in cdnsp_ring_ep_doorbell() 276 cdnsp_ring_ep_doorbell(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id) cdnsp_ring_ep_doorbell() argument 322 cdnsp_get_transfer_ring(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int stream_id) cdnsp_get_transfer_ring() argument 347 cdnsp_ring_doorbell_for_active_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_ring_doorbell_for_active_rings() argument 403 struct cdnsp_ep *pep; cdnsp_get_hw_deq() 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) cdnsp_find_new_dequeue_state() argument 634 cdnsp_cmd_set_deq(struct cdnsp_device *pdev, struct cdnsp_ep *pep, struct cdnsp_dequeue_state *deq_state) cdnsp_cmd_set_deq() argument 690 cdnsp_remove_request(struct cdnsp_device *pdev, struct cdnsp_request *preq, struct cdnsp_ep *pep) cdnsp_remove_request() 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) cdnsp_giveback_first_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) cdnsp_process_ctrl_td() 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) cdnsp_process_isoc_td() 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) cdnsp_skip_isoc_td() argument 1178 struct cdnsp_ep *pep; cdnsp_handle_tx_nrdy() local 1235 struct cdnsp_ep *pep; cdnsp_handle_tx_event() local 1872 struct cdnsp_ep *pep; cdnsp_queue_bulk_tx() local 2015 struct cdnsp_ep *pep = preq->pep; cdnsp_queue_ctrl_tx() local 2107 cdnsp_cmd_stop_ep(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_cmd_stop_ep() argument 2129 cdnsp_cmd_flush_ep(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_cmd_flush_ep() argument 2431 cdnsp_queue_new_dequeue_state(struct cdnsp_device *pdev, struct cdnsp_ep *pep, struct cdnsp_dequeue_state *deq_state) cdnsp_queue_new_dequeue_state() argument [all...] |
H A D | cdnsp-mem.c | 22 struct cdnsp_ep *pep); 410 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_free_endpoint_rings() argument 412 cdnsp_ring_free(pdev, pep->ring); in cdnsp_free_endpoint_rings() 413 pep->ring = NULL; in cdnsp_free_endpoint_rings() 414 cdnsp_free_stream_info(pdev, pep); in cdnsp_free_endpoint_rings() 518 struct cdnsp_ep *pep) in cdnsp_free_stream_ctx() 520 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array, in cdnsp_free_stream_ctx() 521 pep->stream_info.ctx_array_dma); in cdnsp_free_stream_ctx() 526 *cdnsp_alloc_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_alloc_stream_ctx() argument 529 pep in cdnsp_alloc_stream_ctx() 517 cdnsp_free_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_free_stream_ctx() argument 543 cdnsp_dma_to_transfer_ring(struct cdnsp_ep *pep, u64 address) cdnsp_dma_to_transfer_ring() argument 561 cdnsp_alloc_stream_info(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int num_stream_ctxs, unsigned int num_streams) cdnsp_alloc_stream_info() argument 642 cdnsp_free_stream_info(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_free_stream_info() argument 781 cdnsp_parse_exponent_interval(struct usb_gadget *g, struct cdnsp_ep *pep) cdnsp_parse_exponent_interval() 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) cdnsp_microframes_to_exponent() argument 829 cdnsp_get_endpoint_interval(struct usb_gadget *g, struct cdnsp_ep *pep) cdnsp_get_endpoint_interval() argument 866 cdnsp_get_endpoint_mult(struct usb_gadget *g, struct cdnsp_ep *pep) cdnsp_get_endpoint_mult() argument 875 cdnsp_get_endpoint_max_burst(struct usb_gadget *g, struct cdnsp_ep *pep) cdnsp_get_endpoint_max_burst() argument 915 cdnsp_get_max_esit_payload(struct usb_gadget *g, struct cdnsp_ep *pep) cdnsp_get_max_esit_payload() argument 941 cdnsp_endpoint_init(struct cdnsp_device *pdev, struct cdnsp_ep *pep, gfp_t mem_flags) cdnsp_endpoint_init() argument 1017 cdnsp_endpoint_zero(struct cdnsp_device *pdev, struct cdnsp_ep *pep) cdnsp_endpoint_zero() argument [all...] |
H A D | cdnsp-trace.h | 38 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 D | cdnsp-ep0.c | 21 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 in cdnsp_ep0_handle_status() 301 struct cdnsp_ep *pep; cdnsp_ep0_handle_feature_endpoint() local [all...] |
H A D | cdnsp-gadget.h | 1300 * @pep: Extended representation of usb_ep object 1308 struct cdnsp_ep *pep; member 1490 struct cdnsp_ep *pep, 1497 struct cdnsp_ep *pep, 1500 int cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep); 1501 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep); 1547 struct cdnsp_ep *pep, 1550 struct cdnsp_ep *pep); 1568 void cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq, 1570 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struc [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | am53c974.c | 120 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 in pci_esp_dma_error() 214 struct pci_esp_priv *pep = pci_esp_get_priv(esp); pci_esp_send_dma_cmd() local 378 struct pci_esp_priv *pep; pci_esp_probe_one() local 500 struct pci_esp_priv *pep = pci_get_drvdata(pdev); pci_esp_remove_one() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | am53c974.c | 120 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 in pci_esp_dma_error() 214 struct pci_esp_priv *pep = pci_esp_get_priv(esp); pci_esp_send_dma_cmd() local 378 struct pci_esp_priv *pep; pci_esp_probe_one() local 500 struct pci_esp_priv *pep = pci_get_drvdata(pdev); pci_esp_remove_one() local [all...] |
/kernel/linux/linux-5.10/net/phonet/ |
H A D | Makefile | 12 pn_pep-y := pep.o pep-gprs.o
|
H A D | socket.c | 25 #include <net/phonet/pep.h>
|
H A D | pep.c | 3 * File: pep.c 23 #include <net/phonet/pep.h>
|
/kernel/linux/linux-6.6/net/phonet/ |
H A D | Makefile | 12 pn_pep-y := pep.o pep-gprs.o
|
H A D | socket.c | 25 #include <net/phonet/pep.h>
|
H A D | pep.c | 3 * File: pep.c 23 #include <net/phonet/pep.h>
|
/kernel/linux/linux-5.10/fs/ |
H A D | eventpoll.c | 1014 static int ep_alloc(struct eventpoll **pep) in ep_alloc() argument 1035 *pep = ep; in ep_alloc()
|
/kernel/linux/linux-6.6/fs/ |
H A D | eventpoll.c | 976 static int ep_alloc(struct eventpoll **pep) in ep_alloc() argument 994 *pep = ep; in ep_alloc()
|