Home
last modified time | relevance | path

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

12345678910>>...36

/openbmc/linux/sound/usb/
H 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()
1134 ep->freqmax = ep->freqn + (ep->freqn >> 1); in data_ep_set_params()
1237 u->ep = ep; in data_ep_set_params()
1287 u->ep = ep; in sync_ep_set_params()
1368 ep->sample_rem = ep->cur_rate % ep->pps; in snd_usb_endpoint_set_params()
1369 ep->packsize[0] = ep->cur_rate / ep->pps; in snd_usb_endpoint_set_params()
1370 ep->packsize[1] = (ep->cur_rate + (ep->pps - 1)) / ep->pps; in snd_usb_endpoint_set_params()
1373 ep->freqm = ep->freqn; in snd_usb_endpoint_set_params()
1395 ep->maxframesize = ep->maxpacksize / ep->cur_frame_bytes; in snd_usb_endpoint_set_params()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H 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 …]
H 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 …]
/openbmc/qemu/hw/usb/
H A Dhcd-musb.c550 MUSBEndPoint *ep = p->ep; in musb_schedule_cb() local
638 ep->packey[dir].ep = ep; in musb_packet()
824 for (ep = 0; ep < 16; ep++) { in musb_async_cancel_device()
827 s->ep[ep].packey[dir].p.ep->dev != dev) { in musb_async_cancel_device()
951 value=ep->buf[1][ep->fifostart[1] + ep->fifolen[1] ++]; in musb_read_fifo()
965 ep->buf[0][ep->fifostart[0] + ep->fifolen[0] ++] = value; in musb_write_fifo()
1068 return s->ep[ep].type[0]; in musb_ep_readb()
1078 return ep ? s->ep[ep].fifosize : s->ep[ep].config; in musb_ep_readb()
1128 return s->ep[ep].csr[0]; in musb_ep_readh()
1132 ret = s->ep[ep].csr[1]; in musb_ep_readh()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H 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()
2235 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 …]
/openbmc/linux/drivers/usb/gadget/udc/
H 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 …]
H 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 …]
H 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 …]
H 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 …]
H 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 …]
H 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()
1209 if (!ep || is_ep0(ep)) in pxa_ep_set_halt()
1226 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue))) in pxa_ep_set_halt()
1255 if (!ep || is_ep0(ep)) in pxa_ep_fifo_status()
1282 if (!ep || is_ep0(ep)) in pxa_ep_fifo_flush()
1334 if (!ep || is_ep0(ep)) { in pxa_ep_enable()
1387 if (!ep || is_ep0(ep) || !list_empty(&ep->queue)) in pxa_ep_disable()
[all …]
H 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 …]
H 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()
932 ep->ep.name); in usba_ep_set_halt()
937 ep->ep.name); in usba_ep_set_halt()
1494 ep->ep.name, ep->state); in usba_control_irq()
1523 ep->ep.name, ep->state); in usba_control_irq()
2221 ep->ep.name = ep->name; in atmel_udc_of_init()
[all …]
H 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()
1018 ep = &udc->ep[epnum]; in ast_udc_getstatus()
1139 ep = &udc->ep[1]; in ast_udc_isr()
1198 ep = &udc->ep[i + 1]; in ast_udc_isr()
1306 ep = &udc->ep[i]; in ast_udc_start()
[all …]
H 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 …]
/openbmc/linux/net/sctp/
H 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 …]
/openbmc/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c214 ep->ep.name); in usba_ep_enable()
289 ep->ep.name); in usba_ep_disable()
383 ep->ep.name, req); in usba_ep_dequeue()
410 ep->ep.name); in usba_ep_set_halt()
416 ep->ep.name); in usba_ep_set_halt()
852 ep->ep.name, ep->state, epstatus, epctrl); in usba_control_irq()
904 ep->ep.name, ep->state); in usba_control_irq()
932 ep->ep.name, ep->state); in usba_control_irq()
1278 ep->ep.name = pdata->ep[i].name; in usba_udc_pdata()
1279 ep->ep.maxpacket = pdata->ep[i].fifo_size; in usba_udc_pdata()
[all …]
H A Depautoconf.c98 tmp = ep->name + strlen(ep->name); in ep_matches()
180 return ep; in find_ep()
231 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
232 return ep; in usb_ep_autoconfig()
234 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
235 return ep; in usb_ep_autoconfig()
241 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
247 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
254 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
259 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
[all …]
H A Daspeed_udc.c323 tx_len = ep->ep.maxpacket; in aspeed_udc_ep0_queue()
450 ep->ep.name, in aspeed_dma_descriptor_setup()
541 tx_len = ep->ep.maxpacket; in aspeed_udc_ep_dma()
549 ep->ep.name, tx_len, ep->ep_dir, in aspeed_udc_ep_dma()
580 ep->ep.desc = desc; in aspeed_udc_ep_enable()
582 ep->ep.maxpacket = maxpacket; in aspeed_udc_ep_enable()
600 ep->chunk_max = ep->ep.maxpacket; in aspeed_udc_ep_enable()
604 ep->chunk_max -= ep->ep.maxpacket; in aspeed_udc_ep_enable()
647 ep->ep.desc = NULL; in aspeed_udc_ep_disable()
1024 ep = &udc->ep[i]; in aspeed_udc_ep_init()
[all …]
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpci-exynos.c261 phy_init(ep->phy); in exynos_pcie_host_init()
319 ep = devm_kzalloc(dev, sizeof(*ep), GFP_KERNEL); in exynos_pcie_probe()
320 if (!ep) in exynos_pcie_probe()
323 ep->pci.dev = dev; in exynos_pcie_probe()
358 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
371 phy_exit(ep->phy); in exynos_pcie_probe()
373 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe()
385 phy_exit(ep->phy); in exynos_pcie_remove()
387 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_remove()
398 phy_exit(ep->phy); in exynos_pcie_suspend_noirq()
[all …]
/openbmc/linux/drivers/scsi/libfc/
H 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 …]
/openbmc/linux/drivers/net/ethernet/cirrus/
H 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 …]
/openbmc/u-boot/board/ti/common/
H A Dboard_detect.c178 ep = TI_EEPROM_DATA; in ti_i2c_eeprom_am_set()
183 memset(ep, 0, sizeof(*ep)); in ti_i2c_eeprom_am_set()
209 ep->name[0] = 0x0; in ti_i2c_eeprom_am_get()
255 ep->name[0] = 0x0; in ti_i2c_eeprom_dra7_get()
259 ep->emif1_size = 0; in ti_i2c_eeprom_dra7_get()
260 ep->emif2_size = 0; in ti_i2c_eeprom_dra7_get()
321 return ep->config; in board_ti_get_config()
329 return ep->name; in board_ti_get_name()
378 else if (ep->name) in set_board_info_env()
383 if (ep->version) in set_board_info_env()
[all …]
/openbmc/linux/drivers/video/fbdev/
H 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()
214 if (ep->depth == 32 || ep->depth == 24) in e3d_set_fbinfo()
310 ep->fb8_0_off = readl(ep->ramdac + RAMDAC_VID_8FB_0); in e3d_pci_register()
311 ep->fb8_0_off -= ep->fb_base_reg; in e3d_pci_register()
314 ep->fb8_1_off -= ep->fb_base_reg; in e3d_pci_register()
316 ep->fb8_buf_diff = ep->fb8_1_off - ep->fb8_0_off; in e3d_pci_register()
319 ep->fb_base_phys += ep->fb8_0_off; in e3d_pci_register()
349 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
[all …]
/openbmc/linux/drivers/usb/fotg210/
H 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 …]

12345678910>>...36