Searched refs:basereg (Results 1 – 4 of 4) sorted by relevance
/drivers/ide/ |
D | cs5530.c | 55 unsigned long basereg = CS5530_BASEREG(hwif); in cs5530_set_pio_mode() local 56 unsigned int format = (inl(basereg + 4) >> 31) & 1; in cs5530_set_pio_mode() 59 outl(cs5530_pio_timings[format][pio], basereg + ((drive->dn & 1)<<3)); in cs5530_set_pio_mode() 105 unsigned long basereg; in cs5530_set_dma_mode() local 116 basereg = CS5530_BASEREG(hwif); in cs5530_set_dma_mode() 117 reg = inl(basereg + 4); /* get drive0 config register */ in cs5530_set_dma_mode() 120 outl(timings, basereg + 4); /* write drive0 config register */ in cs5530_set_dma_mode() 126 outl(reg, basereg + 4); /* write drive0 config register */ in cs5530_set_dma_mode() 127 outl(timings, basereg + 12); /* write drive1 config register */ in cs5530_set_dma_mode() 231 unsigned long basereg; in init_hwif_cs5530() local [all …]
|
D | sc1200.c | 85 unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; in sc1200_tunepio() local 87 pci_read_config_dword(pdev, basereg + 4, &format); in sc1200_tunepio() 91 pci_write_config_dword(pdev, basereg + ((drive->dn & 1) << 3), in sc1200_tunepio() 131 unsigned int basereg = hwif->channel ? 0x50 : 0x40; in sc1200_set_dma_mode() local 159 pci_read_config_dword(dev, basereg + 4, ®); in sc1200_set_dma_mode() 161 pci_write_config_dword(dev, basereg + 4, timings); in sc1200_set_dma_mode() 163 pci_write_config_dword(dev, basereg + 12, timings); in sc1200_set_dma_mode()
|
/drivers/bus/ |
D | mvebu-mbus.c | 140 u32 basereg = readl(addr + WIN_BASE_OFF); in mvebu_mbus_read_window() local 149 *base = ((u64)basereg & WIN_BASE_HIGH) << 32; in mvebu_mbus_read_window() 150 *base |= (basereg & WIN_BASE_LOW); in mvebu_mbus_read_window() 343 u32 basereg = readl(mbus->sdramwins_base + DDR_BASE_CS_OFF(i)); in mvebu_sdram_debug_show_orion() local 353 base = ((u64)basereg & DDR_BASE_CS_HIGH_MASK) << 32; in mvebu_sdram_debug_show_orion() 354 base |= basereg & DDR_BASE_CS_LOW_MASK; in mvebu_sdram_debug_show_orion()
|
/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 2068 int basereg = up ? DP_SIDEBAND_MSG_UP_REQ_BASE : DP_SIDEBAND_MSG_DOWN_REP_BASE; in drm_dp_get_one_sb_msg() local 2072 ret = drm_dp_dpcd_read(mgr->aux, basereg, in drm_dp_get_one_sb_msg() 2090 ret = drm_dp_dpcd_read(mgr->aux, basereg + curreply, in drm_dp_get_one_sb_msg()
|