Home
last modified time | relevance | path

Searched refs:iostart (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/
H A Dapple-gmux.h52 static inline bool apple_gmux_is_indexed(unsigned long iostart) in apple_gmux_is_indexed() argument
56 outb(0xaa, iostart + 0xcc); in apple_gmux_is_indexed()
57 outb(0x55, iostart + 0xcd); in apple_gmux_is_indexed()
58 outb(0x00, iostart + 0xce); in apple_gmux_is_indexed()
60 val = inb(iostart + 0xcc) | (inb(iostart + 0xcd) << 8); in apple_gmux_is_indexed()
67 static inline bool apple_gmux_is_mmio(unsigned long iostart) in apple_gmux_is_mmio() argument
69 u8 __iomem *iomem_base = ioremap(iostart, 16); in apple_gmux_is_mmio()
/openbmc/linux/drivers/platform/x86/
H A Dapple-gmux.c61 unsigned long iostart; member
112 return inb(gmux_data->iostart + port); in gmux_pio_read8()
118 outb(val, gmux_data->iostart + port); in gmux_pio_write8()
123 return inl(gmux_data->iostart + port); in gmux_pio_read32()
134 outb(tmpval, gmux_data->iostart + port + i); in gmux_pio_write32()
141 u8 gwr = inb(gmux_data->iostart + GMUX_PORT_WRITE); in gmux_index_wait_ready()
144 inb(gmux_data->iostart + GMUX_PORT_READ); in gmux_index_wait_ready()
145 gwr = inb(gmux_data->iostart + GMUX_PORT_WRITE); in gmux_index_wait_ready()
156 u8 gwr = inb(gmux_data->iostart + GMUX_PORT_WRITE); in gmux_index_wait_complete()
159 gwr = inb(gmux_data->iostart + GMUX_PORT_WRITE); in gmux_index_wait_complete()
[all …]
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c168 s->iostart = 0xffffffffff000000ULL; in iommu_mem_write()
171 s->iostart = 0xfffffffffe000000ULL; in iommu_mem_write()
174 s->iostart = 0xfffffffffc000000ULL; in iommu_mem_write()
177 s->iostart = 0xfffffffff8000000ULL; in iommu_mem_write()
180 s->iostart = 0xfffffffff0000000ULL; in iommu_mem_write()
183 s->iostart = 0xffffffffe0000000ULL; in iommu_mem_write()
186 s->iostart = 0xffffffffc0000000ULL; in iommu_mem_write()
190 s->iostart = 0xffffffff80000000ULL; in iommu_mem_write()
193 trace_sun4m_iommu_mem_writel_ctrl(s->iostart); in iommu_mem_write()
255 addr &= ~s->iostart; in iommu_page_get_flags()
[all …]
H A Dtrace-events10 sun4m_iommu_mem_writel_ctrl(uint64_t iostart) "iostart = 0x%"PRIx64
/openbmc/linux/drivers/video/backlight/
H A Dapple_bl.c33 unsigned long iostart; member
82 .iostart = 0xb2,
127 .iostart = 0x52e,
174 if (!request_region(hw_data->iostart, hw_data->iolen, in apple_bl_add()
185 release_region(hw_data->iostart, hw_data->iolen); in apple_bl_add()
200 release_region(hw_data->iostart, hw_data->iolen); in apple_bl_remove()
/openbmc/qemu/include/hw/sparc/
H A Dsun4m_iommu.h41 hwaddr iostart; member
/openbmc/linux/drivers/clocksource/
H A Dsh_cmt.c96 void __iomem *iostart; member
243 if (ch->iostart) in sh_cmt_read_cmstr()
244 return ch->cmt->info->read_control(ch->iostart, 0); in sh_cmt_read_cmstr()
254 if (ch->iostart) { in sh_cmt_write_cmstr()
255 ch->cmt->info->write_control(ch->iostart, 0, value); in sh_cmt_write_cmstr()
918 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
919 ch->ioctrl = ch->iostart + 0x10; in sh_cmt_setup_channel()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c808 resource_size_t iostart; in natsemi_probe1() local
838 iostart = pci_resource_start(pdev, pcibar); in natsemi_probe1()
853 ioaddr = ioremap(iostart, iosize); in natsemi_probe1()
962 (unsigned long long)iostart, pci_name(np->pci_dev), in natsemi_probe1()