Path: blob/master/arch/cris/arch-v10/kernel/shadows.c
15125 views
/*1* Various shadow registers. Defines for these are in include/asm-etrax100/io.h2*/34/* Shadows for internal Etrax-registers */56unsigned long genconfig_shadow;7unsigned long gen_config_ii_shadow;8unsigned long port_g_data_shadow;9unsigned char port_pa_dir_shadow;10unsigned char port_pa_data_shadow;11unsigned char port_pb_i2c_shadow;12unsigned char port_pb_config_shadow;13unsigned char port_pb_dir_shadow;14unsigned char port_pb_data_shadow;15unsigned long r_timer_ctrl_shadow;1617/* Shadows for external I/O port registers.18* These are only usable if there actually IS a latch connected19* to the corresponding external chip-select pin.20*21* A common usage is that CSP0 controls LEDs and CSP4 video chips.22*/2324unsigned long port_cse1_shadow;25unsigned long port_csp0_shadow;26unsigned long port_csp4_shadow;2728/* Corresponding addresses for the ports.29* These are initialized in arch/cris/mm/init.c using ioremap.30*/3132volatile unsigned long *port_cse1_addr;33volatile unsigned long *port_csp0_addr;34volatile unsigned long *port_csp4_addr;35363738