Home
last modified time | relevance | path

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

12345678910>>...30

/linux/sound/usb/
A Dendpoint.c174 phase = (ep->phase & 0xffff) + (ep->freqm << ep->datainterval); in slave_next_packet_size()
812 ep_num, ep->iface, ep->altsetting, ep->ep_idx); in snd_usb_endpoint_open()
1137 ep->freqmax = ep->freqn + (ep->freqn >> 1); in data_ep_set_params()
1240 u->ep = ep; in data_ep_set_params()
1290 u->ep = ep; in sync_ep_set_params()
1371 ep->sample_rem = ep->cur_rate % ep->pps; in snd_usb_endpoint_set_params()
1372 ep->packsize[0] = ep->cur_rate / ep->pps; in snd_usb_endpoint_set_params()
1373 ep->packsize[1] = (ep->cur_rate + (ep->pps - 1)) / ep->pps; in snd_usb_endpoint_set_params()
1376 ep->freqm = ep->freqn; in snd_usb_endpoint_set_params()
1398 ep->maxframesize = ep->maxpacksize / ep->cur_frame_bytes; in snd_usb_endpoint_set_params()
[all …]
/linux/drivers/usb/gadget/udc/aspeed-vhub/
A Depn.c51 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick()
52 chunk = ep->ep.maxpacket; in ast_vhub_epn_kick()
135 if (len < ep->ep.maxpacket) in ast_vhub_epn_handle_ack()
295 CHECK(ep, is_last_desc == (len < ep->ep.maxpacket || in ast_vhub_epn_handle_ack_desc()
593 ep->ep.desc = NULL; in ast_vhub_epn_disable()
664 ep->epn.chunk_max = ep->ep.maxpacket; in ast_vhub_epn_enable()
668 ep->epn.chunk_max -= ep->ep.maxpacket; in ast_vhub_epn_enable()
776 kfree(ep->ep.name); in ast_vhub_epn_dispose()
777 ep->ep.name = NULL; in ast_vhub_epn_dispose()
838 kfree(ep->ep.name); in ast_vhub_alloc_epn()
[all …]
A Dep0.c54 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) in ast_vhub_reply()
203 if (chunk > ep->ep.maxpacket) in ast_vhub_ep0_do_send()
204 chunk = ep->ep.maxpacket; in ast_vhub_ep0_do_send()
255 if (len < ep->ep.maxpacket && len != remain) { in ast_vhub_ep0_do_receive()
265 if (len < ep->ep.maxpacket || len == remain) { in ast_vhub_ep0_do_receive()
383 if (ep->dev && !ep->dev->enabled) in ast_vhub_ep0_queue()
491 memset(ep, 0, sizeof(*ep)); in ast_vhub_init_ep0()
493 INIT_LIST_HEAD(&ep->ep.ep_list); in ast_vhub_init_ep0()
495 ep->ep.ops = &ast_vhub_ep0_ops; in ast_vhub_init_ep0()
496 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()
1279 ep, ep->com.cm_id, ep->hwtid); in close_complete_upcall()
1295 ep, ep->com.cm_id, ep->hwtid); in peer_close_upcall()
2236 ep->txq_idx, ep->tx_chan, ep->smac_idx, ep->rss_qid, in c4iw_reconnect()
3073 ep, ep->hwtid, state_read(&ep->com)); in fw4_ack()
3080 ep, ep->hwtid, state_read(&ep->com), in fw4_ack()
3440 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.c265 ep->c_txbd = ep->txbase; in qe_ep_flushtxfifo()
266 ep->n_txbd = ep->txbase; in qe_ep_flushtxfifo()
379 ep->n_rxbd = ep->rxbase; in qe_ep_bd_init()
380 ep->e_rxbd = ep->rxbase; in qe_ep_bd_init()
640 ep->ep.desc = desc; in qe_ep_init()
1146 ep->ep.maxpacket); in txcomplete()
1196 ep->ep.maxpacket); in qe_usb_senddata()
1631 ep->ep.desc = NULL; in qe_ep_disable()
1708 if (!_ep || (!ep->ep.desc && ep_index(ep))) { in __qe_ep_queue()
1716 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()
960 if (!ep->ep.desc && ep->num != 0) { in goku_fifo_flush()
1009 ep = &dev->ep[3].ep; in goku_match_ep()
1016 ep = &dev->ep[2].ep; in goku_match_ep()
1207 ep->ep.name, in udc_proc_read()
[all …]
A Dpch_udc.c181 #define UDC_EPIN_IDX(ep) (ep * 2) argument
1659 ep->ep.desc = desc; in pch_udc_pcd_ep_enable()
1694 ep->ep.desc = NULL; in pch_udc_pcd_ep_disable()
1797 if (!ep->ep.desc && ep->num) in pch_udc_pcd_queue()
1865 if (!usbep || !usbreq || (!ep->ep.desc && ep->num)) in pch_udc_pcd_dequeue()
1902 if (!ep->ep.desc && !ep->num) in pch_udc_pcd_set_halt()
1913 ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in pch_udc_pcd_set_halt()
1943 if (!ep->ep.desc && !ep->num) in pch_udc_pcd_set_wedge()
1975 if (ep->ep.desc || !ep->num) in pch_udc_pcd_fifo_flush()
2486 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()
2768 ep = &dev->ep[i]; in udc_dev_isr()
[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()
1169 ep->ep.name); in scan_dma_completions()
1717 ep = &dev->ep[i]; in registers_show()
1783 ep = &dev->ep[i]; in registers_show()
1949 ep = &dev->ep[i]; in defect7374_disable_data_eps()
2693 ep->ep.name, t); in handle_ep_small()
3132 ep = &dev->ep[0]; in handle_stat0_irqs()
3251 ep->ep.name); in handle_stat0_irqs()
[all …]
A Dpxa27x_udc.c194 ep->stats.in_bytes, ep->stats.in_ops, in eps_dbg_show()
428 if (!is_ep0(ep) && ep->dir_in) in ep_is_empty()
463 if (!is_ep0(ep) && ep->dir_in) in epout_has_pkt()
1169 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()
1231 ep = &dev->ep[i]; in registers_show()
1240 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.c596 ep->ep.name, ep->ept_cfg, maxpacket); in usba_ep_enable()
610 ep->ep.name); in usba_ep_enable()
761 if (ep->ep.desc) { in queue_dma()
786 !ep->ep.desc) in usba_ep_queue()
850 ep->ep.name); in stop_dma()
930 ep->ep.name); in usba_ep_set_halt()
935 ep->ep.name); in usba_ep_set_halt()
1492 ep->ep.name, ep->state); in usba_control_irq()
1521 ep->ep.name, ep->state); in usba_control_irq()
2219 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()
1926 ep->ep.caps.dir_in = true; in r8a66597_probe()
[all …]
A Daspeed_udc.c335 ep = &udc->ep[i]; in ast_udc_stop_activity()
438 ep->ep.desc = NULL; in ast_udc_ep_disable()
485 ep->ep.name); in ast_dma_descriptor_setup()
502 ep->descs[ep->descs_wptr].des_1 = ep->chunk_max; in ast_dma_descriptor_setup()
536 tx_len = last > ep->ep.maxpacket ? ep->ep.maxpacket : last; in ast_udc_epn_kick()
590 tx_len = last > ep->ep.maxpacket ? ep->ep.maxpacket : last; in ast_udc_ep0_queue()
1020 ep = &udc->ep[epnum]; in ast_udc_getstatus()
1141 ep = &udc->ep[1]; in ast_udc_isr()
1200 ep = &udc->ep[i + 1]; in ast_udc_isr()
1308 ep = &udc->ep[i]; in ast_udc_start()
[all …]
A Dgr_udc.c315 ep->ep.name); in gr_finish_request()
581 if (unlikely(!ep->ep.desc && ep->num != 0)) { in gr_queue()
676 ep->ep.desc = NULL; in gr_ep_reset()
708 if (ep->num && !ep->ep.desc) in gr_ep_halt_wedge()
1438 ep->ep.name); in gr_irq_handler()
1513 ep->ep.name); in gr_ep_enable()
1555 ep->ep.desc = desc; in gr_ep_enable()
1556 ep->ep.maxpacket = max; in gr_ep_enable()
1624 ep->ep.desc = NULL; in gr_ep_disable()
1676 ep->ep.driver_data = dev->epi[0].ep.driver_data; in gr_queue_ext()
[all …]
A Domap_udc.c199 ep->ep.desc = desc; in omap_ep_enable()
202 ep->ep.maxpacket = maxp; in omap_ep_enable()
248 ep->ep.desc = NULL; in omap_ep_disable()
250 ep->ep.maxpacket = ep->maxpacket; in omap_ep_disable()
731 ep->ep.name, dma_error, ep, &ep->lch); in dma_channel_claim()
748 ep->ep.name, dma_error, ep, &ep->lch); in dma_channel_claim()
1573 || !ep->ep.desc) in ep0_irq()
1601 || ep == ep0 || !ep->ep.desc) in ep0_irq()
1636 if (!ep->ep.desc) in ep0_irq()
2423 if (ep->ep.desc) in proc_udc_show()
[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/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()
868 fc_seq_alloc(ep, ep->seq_id++); in fc_exch_em_alloc()
1009 ep->oid = ep->did; in fc_exch_resp()
1016 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/drivers/pci/controller/dwc/
A Dpci-exynos.c229 phy_init(ep->phy); in exynos_pcie_host_init()
287 ep = devm_kzalloc(dev, sizeof(*ep), GFP_KERNEL); in exynos_pcie_probe()
288 if (!ep) in exynos_pcie_probe()
291 ep->pci.dev = dev; in exynos_pcie_probe()
314 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
327 phy_exit(ep->phy); in exynos_pcie_probe()
328 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
340 phy_exit(ep->phy); in exynos_pcie_remove()
341 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_remove()
350 phy_exit(ep->phy); in exynos_pcie_suspend_noirq()
[all …]
A Dpcie-designware-ep.c42 struct dw_pcie_ep *ep = &pci->ep; in __dw_pcie_ep_reset_bar() local
236 if (ep->epf_bar[bar]) in dw_pcie_ep_set_bar()
413 return ep->ops->raise_irq(ep, func_no, type, interrupt_num); in dw_pcie_ep_raise_irq()
440 return ep->ops->get_features(ep); in dw_pcie_ep_get_features()
646 pci_epc_mem_free_addr(epc, ep->msi_mem_phys, ep->msi_mem, in dw_pcie_ep_deinit()
777 if (ep->ops->init) in dw_pcie_ep_init_registers()
778 ep->ops->init(ep); in dw_pcie_ep_init_registers()
879 ep->ops->pre_init(ep); in dw_pcie_ep_init()
887 ep->epc = epc; in dw_pcie_ep_init()
894 ret = pci_epc_mem_init(epc, ep->phys_base, ep->addr_size, in dw_pcie_ep_init()
[all …]
/linux/drivers/net/ethernet/cirrus/
A Dep93xx_eth.c176 #define rdb(ep, off) __raw_readb((ep)->base_addr + (off)) argument
177 #define rdw(ep, off) __raw_readw((ep)->base_addr + (off)) argument
178 #define rdl(ep, off) __raw_readl((ep)->base_addr + (off)) argument
342 ep->tx_pointer = (ep->tx_pointer + 1) & (TX_QUEUE_ENTRIES - 1); in ep93xx_xmit()
355 ep->tx_pending++; in ep93xx_xmit()
448 if (!ep->descs) in ep93xx_free_buffers()
473 ep->descs = NULL; in ep93xx_free_buffers()
548 wrl(ep, REG_SELFCTL, ((ep->mdc_divisor - 1) << 9)); in ep93xx_start_hw()
552 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.c58 ep->width = of_getintprop_default(ep->of_node, "width", 0); in e3d_get_props()
60 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); in e3d_get_props()
62 if (!ep->width || !ep->height) { in e3d_get_props()
216 if (ep->depth == 32 || ep->depth == 24) in e3d_set_fbinfo()
312 ep->fb8_0_off = readl(ep->ramdac + RAMDAC_VID_8FB_0); in e3d_pci_register()
313 ep->fb8_0_off -= ep->fb_base_reg; in e3d_pci_register()
316 ep->fb8_1_off -= ep->fb_base_reg; in e3d_pci_register()
318 ep->fb8_buf_diff = ep->fb8_1_off - ep->fb8_0_off; in e3d_pci_register()
321 ep->fb_base_phys += ep->fb8_0_off; in e3d_pci_register()
351 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
[all …]
/linux/drivers/usb/fotg210/
A Dfotg210-udc.c159 fotg210_set_fifo_dir(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
160 fotg210_set_tfrtype(ep, ep->epnum, ep->type); in fotg210_config_ep()
161 fotg210_set_mps(ep, ep->epnum, ep->ep.maxpacket, ep->dir_in); in fotg210_config_ep()
162 fotg210_fifo_ep_mapping(ep, ep->epnum, ep->dir_in); in fotg210_config_ep()
164 fotg210->ep[ep->epnum] = ep; in fotg210_config_ep()
359 length = ep->ep.maxpacket; in fotg210_start_dma()
1241 ep->ep.ops = &fotg210_ep_ops; in fotg210_udc_probe()
1247 ep->ep.caps.type_iso = true; in fotg210_udc_probe()
1249 ep->ep.caps.type_int = true; in fotg210_udc_probe()
1252 ep->ep.caps.dir_in = true; in fotg210_udc_probe()
[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()
1837 req->ep = ep; in bdc_gadget_alloc_request()
1918 __func__, ep->name, ep->flags); in bdc_gadget_ep_disable()
1988 ep->usb_ep.name = ep->name; in init_ep()
[all …]

Completed in 141 milliseconds

12345678910>>...30