/linux-master/sound/usb/ |
H A D | endpoint.c | 100 usb_free_coherent(u->ep->chip->dev, u->buffer_size, 133 static inline bool ep_state_running(struct snd_usb_endpoint *ep) argument 135 return atomic_read(&ep->state) == EP_STATE_RUNNING; 138 static inline bool ep_state_update(struct snd_usb_endpoint *ep, int old, int new) argument 140 return atomic_try_cmpxchg(&ep->state, &old, new); 146 * @ep: The snd_usb_endpoint 151 int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep) argument 153 return ep->implicit_fb_sync && usb_pipeout(ep->pipe); 163 static int slave_next_packet_size(struct snd_usb_endpoint *ep, argument 189 next_packet_size(struct snd_usb_endpoint *ep, unsigned int avail) argument 219 snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, int idx, unsigned int avail) argument 238 call_retire_callback(struct snd_usb_endpoint *ep, struct urb *urb) argument 248 retire_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) argument 258 retire_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) argument 281 prepare_silent_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) argument 322 prepare_outbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx, bool in_stream_lock) argument 373 prepare_inbound_urb(struct snd_usb_endpoint *ep, struct snd_urb_ctx *urb_ctx) argument 403 notify_xrun(struct snd_usb_endpoint *ep) argument 413 next_packet_fifo_enqueue(struct snd_usb_endpoint *ep) argument 424 next_packet_fifo_dequeue(struct snd_usb_endpoint *ep) argument 435 push_back_to_ready_list(struct snd_usb_endpoint *ep, struct snd_urb_ctx *ctx) argument 458 snd_usb_queue_pending_output_urbs(struct snd_usb_endpoint *ep, bool in_stream_lock) argument 536 struct snd_usb_endpoint *ep = ctx->ep; local 648 struct snd_usb_endpoint *ep; local 681 struct snd_usb_endpoint *ep; local 714 endpoint_set_syncinterval(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 738 endpoint_compatible(struct snd_usb_endpoint *ep, const struct audioformat *fp, const struct snd_pcm_hw_params *params) argument 758 snd_usb_endpoint_compatible(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep, const struct audioformat *fp, const struct snd_pcm_hw_params *params) argument 791 struct snd_usb_endpoint *ep; local 898 snd_usb_endpoint_set_callback(struct snd_usb_endpoint *ep, int (*prepare)(struct snd_usb_substream *subs, struct urb *urb, bool in_stream_lock), void (*retire)(struct snd_usb_substream *subs, struct urb *urb), struct snd_usb_substream *data_subs) argument 915 endpoint_set_interface(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep, bool set) argument 946 snd_usb_endpoint_close(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 974 snd_usb_endpoint_suspend(struct snd_usb_endpoint *ep) argument 986 wait_clear_urbs(struct snd_usb_endpoint *ep) argument 1018 snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep) argument 1029 stop_urbs(struct snd_usb_endpoint *ep, bool force, bool keep_pending) argument 1064 release_urbs(struct snd_usb_endpoint *ep, bool force) argument 1092 data_ep_set_params(struct snd_usb_endpoint *ep) argument 1270 sync_ep_set_params(struct snd_usb_endpoint *ep) argument 1311 update_clock_ref_rate(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 1341 snd_usb_endpoint_set_params(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 1409 init_sample_rate(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 1446 snd_usb_endpoint_prepare(struct snd_usb_audio *chip, struct snd_usb_endpoint *ep) argument 1549 snd_usb_endpoint_start(struct snd_usb_endpoint *ep) argument 1669 snd_usb_endpoint_stop(struct snd_usb_endpoint *ep, bool keep_pending) argument 1705 snd_usb_endpoint_release(struct snd_usb_endpoint *ep) argument 1718 struct snd_usb_endpoint *ep, *en; local 1742 snd_usb_handle_sync_urb(struct snd_usb_endpoint *ep, struct snd_usb_endpoint *sender, const struct urb *urb) argument [all...] |
H A D | endpoint.h | 20 struct snd_usb_endpoint *ep); 22 struct snd_usb_endpoint *ep); 24 struct snd_usb_endpoint *ep); 28 struct snd_usb_endpoint *ep, 35 void snd_usb_endpoint_set_callback(struct snd_usb_endpoint *ep, 43 int snd_usb_endpoint_start(struct snd_usb_endpoint *ep); 44 void snd_usb_endpoint_stop(struct snd_usb_endpoint *ep, bool keep_pending); 45 void snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep); 46 void snd_usb_endpoint_suspend(struct snd_usb_endpoint *ep); 47 void snd_usb_endpoint_release(struct snd_usb_endpoint *ep); [all...] |
/linux-master/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_ep.h | 13 int bdc_ep_disable(struct bdc_ep *ep); 14 int bdc_ep_enable(struct bdc_ep *ep);
|
H A D | bdc_ep.c | 51 /* Free the bdl during ep disable */ 52 static void ep_bd_list_free(struct bdc_ep *ep, u32 num_tabs) argument 54 struct bd_list *bd_list = &ep->bd_list; 55 struct bdc *bdc = ep->bdc; 59 dev_dbg(bdc->dev, "%s ep:%s num_tabs:%d\n", 60 __func__, ep->name, num_tabs); 63 dev_dbg(bdc->dev, "%s already freed\n", ep->name); 95 kfree(ep->bd_list.bd_table_array); 120 /* Allocate the bdl for ep, during config ep */ 121 ep_bd_list_alloc(struct bdc_ep *ep) argument 215 bd_add_to_bdi(struct bdc_ep *ep, dma_addr_t bd_dma_addr) argument 258 bdi_to_tbi(struct bdc_ep *ep, int bdi) argument 271 find_end_bdi(struct bdc_ep *ep, int next_hwd_bdi) argument 288 bd_available_ep(struct bdc_ep *ep) argument 343 struct bdc_ep *ep = bdc->bdc_ep_array[epnum]; local 357 bdi_to_bd(struct bdc_ep *ep, int bdi) argument 371 ep_bdlist_eqp_adv(struct bdc_ep *ep) argument 431 struct bdc_ep *ep; local 512 struct bdc_ep *ep; local 538 bdc_req_complete(struct bdc_ep *ep, struct bdc_req *req, int status) argument 558 bdc_ep_disable(struct bdc_ep *ep) argument 602 bdc_ep_enable(struct bdc_ep *ep) argument 641 struct bdc_ep *ep; local 656 ep0_queue(struct bdc_ep *ep, struct bdc_req *req) argument 698 struct bdc_ep *ep; local 709 ep_queue(struct bdc_ep *ep, struct bdc_req *req) argument 733 ep_dequeue(struct bdc_ep *ep, struct bdc_req *req) argument 866 ep_set_halt(struct bdc_ep *ep, u32 value) argument 903 struct bdc_ep *ep; local 952 handle_xsr_succ_status(struct bdc *bdc, struct bdc_ep *ep, struct bdc_sr *sreport) argument 1090 struct bdc_ep *ep = bdc->bdc_ep_array[1]; local 1233 struct bdc_ep *ep; local 1308 struct bdc_ep *ep; local 1388 struct bdc_ep *ep; local 1512 struct bdc_ep *ep; local 1551 struct bdc_ep *ep; local 1646 struct bdc_ep *ep; local 1715 struct bdc_ep *ep; local 1762 struct bdc_ep *ep; local 1806 struct bdc_ep *ep; local 1830 struct bdc_ep *ep; local 1861 struct bdc_ep *ep; local 1900 struct bdc_ep *ep; local 1946 struct bdc_ep *ep; local [all...] |
/linux-master/drivers/bus/mhi/ |
H A D | Makefile | 5 obj-$(CONFIG_MHI_BUS_EP) += ep/
|
/linux-master/net/sctp/ |
H A D | endpointola.c | 41 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, argument 48 ep->digest = kzalloc(SCTP_SIGNATURE_SIZE, gfp); 49 if (!ep->digest) 52 ep->asconf_enable = net->sctp.addip_enable; 53 ep->auth_enable = net->sctp.auth_enable; 54 if (ep->auth_enable) { 55 if (sctp_auth_init(ep, gfp)) 57 if (ep->asconf_enable) { 58 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF); 59 sctp_auth_ep_add_chunkid(ep, SCTP_CID_ASCONF_AC 131 struct sctp_endpoint *ep; local 151 sctp_endpoint_add_asoc(struct sctp_endpoint *ep, struct sctp_association *asoc) argument 174 sctp_endpoint_free(struct sctp_endpoint *ep) argument 189 struct sctp_endpoint *ep = container_of(head, struct sctp_endpoint, rcu); local 199 sctp_endpoint_destroy(struct sctp_endpoint *ep) argument 232 sctp_endpoint_hold(struct sctp_endpoint *ep) argument 240 sctp_endpoint_put(struct sctp_endpoint *ep) argument 247 sctp_endpoint_is_match(struct sctp_endpoint *ep, struct net *net, const union sctp_addr *laddr, int dif, int sdif) argument 270 sctp_endpoint_lookup_assoc( const struct sctp_endpoint *ep, const union sctp_addr *paddr, struct sctp_transport **transport) argument 301 sctp_endpoint_is_peeled_off(struct sctp_endpoint *ep, const union sctp_addr *paddr) argument 327 struct sctp_endpoint *ep = local [all...] |
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 32 #define CHECK(ep, expr, fmt...) \ 34 if (!(expr)) EPDBG(ep, "CHECK:" fmt); \ 37 #define CHECK(ep, expr, fmt...) do { } while(0) 40 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) argument 51 if (chunk > ep->ep.maxpacket) 52 chunk = ep->ep.maxpacket; 53 else if ((chunk < ep->ep 82 ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep) argument 157 ast_vhub_count_free_descs(struct ast_vhub_ep *ep) argument 168 ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, struct ast_vhub_req *req) argument 248 ast_vhub_epn_handle_ack_desc(struct ast_vhub_ep *ep) argument 327 ast_vhub_epn_ack_irq(struct ast_vhub_ep *ep) argument 339 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 419 ast_vhub_stop_active_req(struct ast_vhub_ep *ep, bool restart_ep) argument 474 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 503 ast_vhub_update_epn_stall(struct ast_vhub_ep *ep) argument 524 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 565 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 603 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 762 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 804 struct ast_vhub_ep *ep; local [all...] |
H A D | ep0.c | 29 int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) argument 31 struct usb_request *req = &ep->ep0.req.req; 34 if (WARN_ON(ep->d_idx != 0)) 36 if (WARN_ON(!ep->ep0.dir_in)) 53 spin_unlock(&ep->vhub->lock); 54 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) 58 spin_lock(&ep 62 __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) argument 79 ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep) argument 176 ast_vhub_ep0_do_send(struct ast_vhub_ep *ep, struct ast_vhub_req *req) argument 227 ast_vhub_ep0_rx_prime(struct ast_vhub_ep *ep) argument 235 ast_vhub_ep0_do_receive(struct ast_vhub_ep *ep, struct ast_vhub_req *req, unsigned int len) argument 273 ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack) argument 363 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 440 struct ast_vhub_ep *ep = to_ast_ep(u_ep); local 481 struct ast_vhub_ep *ep = &dev->ep0; local 488 ast_vhub_init_ep0(struct ast_vhub *vhub, struct ast_vhub_ep *ep, struct ast_vhub_dev *dev) argument [all...] |
/linux-master/net/qrtr/ |
H A D | qrtr.h | 21 int (*xmit)(struct qrtr_endpoint *ep, struct sk_buff *skb); 26 int qrtr_endpoint_register(struct qrtr_endpoint *ep, unsigned int nid); 28 void qrtr_endpoint_unregister(struct qrtr_endpoint *ep); 30 int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len);
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pci-exynos.c | 63 static int exynos_pcie_init_clk_resources(struct exynos_pcie *ep) argument 65 struct device *dev = ep->pci.dev; 68 ret = clk_prepare_enable(ep->clk); 74 ret = clk_prepare_enable(ep->bus_clk); 83 clk_disable_unprepare(ep->clk); 88 static void exynos_pcie_deinit_clk_resources(struct exynos_pcie *ep) argument 90 clk_disable_unprepare(ep->bus_clk); 91 clk_disable_unprepare(ep->clk); 104 static void exynos_pcie_sideband_dbi_w_mode(struct exynos_pcie *ep, bool on) argument 108 val = exynos_pcie_readl(ep 116 exynos_pcie_sideband_dbi_r_mode(struct exynos_pcie *ep, bool on) argument 128 exynos_pcie_assert_core_reset(struct exynos_pcie *ep) argument 139 exynos_pcie_deassert_core_reset(struct exynos_pcie *ep) argument 155 struct exynos_pcie *ep = to_exynos_pcie(pci); local 168 exynos_pcie_clear_irq_pulse(struct exynos_pcie *ep) argument 177 struct exynos_pcie *ep = arg; local 183 exynos_pcie_enable_irq_pulse(struct exynos_pcie *ep) argument 196 struct exynos_pcie *ep = to_exynos_pcie(pci); local 208 struct exynos_pcie *ep = to_exynos_pcie(pci); local 246 struct exynos_pcie *ep = to_exynos_pcie(pci); local 255 struct exynos_pcie *ep = to_exynos_pcie(pci); local 274 exynos_add_pcie_port(struct exynos_pcie *ep, struct platform_device *pdev) argument 315 struct exynos_pcie *ep; local 380 struct exynos_pcie *ep = platform_get_drvdata(pdev); local 392 struct exynos_pcie *ep = dev_get_drvdata(dev); local 404 struct exynos_pcie *ep = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/usb/gadget/ |
H A D | epautoconf.c | 20 * usb_ep_autoconfig_ss() - choose an endpoint matching the ep 21 * descriptor and ep companion descriptor 55 * the bmAttribute field in the ep companion descriptor is 59 * assigning ep->claimed to true. 69 struct usb_ep *ep; local 72 ep = gadget->ops->match_ep(gadget, desc, ep_comp); 73 if (ep) 78 list_for_each_entry (ep, &gadget->ep_list, ep_list) { 79 if (usb_gadget_ep_match_desc(gadget, ep, desc, ep_comp)) 92 desc->wMaxPacketSize = cpu_to_le16(ep 154 struct usb_ep *ep; local 187 usb_ep_autoconfig_release(struct usb_ep *ep) argument 205 struct usb_ep *ep; local [all...] |
H A D | u_f.c | 14 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len) argument 18 req = usb_ep_alloc_request(ep, GFP_ATOMIC); 20 req->length = usb_endpoint_dir_out(ep->desc) ? 21 usb_ep_align(ep, len) : len; 24 usb_ep_free_request(ep, req);
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 144 static void connect_reply_upcall(struct c4iw_ep *ep, int status); 163 static void deref_qp(struct c4iw_ep *ep) argument 165 c4iw_qp_rem_ref(&ep->com.qp->ibqp); 166 clear_bit(QP_REFERENCED, &ep->com.flags); 167 set_bit(QP_DEREFED, &ep->com.history); 170 static void ref_qp(struct c4iw_ep *ep) argument 172 set_bit(QP_REFERENCED, &ep->com.flags); 173 set_bit(QP_REFED, &ep->com.history); 174 c4iw_qp_add_ref(&ep->com.qp->ibqp); 177 static void start_ep_timer(struct c4iw_ep *ep) argument 191 stop_ep_timer(struct c4iw_ep *ep) argument 248 set_emss(struct c4iw_ep *ep, u16 opt) argument 330 remove_ep_tid(struct c4iw_ep *ep) argument 341 insert_ep_tid(struct c4iw_ep *ep) argument 358 struct c4iw_ep *ep; local 375 struct c4iw_listen_ep *ep; local 388 struct c4iw_ep *ep; local 417 release_ep_resources(struct c4iw_ep *ep) argument 494 struct c4iw_ep *ep; local 503 struct c4iw_ep *ep; local 517 queue_arp_failure_cpl(struct c4iw_ep *ep, struct sk_buff *skb, int cpl) argument 536 struct c4iw_ep *ep = handle; local 550 struct c4iw_ep *ep = handle; local 573 struct c4iw_ep *ep = handle; local 588 send_flowc(struct c4iw_ep *ep) argument 646 send_halfclose(struct c4iw_ep *ep) argument 661 read_tcb(struct c4iw_ep *ep) argument 687 send_abort_req(struct c4iw_ep *ep) argument 702 send_abort(struct c4iw_ep *ep) argument 713 send_connect(struct c4iw_ep *ep) argument 940 send_mpa_req(struct c4iw_ep *ep, struct sk_buff *skb, u8 mpa_rev_to_use) argument 1045 send_mpa_reject(struct c4iw_ep *ep, const void *pdata, u8 plen) argument 1125 send_mpa_reply(struct c4iw_ep *ep, const void *pdata, u8 plen) argument 1216 struct c4iw_ep *ep; local 1267 close_complete_upcall(struct c4iw_ep *ep, int status) argument 1284 peer_close_upcall(struct c4iw_ep *ep) argument 1299 peer_abort_upcall(struct c4iw_ep *ep) argument 1316 connect_reply_upcall(struct c4iw_ep *ep, int status) argument 1359 connect_request_upcall(struct c4iw_ep *ep) argument 1397 established_upcall(struct c4iw_ep *ep) argument 1413 update_rx_credits(struct c4iw_ep *ep, u32 credits) argument 1459 process_mpa_reply(struct c4iw_ep *ep, struct sk_buff *skb) argument 1705 process_mpa_request(struct c4iw_ep *ep, struct sk_buff *skb) argument 1846 struct c4iw_ep *ep; local 1897 complete_cached_srq_buffers(struct c4iw_ep *ep, u32 srqidx) argument 1920 struct c4iw_ep *ep; local 1958 send_fw_act_open_req(struct c4iw_ep *ep, unsigned int atid) argument 2061 set_tcp_window(struct c4iw_ep *ep, struct port_info *pi) argument 2071 import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip, struct dst_entry *dst, struct c4iw_dev *cdev, bool clear_mpa_v1, enum chip_type adapter_type, u8 tos) argument 2154 c4iw_reconnect(struct c4iw_ep *ep) argument 2269 struct c4iw_ep *ep; local 2384 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); local 2402 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); local 2415 accept_cr(struct c4iw_ep *ep, struct sk_buff *skb, struct cpl_pass_accept_req *req) argument 2675 struct c4iw_ep *ep; local 2711 struct c4iw_ep *ep; local 2797 finish_peer_abort(struct c4iw_dev *dev, struct c4iw_ep *ep) argument 2815 struct c4iw_ep *ep; local 2974 struct c4iw_ep *ep; local 3024 struct c4iw_ep *ep; local 3056 struct c4iw_ep *ep; local 3093 struct c4iw_ep *ep = to_ep(cm_id); local 3121 struct c4iw_ep *ep = to_ep(cm_id); local 3300 struct c4iw_ep *ep; local 3463 create_server6(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) argument 3496 create_server4(struct c4iw_dev *dev, struct c4iw_listen_ep *ep) argument 3540 struct c4iw_listen_ep *ep; local 3603 struct c4iw_listen_ep *ep = to_listen_ep(cm_id); local 3638 c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp) argument 3748 struct c4iw_ep *ep; local 3850 struct c4iw_ep *ep; local 4227 process_timeout(struct c4iw_ep *ep) argument 4277 struct c4iw_ep *ep; local 4326 struct c4iw_ep *ep = from_timer(ep, t, timer); local 4408 struct c4iw_ep *ep; local [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | fsl_qe_udc.c | 53 /*ep name is important in gadget, it should obey the convention of ep_match()*/ 77 static void done(struct qe_ep *ep, struct qe_req *req, int status) argument 79 struct qe_udc *udc = ep->udc; 80 unsigned char stopped = ep->stopped; 84 * so here the req will be dropped from the ep->queue 97 ep_is_in(ep) 105 ep_is_in(ep) 111 ep->ep.name, &req->req, status, 115 ep 128 nuke(struct qe_ep *ep, int status) argument 143 qe_eprx_stall_change(struct qe_ep *ep, int value) argument 160 qe_eptx_stall_change(struct qe_ep *ep, int value) argument 187 qe_eprx_nack(struct qe_ep *ep) argument 206 qe_eprx_normal(struct qe_ep *ep) argument 227 qe_ep_cmd_stoptx(struct qe_ep *ep) argument 239 qe_ep_cmd_restarttx(struct qe_ep *ep) argument 251 qe_ep_flushtxfifo(struct qe_ep *ep) argument 271 qe_ep_filltxfifo(struct qe_ep *ep) argument 282 struct qe_ep *ep; local 314 struct qe_ep *ep; local 342 qe_ep_toggledata01(struct qe_ep *ep) argument 350 struct qe_ep *ep = &udc->eps[pipe_num]; local 407 qe_ep_rxbd_update(struct qe_ep *ep) argument 470 struct qe_ep *ep = &udc->eps[pipe_num]; local 525 struct qe_ep *ep = &udc->eps[pipe_num]; local 710 recycle_one_rxbd(struct qe_ep *ep) argument 724 recycle_rxbds(struct qe_ep *ep, unsigned char stopatnext) argument 751 ep_recycle_rxbds(struct qe_ep *ep) argument 793 struct qe_ep *ep = &udc->eps[0]; local 817 struct qe_ep *ep = &udc->eps[0]; local 888 qe_ep_rxframe_handle(struct qe_ep *ep) argument 936 struct qe_ep *ep; local 1021 qe_ep_rx(struct qe_ep *ep) argument 1067 qe_ep_tx(struct qe_ep *ep, struct qe_frame *frame) argument 1139 txcomplete(struct qe_ep *ep, unsigned char restart) argument 1189 qe_usb_senddata(struct qe_ep *ep, struct qe_frame *frame) argument 1211 sendnulldata(struct qe_ep *ep, struct qe_frame *frame, uint infor) argument 1227 frame_create_tx(struct qe_ep *ep, struct qe_frame *frame) argument 1249 struct qe_ep *ep = &udc->eps[0]; local 1266 struct qe_ep *ep = &udc->eps[0]; local 1304 ep0_txcomplete(struct qe_ep *ep, unsigned char restart) argument 1342 ep0_txframe_handle(struct qe_ep *ep) argument 1361 qe_ep0_txconf(struct qe_ep *ep) argument 1398 ep_txframe_handle(struct qe_ep *ep) argument 1417 qe_ep_txconf(struct qe_ep *ep) argument 1456 ep_req_send(struct qe_ep *ep, struct qe_req *req) argument 1470 ep_req_rx(struct qe_ep *ep, struct qe_req *req) argument 1560 ep_req_receive(struct qe_ep *ep, struct qe_req *req) argument 1586 struct qe_ep *ep; local 1616 struct qe_ep *ep; local 1696 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); local 1765 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); local 1779 struct qe_ep *ep = container_of(_ep, struct qe_ep, ep); local 1816 struct qe_ep *ep; local 1901 struct qe_ep *ep = &udc->eps[pipe]; local 1949 struct qe_ep *ep; local 2052 struct qe_ep *ep; local 2173 struct qe_ep *ep; local 2202 struct qe_ep *ep; local 2410 struct qe_ep *ep = &udc->eps[pipe_num]; local 2476 struct qe_ep *ep; local 2632 struct qe_ep *ep; local [all...] |
H A D | goku_udc.c | 14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk 15 * - Gadget drivers can choose ep maxpacket (8/16/32/64) 94 struct goku_ep *ep; local 99 ep = container_of(_ep, struct goku_ep, ep); 103 dev = ep->dev; 104 if (ep == &dev->ep[0]) 108 if (ep->num != usb_endpoint_num(desc)) 119 if ((readl(ep 192 ep_reset(struct goku_udc_regs __iomem *regs, struct goku_ep *ep) argument 246 struct goku_ep *ep; local 300 done(struct goku_ep *ep, struct goku_request *req, int status) argument 349 write_fifo(struct goku_ep *ep, struct goku_request *req) argument 408 read_fifo(struct goku_ep *ep, struct goku_request *req) argument 521 pio_advance(struct goku_ep *ep) argument 535 start_dma(struct goku_ep *ep, struct goku_request *req) argument 590 dma_advance(struct goku_udc *dev, struct goku_ep *ep) argument 638 abort_dma(struct goku_ep *ep, int status) argument 714 struct goku_ep *ep; local 794 nuke(struct goku_ep *ep, int status) argument 813 struct goku_ep *ep; local 862 goku_clear_halt(struct goku_ep *ep) argument 885 struct goku_ep *ep; local 928 struct goku_ep *ep; local 950 struct goku_ep *ep; local 1004 struct usb_ep *ep; local 1199 struct goku_ep *ep = &dev->ep [i]; local 1266 struct goku_ep *ep = &dev->ep[i]; local 1539 struct goku_ep *ep; local [all...] |
H A D | pch_udc.c | 174 #define PCH_UDC_CSR(ep) (UDC_CSR_ADDR + ep*4) 181 #define UDC_EPIN_IDX(ep) (ep * 2) 182 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) 270 * @ep: embedded ep request 276 * @offset_addr: offset address of ep register 284 struct usb_ep ep; member in struct:pch_udc_ep 342 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; member in struct:pch_udc_dev 425 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) argument 430 pch_udc_ep_writel(struct pch_udc_ep *ep, unsigned long val, unsigned long reg) argument 436 pch_udc_ep_bit_set(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) argument 443 pch_udc_ep_bit_clr(struct pch_udc_ep *ep, unsigned long reg, unsigned long bitmask) argument 472 pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, unsigned int ep) argument 489 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) argument 618 pch_udc_ep_set_stall(struct pch_udc_ep *ep) argument 632 pch_udc_ep_clear_stall(struct pch_udc_ep *ep) argument 645 pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, u8 type) argument 658 pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, u32 buf_size, u32 ep_in) argument 678 pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) argument 690 pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) argument 700 pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) argument 709 pch_udc_ep_set_pd(struct pch_udc_ep *ep) argument 718 pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) argument 727 pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) argument 875 pch_udc_read_ep_control(struct pch_udc_ep *ep) argument 885 pch_udc_clear_ep_control(struct pch_udc_ep *ep) argument 895 pch_udc_read_ep_status(struct pch_udc_ep *ep) argument 905 pch_udc_clear_ep_status(struct pch_udc_ep *ep, u32 stat) argument 916 pch_udc_ep_set_nak(struct pch_udc_ep *ep) argument 926 pch_udc_ep_clear_nak(struct pch_udc_ep *ep) argument 959 pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) argument 973 pch_udc_ep_enable(struct pch_udc_ep *ep, struct pch_udc_cfg_data *cfg, const struct usb_endpoint_descriptor *desc) argument 1008 pch_udc_ep_disable(struct pch_udc_ep *ep) argument 1028 pch_udc_wait_ep_stall(struct pch_udc_ep *ep) argument 1442 pch_udc_ep_clear_rrdy(ep); variable 1452 empty_req_queue(struct pch_udc_ep *ep) argument 1503 pch_udc_create_dma_chain(struct pch_udc_ep *ep, struct pch_udc_request *req, unsigned long buf_len, gfp_t gfp_flags) argument 1559 prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, gfp_t gfp) argument 1582 process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) argument 1608 pch_udc_start_rxrequest(struct pch_udc_ep *ep, struct pch_udc_request *req) argument 1646 struct pch_udc_ep *ep; local 1679 struct pch_udc_ep *ep; local 1714 struct pch_udc_ep *ep; local 1752 struct pch_udc_ep *ep; local 1788 struct pch_udc_ep *ep; local 1859 struct pch_udc_ep *ep; local 1895 struct pch_udc_ep *ep; local 1936 struct pch_udc_ep *ep; local 1969 struct pch_udc_ep *ep; local 2012 pch_udc_start_next_txrequest(struct pch_udc_ep *ep) argument 2051 pch_udc_complete_transfer(struct pch_udc_ep *ep) argument 2091 pch_udc_complete_receiver(struct pch_udc_ep *ep) argument 2156 struct pch_udc_ep *ep; local 2200 struct pch_udc_ep *ep; local 2270 struct pch_udc_ep *ep; local 2313 struct pch_udc_ep *ep; variable in typeref:struct:pch_udc_ep 2355 pch_udc_ep_clear_nak(ep); variable 2377 pch_udc_ep_set_rrdy(ep); variable 2389 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; local 2404 struct pch_udc_ep *ep; local 2429 struct pch_udc_ep *ep; local 2475 struct pch_udc_ep *ep; local 2785 struct pch_udc_ep *ep = &dev->ep[i]; local [all...] |
H A D | gr_udc.c | 90 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, argument 93 int buflen = ep->is_in ? req->req.length : req->req.actual; 97 dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, 111 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, argument 124 static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep) argument 126 u32 epctrl = gr_read32(&ep->regs->epctrl); 127 u32 epstat = gr_read32(&ep->regs->epstat); 131 seq_printf(seq, "%s:\n", ep->ep.name); 136 seq_printf(seq, " dma_start = %d\n", ep 186 struct gr_ep *ep; local 231 gr_alloc_dma_desc(struct gr_ep *ep, gfp_t gfp_flags) argument 364 gr_start_dma(struct gr_ep *ep) argument 406 gr_dma_advance(struct gr_ep *ep, int status) argument 421 gr_abort_dma(struct gr_ep *ep) argument 436 gr_add_dma_desc(struct gr_ep *ep, struct gr_request *req, dma_addr_t data, unsigned size, gfp_t gfp_flags) argument 475 gr_setup_out_desc_list(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 528 gr_setup_in_desc_list(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 576 gr_queue(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 634 gr_queue_int(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 651 gr_ep_nuke(struct gr_ep *ep) argument 670 gr_ep_reset(struct gr_ep *ep) argument 703 gr_ep_halt_wedge(struct gr_ep *ep, int halt, int wedge, int fromhost) argument 776 struct gr_ep *ep; local 793 struct gr_ep *ep; local 819 gr_ep0_respond(struct gr_udc *dev, u8 *buf, int length, void (*complete)(struct usb_ep *ep, struct usb_request *req)) argument 981 struct gr_ep *ep; local 1236 gr_handle_in_ep(struct gr_ep *ep) argument 1261 gr_handle_out_ep(struct gr_ep *ep) argument 1398 struct gr_ep *ep; local 1469 struct gr_ep *ep; local 1601 struct gr_ep *ep; local 1654 struct gr_ep *ep; local 1693 struct gr_ep *ep; local 1747 struct gr_ep *ep; local 1787 struct gr_ep *ep; local 1809 struct gr_ep *ep; local 1960 struct gr_ep *ep; local 2080 struct gr_ep *ep; local [all...] |
H A D | pxa27x_udc.c | 78 static void handle_ep(struct pxa_ep *ep); 138 struct pxa_ep *ep; local 147 ep = &udc->pxa_ep[i]; 148 maxpkt = ep->fifo_size; 150 EPNAME(ep), maxpkt, "pio"); 152 if (list_empty(&ep->queue)) { 157 list_for_each_entry(req, &ep->queue, queue) { 171 struct pxa_ep *ep; local 178 ep = &udc->pxa_ep[0]; 179 tmp = udc_ep_readl(ep, UDCCS 240 is_match_usb_pxa(struct udc_usb_ep *udc_usb_ep, struct pxa_ep *ep, int config, int interface, int altsetting) argument 284 struct pxa_ep *ep; local 326 pio_irq_enable(struct pxa_ep *ep) argument 343 pio_irq_disable(struct pxa_ep *ep) argument 394 ep_write_UDCCSR(struct pxa_ep *ep, int mask) argument 407 ep_count_bytes_remain(struct pxa_ep *ep) argument 424 ep_is_empty(struct pxa_ep *ep) argument 446 ep_is_full(struct pxa_ep *ep) argument 461 epout_has_pkt(struct pxa_ep *ep) argument 477 struct pxa_ep *ep = &udc->pxa_ep[0]; local 501 inc_ep_stats_reqs(struct pxa_ep *ep, int is_in) argument 515 inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in) argument 529 pxa_ep_setup(struct pxa_ep *ep) argument 612 ep_add_request(struct pxa_ep *ep, struct pxa27x_request *req) argument 635 ep_del_request(struct pxa_ep *ep, struct pxa27x_request *req) argument 659 req_done(struct pxa_ep *ep, struct pxa27x_request *req, int status, unsigned long *pflags) argument 694 ep_end_out_req(struct pxa_ep *ep, struct pxa27x_request *req, unsigned long *pflags) argument 712 ep0_end_out_req(struct pxa_ep *ep, struct pxa27x_request *req, unsigned long *pflags) argument 730 ep_end_in_req(struct pxa_ep *ep, struct pxa27x_request *req, unsigned long *pflags) argument 748 ep0_end_in_req(struct pxa_ep *ep, struct pxa27x_request *req, unsigned long *pflags) argument 765 nuke(struct pxa_ep *ep, int status) argument 789 read_packet(struct pxa_ep *ep, struct pxa27x_request *req) argument 826 write_packet(struct pxa_ep *ep, struct pxa27x_request *req, unsigned int max) argument 868 read_fifo(struct pxa_ep *ep, struct pxa27x_request *req) argument 903 write_fifo(struct pxa_ep *ep, struct pxa27x_request *req) argument 969 read_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req) argument 1007 write_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req) argument 1046 struct pxa_ep *ep; local 1159 struct pxa_ep *ep; local 1198 struct pxa_ep *ep; local 1247 struct pxa_ep *ep; local 1273 struct pxa_ep *ep; local 1317 struct pxa_ep *ep; local 1378 struct pxa_ep *ep; local 1659 struct pxa_ep *ep; local 1817 struct pxa_ep *ep = &udc->pxa_ep[0]; local 1933 struct pxa_ep *ep = &udc->pxa_ep[0]; local 2015 handle_ep(struct pxa_ep *ep) argument 2137 struct pxa_ep *ep; local 2239 struct pxa_ep *ep = &udc->pxa_ep[0]; local 2484 struct pxa_ep *ep; local 2509 struct pxa_ep *ep; local [all...] |
H A D | omap_udc.c | 121 static void use_ep(struct omap_ep *ep, u16 select) argument 123 u16 num = ep->bEndpointAddress & 0x0f; 125 if (ep->bEndpointAddress & USB_DIR_IN) 141 static void dma_channel_claim(struct omap_ep *ep, unsigned preferred); 148 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); local 156 || ep->bEndpointAddress != desc->bEndpointAddress 157 || ep->maxpacket < usb_endpoint_maxp(desc)) { 158 DBG("%s, bad ep or descriptor\n", __func__); 163 && maxp != ep 240 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); local 267 omap_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 281 omap_free_request(struct usb_ep *ep, struct usb_request *_req) argument 291 done(struct omap_ep *ep, struct omap_req *req, int status) argument 357 write_fifo(struct omap_ep *ep, struct omap_req *req) argument 419 read_fifo(struct omap_ep *ep, struct omap_req *req) argument 474 dma_src_len(struct omap_ep *ep, dma_addr_t start) argument 494 dma_dest_len(struct omap_ep *ep, dma_addr_t start) argument 516 next_in_dma(struct omap_ep *ep, struct omap_req *req) argument 553 finish_in_dma(struct omap_ep *ep, struct omap_req *req, int status) argument 579 next_out_dma(struct omap_ep *ep, struct omap_req *req) argument 609 finish_out_dma(struct omap_ep *ep, struct omap_req *req, int status, int one) argument 639 struct omap_ep *ep; local 691 struct omap_ep *ep = data; local 700 dma_channel_claim(struct omap_ep *ep, unsigned channel) argument 807 dma_channel_release(struct omap_ep *ep) argument 868 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); local 1008 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); local 1047 struct omap_ep *ep = container_of(_ep, struct omap_ep, ep); local 1332 nuke(struct omap_ep *ep, int status) argument 1355 struct omap_ep *ep; local 1516 struct omap_ep *ep; local 1864 struct omap_ep *ep = from_timer(ep, t, timer); local 1895 struct omap_ep *ep; local 1973 struct omap_ep *ep; local 2047 struct omap_ep *ep; local 2141 proc_ep_show(struct seq_file *s, struct omap_ep *ep) argument 2297 struct omap_ep *ep; local 2467 struct omap_ep *ep; local [all...] |
H A D | net2280.c | 87 EP_INFO("ep-a", 89 EP_INFO("ep-b", 91 EP_INFO("ep-c", 93 EP_INFO("ep-d", 95 EP_INFO("ep-e", 97 EP_INFO("ep-f", 99 EP_INFO("ep-g", 101 EP_INFO("ep-h", 126 /* mode 0 == ep-{a,b,c,d} 1K fifo each 127 * mode 1 == ep 168 enable_pciirqenb(struct net2280_ep *ep) argument 185 struct net2280_ep *ep; local 378 ep_reset_228x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) argument 454 ep_reset_338x(struct net2280_regs __iomem *regs, struct net2280_ep *ep) argument 514 struct net2280_ep *ep; local 548 struct net2280_ep *ep; local 582 struct net2280_ep *ep; local 608 write_fifo(struct net2280_ep *ep, struct usb_request *req) argument 668 out_flush(struct net2280_ep *ep) argument 708 read_fifo(struct net2280_ep *ep, struct net2280_request *req) argument 795 fill_dma_desc(struct net2280_ep *ep, struct net2280_request *req, int valid) argument 847 start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) argument 869 start_dma(struct net2280_ep *ep, struct net2280_request *req) argument 933 queue_dma(struct net2280_ep *ep, struct net2280_request *req, int valid) argument 945 done(struct net2280_ep *ep, struct net2280_request *req, int status) argument 980 struct net2280_ep *ep; local 1117 dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, int status) argument 1124 scan_dma_completions(struct net2280_ep *ep) argument 1191 restart_dma(struct net2280_ep *ep) argument 1202 abort_dma(struct net2280_ep *ep) argument 1215 nuke(struct net2280_ep *ep) argument 1234 struct net2280_ep *ep; local 1324 struct net2280_ep *ep; local 1398 struct net2280_ep *ep; local 1425 struct net2280_ep *ep; local 1552 struct usb_ep *ep; local 1715 struct net2280_ep *ep; local 1781 struct net2280_ep *ep; local 1816 struct net2280_ep *ep = &dev->ep[i]; local 1943 struct net2280_ep *ep; local 2073 struct net2280_ep *ep = &dev->ep[tmp + 1]; local 2111 struct net2280_ep *ep = &dev->ep[tmp + 1]; local 2157 struct net2280_ep *ep = &dev->ep[tmp]; local 2198 struct net2280_ep *ep = &dev->ep[i]; local 2516 handle_ep_small(struct net2280_ep *ep) argument 2758 struct net2280_ep *ep; local 2848 ep_clear_seqnum(struct net2280_ep *ep) argument 2863 handle_stat0_irqs_superspeed(struct net2280 *dev, struct net2280_ep *ep, struct usb_ctrlrequest r) argument 3094 struct net2280_ep *ep; local 3362 struct net2280_ep *ep; variable in typeref:struct:net2280_ep 3509 scan_dma_completions(ep); variable 3514 restart_dma(ep); variable [all...] |
H A D | m66592-udc.c | 35 static void irq_ep0_write(struct m66592_ep *ep, struct m66592_request *req); 36 static void irq_packet_write(struct m66592_ep *ep, struct m66592_request *req); 40 static void transfer_complete(struct m66592_ep *ep, 99 INIT_LIST_HEAD(&m66592->ep[0].queue); 208 struct m66592_ep *ep = m66592->pipenum2ep[pipenum]; local 211 if (ep->use_dma) 214 m66592_mdfy(m66592, pipenum, M66592_CURPIPE, ep->fifosel); 223 m66592_bset(m66592, mbw, ep->fifosel); 300 static void pipe_initialize(struct m66592_ep *ep) argument 302 struct m66592 *m66592 = ep 324 m66592_ep_setting(struct m66592 *m66592, struct m66592_ep *ep, const struct usb_endpoint_descriptor *desc, u16 pipenum, int dma) argument 366 m66592_ep_release(struct m66592_ep *ep) argument 381 alloc_pipe_config(struct m66592_ep *ep, const struct usb_endpoint_descriptor *desc) argument 460 free_pipe_config(struct m66592_ep *ep) argument 494 start_ep0_write(struct m66592_ep *ep, struct m66592_request *req) argument 513 start_packet_write(struct m66592_ep *ep, struct m66592_request *req) argument 529 start_packet_read(struct m66592_ep *ep, struct m66592_request *req) argument 556 start_packet(struct m66592_ep *ep, struct m66592_request *req) argument 564 start_ep0(struct m66592_ep *ep, struct m66592_request *req) argument 739 irq_ep0_write(struct m66592_ep *ep, struct m66592_request *req) argument 792 irq_packet_write(struct m66592_ep *ep, struct m66592_request *req) argument 839 irq_packet_read(struct m66592_ep *ep, struct m66592_request *req) argument 898 struct m66592_ep *ep; local 931 struct m66592_ep *ep; local 966 struct m66592_ep *ep; variable in typeref:struct:m66592_ep 1010 struct m66592_ep *ep; local 1068 struct m66592_ep *ep; local 1166 struct m66592_ep *ep; variable in typeref:struct:m66592_ep 1302 struct m66592_ep *ep; local 1310 struct m66592_ep *ep; local 1353 struct m66592_ep *ep; local 1387 struct m66592_ep *ep; local 1404 struct m66592_ep *ep = container_of(_ep, struct m66592_ep, ep); local 1424 struct m66592_ep *ep; local 1532 nop_completion(struct usb_ep *ep, struct usb_request *r) argument 1616 struct m66592_ep *ep = &m66592->ep[i]; local [all...] |
/linux-master/drivers/usb/fotg210/ |
H A D | fotg210-udc.c | 40 static void fotg210_disable_fifo_int(struct fotg210_ep *ep) argument 42 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); 44 if (ep->dir_in) 45 value |= DMISGR1_MF_IN_INT(ep->epnum - 1); 47 value |= DMISGR1_MF_OUTSPK_INT(ep->epnum - 1); 48 iowrite32(value, ep->fotg210->reg + FOTG210_DMISGR1); 51 static void fotg210_enable_fifo_int(struct fotg210_ep *ep) argument 53 u32 value = ioread32(ep->fotg210->reg + FOTG210_DMISGR1); 55 if (ep->dir_in) 56 value &= ~DMISGR1_MF_IN_INT(ep 70 fotg210_done(struct fotg210_ep *ep, struct fotg210_request *req, int status) argument 93 fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, u32 dir_in) argument 121 fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) argument 131 fotg210_set_tfrtype(struct fotg210_ep *ep, u32 epnum, u32 type) argument 141 fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, u32 dir_in) argument 154 fotg210_config_ep(struct fotg210_ep *ep, const struct usb_endpoint_descriptor *desc) argument 172 struct fotg210_ep *ep; local 187 struct fotg210_ep *ep = fotg210->ep[epnum]; local 208 fotg210_ep_release(struct fotg210_ep *ep) argument 223 struct fotg210_ep *ep; local 265 fotg210_enable_dma(struct fotg210_ep *ep, dma_addr_t d, u32 len) argument 299 fotg210_disable_dma(struct fotg210_ep *ep) argument 304 fotg210_wait_dma_done(struct fotg210_ep *ep) argument 337 fotg210_start_dma(struct fotg210_ep *ep, struct fotg210_request *req) argument 385 fotg210_ep0_queue(struct fotg210_ep *ep, struct fotg210_request *req) argument 407 struct fotg210_ep *ep; local 440 struct fotg210_ep *ep; local 455 fotg210_set_epnstall(struct fotg210_ep *ep) argument 476 fotg210_clear_epnstall(struct fotg210_ep *ep) argument 492 struct fotg210_ep *ep; local 680 struct fotg210_ep *ep = local 707 fotg210_is_epnstall(struct fotg210_ep *ep) argument 723 struct fotg210_ep *ep; local 817 struct fotg210_ep *ep = fotg210->ep[0]; local 837 struct fotg210_ep *ep = fotg210->ep[0]; local 855 fotg210_in_fifo_handler(struct fotg210_ep *ep) argument 865 fotg210_out_fifo_handler(struct fotg210_ep *ep) argument 1231 struct fotg210_ep *ep = fotg210->ep[i]; local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | sunxvr500.c | 56 static int e3d_get_props(struct e3d_info *ep) argument 58 ep->width = of_getintprop_default(ep->of_node, "width", 0); 59 ep->height = of_getintprop_default(ep->of_node, "height", 0); 60 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); 62 if (!ep->width || !ep->height) { 64 pci_name(ep 99 e3d_clut_write(struct e3d_info *ep, int index, u32 val) argument 116 struct e3d_info *ep = info->par; local 153 struct e3d_info *ep = info->par; local 166 struct e3d_info *ep = info->par; local 179 struct e3d_info *ep = info->par; local 200 e3d_set_fbinfo(struct e3d_info *ep) argument 250 struct e3d_info *ep; local [all...] |
/linux-master/drivers/net/ethernet/cirrus/ |
H A D | ep93xx_eth.c | 177 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) 178 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) 179 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) 180 #define wrb(ep, off, val) __raw_writeb((val), (ep)->base_addr + (off)) 181 #define wrw(ep, off, val) __raw_writew((val), (ep) 186 struct ep93xx_priv *ep = netdev_priv(dev); local 210 struct ep93xx_priv *ep = netdev_priv(dev); local 228 struct ep93xx_priv *ep = netdev_priv(dev); local 311 struct ep93xx_priv *ep = container_of(napi, struct ep93xx_priv, napi); local 332 struct ep93xx_priv *ep = netdev_priv(dev); local 368 struct ep93xx_priv *ep = netdev_priv(dev); local 422 struct ep93xx_priv *ep = netdev_priv(dev); local 444 ep93xx_free_buffers(struct ep93xx_priv *ep) argument 477 ep93xx_alloc_buffers(struct ep93xx_priv *ep) argument 533 struct ep93xx_priv *ep = netdev_priv(dev); local 615 struct ep93xx_priv *ep = netdev_priv(dev); local 631 struct ep93xx_priv *ep = netdev_priv(dev); local 669 struct ep93xx_priv *ep = netdev_priv(dev); local 684 struct ep93xx_priv *ep = netdev_priv(dev); local 698 struct ep93xx_priv *ep = netdev_priv(dev); local 708 struct ep93xx_priv *ep = netdev_priv(dev); local 714 struct ep93xx_priv *ep = netdev_priv(dev); local 720 struct ep93xx_priv *ep = netdev_priv(dev); local 763 struct ep93xx_priv *ep; local 791 struct ep93xx_priv *ep; local [all...] |
/linux-master/drivers/phy/samsung/ |
H A D | phy-exynos-pcie.c | 52 struct exynos_pcie_phy *ep = phy_get_drvdata(phy); local 54 regmap_update_bits(ep->pmureg, EXYNOS5433_PMU_PCIE_PHY_OFFSET, 56 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, 58 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_L1SUB_CM_CON, 61 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_COMMON_RESET, 63 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_MAC_RESET, 67 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, 69 regmap_update_bits(ep->fsysreg, PCIE_EXYNOS5433_PHY_GLOBAL_RESET, 73 exynos_pcie_phy_writel(ep->base, 0x11, PCIE_PHY_OFFSET(0x3)); 76 exynos_pcie_phy_writel(ep 121 struct exynos_pcie_phy *ep = phy_get_drvdata(phy); local [all...] |