Home
last modified time | relevance | path

Searched refs:ushort (Results 1 – 25 of 142) sorted by relevance

123456

/external/u-boot/arch/powerpc/include/asm/
Dcpm_8xx.h23 #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 …]
Dcpm_85xx.h61 #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 …]
Dimmap_8xx.h22 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 …]
Diopin_8xx.h33 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 …]
/external/u-boot/arch/m68k/include/asm/
Dimmap_5272.h35 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 …]
Dfec.h22 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 …]
Dimmap_5282.h96 ushort wcr;
97 ushort wmr;
98 ushort wcntr;
99 ushort wsr;
/external/u-boot/net/
Dcdp.c42 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 …]
Dnet.c171 ushort net_our_vlan = 0xFFFF;
173 ushort net_native_vlan = 0xFFFF;
1062 ushort cti = 0, vlanid = VLAN_NONE, myvlanid, mynvlanid; in net_process_received_packet()
1087 if (myvlanid == (ushort)-1) in net_process_received_packet()
1090 if (mynvlanid == (ushort)-1) in net_process_received_packet()
1245 ushort *sumptr; in net_process_received_packet()
1246 ushort sumlen; in net_process_received_packet()
1256 sumptr = (ushort *)&(ip->udp_src); in net_process_received_packet()
1259 ushort sumdata; in net_process_received_packet()
1266 ushort sumdata; in net_process_received_packet()
[all …]
/external/u-boot/include/
Dlcd.h32 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
Dflash.h20 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 …]
Dpxa_lcd.h48 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 */
Dexynos_lcd.h25 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 */
Dvideo.h74 ushort xsize;
75 ushort ysize;
76 ushort rot;
91 ushort *cmap;
/external/u-boot/cmd/
Dmii.c16 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 …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test_tmp.h62 ushort (*depth16)[TILE_SIZE]; in NAME()
63 ushort init_idepth[4], idepth[4], depth_step; in NAME()
67 init_idepth[0] = (ushort)((z0) * scale); in NAME()
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); in NAME()
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); in NAME()
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
72 depth_step = (ushort)(dzdx * scale); in NAME()
87 depth16 = (ushort (*)[TILE_SIZE]) in NAME()
133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2]; in NAME()
/external/u-boot/common/
Dlcd.c112 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()
339 ushort *cmap = configuration_get_cmap(); in lcd_logo_set_cmap()
347 ushort i, j; in lcd_logo_plot()
351 ushort *fb16; in lcd_logo_plot()
369 fb16 = (ushort *)fb; in lcd_logo_plot()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vbuf.h86 ushort vertex_size,
87 ushort nr_vertices );
91 ushort min_index,
92 ushort max_index );
107 const ushort *indices,
Ddraw_pt_fetch_shade_emit.c203 (ushort)fse->key.output_stride, in fse_run_linear()
204 (ushort)count )) in fse_run_linear()
231 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fse_run_linear()
254 const ushort *draw_elts, in fse_run()
267 (ushort)fse->key.output_stride, in fse_run()
268 (ushort)fetch_count )) in fse_run()
292 draw->render->unmap_vertices( draw->render, 0, (ushort)(fetch_count - 1) ); in fse_run()
312 const ushort *draw_elts, in fse_run_linear_elts()
325 (ushort)fse->key.output_stride, in fse_run_linear_elts()
326 (ushort)count )) in fse_run_linear_elts()
[all …]
Ddraw_pt_vsplit.c48 ushort segment_size;
52 ushort draw_elts[SEGMENT_SIZE];
53 ushort identity_draw_elts[SEGMENT_SIZE];
58 ushort draws[MAP_SIZE];
61 ushort num_fetch_elts;
62 ushort num_draw_elts;
138 vsplit_add_cache_ushort(struct vsplit_frontend *vsplit, const ushort *elts, in vsplit_add_cache_ushort()
190 #define ELT_TYPE ushort
255 ushort i; in draw_pt_vsplit()
Ddraw_pt_fetch_emit.c193 const ushort *draw_elts, in fetch_emit_run()
206 (ushort)feme->translate->key.output_stride, in fetch_emit_run()
207 (ushort)fetch_count ); in fetch_emit_run()
235 (ushort)(fetch_count - 1) ); in fetch_emit_run()
265 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear()
266 (ushort)count )) in fetch_emit_run_linear()
312 const ushort *draw_elts, in fetch_emit_run_linear_elts()
325 (ushort)feme->translate->key.output_stride, in fetch_emit_run_linear_elts()
326 (ushort)count )) in fetch_emit_run_linear_elts()
342 draw->render->unmap_vertices( draw->render, 0, (ushort)(count - 1) ); in fetch_emit_run_linear_elts()
/external/u-boot/drivers/video/
Dvideo_bmp.c20 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap()
29 static void draw_encoded_bitmap(ushort **fbp, ushort col, int cnt) in draw_encoded_bitmap()
31 ushort *fb = *fbp; in draw_encoded_bitmap()
41 struct bmp_image *bmp, ushort *cmap, in video_display_rle8_bitmap()
94 (ushort **)&fb, in video_display_rle8_bitmap()
119 draw_encoded_bitmap((ushort **)&fb, in video_display_rle8_bitmap()
179 ushort *cmap = priv->cmap; in video_set_cmap()
195 ushort *cmap_base = NULL; in video_bmp_display()
200 ushort padded_width; in video_bmp_display()
/external/mesa3d/docs/specs/OLD/
DMESA_packed_depth_stencil.spec114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB
115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
124 UNSIGNED_SHORT_15_1_MESA ushort 2 DEPTH_STENCIL_MESA
125 UNSIGNED_SHORT_1_15_REV_MESA ushort 2 DEPTH_STENCIL_MESA
126 UNSIGNED_SHORT_24_8_MESA ushort 2 DEPTH_STENCIL_MESA
127 UNSIGNED_SHORT_8_24_REV_MESA ushort 2 DEPTH_STENCIL_MESA
/external/u-boot/drivers/block/
Dide.c132 __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 …]
/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_indices.c44 ushort *out_us = (ushort *)out; in translate_ubyte_ushort()
47 out_us[i] = (ushort) in_ub[i+start]; in translate_ubyte_ushort()
75 ushort *out_us = (ushort *)out; in generate_linear_ushort()
78 out_us[i] = (ushort)(i + start); in generate_linear_ushort()

123456