Home
last modified time | relevance | path

Searched refs:KSEG1ADDR (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.6.21/arch/mips/include/asm/mach-ar7/
Dar7.h109 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/
Dirq.c291 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 …]
Dusb.c268 (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()
Ddbdma.c61 (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/
Dearly_printk.c35 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/
Dirq.c62 .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)}
Dserial.c44 .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE),
Dsetup.c33 ((void (*)(void)) KSEG1ADDR(0x1FC00000u))(); in rb_machine_restart()
/linux-6.6.21/arch/mips/ralink/
Dearly_printk.c31 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()
Dprom.c39 argv = (char **) KSEG1ADDR(fw_arg1); in prom_init_cmdline()
48 char *p = (char *) KSEG1ADDR(argv[i]); in prom_init_cmdline()
Dbootrom.c13 static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET);
/linux-6.6.21/arch/mips/include/asm/mach-au1x00/
Dgpio-au1000.h275 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()
Dau1000.h603 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/
Dmaxinefb.h16 #define MAXINEFB_IMS332_ADDRESS KSEG1ADDR(0x1c140000)
22 #define DS5000_xx_ONBOARD_FBMEM_START KSEG1ADDR(0x0a000000)
/linux-6.6.21/arch/mips/ath25/
Dearly_printk.c35 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/
Dmemory.c23 u32 *addr = (u32 *)KSEG1ADDR(AR7_SDRAM_BASE + size - 4); in memsize()
24 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
Dprom.c175 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/
Dprom.c52 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/
Ddb1550.c47 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()
Dbcsr.c33 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/
Dregs-mux.h12 ((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/
Drt288x.h14 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
Dmt7621.h10 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
Dmt7620.h14 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
/linux-6.6.21/arch/mips/include/asm/mach-rc32434/
Drb.h11 #define IDT434_REG_BASE ((volatile void *) KSEG1ADDR(REGBASE))

12