/src/sys/arch/hp300/stand/common/ |
ite_tvrx.c | 51 tvrx_init(struct ite_data *ip) 55 ip->bmv = ite_dio_windowmove1bpp; 56 ite_fontinfo(ip); 57 width = ((ip->ftwidth + 7) / 8) * 8; 58 ip->cpl = (ip->fbwidth - ip->dwidth) / width; 59 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight [all...] |
ite_subr.c | 53 ite_fontinfo(struct ite_data *ip) 55 uint32_t fontaddr = getword(ip, getword(ip, FONTROM) + FONTADDR); 57 ip->ftheight = getbyte(ip, fontaddr + FONTHEIGHT); 58 ip->ftwidth = getbyte(ip, fontaddr + FONTWIDTH); 59 ip->rows = ip->dheight / ip->ftheight [all...] |
ite_hy.c | 53 hyper_init(struct ite_data *ip) 55 struct hyboxfb *regbase = (void *)ip->regbase; 58 ip->bmv = ite_dio_windowmove1bpp; 59 ite_fontinfo(ip); 60 width = ((ip->ftwidth + 7) / 8) * 8; 61 ip->cpl = (ip->fbwidth - ip->dwidth) / width; 62 ip->cblanky = ip->fonty + ((128 / ip->cpl) +1) * ip->ftheight [all...] |
ite_tc.c | 56 topcat_init(struct ite_data *ip) 58 struct tcboxfb *regbase = (void *)ip->regbase; 60 ip->bmv = topcat_windowmove; 85 ip->planemask = *FBBASE; 90 regbase->fben = ip->planemask; 91 regbase->wen = ip->planemask; 92 regbase->ren = ip->planemask; 95 ite_fontinfo(ip); 100 topcat_windowmove(ip, 0, 0, 0, 0, ip->fbheight, ip->fbwidth, RR_CLEAR) [all...] |
ite.c | 204 struct ite_data *ip; local in function:iteconfig 221 ip = &ite_data[i]; 222 ip->scode = hw->hw_sc; 223 ip->isw = &itesw[dtype]; 224 ip->regbase = (void *)fb; 226 ip->fbbase = (void *)(*((uint8_t *)ip->regbase + fboff) << 16); 228 if (DIO_ISDIOII(ip->scode)) 229 ip->fbbase = (uint8_t *)ip->fbbase + (int)ip->regbase 309 struct ite_data *ip; local in function:iteprobe 348 struct ite_data *ip; local in function:iteinit 372 struct ite_data *ip = &ite_data[itecons]; local in function:iteputchar [all...] |
/src/sys/arch/amiga/dev/ |
ite.c | 88 #define SUBR_INIT(ip) (ip)->grf->g_iteinit(ip) 89 #define SUBR_DEINIT(ip) (ip)->grf->g_itedeinit(ip) 90 #define SUBR_PUTC(ip,c,dy,dx,m) (ip)->grf->g_iteputc(ip,c,dy,dx,m) 91 #define SUBR_CURSOR(ip,flg) (ip)->grf->g_itecursor(ip,flg 202 struct ite_softc *ip; local in function:iteattach 314 struct ite_softc *ip; local in function:itecninit 359 struct ite_softc *ip; local in function:itecnputc 390 struct ite_softc *ip; local in function:iteinit 418 struct ite_softc *ip; local in function:iteopen 534 struct ite_softc *ip; local in function:iteioctl 641 struct ite_softc *ip; local in function:ite_on 665 struct ite_softc *ip; local in function:ite_off 685 struct ite_softc *ip; local in function:ite_reinit 1274 struct ite_softc *ip; local in function:ite_putstr [all...] |
ite_ul.c | 103 #define UL_FG(ip) 0xFFFF 104 #define UL_BG(ip) 0x0000 140 ulowell_init(struct ite_softc *ip) 149 ba = (volatile struct gspregs *) ip->grf->g_regkva; 151 ip->font = kernel_font; 152 ip->font_lo = kernel_font_lo; 153 ip->font_hi = kernel_font_hi; 154 ip->ftwidth = kernel_font_width; 155 ip->ftheight = kernel_font_height; 156 ip->ftbaseline = kernel_font_baseline [all...] |
ite_rh.c | 95 rh_init(struct ite_softc *ip) 100 if (ip->grf == 0) 101 ip->grf = &grf_softc[ip - ite_softc]; 104 ip->priv = ip->grf->g_data; 105 md = (struct MonDef *) ip->priv; 107 ip->cols = md->TX; 108 ip->rows = md->TY; 113 rh_cursor(struct ite_softc *ip, int flag [all...] |
ite_cl.c | 65 void cl_init(struct ite_softc *ip); 66 void cl_cursor(struct ite_softc *ip, int flag); 67 void cl_deinit(struct ite_softc *ip); 68 void cl_putc(struct ite_softc *ip, int c, int dy, int dx, int mode); 69 void cl_clear(struct ite_softc *ip, int sy, int sx, int h, int w); 70 void cl_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir); 105 cl_init(struct ite_softc *ip) 109 ip->priv = ip->grf->g_data; 110 md = (struct grfcltext_mode *) ip->priv [all...] |
ite_et.c | 65 void et_init(struct ite_softc *ip); 66 void et_cursor(struct ite_softc *ip, int flag); 67 void et_deinit(struct ite_softc *ip); 68 void et_putc(struct ite_softc *ip, int c, int dy, int dx, int mode); 69 void et_clear(struct ite_softc *ip, int sy, int sx, int h, int w); 70 void et_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir); 108 et_init(struct ite_softc *ip) 112 ip->priv = ip->grf->g_data; 113 md = (struct grfettext_mode *) ip->priv [all...] |
/src/bin/stty/ |
key.c | 119 ksearch(char ***argvp, struct info *ip) 126 ip->off = 1; 129 ip->off = 0; 135 if (!(kp->flags & F_OFFOK) && ip->off) { 139 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 143 kp->f(ip); 148 f_all(struct info *ip) 150 print(&ip->t, &ip->win, ip->queue, ip->ldisc, STTY_BSD) [all...] |
/src/sys/arch/x68k/dev/ |
ite.c | 87 #define SUBR_INIT(ip) ip->isw->ite_init(ip) 88 #define SUBR_DEINIT(ip) ip->isw->ite_deinit(ip) 89 #define SUBR_PUTC(ip,c,dy,dx,m) ip->isw->ite_putc(ip,c,dy,dx,m) 90 #define SUBR_CURSOR(ip,flg) ip->isw->ite_cursor(ip,flg 210 struct ite_softc *ip; local in function:iteattach 250 struct ite_softc *ip; local in function:iteinit 292 struct ite_softc *ip; local in function:iteon 330 struct ite_softc *ip; local in function:iteoff 370 struct ite_softc *ip; local in function:iteopen 557 struct ite_softc *ip; local in function:ite_reinit 1207 struct ite_softc *ip; local in function:ite_putstr 2843 struct ite_softc *ip; local in function:itecninit 2884 struct ite_softc *ip = getitesp(dev); local in function:itecnputc [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/ |
switch16.S | 34 ldrh ip, [lr, #-1] // get first 16-bit word in table 35 cmp r0, ip // compare with index 37 add ip, lr, ip, lsl #1 // compute address of last element in table 40 ldrshhs r0, [ip, #1] // load 16-bit element if r0 out of range 41 add ip, lr, r0, lsl #1 // compute label = lr + element*2 42 bx ip // jump to computed label
|
switch32.S | 34 ldr ip, [lr, #-1] // get first 32-bit word in table 35 cmp r0, ip // compare with index 37 add ip, lr, ip, lsl #2 // compute address of last element in table 40 ldrhs r0, [ip, #3] // load 32-bit element if r0 out of range 41 add ip, lr, r0 // compute label = lr + element 42 bx ip // jump to computed label
|
switch8.S | 34 ldrb ip, [lr, #-1] // get first byte in table 35 cmp r0, ip // signed compare with index 38 ldrsbhs r0, [lr, ip] // if out of range, use last entry in table 39 add ip, lr, r0, lsl #1 // compute label = lr + element*2 40 bx ip // jump to computed label
|
switchu8.S | 34 ldrb ip, [lr, #-1] // get first byte in table 35 cmp r0, ip // compare with index 38 ldrbhs r0, [lr, ip] // if out of range, use last entry in table 39 add ip, lr, r0, lsl #1 // compute label = lr + element*2 40 bx ip // jump to computed label
|
/src/sys/arch/arm/arm/ |
cpu_in_cksum_fold.S | 32 * to reduce the 33-bit sum in <carry>, ip to a 16-bit return value. 50 adcs ip, ip, #0 /* add final carry bit */ 58 cmp ip, r1, lsl #16 /* is the upper halfword 0xffff? */ 66 adds ip, ip, ip, lsl #16 67 addcs ip, ip, #0x10000 68 eor r0, r1, ip, lsr #1 [all...] |
cpu_in_cksum_buffer.S | 66 adds ip, r2, #0 /* initialize accumulator/clear carry */ 117 adcs ip, ip, r4 118 adcs ip, ip, r5 120 adcs ip, ip, r6 121 adcs ip, ip, r7 123 adcs ip, ip, r [all...] |
cpu_in_cksum_v4hdr.S | 38 ldrne ip, [r0], #4 /* load 1st word */ 39 ldreq ip, [r0, #8] /* load 5th word */ 42 ldr ip, [r0] /* load 1st word */ 46 adds ip, ip, r3 /* accumulate */ 47 adcs ip, ip, r2 /* accumulate */ 54 adcs ip, ip, r1 /* accumulate */ 55 adcs ip, ip, r0 /* accumulate * [all...] |
/src/sys/arch/hp300/include/ |
cacheops_machdep.h | 83 volatile int *ip = (void *)(MMUbase + MMUCMD); local in function:DCIA_md 89 *ip &= ~MMU_CEN; 90 *ip |= MMU_CEN; 97 volatile int *ip = (void *)(MMUbase + MMUSSTP); local in function:DCIS_md 103 *ip = *ip; 110 volatile int *ip = (void *)(MMUbase + MMUUSTP); local in function:DCIU_md 116 *ip = *ip; 123 volatile int *ip = (void *)(MMUbase + MMUCMD) local in function:PCIA_md 143 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIA_md 176 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIAS_md 189 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIAU_md [all...] |
/src/sys/lib/libsa/ |
ip.c | 1 /* $NetBSD: ip.c,v 1.5 2022/07/08 07:02:47 skrll Exp $ */ 47 #include <netinet/ip.h> 62 * sends an IP packet, if it's already constructed 65 _sendip(struct iodesc *d, struct ip *ip, size_t len) 69 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 || 70 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) { 71 ea = arpwhohas(d, ip->ip_dst) 87 struct ip *ip; local in function:sendip 125 struct ip *ip; local in function:readip [all...] |
/src/usr.sbin/lpr/lpd/ |
key.c | 104 ksearch(char ***argvp, struct info *ip) 111 ip->off = 1; 114 ip->off = 0; 120 if (!(kp->flags & F_OFFOK) && ip->off) { 124 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 129 kp->f(ip); 134 f_cbreak(struct info *ip) 137 if (ip->off) 138 f_sane(ip); 140 ip->t.c_iflag |= BRKINT|IXON|IMAXBEL [all...] |
/src/usr.bin/lam/ |
lam.c | 81 struct openfile *ip; local in function:main 88 for (ip = input; ip->fp != NULL; ip++) 89 linep = gatherline(ip); 93 fputs(ip->sepstring, stdout); 102 struct openfile *ip = input; local in function:getargs 114 ip->fp = stdin; 115 else if ((ip->fp = fopen(p, "r")) == NULL) 117 ip->pad = P [all...] |
/src/common/lib/libc/arch/arm/string/ |
memset_naive.S | 41 mov ip, r0 /* need to preserve r0 */ 48 ands r2, ip, #7 /* are we dword aligned? */ 52 tst ip, #1 /* halfword aligned? */ 53 strneb r3, [ip], #1 /* nope, write a byte */ 54 tst ip, #2 /* word aligned? */ 55 strneh r3, [ip], #2 /* nope, write a halfword */ 56 tst ip, #4 /* dword aligned? */ 57 strne r3, [ip], #4 /* nope, write a word */ 63 stmhsia ip!, {r2,r3} /* yes, write the first 8 of them */ 64 stmhsia ip!, {r2,r3} /* yes, write the second 8 of them * [all...] |
memset.S | 112 mov ip, r0 116 ands r2, ip, #0x03 /* Get the bottom two bits */ 125 tst ip, #0x04 /* Quad-align for Xscale */ 134 strne r3, [ip], #0x04 146 strdhs r2, r3, [ip], #0x08 147 strdhs r2, r3, [ip], #0x08 148 strdhs r2, r3, [ip], #0x08 149 strdhs r2, r3, [ip], #0x08 150 strdhs r2, r3, [ip], #0x08 151 strdhs r2, r3, [ip], #0x0 [all...] |