Searched refs:code (Results 51 - 75 of 474) sorted by path

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_eeprom.c541 ** \brief EEPROM fixup code for INI values
543 ** This routine provides a place to insert "fixup" code for specific devices
968 /* hard code for now, need to get from eeprom struct */
3865 ar9300_compression_header_unpack(u_int8_t *best, int *code, int *reference, argument
3874 *code = ((value[0] >> 5) & 0x0007);
3922 int code; local
3938 word, &code, &reference, &length, &major, &minor);
3941 "code=%d ref=%d length=%d major=%d minor=%d\n",
3942 __func__, cptr, code, reference, length, major, minor);
3962 switch (code) {
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c38 * and is unaffected by regulatory/country code settings.
140 * The #if 0'ed code is to check whether the previous TSF
593 * the following code sets them back to non-RIFS values.
726 int code; member in struct:__anon1131
745 "%s BB hang, signature 0x%x, code 0x%x\n",
746 __func__, hang_sig, hang_list[i].code);
747 return hang_list[i].code;
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c12 * 1. Redistributions of source code must retain the above copyright
1263 switch (le16toh(status->code) & 0xf) {
1284 device_printf(sc->sc_dev, "unexpected status code %u\n",
1285 le16toh(status->code));
H A Dif_ipwreg.h12 * 1. Redistributions of source code must retain the above copyright
149 uint16_t code; member in struct:ipw_status
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c613 bcn->code = WPI_CMD_SET_BEACON;
2678 cmd->code = buf->code;
2953 tx_data.code = WPI_CMD_TX_DATA;
3056 tx_data.code = WPI_CMD_TX_DATA;
3235 wpi_cmd(struct wpi_softc *sc, uint8_t code, const void *buf, uint16_t size, argument
3253 if (code == WPI_CMD_SCAN)
3265 __func__, wpi_cmd_str(code), size, async);
3295 cmd->code = code;
[all...]
H A Dif_wpireg.h343 uint8_t code; member in struct:wpi_tx_cmd
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DIdMap.cpp71 IdMap::_GetValue(const char* buffer, int32 code) argument
85 int32 code; local
87 result = read_port(fReplyPort, &code, &value, sizeof(T));
94 if (code != MsgReply)
104 IdMap::_GetBuffer(T value, int32 code) argument
108 status_t result = write_port(fRequestPort, code, &value, sizeof(value));
122 int32 code; local
128 size = read_port(fReplyPort, &code, buffer, size);
135 if (code != MsgReply)
H A DIdMap.h34 void* _GetBuffer(T value, int32 code);
37 T _GetValue(const char* buffer, int32 code);
/haiku/src/add-ons/kernel/file_systems/nfs4/idmapper/
H A DIdMapper.cpp167 ParseRequest(int32 code, void* buffer) argument
169 switch (code) {
200 int32 code;
201 size = read_port(gRequestPort, &code, buffer, size);
207 status_t result = ParseRequest(code, buffer);
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/
H A DPort.cpp214 int32 code; local
215 ssize_t bytesRead = read_port_etc(port, &code, message, bufferSize,
/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp274 switch (data.code) {
753 // addresses have special handling to reduce code size
954 // addresses have special handling to reduce code size
1410 lcpheader.code = PPP_CONFIGURE_ACK;
1424 // addresses have special handling to reduce code size
1488 if (nak.code == PPP_CONFIGURE_NAK) {
1491 nak.code = PPP_CONFIGURE_REJECT;
1519 request->code = PPP_TERMINATE_REQUEST;
1547 ack->code = PPP_TERMINATE_ACK;
1555 ack.code
[all...]
/haiku/src/add-ons/kernel/network/ppp/pap/
H A DProtocol.cpp196 if (data.code == PPP_CONFIGURE_REQUEST && Side() != PPP_PEER_SIDE)
199 if ((data.code == PPP_CONFIGURE_ACK || data.code == PPP_CONFIGURE_NAK)
211 // code values are the same as for LCP (but very reduced)
212 switch (data.code) {
463 request->code = PPP_CONFIGURE_REQUEST;
491 ack.code = PPP_CONFIGURE_ACK;
514 nak.code = PPP_CONFIGURE_NAK;
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A DDiscoveryPacket.cpp12 DiscoveryPacket::DiscoveryPacket(uint8 code, uint16 sessionID) argument
13 : fCode(code),
31 SetCode(header.code);
146 header->code = Code();
H A DDiscoveryPacket.h46 DiscoveryPacket(uint8 code, uint16 sessionID = 0x0000);
53 void SetCode(uint8 code) argument
54 { fCode = code; }
H A DPPPoE.h23 // the code value used for query reports
55 uint8 code; member in struct:pppoe_header
H A Dpppoe.cpp173 if (header.code == PADI) {
179 if (header.code == PADO || header.code == PADR || header.code == PADS || header.code == PADT)
184 const char *str = header.code == PADI ? "PADI" :
185 header.code == PADO ? "PADO" :
186 header.code == PADR ? "PADR" :
187 header.code == PADS ? "PADS" :
190 dprintf("%s from:%02x:%02x:%02x:%02x:%02x:%02x code
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPLCP.cpp177 //! Returns the LCP extension that can handle LCP packets of a given \a code.
179 KPPPLCP::LCPExtensionFor(uint8 code, int32 *start) const argument
193 if (current->Code() == code) {
258 switch (data.code) {
306 // Try to find LCP extensions that can handle this code.
309 KPPPLCPExtension *lcpExtension = LCPExtensionFor(data.code, &index);
310 for (; lcpExtension; lcpExtension = LCPExtensionFor(data.code, &(++index))) {
314 result = lcpExtension->Receive(packet, data.code);
H A DKPPPLCPExtension.cpp21 \param code LCP code that this extension can handle.
25 KPPPLCPExtension::KPPPLCPExtension(const char *name, uint8 code, argument
30 fCode(code),
H A DKPPPReportManager.cpp161 \param code The report code belonging to the report type.
168 KPPPReportManager::Report(ppp_report_type type, int32 code, void *data, int32 length) argument
170 TRACE("KPPPReportManager: Report(type=%d code=%ld length=%ld) to %ld receivers\n",
171 type, code, length, fReportRequests.CountItems());
189 report.code = code;
H A DKPPPUtils.cpp30 send_data_with_timeout(thread_id thread, int32 code, void *buffer, argument
41 return send_data(thread, code, buffer, buffer_size);
48 receive_data_with_timeout(thread_id *sender, int32 *code, void *buffer, argument
60 *code = receive_data(sender, buffer, buffer_size);
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPConfigurePacket.h30 KPPPConfigurePacket(uint8 code);
34 bool SetCode(uint8 code);
35 //! Returns this packet's code value.
H A DKPPPInterface.h219 bool Report(ppp_report_type type, int32 code, void *data, int32 length) argument
220 { return ReportManager().Report(type, code, data, length); }
H A DKPPPLCP.h32 uint8 code; member in struct:ppp_lcp_packet
70 KPPPLCPExtension *LCPExtensionFor(uint8 code, int32 *start = NULL) const;
H A DKPPPLCPExtension.h19 KPPPLCPExtension(const char *name, uint8 code, KPPPInterface& interface,
45 //! Returns the LCP packet code this extension can handle.
53 //! Must be overridden. Called when an LCP packet with your code is received.
54 virtual status_t Receive(net_buffer *packet, uint8 code) = 0;
H A DKPPPReportManager.h32 bool Report(ppp_report_type type, int32 code, void *data, int32 length);

Completed in 339 milliseconds

1234567891011>>