Loading py393/generated/x393.c +3 −3 Original line number Diff line number Diff line /******************************************************************************* * File: x393.c * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Functions definitions to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -56,8 +56,8 @@ void set_x393_mcntrl_dm_odly1 (x393_dly_t d) x393_dly_t get_x393_mcntrl_dm_odly1 (void) {return (x393_dly_t) readl(0x400002a4)}; void set_x393_mcntrl_cmda_odly (x393_dly_t d, int chn){writel(0x40000300 + 0x4 * chn, (u32) d)}; // Address, bank and commands delays x393_dly_t get_x393_mcntrl_cmda_odly (int chn) {return (x393_dly_t) readl(0x40000300 + 0x4 * chn)}; void set_x393_mcntrl_cmda_odly (x393_dly_t d) {writel(0x40000380, (u32) d)}; // Clock phase x393_dly_t get_x393_mcntrl_cmda_odly (void) {return (x393_dly_t) readl(0x40000380)}; void set_x393_mcntrl_phase (x393_dly_t d) {writel(0x40000380, (u32) d)}; // Clock phase x393_dly_t get_x393_mcntrl_phase (void) {return (x393_dly_t) readl(0x40000380)}; void x393_mcntrl_dly_set (void) {writel(0x40000080, 0)}; // Set all pre-programmed delays void set_x393_mcntrl_wbuf_dly (x393_wbuf_dly_t d) {writel(0x40000148, (u32) d)}; // Set write buffer delay x393_wbuf_dly_t get_x393_mcntrl_wbuf_dly (void) {return (x393_wbuf_dly_t) readl(0x40000148)}; Loading py393/generated/x393.h +3 −3 Original line number Diff line number Diff line /******************************************************************************* * File: x393.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Constants definitions and functions declarations to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -56,8 +56,8 @@ void set_x393_mcntrl_dm_odly1 (x393_dly_t d); x393_dly_t get_x393_mcntrl_dm_odly1 (void); void set_x393_mcntrl_cmda_odly (x393_dly_t d, int chn); // Address, bank and commands delays x393_dly_t get_x393_mcntrl_cmda_odly (int chn); void set_x393_mcntrl_cmda_odly (x393_dly_t d); // Clock phase x393_dly_t get_x393_mcntrl_cmda_odly (void); void set_x393_mcntrl_phase (x393_dly_t d); // Clock phase x393_dly_t get_x393_mcntrl_phase (void); void x393_mcntrl_dly_set (void); // Set all pre-programmed delays void set_x393_mcntrl_wbuf_dly (x393_wbuf_dly_t d); // Set write buffer delay x393_wbuf_dly_t get_x393_mcntrl_wbuf_dly (void); Loading py393/generated/x393_defs.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_defs.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Constants and hardware addresses definitions to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -41,7 +41,7 @@ #define X393_MCNTRL_DM_ODLY0 0x40000224 // Lane0 DM output delay , data type: x393_dly_t (rw) #define X393_MCNTRL_DM_ODLY1 0x400002a4 // Lane1 DM output delay , data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY(chn) (0x40000300 + 0x4 * (chn)) // Address, bank and commands delays, chn = 0..31, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_PHASE 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_DLY_SET 0x40000080 // Set all pre-programmed delays #define X393_MCNTRL_WBUF_DLY 0x40000148 // Set write buffer delay, data type: x393_wbuf_dly_t (rw) Loading py393/generated/x393_map.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_map.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Sorted hardware addresses map *******************************************************************************/ Loading Loading @@ -116,7 +116,7 @@ #define X393_MCNTRL_CMDA_ODLY__29 0x40000374 // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY__30 0x40000378 // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY__31 0x4000037c // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_PHASE 0x40000380 // Clock phase, data type: x393_dly_t (rw) // RESERVED: 0x13 DWORDs #define X393_MCNTRL_TEST01_CHN2_MODE 0x400003d0 // Set command for test01 channel 2, data type: x393_test01_mode_t (wo) #define X393_MCNTRL_TEST01_CHN2_STATUS_CNTRL 0x400003d4 // Set status control register (status update mode), data type: x393_status_ctrl_t (rw) Loading py393/generated/x393_types.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_types.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: typedef definitions for the x393 hardware registers *******************************************************************************/ Loading Loading @@ -366,7 +366,7 @@ typedef union { } struct_0; struct { u32 :14; u32 diff: 1; // [ 17] (0) Difference scale: 0 - keep diff, 1- multiply diff by 16 u32 diff_scale: 1; // [ 17] (0) Difference scale: 0 - keep diff, 1- multiply diff by 16 char diff: 7; // [16:10] (0) Difference to next (signed, -64..+63) u32 base:10; // [ 9: 0] (0) Knee point value (to be interpolated between) } struct_1; Loading Loading
py393/generated/x393.c +3 −3 Original line number Diff line number Diff line /******************************************************************************* * File: x393.c * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Functions definitions to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -56,8 +56,8 @@ void set_x393_mcntrl_dm_odly1 (x393_dly_t d) x393_dly_t get_x393_mcntrl_dm_odly1 (void) {return (x393_dly_t) readl(0x400002a4)}; void set_x393_mcntrl_cmda_odly (x393_dly_t d, int chn){writel(0x40000300 + 0x4 * chn, (u32) d)}; // Address, bank and commands delays x393_dly_t get_x393_mcntrl_cmda_odly (int chn) {return (x393_dly_t) readl(0x40000300 + 0x4 * chn)}; void set_x393_mcntrl_cmda_odly (x393_dly_t d) {writel(0x40000380, (u32) d)}; // Clock phase x393_dly_t get_x393_mcntrl_cmda_odly (void) {return (x393_dly_t) readl(0x40000380)}; void set_x393_mcntrl_phase (x393_dly_t d) {writel(0x40000380, (u32) d)}; // Clock phase x393_dly_t get_x393_mcntrl_phase (void) {return (x393_dly_t) readl(0x40000380)}; void x393_mcntrl_dly_set (void) {writel(0x40000080, 0)}; // Set all pre-programmed delays void set_x393_mcntrl_wbuf_dly (x393_wbuf_dly_t d) {writel(0x40000148, (u32) d)}; // Set write buffer delay x393_wbuf_dly_t get_x393_mcntrl_wbuf_dly (void) {return (x393_wbuf_dly_t) readl(0x40000148)}; Loading
py393/generated/x393.h +3 −3 Original line number Diff line number Diff line /******************************************************************************* * File: x393.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Constants definitions and functions declarations to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -56,8 +56,8 @@ void set_x393_mcntrl_dm_odly1 (x393_dly_t d); x393_dly_t get_x393_mcntrl_dm_odly1 (void); void set_x393_mcntrl_cmda_odly (x393_dly_t d, int chn); // Address, bank and commands delays x393_dly_t get_x393_mcntrl_cmda_odly (int chn); void set_x393_mcntrl_cmda_odly (x393_dly_t d); // Clock phase x393_dly_t get_x393_mcntrl_cmda_odly (void); void set_x393_mcntrl_phase (x393_dly_t d); // Clock phase x393_dly_t get_x393_mcntrl_phase (void); void x393_mcntrl_dly_set (void); // Set all pre-programmed delays void set_x393_mcntrl_wbuf_dly (x393_wbuf_dly_t d); // Set write buffer delay x393_wbuf_dly_t get_x393_mcntrl_wbuf_dly (void); Loading
py393/generated/x393_defs.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_defs.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Constants and hardware addresses definitions to access x393 hardware registers *******************************************************************************/ Loading Loading @@ -41,7 +41,7 @@ #define X393_MCNTRL_DM_ODLY0 0x40000224 // Lane0 DM output delay , data type: x393_dly_t (rw) #define X393_MCNTRL_DM_ODLY1 0x400002a4 // Lane1 DM output delay , data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY(chn) (0x40000300 + 0x4 * (chn)) // Address, bank and commands delays, chn = 0..31, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_PHASE 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_DLY_SET 0x40000080 // Set all pre-programmed delays #define X393_MCNTRL_WBUF_DLY 0x40000148 // Set write buffer delay, data type: x393_wbuf_dly_t (rw) Loading
py393/generated/x393_map.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_map.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: Sorted hardware addresses map *******************************************************************************/ Loading Loading @@ -116,7 +116,7 @@ #define X393_MCNTRL_CMDA_ODLY__29 0x40000374 // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY__30 0x40000378 // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY__31 0x4000037c // Address, bank and commands delays, data type: x393_dly_t (rw) #define X393_MCNTRL_CMDA_ODLY 0x40000380 // Clock phase, data type: x393_dly_t (rw) #define X393_MCNTRL_PHASE 0x40000380 // Clock phase, data type: x393_dly_t (rw) // RESERVED: 0x13 DWORDs #define X393_MCNTRL_TEST01_CHN2_MODE 0x400003d0 // Set command for test01 channel 2, data type: x393_test01_mode_t (wo) #define X393_MCNTRL_TEST01_CHN2_STATUS_CNTRL 0x400003d4 // Set status control register (status update mode), data type: x393_status_ctrl_t (rw) Loading
py393/generated/x393_types.h +2 −2 Original line number Diff line number Diff line /******************************************************************************* * File: x393_types.h * Date: 2016-03-27 * Date: 2016-03-28 * Author: auto-generated file, see x393_export_c.py * Description: typedef definitions for the x393 hardware registers *******************************************************************************/ Loading Loading @@ -366,7 +366,7 @@ typedef union { } struct_0; struct { u32 :14; u32 diff: 1; // [ 17] (0) Difference scale: 0 - keep diff, 1- multiply diff by 16 u32 diff_scale: 1; // [ 17] (0) Difference scale: 0 - keep diff, 1- multiply diff by 16 char diff: 7; // [16:10] (0) Difference to next (signed, -64..+63) u32 base:10; // [ 9: 0] (0) Knee point value (to be interpolated between) } struct_1; Loading