HomeSort by: relevance | last modified time | path
    Searched defs:ri (Results 1 - 25 of 125) sorted by relevancy

1 2 3 4 5

  /src/sys/crypto/blowfish/
bf_skey.c 80 BF_LONG *p, ri, in[2]; local in function:BF_set_key
92 ri = *(d++);
95 ri <<= 8;
96 ri |= *(d++);
99 ri <<= 8;
100 ri |= *(d++);
103 ri <<= 8;
104 ri |= *(d++);
107 p[i] ^= ri;
  /src/sys/arch/evbmips/gdium/
gdium_genfb.c 67 struct rasops_info * const ri = &gdium_console_screen.scr_ri; local in function:gdium_cnattach
74 ri->ri_width = 1024;
75 ri->ri_height = 600;
76 ri->ri_depth = 16;
77 ri->ri_stride = 0x800;
83 ri->ri_bits = (char *)MIPS_PHYS_TO_KSEG1(BONITO_PCILO_BASE + reg);
84 ri->ri_flg = RI_CENTER | RI_NO_AUTO;
86 memset(ri->ri_bits, 0, 0x200000);
89 rasops_init(ri, 30, 80);
91 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight
    [all...]
  /src/sys/arch/evbppc/virtex/dev/
tft.c 76 struct rasops_info *ri; local in function:tft_attach
106 ri = &sc->sc_vc_screen.scr_ri;
107 sc->sc_ws_descr->textops = &ri->ri_ops;
108 sc->sc_ws_descr->capabilities = ri->ri_caps;
109 sc->sc_ws_descr->nrows = ri->ri_rows;
110 sc->sc_ws_descr->ncols = ri->ri_cols;
113 sc->sc_sp_info.si_depth = ri->ri_depth;
114 sc->sc_sp_info.si_bits = ri->ri_bits;
115 sc->sc_sp_info.si_hwbits = ri->ri_hwbits;
116 sc->sc_sp_info.si_width = ri->ri_width
145 struct rasops_info *ri = &scr->scr_ri; local in function:tft_init_screen
    [all...]
  /src/sys/dev/rasops/
