/u-boot/arch/arc/lib/ |
A D | interrupts.c | 62 void show_regs(struct pt_regs *regs) in show_regs() 76 void bad_mode(struct pt_regs *regs) in bad_mode() 108 void do_itlb_miss(struct pt_regs *regs) in do_itlb_miss() 114 void do_dtlb_miss(struct pt_regs *regs) in do_dtlb_miss() 127 void do_privilege_violation(struct pt_regs *regs) in do_privilege_violation() 133 void do_trap(struct pt_regs *regs) in do_trap() 139 void do_extension(struct pt_regs *regs) in do_extension() 146 void do_swi(struct pt_regs *regs) in do_swi() 152 void do_divzero(unsigned long address, struct pt_regs *regs) in do_divzero() 158 void do_dcerror(struct pt_regs *regs) in do_dcerror() [all …]
|
/u-boot/arch/powerpc/cpu/mpc8xx/ |
A D | traps.c | 55 void show_regs(struct pt_regs *regs) in show_regs() 79 static void _exception(int signr, struct pt_regs *regs) in _exception() 86 void MachineCheckException(struct pt_regs *regs) in MachineCheckException() 124 void AlignmentException(struct pt_regs *regs) in AlignmentException() 131 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException() 138 void SoftEmuException(struct pt_regs *regs) in SoftEmuException() 146 void UnknownException(struct pt_regs *regs) in UnknownException() 153 void DebugException(struct pt_regs *regs) in DebugException()
|
/u-boot/arch/powerpc/cpu/mpc83xx/ |
A D | traps.c | 53 void show_regs(struct pt_regs *regs) in show_regs() 79 static void _exception(int signr, struct pt_regs *regs) in _exception() 103 void MachineCheckException(struct pt_regs *regs) in MachineCheckException() 162 void AlignmentException(struct pt_regs *regs) in AlignmentException() 173 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException() 184 void SoftEmuException(struct pt_regs *regs) in SoftEmuException() 196 void UnknownException(struct pt_regs *regs) in UnknownException() 211 void DebugException(struct pt_regs *regs) in DebugException()
|
/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | traps.c | 61 void show_regs(struct pt_regs *regs) in show_regs() 89 static void _exception(int signr, struct pt_regs *regs) in _exception() 96 void MachineCheckException(struct pt_regs *regs) in MachineCheckException() 142 void AlignmentException(struct pt_regs *regs) in AlignmentException() 153 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException() 178 void SoftEmuException(struct pt_regs *regs) in SoftEmuException() 189 void UnknownException(struct pt_regs *regs) in UnknownException()
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | traps.c | 91 void show_regs(struct pt_regs *regs) in show_regs() 119 static void _exception(int signr, struct pt_regs *regs) in _exception() 126 void CritcalInputException(struct pt_regs *regs) in CritcalInputException() 133 void MachineCheckException(struct pt_regs *regs) in MachineCheckException() 205 void AlignmentException(struct pt_regs *regs) in AlignmentException() 217 void ProgramCheckException(struct pt_regs *regs) in ProgramCheckException() 240 void PITException(struct pt_regs *regs) in PITException() 253 void UnknownException(struct pt_regs *regs) in UnknownException() 265 void ExtIntException(struct pt_regs *regs) in ExtIntException() 284 void DebugException(struct pt_regs *regs) in DebugException()
|
/u-boot/drivers/rtc/ |
A D | mvrtc.c | 22 static int __mv_rtc_get(struct mvrtc_registers *regs, struct rtc_time *t) in __mv_rtc_get() 62 struct mvrtc_registers *regs; in rtc_get() local 69 static int __mv_rtc_set(struct mvrtc_registers *regs, const struct rtc_time *t) in __mv_rtc_set() 101 struct mvrtc_registers *regs; in rtc_set() local 108 static void __mv_rtc_reset(struct mvrtc_registers *regs) in __mv_rtc_reset() 126 struct mvrtc_registers *regs; in rtc_reset() local 137 struct mvrtc_registers *regs = (struct mvrtc_registers *)pdata->iobase; in mv_rtc_get() local 145 struct mvrtc_registers *regs = (struct mvrtc_registers *)pdata->iobase; in mv_rtc_set() local 153 struct mvrtc_registers *regs = (struct mvrtc_registers *)pdata->iobase; in mv_rtc_reset() local
|
/u-boot/board/cavium/thunderx/ |
A D | atf.c | 23 struct pt_regs regs; in atf_read_mmc() local 36 struct pt_regs regs; in atf_read_nor() local 49 struct pt_regs regs; in atf_get_pcount() local 59 struct pt_regs regs; in atf_get_part() local 71 struct pt_regs regs; in atf_erase_nor() local 83 struct pt_regs regs; in atf_write_nor() local 97 struct pt_regs regs; in atf_write_mmc() local 111 struct pt_regs regs; in atf_dram_size() local 122 struct pt_regs regs; in atf_node_count() local 132 struct pt_regs regs; in atf_env_count() local [all …]
|
/u-boot/arch/mips/include/asm/ |
A D | ptrace.h | 27 unsigned long regs[32]; member 46 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer() 56 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set() 75 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register() 87 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) argument 89 #define instruction_pointer(regs) ((regs)->cp0_epc) argument 90 #define profile_pc(regs) instruction_pointer(regs) argument 94 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer() 99 static inline void user_stack_pointer_set(struct pt_regs *regs, in user_stack_pointer_set()
|
/u-boot/drivers/video/exynos/ |
A D | exynos_dp.c | 42 static int exynos_dp_init_dp(struct exynos_dp *regs) in exynos_dp_init_dp() 71 static unsigned int exynos_dp_read_edid(struct exynos_dp *regs) in exynos_dp_read_edid() 170 static unsigned int exynos_dp_handle_edid(struct exynos_dp *regs, in exynos_dp_handle_edid() 247 static void exynos_dp_init_training(struct exynos_dp *regs) in exynos_dp_init_training() 259 static unsigned int exynos_dp_link_start(struct exynos_dp *regs, in exynos_dp_link_start() 341 struct exynos_dp *regs, unsigned char enable) in exynos_dp_enable_rx_to_enhanced_mode() 441 static int exynos_dp_equalizer_err_link(struct exynos_dp *regs, in exynos_dp_equalizer_err_link() 461 static int exynos_dp_reduce_link_rate(struct exynos_dp *regs, in exynos_dp_reduce_link_rate() 597 struct exynos_dp *regs, struct exynos_dp_priv *priv) in exynos_dp_process_equalizer_training() 770 static void exynos_dp_enable_scramble(struct exynos_dp *regs, in exynos_dp_enable_scramble() [all …]
|
/u-boot/board/Marvell/octeontx2/ |
A D | smc.c | 19 struct pt_regs regs; in smc_dram_size() local 30 struct pt_regs regs; in smc_disable_rvu_lfs() local 41 struct pt_regs regs; in smc_configure_ooo() local 52 struct pt_regs regs; in smc_flsf_fw_booted() local
|
/u-boot/arch/riscv/include/asm/ |
A D | ptrace.h | 57 #define user_mode(regs) (((regs)->sstatus & SR_PS) == 0) argument 60 #define GET_IP(regs) ((regs)->sepc) argument 61 #define SET_IP(regs, val) (GET_IP(regs) = (val)) argument 63 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() 73 #define profile_pc(regs) instruction_pointer(regs) argument 76 #define GET_USP(regs) ((regs)->sp) argument 77 #define SET_USP(regs, val) (GET_USP(regs) = (val)) argument 79 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer() 90 #define GET_FP(regs) ((regs)->s0) argument 91 #define SET_FP(regs, val) (GET_FP(regs) = (val)) argument [all …]
|
/u-boot/arch/arm/include/asm/proc-armv/ |
A D | ptrace.h | 25 unsigned long regs[31]; member 86 #define user_mode(regs) \ argument 90 #define thumb_mode(regs) \ argument 93 #define thumb_mode(regs) (0) argument 96 #define processor_mode(regs) \ argument 99 #define interrupts_enabled(regs) \ argument 102 #define fast_interrupts_enabled(regs) \ argument 105 #define condition_codes(regs) \ argument 111 static inline int valid_user_regs(struct pt_regs *regs) in valid_user_regs()
|
/u-boot/drivers/gpio/ |
A D | stm32_gpio.c | 35 static void stm32_gpio_set_moder(struct stm32_gpio_regs *regs, in stm32_gpio_set_moder() 48 static int stm32_gpio_get_moder(struct stm32_gpio_regs *regs, int idx) in stm32_gpio_get_moder() 53 static void stm32_gpio_set_otype(struct stm32_gpio_regs *regs, in stm32_gpio_set_otype() 69 static void stm32_gpio_set_pupd(struct stm32_gpio_regs *regs, in stm32_gpio_set_pupd() 109 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_direction_input() local 125 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_direction_output() local 142 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_get_value() local 155 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_set_value() local 170 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_get_function() local 198 struct stm32_gpio_regs *regs = priv->regs; in stm32_gpio_set_dir_flags() local [all …]
|
A D | intel_broadwell_gpio.c | 32 struct pch_lp_gpio_regs *regs; member 41 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_request() local 63 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_direction_input() local 73 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_get_value() local 83 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_set_value() local 97 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_direction_output() local 108 struct pch_lp_gpio_regs *regs = priv->regs; in broadwell_gpio_get_function() local
|
/u-boot/arch/riscv/lib/ |
A D | interrupts.c | 28 static void show_regs(struct pt_regs *regs) in show_regs() 54 static void _exit_trap(ulong code, ulong epc, ulong tval, struct pt_regs *regs) in _exit_trap() 112 ulong handle_trap(ulong cause, ulong epc, ulong tval, struct pt_regs *regs) in handle_trap() 146 __attribute__((weak)) void external_interrupt(struct pt_regs *regs) in external_interrupt() 150 __attribute__((weak)) void timer_interrupt(struct pt_regs *regs) in timer_interrupt()
|
/u-boot/drivers/net/fm/ |
A D | memac.c | 21 struct memac *regs = mac->base; in memac_init_mac() local 38 struct memac *regs = mac->base; in memac_enable_mac() local 46 struct memac *regs = mac->base; in memac_disable_mac() local 53 struct memac *regs = mac->base; in memac_set_mac_addr() local 73 struct memac *regs = mac->base; in memac_set_interface_mode() local
|
A D | dtsec.c | 29 struct dtsec *regs = mac->base; in dtsec_init_mac() local 67 struct dtsec *regs = mac->base; in dtsec_enable_mac() local 81 struct dtsec *regs = mac->base; in dtsec_disable_mac() local 95 struct dtsec *regs = mac->base; in dtsec_set_mac_addr() local 113 struct dtsec *regs = mac->base; in dtsec_set_interface_mode() local
|
/u-boot/drivers/video/rockchip/ |
A D | rk_edp.c | 41 struct rk3288_edp *regs; member 48 static void rk_edp_init_refclk(struct rk3288_edp *regs) in rk_edp_init_refclk() 80 static void rk_edp_init_interrupt(struct rk3288_edp *regs) in rk_edp_init_interrupt() 139 static void rk_edp_init_aux(struct rk3288_edp *regs) in rk_edp_init_aux() 154 static int rk_edp_aux_enable(struct rk3288_edp *regs) in rk_edp_aux_enable() 168 static int rk_edp_is_aux_reply(struct rk3288_edp *regs) in rk_edp_is_aux_reply() 217 static int rk_edp_dpcd_transfer(struct rk3288_edp *regs, in rk_edp_dpcd_transfer() 465 struct rk3288_edp *regs = edp->regs; in rk_edp_link_train_cr() local 545 struct rk3288_edp *regs = edp->regs; in rk_edp_link_train_ce() local 1017 struct rk3288_edp *regs = priv->regs; in rk_edp_remove() local [all …]
|
/u-boot/drivers/serial/ |
A D | serial_xuartlite.c | 36 struct uartlite *regs; member 58 struct uartlite *regs = plat->regs; in uartlite_serial_putc() local 71 struct uartlite *regs = plat->regs; in uartlite_serial_getc() local 82 struct uartlite *regs = plat->regs; in uartlite_serial_pending() local 93 struct uartlite *regs = plat->regs; in uartlite_serial_probe() local 146 struct uartlite *regs = (struct uartlite *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init() local 162 struct uartlite *regs = (struct uartlite *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc() local
|
A D | serial_zynq.c | 45 struct uart_zynq *regs; member 49 static void _uart_zynq_serial_setbrg(struct uart_zynq *regs, in _uart_zynq_serial_setbrg() 90 static void _uart_zynq_serial_init(struct uart_zynq *regs) in _uart_zynq_serial_init() 98 static int _uart_zynq_serial_putc(struct uart_zynq *regs, const char c) in _uart_zynq_serial_putc() 143 struct uart_zynq *regs = plat->regs; in zynq_serial_probe() local 159 struct uart_zynq *regs = plat->regs; in zynq_serial_getc() local 177 struct uart_zynq *regs = plat->regs; in zynq_serial_pending() local 223 struct uart_zynq *regs = (struct uart_zynq *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init() local 232 struct uart_zynq *regs = (struct uart_zynq *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc() local
|
A D | serial_sifive.c | 43 struct uart_sifive *regs; member 71 static void _sifive_serial_setbrg(struct uart_sifive *regs, in _sifive_serial_setbrg() 77 static void _sifive_serial_init(struct uart_sifive *regs) in _sifive_serial_init() 84 static int _sifive_serial_putc(struct uart_sifive *regs, const char c) in _sifive_serial_putc() 94 static int _sifive_serial_getc(struct uart_sifive *regs) in _sifive_serial_getc() 150 struct uart_sifive *regs = plat->regs; in sifive_serial_getc() local 170 struct uart_sifive *regs = plat->regs; in sifive_serial_pending() local 214 struct uart_sifive *regs = in _debug_uart_init() local 224 struct uart_sifive *regs = in _debug_uart_putc() local
|
A D | altera_uart.c | 29 struct altera_uart_regs *regs; member 36 struct altera_uart_regs *const regs = plat->regs; in altera_uart_setbrg() local 48 struct altera_uart_regs *const regs = plat->regs; in altera_uart_putc() local 61 struct altera_uart_regs *const regs = plat->regs; in altera_uart_pending() local 73 struct altera_uart_regs *const regs = plat->regs; in altera_uart_getc() local 126 struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init() local 135 struct altera_uart_regs *regs = (void *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc() local
|
/u-boot/drivers/i2c/ |
A D | i2c-cortina.c | 15 static void set_speed(struct i2c_regs *regs, int i2c_spd) in set_speed() 73 static void ca_i2c_init(struct i2c_regs *regs) in ca_i2c_init() 92 static int i2c_wait_complete(struct i2c_regs *regs) in i2c_wait_complete() 115 static void i2c_setaddress(struct i2c_regs *regs, unsigned int i2c_addr, in i2c_setaddress() 126 static int i2c_wait_for_bus_busy(struct i2c_regs *regs) in i2c_wait_for_bus_busy() 146 static int i2c_xfer_init(struct i2c_regs *regs, uint8_t chip, uint addr, in i2c_xfer_init() 179 static int i2c_xfer_finish(struct i2c_regs *regs) in i2c_xfer_finish() 193 static int ca_i2c_read(struct i2c_regs *regs, uint8_t chip, uint addr, in ca_i2c_read() 231 static int ca_i2c_write(struct i2c_regs *regs, uint8_t chip, uint addr, in ca_i2c_write()
|
/u-boot/drivers/adc/ |
A D | exynos-adc.c | 14 struct exynos_adc_v2 *regs; member 21 struct exynos_adc_v2 *regs = priv->regs; in exynos_adc_channel_data() local 39 struct exynos_adc_v2 *regs = priv->regs; in exynos_adc_start_channel() local 60 struct exynos_adc_v2 *regs = priv->regs; in exynos_adc_stop() local 77 struct exynos_adc_v2 *regs = priv->regs; in exynos_adc_probe() local
|
/u-boot/drivers/misc/ |
A D | mxc_ocotp.c | 171 static void wait_busy(struct ocotp_regs *regs, unsigned int delay_us) in wait_busy() 177 static void clear_error(struct ocotp_regs *regs) in clear_error() 182 static int prepare_access(struct ocotp_regs **regs, u32 bank, u32 word, in prepare_access() 210 static int finish_access(struct ocotp_regs *regs, const char *caller) in finish_access() 237 struct ocotp_regs *regs; in fuse_read() local 262 static void set_timing(struct ocotp_regs *regs) in set_timing() 280 static void set_timing(struct ocotp_regs *regs) in set_timing() 286 static void set_timing(struct ocotp_regs *regs) in set_timing() 335 struct ocotp_regs *regs; in fuse_sense() local 396 struct ocotp_regs *regs; in fuse_prog() local [all …]
|