Searched refs:ctl_regs (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c84 void __iomem *ctl_regs; member in struct:pcm_int_data
150 pcm_data->ctl_regs + LPDDR2_MODE_REG_CFG); ow_enable()
151 writel_relaxed(0x01, pcm_data->ctl_regs + LPDDR2_MODE_REG_DATA); ow_enable()
165 pcm_data->ctl_regs + LPDDR2_MODE_REG_CFG); ow_disable()
166 writel_relaxed(0x02, pcm_data->ctl_regs + LPDDR2_MODE_REG_DATA); ow_disable()
457 pcm_data->ctl_regs = devm_ioremap_resource(&pdev->dev, control_regs); lpddr2_nvm_probe()
458 if (IS_ERR(pcm_data->ctl_regs)) lpddr2_nvm_probe()
459 return PTR_ERR(pcm_data->ctl_regs); lpddr2_nvm_probe()
/linux-4.4.14/sound/mips/
H A Dhal2.c91 struct hal2_ctl_regs *ctl_regs; /* HAL2 ctl registers */ member in struct:snd_hal2
119 struct hal2_ctl_regs *regs = hal2->ctl_regs; hal2_i_read32()
132 struct hal2_ctl_regs *regs = hal2->ctl_regs; hal2_i_write16()
144 struct hal2_ctl_regs *regs = hal2->ctl_regs; hal2_i_write32()
156 struct hal2_ctl_regs *regs = hal2->ctl_regs; hal2_i_setbit16()
170 struct hal2_ctl_regs *regs = hal2->ctl_regs; hal2_i_clearbit16()
787 hal2_write(0, &hal2->ctl_regs->isr); hal2_detect()
791 &hal2->ctl_regs->isr); hal2_detect()
795 rev = hal2_read(&hal2->ctl_regs->rev); hal2_detect()
828 hal2->ctl_regs = (struct hal2_ctl_regs *)hpc3->pbus_extregs[0]; hal2_create()
/linux-4.4.14/drivers/net/wireless/b43/
H A Dphy_ht.c282 static const u16 ctl_regs[3][2] = { b43_phy_ht_afe_unk1() local
290 b43_phy_set(dev, ctl_regs[i][1], 0x4); b43_phy_ht_afe_unk1()
291 b43_phy_set(dev, ctl_regs[i][0], 0x4); b43_phy_ht_afe_unk1()
292 b43_phy_mask(dev, ctl_regs[i][1], ~0x1); b43_phy_ht_afe_unk1()
293 b43_phy_set(dev, ctl_regs[i][0], 0x1); b43_phy_ht_afe_unk1()
295 b43_phy_mask(dev, ctl_regs[i][0], ~0x4); b43_phy_ht_afe_unk1()
443 static const u16 ctl_regs[3][2] = { b43_phy_ht_rssi_select() local
463 b43_phy_set(dev, ctl_regs[core][0], 0x3 << 8); b43_phy_ht_rssi_select()
464 b43_phy_set(dev, ctl_regs[core][0], 0x3 << 10); b43_phy_ht_rssi_select()
465 b43_phy_set(dev, ctl_regs[core][1], 0x1 << 9); b43_phy_ht_rssi_select()
466 b43_phy_set(dev, ctl_regs[core][1], 0x1 << 10); b43_phy_ht_rssi_select()

Completed in 395 milliseconds