Searched refs:val (Results 51 - 75 of 467) sorted by relevance

1234567891011>>

/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_traps.cpp20 WriteModeSet(uint32_t val) argument
25 if (((1LL << i) & val) != 0) {
35 WriteExt(uint64_t val) argument
37 switch (val) {
42 default: dprintf("%" B_PRId64, val);
48 WriteSstatus(uint64_t val) argument
50 SstatusReg status{.val = val};
51 dprintf("%#" B_PRIx64, val);
67 WriteInterrupt(uint64_t val) argument
85 WriteInterruptSet(uint64_t val) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_synaptics.cpp106 uint8 val[8]; local
109 val[2 * i] = (arg >> (6 - 2 * i)) & 3;
110 val[2 * i + 1] = 0xE8;
112 return ps2_dev_command_timeout(dev, 0xE8, val, 7, NULL, 0, timeout);
135 uint8 val[3])
149 return ps2_dev_command(dev, 0xE9, NULL, 0, val, 3);
348 uint8 val[3]; local
351 get_information_query(dev, nExtendedQueries, kReadCapabilities, val);
353 TRACE("SYNAPTICS: extended mode %2x\n", val[0] >> 7 & 1);
354 sTouchpadInfo.capExtended = val[
134 get_information_query(ps2_dev *dev, uint8 extendedQueries, uint8 query, uint8 val[3]) argument
480 uint8 val; local
539 uint8 val[3]; local
782 uint8 val; local
[all...]
H A Dps2_elantech.cpp186 uint8 val[3]; local
199 if (ps2_dev_command(dev, PS2_CMD_MOUSE_GET_INFO, NULL, 0, val, 3)
205 if (val[0] != 0x3c || val[1] != 0x3 || (val[2] != 0xc8 && val[2] != 0x0)) {
210 val[0] = 0;
211 if (synaptics_dev_send_command(dev, ELANTECH_CMD_GET_VERSION, val, 3)
217 if (val[0] == 0x0 || val[
296 uint8 val[3]; local
338 uint8 val[3]; local
352 uint8 val[3]; local
420 uint8 val; local
487 uint8 val[3]; local
673 uint8 val; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_fixup.cpp46 uint32 val = pci->ReadConfig(domain, bus, device, function, 0x40, 4); local
47 dprintf("jmicron_fixup_ahci: Register 0x40 : 0x%08" B_PRIx32 "\n", val);
50 val &= ~(1 << 1);
51 val &= ~(1 << 9);
52 val &= ~(1 << 13);
53 val &= ~(1 << 15);
54 val &= ~(1 << 16);
55 val &= ~(1 << 17);
56 val &= ~(1 << 18);
57 val
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_vht.c350 uint32_t val, val1, val2; local
376 val = MIN(val1, val2);
377 new_vhtcap |= _IEEE80211_SHIFTMASK(val, IEEE80211_VHTCAP_MAX_MPDU_MASK);
392 val = MIN(val1, val2);
393 new_vhtcap |= _IEEE80211_SHIFTMASK(val,
403 val = MIN(val1, val2);
404 new_vhtcap |= _IEEE80211_SHIFTMASK(val, IEEE80211_VHTCAP_RXLDPC);
413 val = MIN(val1, val2);
414 new_vhtcap |= _IEEE80211_SHIFTMASK(val, IEEE80211_VHTCAP_SHORT_GI_80);
423 val
[all...]
/haiku/src/add-ons/kernel/busses/i2c/ocores/
H A Docores_i2c.cpp40 OcoresI2c::WriteByte(OcoresI2cRegsCommand cmd, uint8 val) argument
44 //dprintf("OcoresI2c::WriteByte(cmd: %#02x, val: %#02x)\n", cmd.val, val);
45 fRegs->data = val;
46 fRegs->command.val = cmd.val;
53 OcoresI2c::ReadByte(OcoresI2cRegsCommand cmd, uint8& val) argument
58 fRegs->command.val = cmd.val;
71 uint8 val = OcoresI2cRegsAddress7{.read = isRead, .address = (uint8)adr}.val; local
[all...]
/haiku/headers/libs/x86emu/
H A Dx86emu.h87 void (X86APIP outb) (X86EMU_pioAddr addr, u8 val);
88 void (X86APIP outw) (X86EMU_pioAddr addr, u16 val);
89 void (X86APIP outl) (X86EMU_pioAddr addr, u32 val);
118 void (X86APIP wrb) (u32 addr, u8 val);
119 void (X86APIP wrw) (u32 addr, u16 val);
120 void (X86APIP wrl) (u32 addr, u32 val);
130 extern void X86API wrb(u32 addr, u8 val);
131 extern void X86API wrw(u32 addr, u16 val);
132 extern void X86API wrl(u32 addr, u32 val);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_power.c37 u_int32_t val; local
40 val = OS_REG_READ(ah, AR_MCAST_FIL0);
41 val &= ~ahp->ah_mcast_filter_l32_set;
42 OS_REG_WRITE(ah, AR_MCAST_FIL0, val);
45 val = OS_REG_READ(ah, AR_MCAST_FIL1);
46 val &= ~ahp->ah_mcast_filter_u32_set;
47 OS_REG_WRITE(ah, AR_MCAST_FIL1, val);
57 u_int32_t reg, val; local
60 memcpy((u_int8_t *) &val, &mc_addr[0], 3);
61 pos = (val >> 1
399 int val; local
498 u_int32_t val; local
930 u_int32_t val; local
1024 uint32_t init_val, val, rval = 0; local
1424 uint32_t val = 0, rval; local
1558 uint32_t val; local
[all...]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_net_pton.c204 int val; local
207 val = 0;
214 if (n++ != 0 && val == 0) /* no leading zeros */
216 val *= 10;
217 val += (int)(pch - digits);
218 if (val > 128) /* range */
226 *bitsp = val;
236 u_int val; local
239 val = 0;
246 if (n++ != 0 && val
282 u_int val; local
[all...]
/haiku/src/libs/libfdt/
H A Dfdt_strerror.c18 #define FDT_ERRTABENT(val) \
19 [(val)] = { .str = #val, }
/haiku/headers/libs/x86emu/x86emu/
H A Ddecode.h69 void store_data_byte(uint offset, u8 val);
70 void store_data_byte_abs(uint segment, uint offset, u8 val);
71 void store_data_word(uint offset, u16 val);
72 void store_data_word_abs(uint segment, uint offset, u16 val);
73 void store_data_long(uint offset, u32 val);
74 void store_data_long_abs(uint segment, uint offset, u32 val);
/haiku/src/bin/network/telnetd/
H A Dauthenc.c79 telnet_getenv(char *val) argument
81 return(getenv(val));
/haiku/src/tests/kits/app/bmessage/
H A DMessageMessengerItemTest.h26 static status_t Add(BMessage& msg, const char* name, BMessenger& val) argument
27 { return msg.AddMessenger(name, val); }
32 BMessenger* val)
33 { return msg.FindMessenger(name, index, val); }
34 static status_t ShortFind(BMessage& msg, const char* name, BMessenger* val) argument
35 { return msg.FindMessenger(name, val); }
45 BMessenger& val)
46 { return msg.ReplaceMessenger(name, index, val); }
31 Find(BMessage& msg, const char* name, int32 index, BMessenger* val) argument
44 Replace(BMessage& msg, const char* name, int32 index, BMessenger& val) argument
/haiku/src/add-ons/translators/psd/
H A DPSDWriter.cpp329 PSDWriter::_WriteInt64ToStream(BPositionIO *stream, int64 val) argument
331 val = B_HOST_TO_BENDIAN_INT64(val);
332 stream->Write(&val, sizeof(int32));
337 PSDWriter::_WriteUInt64ToStream(BPositionIO *stream, uint64 val) argument
339 val = B_HOST_TO_BENDIAN_INT64(val);
340 stream->Write(&val, sizeof(uint64));
345 PSDWriter::_WriteInt32ToStream(BPositionIO *stream, int32 val) argument
347 val
353 _WriteUInt32ToStream(BPositionIO *stream, uint32 val) argument
361 _WriteInt16ToStream(BPositionIO *stream, int16 val) argument
369 _WriteUInt16ToStream(BPositionIO *stream, uint16 val) argument
377 _WriteInt8ToStream(BPositionIO *stream, int8 val) argument
384 _WriteUInt8ToStream(BPositionIO *stream, uint8 val) argument
391 _WriteFillBlockToStream(BPositionIO *stream, uint8 val, size_t count) argument
400 _WriteBlockToStream(BPositionIO *stream, uint8 *val, size_t count) argument
[all...]
/haiku/src/tests/kits/media/nodetest/
H A Dmisc.cpp4 void val(void *p) function
12 void val(status_t status) function
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_gpio.c163 ar5416GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument
169 "%s: gpio=%d, val=%d\n", __func__, gpio, val);
172 if (val & 1)
212 uint32_t val, mask; local
219 val = MS(OS_REG_READ(ah, AR_INTR_ASYNC_ENABLE),
222 AR_INTR_ASYNC_ENABLE_GPIO, val);
230 val = MS(OS_REG_READ(ah, AR_INTR_SYNC_ENABLE),
233 AR_INTR_SYNC_ENABLE_GPIO, val);
240 val
[all...]
/haiku/src/system/boot/platform/riscv/
H A Dcpu.cpp38 SstatusReg status{.val = Sstatus()};
41 SetSstatus(status.val);
/haiku/headers/libs/libfdt/
H A Dlibfdt.h261 static inline void fdt_set_##name(void *fdt, uint32_t val) \
264 fdth->name = cpu_to_fdt32(val); \
1239 * @val: pointer to data to replace the property value with
1252 uint32_t idx, const void *val,
1261 * @val: pointer to data to replace the property value with
1265 * the data in val, of length len. This function cannot change the
1286 const void *val, int len);
1294 * @val: 32-bit integer value to replace the property with
1297 * with the 32-bit integer value in val, converting val t
1317 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1352 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1369 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1473 fdt_property_u32(void *fdt, const char *name, uint32_t val) argument
1478 fdt_property_u64(void *fdt, const char *name, uint64_t val) argument
1485 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument
1684 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1719 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1737 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1862 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1897 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1915 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
[all...]
/haiku/headers/libs/mapm/
H A Dm_apm.h345 M_APM val=m_apm_init(); local
347 return val;
349 static void ref(M_APM val) argument
351 val->m_apm_refcount++;
353 static void unref(M_APM val) argument
355 val->m_apm_refcount--;
356 if (val->m_apm_refcount==0)
357 m_apm_free(val);
362 M_APM val(void) function in class:MAPM
417 {create();m_apm_set_string(val(),(cha
[all...]
/haiku/src/servers/app/drawing/Painter/
H A Dagg_scanline_storage_subpix.h295 static void write_int32(int8u* dst, int32 val) argument
297 dst[0] = ((const int8u*)&val)[0];
298 dst[1] = ((const int8u*)&val)[1];
299 dst[2] = ((const int8u*)&val)[2];
300 dst[3] = ((const int8u*)&val)[3];
448 int32 val; local
449 ((int8u*)&val)[0] = *m_ptr++;
450 ((int8u*)&val)[1] = *m_ptr++;
451 ((int8u*)&val)[2] = *m_ptr++;
452 ((int8u*)&val)[
485 int32 val; local
558 int32 val; local
569 int32u val; local
[all...]
/haiku/headers/posix/
H A Dgetopt.h18 int val; member in struct:option
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_decode.h37 uint32_t val; member in struct:athregrec
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_balloon.h61 uint64_t val; member in struct:virtio_balloon_stat
/haiku/src/apps/processcontroller/
H A DPreferences.h23 void SaveInt32(int32 val, const char* name);
24 bool ReadInt32(int32& val, const char* name);
25 void SaveFloat(float val, const char* name);
26 bool ReadFloat(float& val, const char* name);
/haiku/src/libs/compat/freebsd_network/compat/machine/
H A Datomic.h40 #define atomic_set_32(ptr, val) atomic_set((int32 *)ptr, val)
41 #define atomic_fetchadd_32(ptr, val) atomic_add((int32 *)ptr, val)

Completed in 110 milliseconds

1234567891011>>