Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/linux/sound/usb/
A Dendpoint.c162 phase = (ep->phase & 0xffff) + (ep->freqm << ep->datainterval); in slave_next_packet_size()
763 ep_num, ep->iface, ep->altsetting, ep->ep_idx); in snd_usb_endpoint_open()
1063 ep->freqmax = ep->freqn + (ep->freqn >> 1); in data_ep_set_params()
1180 u->ep = ep; in data_ep_set_params()
1229 u->ep = ep; in sync_ep_set_params()
1284 ep->sample_rem = ep->cur_rate % ep->pps; in snd_usb_endpoint_set_params()
1285 ep->packsize[0] = ep->cur_rate / ep->pps; in snd_usb_endpoint_set_params()
1286 ep->packsize[1] = (ep->cur_rate + (ep->pps - 1)) / ep->pps; in snd_usb_endpoint_set_params()
1289 ep->freqm = ep->freqn; in snd_usb_endpoint_set_params()
1311 ep->maxframesize = ep->maxpacksize / ep->cur_frame_bytes; in snd_usb_endpoint_set_params()
[all …]
/linux/drivers/usb/gadget/udc/aspeed-vhub/
A Depn.c52 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick()
53 chunk = ep->ep.maxpacket; in ast_vhub_epn_kick()
129 if (len < ep->ep.maxpacket) in ast_vhub_epn_handle_ack()
288 CHECK(ep, is_last_desc == (len < ep->ep.maxpacket || in ast_vhub_epn_handle_ack_desc()
584 ep->ep.desc = NULL; in ast_vhub_epn_disable()
655 ep->epn.chunk_max = ep->ep.maxpacket; in ast_vhub_epn_enable()
659 ep->epn.chunk_max -= ep->ep.maxpacket; in ast_vhub_epn_enable()
767 kfree(ep->ep.name); in ast_vhub_epn_dispose()
768 ep->ep.name = NULL; in ast_vhub_epn_dispose()
829 kfree(ep->ep.name); in ast_vhub_alloc_epn()
[all …]
A Dep0.c55 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) in ast_vhub_reply()
204 if (chunk > ep->ep.maxpacket) in ast_vhub_ep0_do_send()
205 chunk = ep->ep.maxpacket; in ast_vhub_ep0_do_send()
259 if (len < ep->ep.maxpacket || len == remain) { in ast_vhub_ep0_do_receive()
377 if (ep->dev && !ep->dev->enabled) in ast_vhub_ep0_queue()
405 list_empty(&ep->queue), ep->ep0.state); in ast_vhub_ep0_queue()
485 memset(ep, 0, sizeof(*ep)); in ast_vhub_init_ep0()
487 INIT_LIST_HEAD(&ep->ep.ep_list); in ast_vhub_init_ep0()
489 ep->ep.ops = &ast_vhub_ep0_ops; in ast_vhub_init_ep0()
490 ep->ep.name = "ep0"; in ast_vhub_init_ep0()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
A Dcm.c254 ep->mss = ep->emss; in set_emss()
949 ep, ep->hwtid, ep->plen); in send_mpa_req()
1054 ep, ep->hwtid, ep->plen); in send_mpa_reject()
1134 ep, ep->hwtid, ep->plen); in send_mpa_reply()
1277 ep, ep->com.cm_id, ep->hwtid); in close_complete_upcall()
1293 ep, ep->com.cm_id, ep->hwtid); in peer_close_upcall()
2232 ep->txq_idx, ep->tx_chan, ep->smac_idx, ep->rss_qid, in c4iw_reconnect()
3069 ep, ep->hwtid, state_read(&ep->com)); in fw4_ack()
3076 ep, ep->hwtid, state_read(&ep->com), in fw4_ack()
3436 ep->txq_idx, ep->tx_chan, ep->smac_idx, ep->rss_qid, in c4iw_connect()
[all …]
/linux/drivers/usb/gadget/udc/
A Dfsl_qe_udc.c264 ep->c_txbd = ep->txbase; in qe_ep_flushtxfifo()
265 ep->n_txbd = ep->txbase; in qe_ep_flushtxfifo()
378 ep->n_rxbd = ep->rxbase; in qe_ep_bd_init()
379 ep->e_rxbd = ep->rxbase; in qe_ep_bd_init()
639 ep->ep.desc = desc; in qe_ep_init()
1145 ep->ep.maxpacket); in txcomplete()
1195 ep->ep.maxpacket); in qe_usb_senddata()
1630 ep->ep.desc = NULL; in qe_ep_disable()
1707 if (!_ep || (!ep->ep.desc && ep_index(ep))) { in __qe_ep_queue()
1715 req->ep = ep; in __qe_ep_queue()
[all …]
A Dgoku_udc.c104 if (ep == &dev->ep[0]) in goku_ep_enable()
155 ep->ep.name); in goku_ep_enable()
179 ep->ep.maxpacket = max; in goku_ep_enable()
181 ep->ep.desc = desc; in goku_ep_enable()
238 ep->ep.desc = NULL; in ep_reset()
628 ep->ep.name, ep->is_in ? "IN" : "OUT", in dma_advance()
958 if (!ep->ep.desc && ep->num != 0) { in goku_fifo_flush()
1007 ep = &dev->ep[3].ep; in goku_match_ep()
1014 ep = &dev->ep[2].ep; in goku_match_ep()
1205 ep->ep.name, in udc_proc_read()
[all …]
A Dpch_udc.c181 #define UDC_EPIN_IDX(ep) (ep * 2) argument
1660 ep->ep.desc = desc; in pch_udc_pcd_ep_enable()
1695 ep->ep.desc = NULL; in pch_udc_pcd_ep_disable()
1798 if (!ep->ep.desc && ep->num) in pch_udc_pcd_queue()
1866 if (!usbep || !usbreq || (!ep->ep.desc && ep->num)) in pch_udc_pcd_dequeue()
1903 if (!ep->ep.desc && !ep->num) in pch_udc_pcd_set_halt()
1914 ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in pch_udc_pcd_set_halt()
1944 if (!ep->ep.desc && !ep->num) in pch_udc_pcd_set_wedge()
1976 if (ep->ep.desc || !ep->num) in pch_udc_pcd_fifo_flush()
2487 ep = &dev->ep[i]; in pch_udc_svc_ur_interrupt()
[all …]
A Dsnps_udc_core.c285 if (!ep || !(ep->in)) in udc_set_txfifo_addr()
343 ep->ep.desc = desc; in udc_ep_enable()
452 ep->ep.desc = NULL; in ep_init()
900 ep->ep.maxpacket, in prep_dma()
912 ep->ep.maxpacket, ep->num); in prep_dma()
1066 if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX)) in udc_queue()
1318 if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX)) in udc_set_halt()
1539 ep = &dev->ep[tmp]; in udc_setup_endpoints()
1562 if (!ep->ep.desc) in udc_setup_endpoints()
2769 ep = &dev->ep[i]; in udc_dev_isr()
[all …]
A Dfotg210-udc.c147 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
148 fotg210_set_tfrtype(ep, ep->epnum, ep->type); in fotg210_config_ep()
149 fotg210_set_mps(ep, ep->epnum, ep->ep.maxpacket, ep->dir_in); in fotg210_config_ep()
150 fotg210_fifo_ep_mapping(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
152 fotg210->ep[ep->epnum] = ep; in fotg210_config_ep()
348 length = ep->ep.maxpacket; in fotg210_start_dma()
1152 ep->ep.ops = &fotg210_ep_ops; in fotg210_udc_probe()
1158 ep->ep.caps.type_iso = true; in fotg210_udc_probe()
1160 ep->ep.caps.type_int = true; in fotg210_udc_probe()
1163 ep->ep.caps.dir_in = true; in fotg210_udc_probe()
[all …]
A Dnet2280.c536 if (!ep->dma && ep->num >= 1 && ep->num <= 4) in net2280_disable()
537 ep->dma = &ep->dev->dma[ep->num - 1]; in net2280_disable()
632 ep->ep.name, count, in write_fifo()
1177 ep->ep.name); in scan_dma_completions()
1722 ep = &dev->ep[i]; in registers_show()
1788 ep = &dev->ep[i]; in registers_show()
1954 ep = &dev->ep[i]; in defect7374_disable_data_eps()
2699 ep->ep.name, t); in handle_ep_small()
3138 ep = &dev->ep[0]; in handle_stat0_irqs()
3257 ep->ep.name); in handle_stat0_irqs()
[all …]
A Dpxa27x_udc.c195 ep->stats.in_bytes, ep->stats.in_ops, in eps_dbg_show()
429 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
464 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
1170 if (!ep || is_ep0(ep)) in pxa_ep_dequeue()
1208 if (!ep || is_ep0(ep)) in pxa_ep_set_halt()
1225 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1254 if (!ep || is_ep0(ep)) in pxa_ep_fifo_status()
1281 if (!ep || is_ep0(ep)) in pxa_ep_fifo_flush()
1333 if (!ep || is_ep0(ep)) { in pxa_ep_enable()
1386 if (!ep || is_ep0(ep) || !list_empty(&ep->queue)) in pxa_ep_disable()
[all …]
A Dnet2272.c117 ep->ep.name, where, tmp); in assert_out_naking()
256 ep->ep.ops = &net2272_ep_ops; in net2272_ep_reset()
452 if (max < ep->ep.maxpacket) in net2272_write_fifo()
503 ep->ep.name, req, avail, in net2272_read_packet()
1230 ep = &dev->ep[i]; in registers_show()
1239 ep->ep.name, t1, t2, in registers_show()
1739 ep = &dev->ep[0]; in net2272_handle_stat0_irqs()
1839 ep->ep.name, status); in net2272_handle_stat0_irqs()
1882 ep->ep.name); in net2272_handle_stat0_irqs()
1946 ep = &dev->ep[num]; in net2272_handle_stat0_irqs()
[all …]
A Datmel_usba_udc.c598 ep->ep.name, ep->ept_cfg, maxpacket); in usba_ep_enable()
612 ep->ep.name); in usba_ep_enable()
763 if (ep->ep.desc) { in queue_dma()
788 !ep->ep.desc) in usba_ep_queue()
852 ep->ep.name); in stop_dma()
929 ep->ep.name); in usba_ep_set_halt()
934 ep->ep.name); in usba_ep_set_halt()
1491 ep->ep.name, ep->state); in usba_control_irq()
1520 ep->ep.name, ep->state); in usba_control_irq()
2216 ep->ep.name = ep->name; in atmel_udc_of_init()
[all …]
A Dr8a66597-udc.c459 ep->ep.desc = desc; in alloc_pipe_config()
930 if (ep->ep.desc) in transfer_complete()
978 || (size % ep->ep.maxpacket) in irq_ep0_write()
1028 || (size % ep->ep.maxpacket) in irq_packet_write()
1106 ep = &r8a66597->ep[0]; in irq_pipe_ready()
1136 ep = &r8a66597->ep[0]; in irq_pipe_empty()
1217 usb_ep_clear_halt(&ep->ep); in clear_feature()
1372 ep = &r8a66597->ep[0]; in irq_control_stage()
1680 if (!ep || !ep->ep.desc) in r8a66597_set_wedge()
1928 ep->ep.caps.dir_in = true; in r8a66597_probe()
[all …]
A Dgr_udc.c316 ep->ep.name); in gr_finish_request()
582 if (unlikely(!ep->ep.desc && ep->num != 0)) { in gr_queue()
677 ep->ep.desc = NULL; in gr_ep_reset()
709 if (ep->num && !ep->ep.desc) in gr_ep_halt_wedge()
1439 ep->ep.name); in gr_irq_handler()
1514 ep->ep.name); in gr_ep_enable()
1556 ep->ep.desc = desc; in gr_ep_enable()
1557 ep->ep.maxpacket = max; in gr_ep_enable()
1625 ep->ep.desc = NULL; in gr_ep_disable()
1677 ep->ep.driver_data = dev->epi[0].ep.driver_data; in gr_queue_ext()
[all …]
A Domap_udc.c198 ep->ep.desc = desc; in omap_ep_enable()
201 ep->ep.maxpacket = maxp; in omap_ep_enable()
247 ep->ep.desc = NULL; in omap_ep_disable()
249 ep->ep.maxpacket = ep->maxpacket; in omap_ep_disable()
730 ep->ep.name, dma_error, ep, &ep->lch); in dma_channel_claim()
747 ep->ep.name, dma_error, ep, &ep->lch); in dma_channel_claim()
1570 || !ep->ep.desc) in ep0_irq()
1598 || ep == ep0 || !ep->ep.desc) in ep0_irq()
1633 if (!ep->ep.desc) in ep0_irq()
2427 if (ep->ep.desc) in proc_udc_show()
[all …]
A Dm66592-udc.c390 ep->ep.desc = desc; in alloc_pipe_config()
548 / ep->ep.maxpacket, in start_packet_read()
734 if (ep->ep.desc) in transfer_complete()
781 || (size % ep->ep.maxpacket) in irq_ep0_write()
829 || (size % ep->ep.maxpacket) in irq_packet_write()
875 || (size % ep->ep.maxpacket) in irq_packet_read()
906 ep = &m66592->ep[0]; in irq_pipe_ready()
937 ep = &m66592->ep[0]; in irq_pipe_empty()
1168 ep = &m66592->ep[0]; in irq_control_stage()
1639 ep->ep.caps.dir_in = true; in m66592_probe()
[all …]
/linux/drivers/scsi/libfc/
A Dfc_exch.c318 ep->destructor(&ep->seq, ep->arg); in fc_exch_release()
566 sp = fc_seq_alloc(ep, ep->seq_id++); in fc_seq_start_next_locked()
644 ep->esb_stat, ep->state); in fc_exch_abort_locked()
826 memset(ep, 0, sizeof(*ep)); in fc_exch_em_alloc()
869 fc_seq_alloc(ep, ep->seq_id++); in fc_exch_em_alloc()
1010 ep->oid = ep->did; in fc_exch_resp()
1017 ep->rxid = ep->xid; in fc_exch_resp()
1752 fc_exch_timer_set(ep, ep->r_a_tov); in fc_exch_abts_resp()
2057 if (ep->oid != sid || oxid != ep->oxid) in fc_exch_els_rec()
2073 if (ep->sid == ep->oid) in fc_exch_els_rec()
[all …]
/linux/net/sctp/
A Dendpointola.c49 if (!ep->digest) in sctp_endpoint_init()
94 get_random_bytes(ep->secret_key, sizeof(ep->secret_key)); in sctp_endpoint_init()
112 ep->base.sk = sk; in sctp_endpoint_init()
116 return ep; in sctp_endpoint_init()
134 ep = kzalloc(sizeof(*ep), gfp); in sctp_endpoint_new()
135 if (!ep) in sctp_endpoint_new()
142 return ep; in sctp_endpoint_new()
145 kfree(ep); in sctp_endpoint_new()
195 kfree(ep); in sctp_endpoint_destroy_rcu()
221 memset(ep->secret_key, 0, sizeof(ep->secret_key)); in sctp_endpoint_destroy()
[all …]
/linux/drivers/pci/controller/dwc/
A Dpci-exynos.c265 phy_init(ep->phy); in exynos_pcie_host_init()
322 ep = devm_kzalloc(dev, sizeof(*ep), GFP_KERNEL); in exynos_pcie_probe()
323 if (!ep) in exynos_pcie_probe()
326 ep->pci.dev = dev; in exynos_pcie_probe()
361 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
374 phy_exit(ep->phy); in exynos_pcie_probe()
376 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
388 phy_exit(ep->phy); in exynos_pcie_remove()
390 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_remove()
401 phy_exit(ep->phy); in exynos_pcie_suspend_noirq()
[all …]
/linux/drivers/net/ethernet/cirrus/
A Dep93xx_eth.c177 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) argument
178 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) argument
179 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) argument
343 ep->tx_pointer = (ep->tx_pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_xmit()
356 ep->tx_pending++; in ep93xx_xmit()
449 if (!ep->descs) in ep93xx_free_buffers()
474 ep->descs = NULL; in ep93xx_free_buffers()
549 wrl(ep, REG_SELFCTL, ((ep->mdc_divisor - 1) << 9)); in ep93xx_start_hw()
553 wrl(ep, REG_SELFCTL, ((ep->mdc_divisor - 1) << 9) | (1 << 8)); in ep93xx_start_hw()
813 ep->dev = dev; in ep93xx_eth_probe()
[all …]
/linux/drivers/video/fbdev/
A Dsunxvr500.c57 ep->width = of_getintprop_default(ep->of_node, "width", 0); in e3d_get_props()
59 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); in e3d_get_props()
61 if (!ep->width || !ep->height) { in e3d_get_props()
214 if (ep->depth == 32 || ep->depth == 24) in e3d_set_fbinfo()
306 ep->fb8_0_off = readl(ep->ramdac + RAMDAC_VID_8FB_0); in e3d_pci_register()
307 ep->fb8_0_off -= ep->fb_base_reg; in e3d_pci_register()
310 ep->fb8_1_off -= ep->fb_base_reg; in e3d_pci_register()
312 ep->fb8_buf_diff = ep->fb8_1_off - ep->fb8_0_off; in e3d_pci_register()
315 ep->fb_base_phys += ep->fb8_0_off; in e3d_pci_register()
345 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
[all …]
/linux/drivers/net/ethernet/smsc/
A Depic100.c466 ep->mii.phy_id = ep->phys[0]; in epic_init_one()
790 ep->cur_rx, ep->dirty_rx, ep->dirty_tx, ep->cur_tx); in epic_restart()
881 ep->dirty_tx, ep->cur_tx); in epic_tx_timeout()
905 ep->dirty_tx = ep->cur_tx = 0; in epic_init_ring()
906 ep->cur_rx = ep->dirty_rx = 0; in epic_init_ring()
913 ep->rx_ring[i].next = ep->rx_ring_dma + in epic_init_ring()
918 ep->rx_ring[i-1].next = ep->rx_ring_dma; in epic_init_ring()
940 ep->tx_ring[i].next = ep->tx_ring_dma + in epic_init_ring()
943 ep->tx_ring[i-1].next = ep->tx_ring_dma; in epic_init_ring()
962 free_count = ep->cur_tx - ep->dirty_tx; in epic_start_xmit()
[all …]
/linux/drivers/usb/gadget/udc/bdc/
A Dbdc_ep.c436 ep = req->ep; in setup_bd_list_xfr()
515 ep = req->ep; in bdc_queue_xfr()
627 ep->usb_ep.desc = ep->desc; in bdc_ep_enable()
645 status_req->ep = ep; in ep0_queue_status_stage()
702 bdc->ep0_req.ep = ep; in ep0_queue_data_stage()
760 ep, (void *)ep->usb_ep.desc); in ep_dequeue()
1398 bdc->ep0_req.ep = ep; in ep0_set_sel()
1832 req->ep = ep; in bdc_gadget_alloc_request()
1913 __func__, ep->name, ep->flags); in bdc_gadget_ep_disable()
1983 ep->usb_ep.name = ep->name; in init_ep()
[all …]
/linux/drivers/usb/mon/
A Dmon_text.c251 ep->data_flag = mon_text_get_data(ep, urb, ep->length, ev_type, in mon_text_event()
525 ep->id, ep->tstamp, ep->type, in mon_text_read_head_t()
526 utype, udir, ep->devnum, ep->epnum); in mon_text_read_head_t()
543 ep->id, ep->tstamp, ep->type, in mon_text_read_head_u()
544 utype, udir, ep->busnum, ep->devnum, ep->epnum); in mon_text_read_head_u()
556 (ep->setup[3] << 8) | ep->setup[2], in mon_text_read_statset()
557 (ep->setup[5] << 8) | ep->setup[4], in mon_text_read_statset()
558 (ep->setup[7] << 8) | ep->setup[6]); in mon_text_read_statset()
572 " %d:%d", ep->status, ep->interval); in mon_text_read_intstat()
580 " %d:%d:%d", ep->status, ep->interval, ep->start_frame); in mon_text_read_isostat()
[all …]

Completed in 193 milliseconds

12345678910>>...26