Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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()
/Linux-v6.6/drivers/platform/x86/
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 …]
/Linux-v6.6/drivers/video/backlight/
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()
/Linux-v6.6/drivers/clocksource/
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()
907 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
908 ch->ioctrl = ch->iostart + 0x10; in sh_cmt_setup_channel()
/Linux-v6.6/drivers/net/ethernet/natsemi/
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()