Searched +defs:val +defs:data (Results 1 - 25 of 69) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_gpio.c77 int ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) argument
79 u32 data; local
85 data = ath5k_hw_reg_read(ah, AR5K_GPIODO);
87 data &= ~(1 << gpio);
88 data |= (val & 1) << gpio;
90 ath5k_hw_reg_write(ah, data, AR5K_GPIODO);
101 u32 data; local
109 data = (ath5k_hw_reg_read(ah, AR5K_GPIOCR) &
114 ath5k_hw_reg_write(ah, interrupt_level ? data
[all...]
H A Dath5k_pcu.c100 u32 val = AR5K_STA_ID1_BASE_RATE_11B | AR5K_STA_ID1_ACKCTS_6MB; local
102 AR5K_REG_ENABLE_BITS(ah, AR5K_STA_ID1, val);
104 AR5K_REG_DISABLE_BITS(ah, AR5K_STA_ID1, val);
426 u32 data, filter = 0; local
432 data = ath5k_hw_reg_read(ah, AR5K_PHY_ERR_FIL);
434 if (data & AR5K_PHY_ERR_FIL_RADAR)
436 if (data & (AR5K_PHY_ERR_FIL_OFDM | AR5K_PHY_ERR_FIL_CCK))
455 u32 data = 0; local
460 data |= AR5K_PHY_ERR_FIL_RADAR;
462 data |
[all...]
H A Dath5k_reset.c206 static int ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val) argument
209 u32 mask = val ? val : ~0U;
217 ath5k_hw_reg_write(ah, val, AR5K_RESET_CTL);
223 val &= AR5K_RESET_CTL_PCU | AR5K_RESET_CTL_DMA
228 val &= AR5K_RESET_CTL_PCU | AR5K_RESET_CTL_BASEBAND;
232 ret = ath5k_hw_register_timeout(ah, AR5K_RESET_CTL, mask, val, 0);
239 if ((val & AR5K_RESET_CTL_PCU) == 0)
251 u32 staid, data; local
257 data
512 u32 data; local
[all...]
H A Dath5k_eeprom.c38 static int ath5k_hw_eeprom_read(struct ath5k_hw *ah, u32 offset, u16 *data) argument
59 *data = (u16)(ath5k_hw_reg_read(ah, AR5K_EEPROM_DATA) &
75 u16 val; local
82 val = (5 * bin) + 4800;
84 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 :
88 val = bin + 2300;
90 val = bin + 2400;
93 return val;
104 u16 val; local
140 AR5K_EEPROM_READ(AR5K_EEPROM_OBDB0_2GHZ, val);
172 u16 val; local
232 u16 val; local
413 u16 val; local
514 u16 val; local
550 u16 val; local
741 u16 val; local
958 u16 val; local
1216 u16 val; local
1405 u16 val; local
1590 u16 val; local
1723 u16 data; local
1751 u16 data; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsockopt.c76 PRIntn val = ((PRIntn)*option) + 1; local
77 *option = (PRSockOption)val;
78 return (PRSockOption)val;
89 "PR_SockOpt_Linger", /* linger on close if data present */
131 PRSocketOptionData data; local
133 data.option = option;
137 data.value.non_blocking = PR_TRUE;
140 data.value.linger.polarity = PR_TRUE;
141 data.value.linger.linger = PR_SecondsToInterval(2);
144 data
[all...]
H A Dstack.c43 * Two stacks are created and threads add data items (each containing
44 * one of the first n integers) to the first stack, remove data items
47 * integers in the data items in the second stack. The test succeeds if
55 PRInt32 data; member in struct:_DataRecord
114 case 'c': /* data count */
209 sum += Item->data;
241 PRInt32 val, cnt, index, loops; local
247 val = arg->initial_data_value;
254 * allocate memory for the data records
263 PR_GetCurrentThread(), val, cn
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k.c58 static int ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data) argument
73 *data = MS(common->ops->read(ah, AR_EEPROM_STATUS_DATA),
104 u32 val; local
137 pci_read_config_dword(pdev, 0x40, &val);
138 if ((val & 0x0000ff00) != 0)
139 pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);
H A Dath9k_eeprom.c32 void ath9k_hw_analog_shift_regwrite(struct ath_hw *ah, u32 reg, u32 val) argument
34 REG_WRITE(ah, reg, val);
41 u32 shift, u32 val)
46 regVal |= (val << shift) & mask;
102 u32 data[8]; local
109 REG_READ_MULTI(ah, addrdata, data, i);
112 *eep_data = data[j];
120 REG_READ_MULTI(ah, addrdata, data, i);
123 *eep_data = data[j];
129 int ath9k_hw_nvram_read(struct ath_common *common, u32 off, u16 *data) argument
40 ath9k_hw_analog_shift_rmw(struct ath_hw *ah, u32 reg, u32 mask, u32 shift, u32 val) argument
[all...]
H A Dath9k_ar5008_phy.c67 u32 *data, unsigned int *writecnt)
74 REG_WRITE(ah, INI_RA(array, r, 0), data[r]);
546 * Software does not need to program bank data
677 u32 val; local
687 val = REG_READ(ah, AR_PCU_MISC_MODE2);
690 val &= ~AR_PCU_MISC_MODE2_HWWAR1;
693 val = val & (~AR_PCU_MISC_MODE2_HWWAR2);
695 REG_WRITE(ah, AR_PCU_MISC_MODE2, val);
712 val
66 ar5008_write_rf_array(struct ath_hw *ah, struct ar5416IniArray *array, u32 *data, unsigned int *writecnt) argument
825 u32 val = INI_RA(&ah->iniModes, i, modesIndex); local
859 u32 val = INI_RA(&ah->iniCommon, i, 1); local
1516 u32 val; local
[all...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dlspci.c53 handle_child_line(const char *line, void *data) argument
55 const char *val; local
60 val = line + sizeof("Class:");
62 val += strspn(val, " \t") + sizeof("Class");
63 current_device.klass = strtol(val, NULL, 16);
67 val = line + sizeof("Vendor:");
68 current_device.vendor = strtol(val, NULL, 16);
72 val = line + sizeof("Device:");
75 if (!strchr(val, '
118 lspci_process_line(const char *line, void *data) argument
[all...]
H A Drdpsnd_dsp.c80 sint8 val; local
85 val = *posin++;
86 val = (val * factor_left) >> 8;
87 *posout++ = val;
90 val = *posin++;
91 val = (val * factor_right) >> 8;
92 *posout++ = val;
97 sint16 val; local
398 rdpsnd_dsp_process(unsigned char *data, unsigned int size, struct audio_driver * current_driver, RD_WAVEFORMATEX * format) argument
[all...]
H A Ddisk.c196 time_t val; local
202 val = (time_t) ticks;
203 return (val);
582 disk_read(RD_NTHANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result) argument
598 n = read(handle, data, length);
622 disk_write(RD_NTHANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result) argument
628 n = write(handle, data, length);
680 /* Return requested data */
/vbox/src/VBox/Devices/PC/BIOS/
H A Dbios.c56 void write_byte(uint16_t seg, uint16_t offset, uint8_t data) argument
58 *(seg:>(uint8_t *)offset) = data;
66 void write_word(uint16_t seg, uint16_t offset, uint16_t data) argument
68 *(seg:>(uint16_t *)offset) = data;
76 void write_dword(uint16_t seg, uint16_t offset, uint32_t data) argument
78 *(seg:>(uint32_t *)offset) = data;
91 void outb_cmos(uint8_t cmos_reg, uint8_t val) argument
98 outb(cmos_port + 1, val);
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dgdbstub.c38 SIZEOF_PAYLOAD = 256, /* buffer size of GDB payload data */
51 /* Buffer for payload data when parsing a packet. Once the
132 static uint8_t gdbstub_cksum ( char *data, int len ) { argument
135 cksum += ( uint8_t ) *data++;
166 /* Format is arg1,arg2,...,argn:data where argn are hex integers and data is not an argument */
171 unsigned long val = 0; local
177 args [ argc++ ] = val;
178 val = 0;
180 val
[all...]
H A Di82365.c126 u_char val; local
128 outb(reg, port); val = inb(port+1);
130 return val;
134 static void i365_set(u_short sock, u_short reg, u_char data) argument
140 u_char val = I365_REG(pccsock[sock].internalid, reg); local
141 outb(val, port); outb(data, port+1);
199 static void i365_set_pair(u_short sock, u_short reg, u_short data)
201 i365_set(sock, reg, data & 0xff);
202 i365_set(sock, reg+1, data >>
206 u_char val; local
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java176 consumeProbeData(ProbeData data) argument
179 logger.finer(data.toString());
193 ProbeDescription probe = data.getEnabledProbeDescription();
195 Flow flow = data.getFlow();
231 out.printf("%3s %-41s ", data.getCPU(),
240 data.getCPU(), probe.getID(),
246 List <Record> records = data.getRecords();
310 // There isn't any data. This is possible if (and only if)
359 printDistributionLine(long val, double total, boolean positives, argument
367 assert (!(val <
[all...]
/vbox/src/libs/xpcom18a4/xpcom/string/src/
H A DnsTObsoleteAStringThunk.cpp106 virtual void SetIsVoid(PRBool val) argument
108 concrete_self()->SetIsVoid(val);
131 virtual void do_AssignFromElementPtr(const char_type *data) argument
133 concrete_self()->Assign(data);
136 virtual void do_AssignFromElementPtrLength(const char_type *data, size_type length) argument
138 concrete_self()->Assign(data, length);
151 virtual void do_AppendFromElementPtr(const char_type *data) argument
153 concrete_self()->Append(data);
156 virtual void do_AppendFromElementPtrLength(const char_type *data, size_type length) argument
158 concrete_self()->Append(data, lengt
171 do_InsertFromElementPtr(const char_type *data, index_type pos) argument
176 do_InsertFromElementPtrLength(const char_type *data, index_type pos, size_type length) argument
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dstring.c210 void crBytesToString( char *string, int nstring, void *data, int ndata ) argument
216 udata = (unsigned char *) data;
228 void crWordsToString( char *string, int nstring, void *data, int ndata ) argument
248 udata = (unsigned int *) data;
417 int val = 0; local
423 if(!val)
430 val *= 10;
432 val += *ver - '0';
448 if(!val)
461 val
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A D3c90x.c72 unsigned int val = (cmd << 11) | param; local
78 outw(val, ioaddr + regCommandIntStatus_w);
96 * @v inf_3c90x private NIC data
131 * a3c90x_internal_ReadEeprom - nvs routine to read eeprom data
135 * @v nvs nvs data.
136 * @v address eeprom address to read data from.
137 * @v data data is put here.
141 a3c90x_internal_ReadEeprom(struct nvs_device *nvs, unsigned int address, void *data, size_t len) argument
143 unsigned short *dest = (unsigned short *) data;
[all...]
H A Damd8111e.c94 u8 data[ETH_FRAME_LEN - ETH_HLEN]; member in struct:eth_frame
125 static int amd8111e_read_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 *val);
127 static int amd8111e_write_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 val);
280 static int amd8111e_read_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 *val) argument
294 udelay(30); /* It takes 30 us to read/write data */
298 *val = 0;
302 *val = reg_val & 0xffff;
310 static int amd8111e_write_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 val)
320 writel(PHY_WR_CMD | ((phy_addr & 0x1f) << 21) | ((reg & 0x1f) << 16) | val,
324 udelay(30); /* It takes 30 us to read/write the data */
[all...]
H A Db44.c64 static inline void bw32(const struct b44_private *bp, u32 reg, u32 val) argument
66 writel(val, bp->regs + reg);
136 u32 val = br32(bp, reg); local
138 if (clear && !(val & bit))
141 if (!clear && (val & bit))
180 u32 bar_orig, pci_rev, val; local
187 val = br32(bp, B44_SBINTVEC);
188 val |= cores;
189 bw32(bp, B44_SBINTVEC, val);
191 val
221 u32 val; local
299 u32 val = br32(bp, B44_DEVCTRL); local
338 u32 val; local
487 b44_phy_read(struct b44_private *bp, int reg, u32 * val) argument
506 b44_phy_write(struct b44_private *bp, int reg, u32 val) argument
524 u32 val; local
547 b44_cam_write(struct b44_private *bp, unsigned char *data, int index) argument
550 u32 val; local
573 u32 val; local
582 b44_read_eeprom(struct b44_private *bp, u8 * data) argument
614 u32 val; local
[all...]
H A Dmyri10ge.c119 * Driver internal data types.
207 * Return a pointer to the driver private data for a network device.
210 * @ret priv The corresponding driver private data.
214 /* Our private data always follows the network device in memory,
221 * Convert a Myri10ge driver private data pointer to a netdev pointer.
223 * @v p Myri10ge device private data.
268 request->addr_low = htonl ( virt_to_bus ( iob->data ) );
277 * @v data I/O copy buffer for parameters/results
282 uint32 data[3] )
301 command->data0 = htonl ( data[
548 unsigned int data; local
896 uint32 data[3]; local
940 uint16 val; local
971 uint32 data[3]; local
[all...]
/vbox/src/recompiler/
H A Dqemu-common.h181 int strstart(const char *str, const char *val, const char **ptr);
182 int stristart(const char *str, const char *val, const char **ptr);
301 void (*func)(void *data);
302 void *data; member in struct:qemu_work_item
332 static inline uint8_t to_bcd(uint8_t val) argument
334 return ((val / 10) << 4) | (val % 10);
337 static inline uint8_t from_bcd(uint8_t val) argument
339 return ((val >> 4) * 10) + (val
[all...]
/vbox/src/VBox/Main/webservice/jaxlibs/
H A Djaxb-api.jar ... Object implements java.security.PrivilegedAction { final synthetic Class val$c void " href="/source/s?defs= ...
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dsockets.c127 /** data that was left from the previous read */
129 /** offset in the data that was left from the previous read */
131 /** number of times data was received, set by event_callback(),
134 /** number of times data was ACKed (free send buffer), set by event_callback(),
163 /** This struct is used to pass data to the set/getsockopt_internal
453 /* See event_callback: If data comes in right away after an accept, even
650 /* Check if there is data left from the last recv operation. */
660 /* already received data, return that */
669 /* No data was left from the previous operation, so we try to get
683 /* already received data, retur
816 lwip_send(int s, const void *data, size_t size, int flags) argument
852 lwip_sendto(int s, const void *data, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) argument
1078 lwip_write(int s, const void *data, size_t size) argument
1529 struct lwip_setgetsockopt_data data; local
1754 struct lwip_setgetsockopt_data *data; local
1975 struct lwip_setgetsockopt_data data; local
2211 struct lwip_setgetsockopt_data *data; local
2436 u8_t val; local
2528 lwip_fcntl(int s, int cmd, int val) argument
[all...]

Completed in 291 milliseconds

123