/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | trx.c | 19 u8 ep_cfg, txqsele; in configvertoutep() local 27 ep_cfg = rtl_read_byte(rtlpriv, REG_TEST_SIE_OPTIONAL); in configvertoutep() 28 ep_cfg = (ep_cfg & USB_TEST_EP_MASK) >> USB_TEST_EP_SHIFT; in configvertoutep() 29 switch (ep_cfg) { in configvertoutep() 52 u8 ep_cfg; in configvernoutep() local 61 ep_cfg = rtl_read_byte(rtlpriv, (REG_NORMAL_SIE_EP + 1)); in configvernoutep() 62 if (ep_cfg & USB_NORMAL_SIE_EP_MASK) { in configvernoutep() 66 if ((ep_cfg >> USB_NORMAL_SIE_EP_SHIFT) & USB_NORMAL_SIE_EP_MASK) { in configvernoutep() 71 ep_cfg = rtl_read_byte(rtlpriv, (REG_NORMAL_SIE_EP + 2)); in configvernoutep() 72 if (ep_cfg & USB_NORMAL_SIE_EP_MASK) { in configvernoutep()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 1754 u32 ep_cfg = readl(&priv_dev->regs->ep_cfg); in cdns3_check_ep_interrupt_proceed() local 1757 writel(ep_cfg, &priv_dev->regs->ep_cfg); in cdns3_check_ep_interrupt_proceed() 2103 u32 ep_cfg = 0; in cdns3_ep_config() local 2116 ep_cfg |= EP_CFG_TDL_CHK; in cdns3_ep_config() 2181 ep_cfg |= EP_CFG_ENABLE; in cdns3_ep_config() 2205 writel(ep_cfg, &priv_dev->regs->ep_cfg); in cdns3_ep_config() 2209 priv_ep->name, ep_cfg); in cdns3_ep_config() 2496 u32 ep_cfg; in cdns3_gadget_ep_disable() local 2517 ep_cfg = readl(&priv_dev->regs->ep_cfg); in cdns3_gadget_ep_disable() 2518 ep_cfg &= ~EP_CFG_ENABLE; in cdns3_gadget_ep_disable() [all …]
|
H A D | cdns3-ep0.c | 815 u32 ep_cfg; in cdns3_ep0_config() local 847 ep_cfg = EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size); in cdns3_ep0_config() 850 writel(ep_cfg, ®s->ep_cfg); in cdns3_ep0_config() 859 writel(ep_cfg, ®s->ep_cfg); in cdns3_ep0_config()
|
H A D | cdns3-gadget.h | 81 __le32 ep_cfg; member
|
/openbmc/linux/drivers/media/i2c/ |
H A D | imx219.c | 1184 struct v4l2_fwnode_endpoint ep_cfg = { in imx219_check_hwcfg() local 1195 if (v4l2_fwnode_endpoint_alloc_parse(endpoint, &ep_cfg)) { in imx219_check_hwcfg() 1201 if (ep_cfg.bus.mipi_csi2.num_data_lanes != 2 && in imx219_check_hwcfg() 1202 ep_cfg.bus.mipi_csi2.num_data_lanes != 4) { in imx219_check_hwcfg() 1206 imx219->lanes = ep_cfg.bus.mipi_csi2.num_data_lanes; in imx219_check_hwcfg() 1209 if (!ep_cfg.nr_of_link_frequencies) { in imx219_check_hwcfg() 1214 if (ep_cfg.nr_of_link_frequencies != 1 || in imx219_check_hwcfg() 1215 (ep_cfg.link_frequencies[0] != ((imx219->lanes == 2) ? in imx219_check_hwcfg() 1218 ep_cfg.link_frequencies[0]); in imx219_check_hwcfg() 1225 v4l2_fwnode_endpoint_free(&ep_cfg); in imx219_check_hwcfg()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | net2280.h | 336 writeb(count, 2 + (u8 __iomem *) &ep->regs->ep_cfg); in set_fifo_bytecount() 338 u32 tmp = readl(&ep->cfg->ep_cfg) & in set_fifo_bytecount() 340 writel(tmp | (count << EP_FIFO_BYTE_COUNT), &ep->cfg->ep_cfg); in set_fifo_bytecount()
|
H A D | net2280.c | 246 tmp = readl(&ep->cfg->ep_cfg); in net2280_enable() 318 writel(tmp, &ep->cfg->ep_cfg); in net2280_enable() 502 tmp = readl(&ep->cfg->ep_cfg); in ep_reset_338x() 507 writel(tmp, &ep->cfg->ep_cfg); in ep_reset_338x() 534 (void)readl(&ep->cfg->ep_cfg); in net2280_disable() 1721 t1 = readl(&ep->cfg->ep_cfg); in registers_show() 1950 writel(i, &ep->cfg->ep_cfg); in defect7374_disable_data_eps() 2001 writel(tmp, &dev->ep[i].cfg->ep_cfg); in defect7374_enable_data_eps_zero() 2217 writel(ne[i], &ep->cfg->ep_cfg); in usb_reinit_338x() 3045 readl(&ep->cfg->ep_cfg)); in handle_stat0_irqs_superspeed() [all …]
|
H A D | atmel_usba_udc.c | 2188 const struct usba_ep_config *ep_cfg = &udc_config->config[i]; in atmel_udc_of_init() local 2208 ep->nr_banks = ep_cfg->nr_banks; in atmel_udc_of_init() 2217 ep->can_dma = ep_cfg->can_dma; in atmel_udc_of_init() 2218 ep->can_isoc = ep_cfg->can_isoc; in atmel_udc_of_init()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 1132 clear_reg_bit_32(&pdev->adma_regs->ep_cfg, in cdns2_handle_epx_interrupt() 1417 u8 ep_cfg; in cdns2_ep_config() local 1424 ep_cfg = EPX_CON_TYPE_INT; in cdns2_ep_config() 1427 ep_cfg = EPX_CON_TYPE_BULK; in cdns2_ep_config() 1431 ep_cfg = mult << EPX_CON_ISOD_SHIFT; in cdns2_ep_config() 1432 ep_cfg |= EPX_CON_TYPE_ISOC; in cdns2_ep_config() 1453 ep_cfg |= (EPX_CON_VAL | (pep->buffering - 1)); in cdns2_ep_config() 1458 writeb(ep_cfg, &pdev->epx_regs->ep[pep->num - 1].txcon); in cdns2_ep_config() 1461 writeb(ep_cfg, &pdev->epx_regs->ep[pep->num - 1].rxcon); in cdns2_ep_config() 1491 writel(DMA_EP_CFG_ENABLE, &pdev->adma_regs->ep_cfg); in cdns2_ep_config() [all …]
|
H A D | cdns2-ep0.c | 634 writel(DMA_EP_CFG_ENABLE, &pdev->adma_regs->ep_cfg); in cdns2_ep0_config() 638 writel(DMA_EP_CFG_ENABLE, &pdev->adma_regs->ep_cfg); in cdns2_ep0_config()
|
H A D | cdns2-gadget.h | 336 __le32 ep_cfg; member
|
H A D | cdns2-trace.h | 579 __entry->ep_cfg_reg = readl(&pdev->adma_regs->ep_cfg);
|
/openbmc/linux/drivers/dma/ti/ |
H A D | k3-udma-glue.c | 873 struct psil_endpoint_config *ep_cfg; in k3_udma_glue_request_rx_chn_priv() local 901 ep_cfg = rx_chn->common.ep_config; in k3_udma_glue_request_rx_chn_priv() 904 rx_chn->udma_rchan_id = ep_cfg->mapped_channel_id; in k3_udma_glue_request_rx_chn_priv() 942 flow_start = ep_cfg->flow_start; in k3_udma_glue_request_rx_chn_priv() 945 if (flow_start < ep_cfg->flow_start || in k3_udma_glue_request_rx_chn_priv() 946 flow_end > (ep_cfg->flow_start + ep_cfg->flow_num - 1)) { in k3_udma_glue_request_rx_chn_priv()
|
/openbmc/linux/include/linux/usb/ |
H A D | net2280.h | 376 u32 ep_cfg; member
|