/linux-6.6.21/arch/mips/include/asm/mach-ar7/ |
D | ar7.h | 109 return (readl((void *)KSEG1ADDR(AR7_REGS_GPIO + 0x24)) & 0xffff) == in ar7_is_titan() 116 KSEG1ADDR(AR7_REGS_GPIO + 0x14)) & 0xffff); in ar7_chip_id() 121 unsigned int val = readl((void *)KSEG1ADDR(AR7_REGS_GPIO + in titan_chip_id() 128 return (readl((void *)KSEG1ADDR(AR7_REGS_GPIO + (ar7_is_titan() ? 0x24 : in ar7_chip_rev() 151 (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PERIPHERAL); in ar7_device_enable() 159 (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PERIPHERAL); in ar7_device_disable() 172 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_on() 179 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_off()
|
/linux-6.6.21/arch/mips/alchemy/common/ |
D | irq.c | 291 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); in au1x_ic0_unmask() 301 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); in au1x_ic1_unmask() 311 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); in au1x_ic0_mask() 321 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); in au1x_ic1_mask() 331 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); in au1x_ic0_ack() 345 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); in au1x_ic1_ack() 359 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); in au1x_ic0_maskack() 371 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); in au1x_ic1_maskack() 438 base = (void __iomem *)KSEG1ADDR(AU1000_IC1_PHYS_ADDR); in au1x_ic_settype() 442 base = (void __iomem *)KSEG1ADDR(AU1000_IC0_PHYS_ADDR); in au1x_ic_settype() [all …]
|
D | usb.c | 268 (void __iomem *)KSEG1ADDR(AU1300_USB_CTL_PHYS_ADDR); in au1300_usb_control() 296 (void __iomem *)KSEG1ADDR(AU1300_USB_CTL_PHYS_ADDR); in au1300_usb_init() 363 (void __iomem *)KSEG1ADDR(AU1200_USB_CTL_PHYS_ADDR); in au1200_usb_control() 386 (void __iomem *)KSEG1ADDR(AU1200_USB_CTL_PHYS_ADDR); in au1200_usb_init() 394 void __iomem *base = (void __iomem *)KSEG1ADDR(rb + reg); in au1000_usb_init() 427 void __iomem *base = (void __iomem *)KSEG1ADDR(rb); in __au1xx0_ohci_control() 514 void __iomem *base = (void __iomem *)KSEG1ADDR(br); in au1000_usb_pm() 532 (void __iomem *)KSEG1ADDR(AU1200_USB_OTG_PHYS_ADDR); in au1200_usb_pm() 552 (void __iomem *)KSEG1ADDR(AU1300_USB_CTL_PHYS_ADDR); in au1300_usb_pm()
|
D | dbdma.c | 61 (dbdma_global_t *)KSEG1ADDR(AU1550_DBDMA_CONF_PHYS_ADDR); 322 dcp = KSEG1ADDR(AU1550_DBDMA_PHYS_ADDR); in au1xxx_dbdma_chan_alloc() 990 addr = (void __iomem *)KSEG1ADDR(AU1550_DBDMA_CONF_PHYS_ADDR); in alchemy_dbdma_suspend() 997 addr = (void __iomem *)KSEG1ADDR(AU1550_DBDMA_PHYS_ADDR); in alchemy_dbdma_suspend() 1015 addr = (void __iomem *)KSEG1ADDR(AU1550_DBDMA_CONF_PHYS_ADDR); in alchemy_dbdma_suspend() 1027 addr = (void __iomem *)KSEG1ADDR(AU1550_DBDMA_CONF_PHYS_ADDR); in alchemy_dbdma_resume() 1034 addr = (void __iomem *)KSEG1ADDR(AU1550_DBDMA_PHYS_ADDR); in alchemy_dbdma_resume()
|
/linux-6.6.21/arch/mips/ath79/ |
D | early_printk.c | 35 void __iomem *base = (void __iomem *)(KSEG1ADDR(AR71XX_UART_BASE)); in prom_putchar_ar71xx() 44 void __iomem *base = (void __iomem *)(KSEG1ADDR(AR933X_UART_BASE)); in prom_putchar_ar933x() 91 gpio_base = (void __iomem *)KSEG1ADDR(AR71XX_GPIO_BASE); in prom_enable_uart() 102 base = (void __iomem *)(KSEG1ADDR(AR71XX_RESET_BASE)); in prom_putchar_init()
|
/linux-6.6.21/arch/mips/rb532/ |
D | irq.c | 62 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 0 * IC_GROUP_OFFSET)}, 65 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 1 * IC_GROUP_OFFSET)}, 68 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 2 * IC_GROUP_OFFSET)}, 71 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 3 * IC_GROUP_OFFSET)}, 74 .base_addr = (u32 *) KSEG1ADDR(IC_GROUP0_PEND + 4 * IC_GROUP_OFFSET)}
|
D | serial.c | 44 .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE),
|
D | setup.c | 33 ((void (*)(void)) KSEG1ADDR(0x1FC00000u))(); in rb_machine_restart()
|
/linux-6.6.21/arch/mips/ralink/ |
D | early_printk.c | 31 static __iomem void *uart_membase = (__iomem void *) KSEG1ADDR(EARLY_UART_BASE); 32 static __iomem void *chipid_membase = (__iomem void *) KSEG1ADDR(CHIPID_BASE); 64 uart_membase = (__iomem void *) KSEG1ADDR(EARLY_UART_BASE + in find_uart_base()
|
D | prom.c | 39 argv = (char **) KSEG1ADDR(fw_arg1); in prom_init_cmdline() 48 char *p = (char *) KSEG1ADDR(argv[i]); in prom_init_cmdline()
|
D | bootrom.c | 13 static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET);
|
/linux-6.6.21/arch/mips/include/asm/mach-au1x00/ |
D | gpio-au1000.h | 275 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1000_SYS_PHYS_ADDR); in alchemy_gpio1_input_enable() 286 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in __alchemy_gpio2_mod_dir() 300 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in alchemy_gpio2_set_value() 309 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in alchemy_gpio2_get_value() 361 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in __alchemy_gpio2_mod_int() 443 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in alchemy_gpio2_enable() 457 void __iomem *base = (void __iomem *)KSEG1ADDR(AU1500_GPIO2_PHYS_ADDR); in alchemy_gpio2_disable()
|
D | au1000.h | 603 void __iomem *b = (void __iomem *)KSEG1ADDR(AU1000_SYS_PHYS_ADDR); in alchemy_rdsys() 610 void __iomem *b = (void __iomem *)KSEG1ADDR(AU1000_SYS_PHYS_ADDR); in alchemy_wrsys() 619 void __iomem *b = (void __iomem *)KSEG1ADDR(AU1000_STATIC_MEM_PHYS_ADDR); in alchemy_rdsmem() 626 void __iomem *b = (void __iomem *)KSEG1ADDR(AU1000_STATIC_MEM_PHYS_ADDR); in alchemy_wrsmem() 726 void __iomem *addr = (void __iomem *)KSEG1ADDR(uart_phys); in alchemy_uart_enable() 741 void __iomem *addr = (void __iomem *)KSEG1ADDR(uart_phys); in alchemy_uart_disable() 749 void __iomem *base = (void __iomem *)KSEG1ADDR(uart_phys); in alchemy_uart_putchar()
|
/linux-6.6.21/include/video/ |
D | maxinefb.h | 16 #define MAXINEFB_IMS332_ADDRESS KSEG1ADDR(0x1c140000) 22 #define DS5000_xx_ONBOARD_FBMEM_START KSEG1ADDR(0x0a000000)
|
/linux-6.6.21/arch/mips/ath25/ |
D | early_printk.c | 35 base = (void __iomem *)(KSEG1ADDR(AR2315_UART0_BASE)); in prom_putchar() 37 base = (void __iomem *)(KSEG1ADDR(AR5312_UART0_BASE)); in prom_putchar()
|
/linux-6.6.21/arch/mips/ar7/ |
D | memory.c | 23 u32 *addr = (u32 *)KSEG1ADDR(AR7_SDRAM_BASE + size - 4); in memsize() 24 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
|
D | prom.c | 175 struct psbl_rec *psbl = (struct psbl_rec *)(KSEG1ADDR(0x14000300)); in ar7_init_env() 176 void *psp_env = (void *)KSEG1ADDR(psbl->env_base); in ar7_init_env() 240 #define PORT(offset) (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4)))
|
/linux-6.6.21/arch/mips/lantiq/ |
D | prom.c | 52 char **argv = (char **) KSEG1ADDR(fw_arg1); in prom_init_cmdline() 58 char *p = (char *) KSEG1ADDR(argv[i]); in prom_init_cmdline()
|
/linux-6.6.21/arch/mips/alchemy/devboards/ |
D | db1550.c | 47 base = (void __iomem *)KSEG1ADDR(AU1550_PSC1_PHYS_ADDR); in db1550_hw_setup() 609 (void __iomem *)KSEG1ADDR(AU1550_PSC1_PHYS_ADDR) + PSC_SEL_OFFSET); in db1550_dev_setup() 612 (void __iomem *)KSEG1ADDR(AU1550_PSC3_PHYS_ADDR) + PSC_SEL_OFFSET); in db1550_dev_setup() 616 (void __iomem *)KSEG1ADDR(AU1550_PSC0_PHYS_ADDR) + PSC_SEL_OFFSET); in db1550_dev_setup() 619 (void __iomem *)KSEG1ADDR(AU1550_PSC2_PHYS_ADDR) + PSC_SEL_OFFSET); in db1550_dev_setup()
|
D | bcsr.c | 33 bcsr1_phys = KSEG1ADDR(CPHYSADDR(bcsr1_phys)); in bcsr_init() 34 bcsr2_phys = KSEG1ADDR(CPHYSADDR(bcsr2_phys)); in bcsr_init()
|
/linux-6.6.21/arch/mips/include/asm/mach-loongson32/ |
D | regs-mux.h | 12 ((void __iomem *)KSEG1ADDR(LS1X_MUX_BASE + (x))) 114 ((void __iomem *)KSEG1ADDR(LS1X_CBUS_BASE + (n * 0x04) + (x)))
|
/linux-6.6.21/arch/mips/include/asm/mach-ralink/ |
D | rt288x.h | 14 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
|
D | mt7621.h | 10 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
|
D | mt7620.h | 14 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
|
/linux-6.6.21/arch/mips/include/asm/mach-rc32434/ |
D | rb.h | 11 #define IDT434_REG_BASE ((volatile void *) KSEG1ADDR(REGBASE))
|