| /rk3399_rockchip-uboot/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 | 35 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_set_high() 43 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_set_high() 47 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_set_high() 58 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_set_low() 66 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_set_low() 70 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_set_low() 81 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_is_high() 89 ushort __iomem *datp = &immap->im_ioport.iop_pcdat; in iopin_is_high() 93 ushort __iomem *datp = &immap->im_ioport.iop_pddat; in iopin_is_high() 105 ushort __iomem *datp = &immap->im_ioport.iop_padat; in iopin_is_low() [all …]
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | immap_5272.h | 36 ushort sc_scr; 37 ushort sc_spr; 40 ushort sc_alpr; 81 ushort gpio_paddr; 82 ushort gpio_padat; 84 ushort gpio_pbddr; 85 ushort gpio_pbdat; 87 ushort gpio_pcddr; 88 ushort gpio_pcdat; 97 ushort dma_dir; [all …]
|
| H A D | fec.h | 23 ushort cbd_sc; /* Status and Control */ 24 ushort cbd_datlen; /* Data length in buffer */ 28 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */ 29 #define BD_SC_READY ((ushort)0x8000) /* Transmit is ready */ 30 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */ 31 #define BD_SC_INTRPT ((ushort)0x1000) /* Interrupt on change */ 32 #define BD_SC_LAST ((ushort)0x0800) /* Last buffer in frame */ 33 #define BD_SC_TC ((ushort)0x0400) /* Transmit CRC */ 34 #define BD_SC_CM ((ushort)0x0200) /* Continous mode */ 35 #define BD_SC_ID ((ushort)0x0100) /* Rec'd too many idles */ [all …]
|
| H A D | immap_5282.h | 97 ushort wcr; 98 ushort wmr; 99 ushort wcntr; 100 ushort wsr;
|
| /rk3399_rockchip-uboot/include/ |
| H A D | lcd.h | 33 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue); 52 ushort vl_col; /* Number of columns (i.e. 160) */ 53 ushort vl_row; /* Number of rows (i.e. 100) */ 54 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 56 ushort *cmap; /* Pointer to the colormap */ 60 static __maybe_unused ushort *configuration_get_cmap(void) in configuration_get_cmap() 66 ushort *configuration_get_cmap(void); 208 #define fbptr_t ushort
|
| H A D | pxa_lcd.h | 49 ushort vl_col; /* Number of columns (i.e. 640) */ 50 ushort vl_row; /* Number of rows (i.e. 480) */ 51 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 52 ushort vl_width; /* Width of display area in millimeters */ 53 ushort vl_height; /* Height of display area in millimeters */ 68 ushort vl_hpw; /* Horz sync pulse width */
|
| H A D | exynos_lcd.h | 26 ushort vl_col; /* Number of columns (i.e. 640) */ 27 ushort vl_row; /* Number of rows (i.e. 480) */ 28 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */ 29 ushort vl_width; /* Width of display area in millimeters */ 30 ushort vl_height; /* Height of display area in millimeters */
|
| H A D | flash.h | 21 ushort sector_count; /* number of erase units */ 28 ushort buffer_size; /* # of bytes in write buffer */ 32 ushort vendor; /* the primary vendor id */ 33 ushort cmd_reset; /* vendor specific reset command */ 35 ushort interface; /* used for x8/x16 adjustments */ 36 ushort legacy_unlock; /* support Intel legacy (un)locking */ 37 ushort manufacturer_id; /* manufacturer id */ 38 ushort device_id; /* device id */ 39 ushort device_id2; /* extended device id */ 40 ushort ext_addr; /* extended query table address */ [all …]
|
| H A D | atmel_lcd.h | 23 ushort vl_col; /* Number of columns (i.e. 640) */ 24 ushort vl_row; /* Number of rows (i.e. 480) */ 25 ushort vl_rot; /* Rotation of Display (0, 1, 2, 3) */
|
| H A D | video.h | 73 ushort xsize; 74 ushort ysize; 75 ushort rot; 90 ushort *cmap;
|
| H A D | lcd_console.h | 14 void (*fp_putc_xy)(struct console_t *pcons, ushort x, ushort y, char c);
|
| H A D | stdio_dev.h | 64 ushort width; /* Horizontal resolution */ 65 ushort height; /* Vertical resolution */
|
| H A D | ide.h | 60 void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts); 61 void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts);
|
| H A D | net.h | 534 extern ushort net_our_vlan; /* Our VLAN */ 535 extern ushort net_native_vlan; /* Our Native VLAN */ 565 extern ushort cdp_native_vlan; /* CDP returned native VLAN */ 566 extern ushort cdp_appliance_vlan; /* CDP returned appliance VLAN */ 835 void vlan_to_string(ushort x, char *s); 838 ushort string_to_vlan(const char *s); 841 ushort env_get_vlan(char *);
|
| /rk3399_rockchip-uboot/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 …]
|
| H A D | net.c | 166 ushort net_our_vlan = 0xFFFF; 168 ushort net_native_vlan = 0xFFFF; 1047 ushort cti = 0, vlanid = VLAN_NONE, myvlanid, mynvlanid; in net_process_received_packet() 1072 if (myvlanid == (ushort)-1) in net_process_received_packet() 1075 if (mynvlanid == (ushort)-1) in net_process_received_packet() 1230 ushort *sumptr; in net_process_received_packet() 1231 ushort sumlen; in net_process_received_packet() 1241 sumptr = (ushort *)&(ip->udp_src); in net_process_received_packet() 1244 ushort sumdata; in net_process_received_packet() 1251 ushort sumdata; in net_process_received_packet() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | mii.c | 17 ushort regno; 31 ushort hi; 32 ushort lo; 33 ushort mask; 110 ushort len; 123 ushort regval, 128 ushort regno, 130 ushort regval); 133 ushort regvals[6], in MII_dump_0_to_5() 147 ushort regval, in dump_reg() [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | lcd.c | 113 ushort v_max = panel_info.vl_row; in test_pattern() 114 ushort h_max = panel_info.vl_col; in test_pattern() 115 ushort v_step = (v_max + N_BLK_VERT - 1) / N_BLK_VERT; in test_pattern() 116 ushort h_step = (h_max + N_BLK_HOR - 1) / N_BLK_HOR; in test_pattern() 117 ushort v, h; in test_pattern() 121 ushort *pix = (ushort *)lcd_base; in test_pattern() 340 ushort *cmap = configuration_get_cmap(); in lcd_logo_set_cmap() 348 ushort i, j; in lcd_logo_plot() 352 ushort *fb16; in lcd_logo_plot() 370 fb16 = (ushort *)fb; in lcd_logo_plot() [all …]
|
| H A D | lcd_console_rotation.c | 12 static void lcd_putc_xy90(struct console_t *pcons, ushort x, ushort y, char c) in lcd_putc_xy90() 65 static void lcd_putc_xy180(struct console_t *pcons, ushort x, ushort y, char c) in lcd_putc_xy180() 114 static void lcd_putc_xy270(struct console_t *pcons, ushort x, ushort y, char c) in lcd_putc_xy270()
|
| /rk3399_rockchip-uboot/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() 180 ushort *cmap = priv->cmap; in video_set_cmap() 196 ushort *cmap_base = NULL; in video_bmp_display() 201 ushort padded_width; in video_bmp_display()
|
| H A D | atmel_lcdfb.c | 53 ushort *configuration_get_cmap(void) in configuration_get_cmap() 55 return (ushort *)(panel_info.mmio + ATMEL_LCDC_LUT(0)); in configuration_get_cmap() 73 ushort colreg; in lcd_logo_set_cmap() 93 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg()
|
| /rk3399_rockchip-uboot/drivers/block/ |
| H A D | ide.c | 133 __weak void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_output_data_shorts() 135 ushort *dbuf; in ide_output_data_shorts() 136 volatile ushort *pbuf; in ide_output_data_shorts() 138 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_output_data_shorts() 139 dbuf = (ushort *)sect_buf; in ide_output_data_shorts() 150 __weak void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_input_data_shorts() 152 ushort *dbuf; in ide_input_data_shorts() 153 volatile ushort *pbuf; in ide_input_data_shorts() 155 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_input_data_shorts() 156 dbuf = (ushort *)sect_buf; in ide_input_data_shorts() [all …]
|