Home
last modified time | relevance | path

Searched refs:ep_cfg (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c19 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()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c781 cdns3_set_register_bit(&priv_dev->regs->ep_cfg, in cdns3_wa2_check_outq_status()
1352 cdns3_set_register_bit(&priv_dev->regs->ep_cfg, in cdns3_ep_run_transfer()
1701 u32 ep_cfg = readl(&priv_dev->regs->ep_cfg); in cdns3_check_ep_interrupt_proceed() local
1703 ep_cfg &= ~EP_CFG_ENABLE; in cdns3_check_ep_interrupt_proceed()
1704 writel(ep_cfg, &priv_dev->regs->ep_cfg); in cdns3_check_ep_interrupt_proceed()
2049 u32 ep_cfg = 0; in cdns3_ep_config() local
2060 ep_cfg = EP_CFG_EPTYPE(USB_ENDPOINT_XFER_INT); in cdns3_ep_config()
2063 ep_cfg |= EP_CFG_TDL_CHK; in cdns3_ep_config()
2066 ep_cfg = EP_CFG_EPTYPE(USB_ENDPOINT_XFER_BULK); in cdns3_ep_config()
2069 ep_cfg |= EP_CFG_TDL_CHK; in cdns3_ep_config()
[all …]
Dep0.c815 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, &regs->ep_cfg); in cdns3_ep0_config()
859 writel(ep_cfg, &regs->ep_cfg); in cdns3_ep0_config()
Dgadget.h80 __le32 ep_cfg; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dnet2280.h335 writeb(count, 2 + (u8 __iomem *) &ep->regs->ep_cfg); in set_fifo_bytecount()
337 u32 tmp = readl(&ep->cfg->ep_cfg) & in set_fifo_bytecount()
339 writel(tmp | (count << EP_FIFO_BYTE_COUNT), &ep->cfg->ep_cfg); in set_fifo_bytecount()
Dnet2280.c246 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()
1724 t1 = readl(&ep->cfg->ep_cfg); in registers_show()
1953 writel(i, &ep->cfg->ep_cfg); in defect7374_disable_data_eps()
2004 writel(tmp, &dev->ep[i].cfg->ep_cfg); in defect7374_enable_data_eps_zero()
2220 writel(ne[i], &ep->cfg->ep_cfg); in usb_reinit_338x()
3042 readl(&ep->cfg->ep_cfg)); in handle_stat0_irqs_superspeed()
[all …]
Datmel_usba_udc.c2183 const struct usba_ep_config *ep_cfg = &udc_config->config[i]; in atmel_udc_of_init() local
2203 ep->nr_banks = ep_cfg->nr_banks; in atmel_udc_of_init()
2212 ep->can_dma = ep_cfg->can_dma; in atmel_udc_of_init()
2213 ep->can_isoc = ep_cfg->can_isoc; in atmel_udc_of_init()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx219.c1389 struct v4l2_fwnode_endpoint ep_cfg = { in imx219_check_hwcfg() local
1400 if (v4l2_fwnode_endpoint_alloc_parse(endpoint, &ep_cfg)) { in imx219_check_hwcfg()
1406 if (ep_cfg.bus.mipi_csi2.num_data_lanes != 2) { in imx219_check_hwcfg()
1412 if (!ep_cfg.nr_of_link_frequencies) { in imx219_check_hwcfg()
1417 if (ep_cfg.nr_of_link_frequencies != 1 || in imx219_check_hwcfg()
1418 ep_cfg.link_frequencies[0] != IMX219_DEFAULT_LINK_FREQ) { in imx219_check_hwcfg()
1420 ep_cfg.link_frequencies[0]); in imx219_check_hwcfg()
1427 v4l2_fwnode_endpoint_free(&ep_cfg); in imx219_check_hwcfg()
/kernel/linux/linux-5.10/include/linux/usb/
Dnet2280.h390 u32 ep_cfg; member