rasops1_putchar_width.h 64 struct rasops_info *ri = (struct rasops_info *)cookie; local in function:NAME
65 struct wsdisplay_font *font = PICK_FONT(ri, uc);
78 if ((unsigned)row >= (unsigned)ri->ri_rows)
81 if ((unsigned)col >= (unsigned)ri->ri_cols)
87 rp = (SUBST_UNIT *)(ri->ri_bits + row * ri->ri_yscale +
89 if (ri->ri_hwbits)
90 hp = (SUBST_UNIT *)(ri->ri_hwbits + row * ri->ri_yscale +
93 bg = ATTR_BG(ri, attr)
    [all...]
rasops1-4_putchar.h 89 struct rasops_info *ri = (struct rasops_info *)cookie; local in function:NAME
90 struct wsdisplay_font *font = PICK_FONT(ri, uc);
104 if ((unsigned)row >= (unsigned)ri->ri_rows)
107 if ((unsigned)col >= (unsigned)ri->ri_cols)
115 rp = (uint32_t *)(ri->ri_bits + row * ri->ri_yscale +
117 if (ri->ri_hwbits)
118 hp = (uint32_t *)(ri->ri_hwbits + row * ri->ri_yscale +
123 bg = ATTR_BG(ri, attr)
    [all...]
rasops1.c 64 rasops1_init(struct rasops_info *ri)
67 if ((ri->ri_font->fontwidth & 7) != 0) {
68 ri->ri_ops.erasecols = rasops1_erasecols;
69 ri->ri_ops.copycols = rasops1_copycols;
70 ri->ri_do_cursor = rasops1_do_cursor;
73 switch (ri->ri_font->fontwidth) {
76 ri->ri_ops.putchar = rasops1_putchar8;
79 ri->ri_ops.putchar = rasops1_putchar16;
83 ri->ri_ops.putchar = rasops1_putchar;
94 struct rasops_info *ri = (struct rasops_info *)cookie local in function:rasops1_putchar
    [all...]
rasops_putchar.h 51 *(p)++ = (((r) >> (8 - ri->ri_rnum)) << ri->ri_rpos) | \
52 (((g) >> (8 - ri->ri_gnum)) << ri->ri_gpos) | \
53 (((b) >> (8 - ri->ri_bnum)) << ri->ri_bpos)
78 #define R_OFF (ri->ri_rpos / 8)
79 #define G_OFF (ri->ri_gpos / 8)
80 #define B_OFF (ri->ri_bpos / 8)
82 #define R_OFF (2 - ri->ri_rpos / 8
100 struct rasops_info *ri = (struct rasops_info *)cookie; local in function:NAME
    [all...]
rasops_putchar_width.h 209 struct rasops_info *ri = (struct rasops_info *)cookie; local in function:NAME
210 struct wsdisplay_font *font = PICK_FONT(ri, uc);
224 if ((unsigned)row >= (unsigned)ri->ri_rows)
227 if ((unsigned)col >= (unsigned)ri->ri_cols)
239 if (attr != stamp_attr || __predict_false(ri != stamp_ri))
240 MAKESTAMP(RASOPS_DEPTH)(ri, attr);
244 rp = (STAMP_TYPE *)(ri->ri_bits + FBOFFSET(ri, row, col));
245 if (ri->ri_hwbits)
246 hp = (STAMP_TYPE *)(ri->ri_hwbits + FBOFFSET(ri, row, col))
    [all...]
  /src/sys/arch/x86/x86/
genfb_machdep.c 102 struct rasops_info *ri = &x86_genfb_console_screen.scr_ri; local in function:x86_genfb_init
146 ri->ri_width = fbinfo->width;
147 ri->ri_height = fbinfo->height;
148 ri->ri_depth = fbinfo->depth;
149 ri->ri_stride = fbinfo->stride;
150 ri->ri_rnum = fbinfo->rnum;
151 ri->ri_gnum = fbinfo->gnum;
152 ri->ri_bnum = fbinfo->bnum;
153 ri->ri_rpos = fbinfo->rpos;
154 ri->ri_gpos = fbinfo->gpos
182 struct rasops_info *ri = &x86_genfb_console_screen.scr_ri; local in function:x86_genfb_cnattach
    [all...]
  /src/sys/arch/riscv/riscv/
db_machdep.c 135 const union riscv_insn ri = { .val = insn }; local in function:inst_call
136 return (OPCODE_P(insn, JAL) && ri.type_u.u_rd == 1)
137 || (OPCODE_P(insn, JALR) && ri.type_i.i_rd == 1);
151 const union riscv_insn ri = { .val = insn }; local in function:inst_return
152 return OPCODE_P(insn, JALR) && ri.type_i.i_rs1 == 1;
  /src/sys/arch/arm/broadcom/
bcm2835_genfb.c 158 struct rasops_info *ri = &sc->sc_gen.vd.active->scr_ri; local in function:bcmgenfb_ioctl
161 ret = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/arch/arm/nvidia/
tegra_fb.c 149 struct rasops_info *ri = &sc->sc_genfb.vd.active->scr_ri; local in function:tegra_fb_ioctl
162 error = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/arch/evbmips/loongson/
gdium_machdep.c 333 struct rasops_info * const ri = &gdium_console_screen.scr_ri; local in function:gdium_cnattach
349 ri->ri_width = 1024;
350 ri->ri_height = 600;
351 ri->ri_depth = 16;
352 ri->ri_stride = 0x800;
358 ri->ri_bits = (char *)MIPS_PHYS_TO_KSEG1(BONITO_PCILO_BASE + reg);
359 ri->ri_flg = RI_CENTER | RI_NO_AUTO;
361 memset(ri->ri_bits, 0, 0x200000);
364 rasops_init(ri, 30, 80);
366 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_headc57d.c 122 u16 ri = 0, gi = 0, bi = 0, i; local in function:headc57d_olut_load_8
125 ri = (drm_color_lut_extract(in-> red, 16) - r) / 4;
131 writew(r + ri * i, mem + 0);
  /src/sys/arch/arm/rockchip/
rk_fb.c 170 struct rasops_info *ri = &sc->sc_genfb.vd.active->scr_ri; local in function:rk_fb_ioctl
183 error = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/arch/arm/sunxi/
sunxi_fb.c 154 struct rasops_info *ri = &sc->sc_genfb.vd.active->scr_ri; local in function:sunxi_fb_ioctl
167 error = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/arch/arm/ti/
ti_fb.c 149 struct rasops_info *ri = &sc->sc_genfb.vd.active->scr_ri; local in function:ti_fb_ioctl
162 error = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/dev/wscons/
wsdisplay_glyphcache.c 193 struct rasops_info *ri = &scr->scr_ri; local in function:glyphcache_adapt
195 if (ri->ri_wsfcookie != gc->gc_fontcookie) {
197 gc->gc_fontcookie = ri->ri_wsfcookie;
200 glyphcache_reconfig(gc, ri->ri_font->fontwidth,
201 ri->ri_font->fontheight, scr->scr_defattr);
  /src/sys/arch/mac68k/dev/
genfb_grfbus.c 135 struct rasops_info *ri; local in function:genfb_grfbus_ioctl
151 ri = &sc->sc_gen.vd.active->scr_ri;
152 error = wsdisplayio_get_fbinfo(ri, fbi);
  /src/sys/arch/hp300/dev/
gendiofb.c 147 struct rasops_info *ri = &fb->ri; local in function:gendiofb_reset
161 ri->ri_depth = 8;
162 ri->ri_stride = (fb->fbwidth * ri->ri_depth) / 8;
164 ri->ri_flg = RI_CENTER | RI_FULLCLEAR;
166 ri->ri_flg |= RI_NO_AUTO; /* XXX */
167 ri->ri_bits = fb->fbkva;
168 ri->ri_width = fb->dwidth;
169 ri->ri_height = fb->dheight
    [all...]
  /src/lib/libc/db/btree/
bt_debug.c 204 RINTERNAL *ri; local in function:__bt_dpage
249 ri = GETRINTERNAL(h, cur);
251 ri->nrecs, ri->pgno);
  /src/sys/arch/arm/clps711x/
clpslcd.c 121 struct rasops_info *ri; local in function:clpslcd_attach
162 ri = &sc->sc_ri;
163 ri->ri_depth = depth;
164 ri->ri_bits = (void *)addr;
165 ri->ri_width = width;
166 ri->ri_height = height;
167 ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
168 ri->ri_flg = RI_FORCEMONO | RI_CLEAR | RI_CENTER;
173 if (rasops_init(ri, 0, 0) < 0
    [all...]
  /src/sys/arch/epoc32/windermere/
wmlcd.c 143 struct rasops_info *ri; local in function:wmlcd_attach
190 ri = &sc->sc_ri;
191 ri->ri_depth = depth;
192 ri->ri_bits = (void *)(addr + LCD_PALETTE_SIZE);
193 ri->ri_width = width;
194 ri->ri_height = height;
195 ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
196 ri->ri_flg = RI_FORCEMONO | RI_CLEAR | RI_CENTER;
201 if (rasops_init(ri, 0, 0) < 0
    [all...]
  /src/sys/arch/powerpc/oea/
ofw_rascons.c 84 struct rasops_info *ri = &rascons_console_screen.scr_ri; local in function:rascons_cnattach
106 rascons_init_rasops(console_node, ri);
113 if (ri->ri_width >= 1024 && ri->ri_height >= 768) {
114 int i, screenbytes = ri->ri_stride * ri->ri_height;
122 rascons_stdscreen.nrows = ri->ri_rows;
123 rascons_stdscreen.ncols = ri->ri_cols;
124 rascons_stdscreen.textops = &ri->ri_ops;
125 rascons_stdscreen.capabilities = ri->ri_caps
163 struct rasops_info *ri = &rascons_console_screen.scr_ri; local in function:rascons_finalize
    [all...]
  /src/sys/arch/zaurus/dev/
w100.c 189 struct rasops_info *ri; local in function:w100_attach_subr
199 ri = &scr->rinfo;
200 ri->ri_hw = (void *)scr;
201 ri->ri_bits = scr->buf_va;
202 w100_setup_rasops(sc, ri, descr, geom);
205 (*ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr);
209 wsdisplay_cnattach(&descr->c, ri, ri->ri_ccol, ri->ri_crow
    [all...]

Completed in 20 milliseconds

1 2 3 4 5