Searched refs:val (Results 26 - 50 of 424) sorted by relevance

1234567891011>>

/barrelfish-master/usr/tests/octopus/
H A Dcommon.h12 #define ASSERT_ERR(val, errno) (assert(err_no((val)) == (errno)))
/barrelfish-master/usr/arrakismon/
H A Dpci_host.c38 enum opsize size, uint32_t val)
44 enum opsize size, uint32_t *val)
49 *val = INVALID;
54 *val = h->pci_header[addr.d.doubleword];
56 addr.d.doubleword, size, *val);
59 *val = (*val) & 0xffff;
62 *val = INVALID;
36 confspace_write(struct pci_device *dev, union pci_config_address_word addr, enum opsize size, uint32_t val) argument
42 confspace_read(struct pci_device *dev, union pci_config_address_word addr, enum opsize size, uint32_t *val) argument
H A Dpci.c25 uint32_t val)
31 VMKIT_PCI_DEBUG("wrote %x to 0xcf8\n", val);
33 pci->address.raw = val;
48 VMKIT_PCI_DEBUG("wrote %x to 0x%x\n", val, port);
61 dev->confspace_write(dev, pci->address, size, val);
75 uint32_t *val)
81 *val = pci->address.raw;
82 VMKIT_PCI_DEBUG("read from 0xcf8: %x\n", *val);
95 *val = INVALID;
102 dev->confspace_read(dev, pci->address, size, val);
24 pci_handle_pio_write(struct pci *pci, uint16_t port, enum opsize size, uint32_t val) argument
74 pci_handle_pio_read(struct pci *pci, uint16_t port, enum opsize size, uint32_t *val) argument
[all...]
H A Dpc16550d.c135 enum opsize size, uint32_t *val)
148 *val = pc16550d_mem_dll_rd_raw(&u->dev);
151 *val = pc16550d_mem_dl_rd_raw(&u->dev);
158 *val = 0;
160 *val = u->fifo_in[FIFO_POS(u->fifo_in_consumed)];
174 *val = pc16550d_mem_dlm_rd_raw(&u->dev);
177 *val = pc16550d_mem_ier_rd_raw(&u->dev);
182 *val = pc16550d_mem_iir_rd_raw(&u->dev);
191 *val = pc16550d_mem_lcr_rd_raw(&u->dev);
195 *val
134 pc16550d_handle_pio_read(struct pc16550d *u, uint16_t port, enum opsize size, uint32_t *val) argument
224 pc16550d_handle_pio_write(struct pc16550d *u, uint16_t port, enum opsize size, uint32_t val) argument
[all...]
/barrelfish-master/usr/vmkitmon/
H A Dpci_host.c38 enum opsize size, uint32_t val)
44 enum opsize size, uint32_t *val)
49 *val = INVALID;
54 *val = h->pci_header[addr.d.doubleword];
56 addr.d.doubleword, size, *val);
59 *val = (*val) & 0xffff;
62 *val = INVALID;
36 confspace_write(struct pci_device *dev, union pci_config_address_word addr, enum opsize size, uint32_t val) argument
42 confspace_read(struct pci_device *dev, union pci_config_address_word addr, enum opsize size, uint32_t *val) argument
H A Dpci.c26 uint32_t val)
32 VMKIT_PCI_DEBUG("wrote %x to 0xcf8\n", val);
34 pci->address.raw = val;
49 VMKIT_PCI_DEBUG("wrote 0x%x to address:0x%x (port:0x%x)\n", val, pci->address.raw, port);
62 dev->confspace_write(dev, pci->address, size, val);
76 uint32_t *val)
84 *val = pci->address.raw;
85 VMKIT_PCI_DEBUG("read from 0xcf8: %x\n", *val);
99 *val = INVALID;
106 dev->confspace_read(dev, pci->address, size, val);
25 pci_handle_pio_write(struct pci *pci, uint16_t port, enum opsize size, uint32_t val) argument
75 pci_handle_pio_read(struct pci *pci, uint16_t port, enum opsize size, uint32_t *val) argument
[all...]
H A Dpci.h38 enum opsize size, uint32_t val);
42 enum opsize size, uint32_t *val);
45 uint32_t addr, int bar, uint32_t val);
49 int bar, uint32_t *val);
79 uint32_t val);
81 uint32_t *val);
/barrelfish-master/lib/phoenix/
H A Diterator.c54 itr->val = NULL;
67 itr->val = NULL;
77 itr->val = itr->list_array[0]->vals;
103 itr->val = list->vals;
117 if (itr->current_index >= itr->val->next_insert_pos)
120 if (itr->val->next_val)
123 itr->val = itr->val->next_val;
127 if (itr->val->next_val) {
128 __builtin_prefetch (itr->val
[all...]
/barrelfish-master/lib/acpica/source/include/platform/
H A Dacos2.h154 unsigned long long val = 0LL; \
155 val = n_lo | ( ((unsigned long long)h_hi) << 32 ); \
156 __llrotr (val,1); \
157 n_hi = (unsigned long)((val >> 32 ) & 0xffffffff ); \
158 n_lo = (unsigned long)(val & 0xffffffff); \
/barrelfish-master/usr/tests/lrpc_fpu/
H A Dlrpc_fpu.c35 static void set_xmm1(double val) argument
40 : "r" (val)
46 double val = -1; local
50 : "=r" (val));
52 return val;
56 static void set_xmm1(double val) argument
62 : "r" (val)
65 __asm volatile("vmov.32 d15[0], %[val]\n\t" : : [val] "r" (val));
70 float val = -1; local
99 double val = -1; local
120 uint64_t val; local
217 double val = get_xmm1(); local
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/asn1/
H A Dx_attrib.c102 ASN1_TYPE *val=NULL;
109 if ((val=ASN1_TYPE_new()) == NULL) goto err;
110 if (!sk_ASN1_TYPE_push(ret->value.set,val)) goto err;
112 ASN1_TYPE_set(val,atrtype,value);
116 if (val != NULL) ASN1_TYPE_free(val);
/barrelfish-master/lib/lwip2/src/core/ipv4/
H A Dip4_addr.c135 ip4_addr_t val; local
137 if (ip4addr_aton(cp, &val)) {
138 return ip4_addr_get_u32(&val);
157 u32_t val; local
173 val = 0;
186 val = (val * base) + (u32_t)(c - '0');
189 val = (val << 4) | (u32_t)(c + 10 - (islower(c) ? 'a' : 'A'));
205 *pp++ = val;
[all...]
/barrelfish-master/lib/arranet/
H A Dip_addr.c133 ip_addr_t val; local
135 if (ipaddr_aton(cp, &val)) {
136 return ip4_addr_get_u32(&val);
155 u32_t val; local
170 val = 0;
182 val = (val * base) + (int)(c - '0');
185 val = (val << 4) | (int)(c + 10 - (islower(c) ? 'a' : 'A'));
200 *pp++ = val;
[all...]
/barrelfish-master/kernel/arch/arm/
H A Dgic.c220 uint8_t val = ((edge_triggered&0x1) << 1) | (one_to_n&0x1); local
223 pl390_gic_dist_ICDICR_conf0_wrf(&gic_dist, ind, val);
226 pl390_gic_dist_ICDICR_conf1_wrf(&gic_dist, ind, val);
229 pl390_gic_dist_ICDICR_conf2_wrf(&gic_dist, ind, val);
232 pl390_gic_dist_ICDICR_conf3_wrf(&gic_dist, ind, val);
235 pl390_gic_dist_ICDICR_conf4_wrf(&gic_dist, ind, val);
238 pl390_gic_dist_ICDICR_conf5_wrf(&gic_dist, ind, val);
241 pl390_gic_dist_ICDICR_conf6_wrf(&gic_dist, ind, val);
244 pl390_gic_dist_ICDICR_conf7_wrf(&gic_dist, ind, val);
247 pl390_gic_dist_ICDICR_conf8_wrf(&gic_dist, ind, val);
[all...]
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dterm_copy.c120 #define HeaptermSize(pw) HeaptermHeader(pw)->val.nint
185 dest->val.all = v.all;\
211 arg_pw->val.ptr = dest;
214 dest->val.ptr = dest; /* make a new simple variable */
219 dest->val.ptr = v.ptr;
231 dest->val.ptr = top;
241 arg_pw->val.ptr = top;
250 dest->val.ptr = dest;
255 dest->val.ptr = top; /* reference to copied variable */
265 arg_pw->val
1295 _mark_variables_trailed(value val, type tag) argument
[all...]
/barrelfish-master/lib/libc/inet/
H A Dinet_net_pton.c195 int val; local
198 val = 0;
205 if (n++ != 0 && val == 0) /*%< no leading zeros */
207 val *= 10;
208 val += (pch - digits);
209 if (val > 128) /*%< range */
217 *bitsp = val;
226 u_int val; local
229 val = 0;
236 if (n++ != 0 && val
271 u_int val; local
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_pci.c75 static int process_pci_value(CONF_VALUE *val, argument
81 if (strcmp(val->name, "language") == 0)
86 X509V3_conf_err(val);
89 if (!(*language = OBJ_txt2obj(val->value, 0)))
92 X509V3_conf_err(val);
96 else if (strcmp(val->name, "pathlen") == 0)
101 X509V3_conf_err(val);
104 if (!X509V3_get_value_int(val, pathlen))
107 X509V3_conf_err(val);
111 else if (strcmp(val
[all...]
/barrelfish-master/kernel/arch/x86/
H A Dpit.c61 uint16_t val; local
77 val = lpc_timer_cntacc0_rd(&timer) << 8;
78 val |= lpc_timer_cntacc0_rd(&timer);
84 return val;
H A Dpic.c154 uint8_t val = lpc_pic_master_ocw1_rd(&pic); local
157 val &= ~mask;
159 val |= mask;
162 lpc_pic_master_ocw1_wr(&pic, val);
166 uint8_t val = lpc_pic_slave_ocw1_rd(&pic); local
169 val &= ~mask;
171 val |= mask;
174 lpc_pic_slave_ocw1_wr(&pic, val);
/barrelfish-master/usr/tests/thcminitest/
H A Dthcminitest.c37 uint64_t val; local
56 val = 0;
58 debug_printf(" --- %d -->\n", (int)val);
59 cl.send.ping(&cl, val);
60 cl.recv.pong(&cl, &val);
61 } while (val < ITERATIONS);
78 uint64_t val = m.args.ping.val; local
79 val++;
80 printf(" <-- %d ---\n", (int)val);
[all...]
/barrelfish-master/kernel/arch/x86_32/
H A Dexec.c39 uint8_t val = inb(0xcf9) & ~0x6; local
40 val |= 0x2; // hard reset mode
41 outb(0xcf9, val);
42 val |= 0x4; // do the reset!
43 outb(0xcf9, val);
193 volatile uint64_t *val = (uint64_t *)base; local
198 while(*val == lastval) {
200 if(*val != lastval) {
/barrelfish-master/usr/drivers/lpc_timer/
H A Dtimer.c99 uint16_t val; local
115 val = lpc_timer_cntacc0_rd(&timer) << 8;
116 val |= lpc_timer_cntacc0_rd(&timer);
119 status.cnt_stat ? " null count read," : "", val);
125 return val;
235 uint16_t val = timer0_read(); local
236 uint64_t us = (val + timer_remainder) * TIMER0_PERIOD_NS / 1000;
239 val, timer_remainder, us);
/barrelfish-master/lib/libc/iconv/
H A Dcitrus_region.h87 uint16_t val; local
89 memcpy(&val, _citrus_region_offset(r, pos), (size_t)2);
90 return (val);
96 uint32_t val; local
98 memcpy(&val, _citrus_region_offset(r, pos), (size_t)4);
99 return (val);
/barrelfish-master/include/x86emu/
H A Dx86emui.h87 extern void (X86APIP sys_wrb)(u32 addr,u8 val);
88 extern void (X86APIP sys_wrw)(u32 addr,u16 val);
89 extern void (X86APIP sys_wrl)(u32 addr,u32 val);
94 extern void (X86APIP sys_outb)(X86EMU_pioAddr addr,u8 val);
95 extern void (X86APIP sys_outw)(X86EMU_pioAddr addr,u16 val);
96 extern void (X86APIP sys_outl)(X86EMU_pioAddr addr,u32 val);
/barrelfish-master/usr/tests/bomptest/
H A Dprogress-new.c60 uint64_t val = starta[n][i]; local
62 val /= 10;
63 if(val == 0) {
71 uint64_t val = 1; local
73 val *= 10;
75 printf("%lu\t%lu\n", val, hgram[i]);

Completed in 97 milliseconds

1234567891011>>