/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | cpm_8xx.h | 23 #define CPM_CR_RST ((ushort)0x8000) 24 #define CPM_CR_OPCODE ((ushort)0x0f00) 25 #define CPM_CR_CHAN ((ushort)0x00f0) 26 #define CPM_CR_FLG ((ushort)0x0001) 30 #define CPM_CR_INIT_TRX ((ushort)0x0000) 31 #define CPM_CR_INIT_RX ((ushort)0x0001) 32 #define CPM_CR_INIT_TX ((ushort)0x0002) 33 #define CPM_CR_HUNT_MODE ((ushort)0x0003) 34 #define CPM_CR_STOP_TX ((ushort)0x0004) 35 #define CPM_CR_RESTART_TX ((ushort)0x0006) [all …]
|
H A D | cpm_85xx.h | 61 #define CPM_CR_INIT_TRX ((ushort)0x0000) 62 #define CPM_CR_INIT_RX ((ushort)0x0001) 63 #define CPM_CR_INIT_TX ((ushort)0x0002) 64 #define CPM_CR_HUNT_MODE ((ushort)0x0003) 65 #define CPM_CR_STOP_TX ((ushort)0x0004) 66 #define CPM_CR_RESTART_TX ((ushort)0x0006) 67 #define CPM_CR_SET_GADDR ((ushort)0x0008) 107 ushort cbd_sc; /* Status and Control */ 108 ushort cbd_datlen; /* Data length in buffer */ 112 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */ [all …]
|
H A D | immap_8xx.h | 22 ushort sc_swsr; 88 ushort memc_mstat; 89 ushort memc_mptpr; 97 ushort sit_tbscr; 102 ushort sit_rtcsc; 108 ushort sit_piscr; 115 #define TBSCR_TBIRQ_MASK ((ushort)0xff00) 116 #define TBSCR_REFA ((ushort)0x0080) 117 #define TBSCR_REFB ((ushort)0x0040) 118 #define TBSCR_REFAE ((ushort)0x0008) [all …]
|
H A D | iopin_8xx.h | 33 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_set_high() 41 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_set_high() 45 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_set_high() 56 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_set_low() 64 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_set_low() 68 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_set_low() 79 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_is_high() 87 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_is_high() 91 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_is_high() 103 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_is_low() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cpm1.h | 28 #define CPM_CR_RST ((ushort)0x8000) 29 #define CPM_CR_OPCODE ((ushort)0x0f00) 30 #define CPM_CR_CHAN ((ushort)0x00f0) 31 #define CPM_CR_FLG ((ushort)0x0001) 35 #define CPM_CR_CH_SCC1 ((ushort)0x0000) 36 #define CPM_CR_CH_I2C ((ushort)0x0001) /* I2C and IDMA1 */ 37 #define CPM_CR_CH_SCC2 ((ushort)0x0004) 38 #define CPM_CR_CH_SPI ((ushort)0x0005) /* SPI / IDMA2 / Timers */ 40 #define CPM_CR_CH_SCC3 ((ushort)0x0008) 41 #define CPM_CR_CH_SMC1 ((ushort)0x0009) /* SMC1 / DSP1 */ [all …]
|
H A D | cpm2.h | 74 #define CPM_CR_START_IDMA ((ushort)0x0009) 168 ushort smc_rbase; /* Rx Buffer descriptor base address */ 169 ushort smc_tbase; /* Tx Buffer descriptor base address */ 172 ushort smc_mrblr; /* Max receive buffer length */ 175 ushort smc_rbptr; /* Internal */ 176 ushort smc_ibc; /* Internal */ 180 ushort smc_tbptr; /* Internal */ 181 ushort smc_tbc; /* Internal */ 183 ushort smc_maxidl; /* Maximum idle characters */ 184 ushort smc_tmpidl; /* Temporary idle counter */ [all …]
|
H A D | 8xx_immap.h | 23 ushort sc_swsr; 89 ushort memc_mstat; 90 ushort memc_mptpr; 150 ushort sit_tbscr; 155 ushort sit_rtcsc; 161 ushort sit_piscr; 168 #define TBSCR_TBIRQ_MASK ((ushort)0xff00) 169 #define TBSCR_REFA ((ushort)0x0080) 170 #define TBSCR_REFB ((ushort)0x0040) 171 #define TBSCR_REFAE ((ushort)0x0008) [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | immap_5272.h | 35 ushort sc_scr; 36 ushort sc_spr; 39 ushort sc_alpr; 80 ushort gpio_paddr; 81 ushort gpio_padat; 83 ushort gpio_pbddr; 84 ushort gpio_pbdat; 86 ushort gpio_pcddr; 87 ushort gpio_pcdat; 96 ushort dma_dir; [all …]
|
H A D | fec.h | 22 ushort cbd_sc; /* Status and Control */ 23 ushort cbd_datlen; /* Data length in buffer */ 27 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */ 28 #define BD_SC_READY ((ushort)0x8000) /* Transmit is ready */ 29 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ 30 #define BD_SC_INTRPT ((ushort)0x1000) /* Interrupt on change */ 31 #define BD_SC_LAST ((ushort)0x0800) /* Last buffer in frame */ 32 #define BD_SC_TC ((ushort)0x0400) /* Transmit CRC */ 33 #define BD_SC_CM ((ushort)0x0200) /* Continous mode */ 34 #define BD_SC_ID ((ushort)0x0100) /* Rec'd too many idles */ [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec.h | 249 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */ 250 #define BD_SC_READY ((ushort)0x8000) /* Transmit is ready */ 251 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ 252 #define BD_SC_INTRPT ((ushort)0x1000) /* Interrupt on change */ 253 #define BD_SC_CM ((ushort)0x0200) /* Continuous mode */ 254 #define BD_SC_ID ((ushort)0x0100) /* Rec'd too many idles */ 255 #define BD_SC_P ((ushort)0x0100) /* xmt preamble */ 256 #define BD_SC_BR ((ushort)0x0020) /* Break received */ 257 #define BD_SC_FR ((ushort)0x0010) /* Framing error */ 258 #define BD_SC_PR ((ushort)0x0008) /* Parity error */ [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | advansys.c | 266 ushort vm_id; 282 ushort x_req_count; 283 ushort x_reconnect_rtn; 306 ushort entry_cnt; 307 ushort queue_cnt; 308 ushort entry_to_copy; 309 ushort res; 318 ushort remain_sg_entry_cnt; 319 ushort next_sg_index; 459 ushort mcode_date; [all …]
|
/openbmc/linux/include/soc/fsl/ |
H A D | cpm.h | 75 #define CPM_CR_INIT_TRX ((ushort)0x0000) 76 #define CPM_CR_INIT_RX ((ushort)0x0001) 77 #define CPM_CR_INIT_TX ((ushort)0x0002) 78 #define CPM_CR_HUNT_MODE ((ushort)0x0003) 79 #define CPM_CR_STOP_TX ((ushort)0x0004) 80 #define CPM_CR_GRA_STOP_TX ((ushort)0x0005) 81 #define CPM_CR_RESTART_TX ((ushort)0x0006) 82 #define CPM_CR_CLOSE_RX_BD ((ushort)0x0007) 83 #define CPM_CR_SET_GADDR ((ushort)0x0008) 84 #define CPM_CR_SET_TIMER ((ushort)0x0008) [all …]
|
/openbmc/u-boot/net/ |
H A D | cdp.c | 42 ushort cdp_native_vlan; 43 ushort cdp_appliance_vlan; 48 static ushort cdp_compute_csum(const uchar *buff, ushort len) in cdp_compute_csum() 50 ushort csum; in cdp_compute_csum() 53 ushort leftover; in cdp_compute_csum() 54 ushort *p; in cdp_compute_csum() 64 p = (ushort *)buff; in cdp_compute_csum() 97 csum = ~(ushort)result; in cdp_compute_csum() 109 ushort *s; in cdp_send_trigger() 110 ushort *cp; in cdp_send_trigger() [all …]
|
/openbmc/u-boot/include/ |
H A D | lcd.h | 32 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue); 51 ushort vl_col; /* Number of columns (i.e. 160) */ 52 ushort vl_row; /* Number of rows (i.e. 100) */ 53 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 55 ushort *cmap; /* Pointer to the colormap */ 59 static __maybe_unused ushort *configuration_get_cmap(void) in configuration_get_cmap() 65 ushort *configuration_get_cmap(void); 207 #define fbptr_t ushort
|
H A D | pxa_lcd.h | 48 ushort vl_col; /* Number of columns (i.e. 640) */ 49 ushort vl_row; /* Number of rows (i.e. 480) */ 50 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 51 ushort vl_width; /* Width of display area in millimeters */ 52 ushort vl_height; /* Height of display area in millimeters */ 67 ushort vl_hpw; /* Horz sync pulse width */
|
H A D | flash.h | 20 ushort sector_count; /* number of erase units */ 27 ushort buffer_size; /* # of bytes in write buffer */ 31 ushort vendor; /* the primary vendor id */ 32 ushort cmd_reset; /* vendor specific reset command */ 34 ushort interface; /* used for x8/x16 adjustments */ 35 ushort legacy_unlock; /* support Intel legacy (un)locking */ 36 ushort manufacturer_id; /* manufacturer id */ 37 ushort device_id; /* device id */ 38 ushort device_id2; /* extended device id */ 39 ushort ext_addr; /* extended query table address */ [all …]
|
H A D | exynos_lcd.h | 25 ushort vl_col; /* Number of columns (i.e. 640) */ 26 ushort vl_row; /* Number of rows (i.e. 480) */ 27 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 28 ushort vl_width; /* Width of display area in millimeters */ 29 ushort vl_height; /* Height of display area in millimeters */
|
H A D | video.h | 76 ushort xsize; 77 ushort ysize; 78 ushort rot; 93 ushort *cmap;
|
/openbmc/u-boot/cmd/ |
H A D | mii.c | 16 ushort regno; 30 ushort hi; 31 ushort lo; 32 ushort mask; 109 ushort len; 122 ushort regval, 127 ushort regno, 129 ushort regval); 132 ushort regvals[6], in MII_dump_0_to_5() 146 ushort regval, in dump_reg() [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750.h | 42 ushort powerMode; 44 ushort chip_clk; 45 ushort mem_clk; 46 ushort master_clk; 47 ushort setAllEngOff; 48 ushort resetMemory; 211 int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, 212 ushort red, ushort green, ushort blue);
|
/openbmc/u-boot/common/ |
H A D | lcd.c | 112 ushort v_max = panel_info.vl_row; in test_pattern() 113 ushort h_max = panel_info.vl_col; in test_pattern() 114 ushort v_step = (v_max + N_BLK_VERT - 1) / N_BLK_VERT; in test_pattern() 115 ushort h_step = (h_max + N_BLK_HOR - 1) / N_BLK_HOR; in test_pattern() 116 ushort v, h; in test_pattern() 120 ushort *pix = (ushort *)lcd_base; in test_pattern() 331 ushort *cmap = configuration_get_cmap(); in lcd_logo_set_cmap() 339 ushort i, j; in lcd_logo_plot() 343 ushort *fb16; in lcd_logo_plot() 361 fb16 = (ushort *)fb; in lcd_logo_plot() [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | video_bmp.c | 21 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap() 30 static void draw_encoded_bitmap(ushort **fbp, ushort col, int cnt) in draw_encoded_bitmap() 32 ushort *fb = *fbp; in draw_encoded_bitmap() 42 struct bmp_image *bmp, ushort *cmap, in video_display_rle8_bitmap() 95 (ushort **)&fb, in video_display_rle8_bitmap() 120 draw_encoded_bitmap((ushort **)&fb, in video_display_rle8_bitmap() 178 ushort *cmap = priv->cmap; in video_set_cmap() 194 ushort *cmap_base = NULL; in video_bmp_display() 199 ushort padded_width; in video_bmp_display()
|
/openbmc/u-boot/drivers/block/ |
H A D | ide.c | 132 __weak void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_output_data_shorts() 134 ushort *dbuf; in ide_output_data_shorts() 135 volatile ushort *pbuf; in ide_output_data_shorts() 137 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_output_data_shorts() 138 dbuf = (ushort *)sect_buf; in ide_output_data_shorts() 149 __weak void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_input_data_shorts() 151 ushort *dbuf; in ide_input_data_shorts() 152 volatile ushort *pbuf; in ide_input_data_shorts() 154 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_input_data_shorts() 155 dbuf = (ushort *)sect_buf; in ide_input_data_shorts() [all …]
|
/openbmc/linux/include/linux/ |
H A D | vt_kern.h | 58 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list); 59 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list); 86 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) in con_set_unimap() 91 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, in con_get_unimap()
|
/openbmc/linux/arch/powerpc/platforms/8xx/ |
H A D | micropatch.c | 24 ushort rccr; 25 ushort cpmcr1; 26 ushort cpmcr2; 27 ushort cpmcr3; 28 ushort cpmcr4;
|