Home
last modified time | relevance | path

Searched refs:CFG (Results 1 – 20 of 20) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb_init.c15 u32 val = mt76_rr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG)); in mt76x2u_init_dma()
25 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_init_dma()
30 mt76_set(dev, MT_VEND_ADDR(CFG, 0x130), BIT(0) | BIT(16)); in mt76x2u_power_on_rf_patch()
33 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x1c), 0xff); in mt76x2u_power_on_rf_patch()
34 mt76_set(dev, MT_VEND_ADDR(CFG, 0x1c), 0x30); in mt76x2u_power_on_rf_patch()
36 mt76_wr(dev, MT_VEND_ADDR(CFG, 0x14), 0x484f); in mt76x2u_power_on_rf_patch()
39 mt76_set(dev, MT_VEND_ADDR(CFG, 0x130), BIT(17)); in mt76x2u_power_on_rf_patch()
42 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x130), BIT(16)); in mt76x2u_power_on_rf_patch()
45 mt76_set(dev, MT_VEND_ADDR(CFG, 0x14c), BIT(19) | BIT(20)); in mt76x2u_power_on_rf_patch()
54 mt76_set(dev, MT_VEND_ADDR(CFG, 0x130), BIT(0) << shift); in mt76x2u_power_on_rf()
[all …]
Dusb_mac.c32 mt76_rmw_field(dev, MT_VEND_ADDR(CFG, MT_XO_CTRL5), in mt76x2u_mac_fixup_xtal()
34 mt76_set(dev, MT_VEND_ADDR(CFG, MT_XO_CTRL6), MT_XO_CTRL6_C2_CTRL); in mt76x2u_mac_fixup_xtal()
112 val = mt76_rr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG)); in mt76x2u_mac_stop()
165 val = mt76_rr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG)); in mt76x2u_mac_stop()
Dusb_mcu.c102 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_mcu_load_rom_patch()
185 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_mcu_load_firmware()
/drivers/ata/
Dpata_cs5536.c50 CFG = 0, enumerator
134 cs5536_read(pdev, CFG, &cfg); in cs5536_cable_detect()
268 cs5536_read(dev, CFG, &cfg); in cs5536_init_one()
/drivers/net/ethernet/natsemi/
Dns83820.c309 #define CFG 0x04 macro
606 cfg = readl(dev->base + CFG) ^ SPDSTS_POLARITY; in phy_intr()
680 writel(new_cfg, dev->base + CFG); in phy_intr()
1227 cfg = readl(dev->base + CFG) ^ SPDSTS_POLARITY;
1281 cfg = readl(dev->base + CFG) ^ SPDSTS_POLARITY;
1362 u32 cfg = readl(dev->base + CFG) ^ SPDSTS_POLARITY;
2003 dev->CFG_cache = readl(dev->base + CFG);
2055 writel(dev->CFG_cache, dev->base + CFG);
2060 writel(dev->CFG_cache | CFG_PHY_RST, dev->base + CFG);
2062 writel(dev->CFG_cache, dev->base + CFG);
/drivers/usb/gadget/udc/
Datmel_usba_udc.c642 usba_ep_writel(ep, CFG, ep->ept_cfg); in usba_ep_enable()
659 (unsigned long)usba_ep_readl(ep, CFG)); in usba_ep_enable()
1241 usba_ep_writel(ep, CFG, in do_test_mode()
1246 if (!(usba_ep_readl(ep, CFG) & USBA_EPT_MAPPED)) { in do_test_mode()
1257 usba_ep_writel(ep, CFG, in do_test_mode()
1262 if (!(usba_ep_readl(ep, CFG) & USBA_EPT_MAPPED)) { in do_test_mode()
1819 usba_ep_writel(ep0, CFG, in usba_udc_irq()
1837 if (!(usba_ep_readl(ep0, CFG) & USBA_EPT_MAPPED)) in usba_udc_irq()
1845 usba_ep_writel(ep, CFG, ep->ept_cfg); in usba_udc_irq()
1846 if (!(usba_ep_readl(ep, CFG) & USBA_EPT_MAPPED)) in usba_udc_irq()
/drivers/regulator/
Dmcp16502.c128 .ramp_reg = MCP16502_REG_BASE(_id, CFG), \
296 ret = regmap_read(rdev->regmap, MCP16502_REG_BASE(id, CFG), &val); in mcp16502_set_voltage_time_sel()
/drivers/dma/
Didma64.c39 dma_writel(idma64, CFG, 0); in idma64_off()
49 } while (dma_readl(idma64, CFG) & IDMA64_CFG_DMA_EN && --count); in idma64_off()
54 dma_writel(idma64, CFG, IDMA64_CFG_DMA_EN); in idma64_on()
Dat_hdmac_regs.h394 channel_readl(atchan, CFG), in vdbg_dump_regs()
Dat_hdmac.c1573 channel_writel(atchan, CFG, cfg); in atc_alloc_chan_resources()
2069 atchan->save_cfg = channel_readl(atchan, CFG); in at_dma_suspend_noirq()
2117 channel_writel(atchan, CFG, atchan->save_cfg); in at_dma_resume_noirq()
/drivers/atm/
Dnicstar.c216 writel(0x00000000, card->membase + CFG); in nicstar_remove_one()
436 writel(NS_CFG_SWRST, card->membase + CFG); in ns_init_card()
438 writel(0x00000000, card->membase + CFG); in ns_init_card()
808 NS_CFG_PHYIE, card->membase + CFG); in ns_init_card()
818 writel(0x00000000, card->membase + CFG); in ns_init_card_error()
1046 writel((readl(card->membase + CFG) | NS_CFG_EFBIE), in push_rxbufs()
1047 card->membase + CFG); in push_rxbufs()
1175 writel(readl(card->membase + CFG) & in ns_irq_handler()
1176 ~NS_CFG_EFBIE, card->membase + CFG); in ns_irq_handler()
1200 writel(readl(card->membase + CFG) & in ns_irq_handler()
[all …]
Dnicstar.h433 CFG = 0x14, /* Configuration R/W */ enumerator
/drivers/input/keyboard/
Dadp5588-keys.c32 #define CFG 0x01 /* Configuration Register1 */ macro
641 return adp5588_write(client, CFG, ADP5588_INT_CFG | in adp5588_setup()
825 adp5588_write(client, CFG, 0); in adp5588_remove()
/drivers/dma/dw/
Dregs.h84 DW_REG(CFG);
Dcore.c958 dma_writel(dw, CFG, 0); in do_dw_dma_off()
966 while (dma_readl(dw, CFG) & DW_CFG_DMA_EN) in do_dw_dma_off()
972 dma_writel(dw, CFG, DW_CFG_DMA_EN); in do_dw_dma_on()
/drivers/iommu/
Dmsm_iommu_hw-8xxx.h218 #define SET_CFG(b, v) SET_GLOBAL_FIELD(b, ESR, CFG, v)
335 #define GET_CFG(b) GET_GLOBAL_FIELD(b, ESR, CFG)
877 #define CFG (CFG_MASK << CFG_SHIFT) macro
/drivers/staging/qlge/
Dqlge.h815 CFG = 0x28, enumerator
Dqlge_main.c196 temp = qlge_read32(qdev, CFG); in qlge_wait_cfg()
245 qlge_write32(qdev, CFG, (mask | value)); in qlge_write_cfg()
/drivers/eisa/
Deisa.ids109 ASU0100 "ASUS EISA-SC100 SCSI Cache Host Adapter (CFG file V2.0)"
119 ASU5201 "P/E-P55T2P4D Main Board (CFG File V1.2)"
/drivers/media/platform/ti/omap3isp/
Dispccdc.c92 CCDC_PRINT_REGISTER(isp, CFG); in ccdc_print_status()