Lines Matching +defs:a +defs:code

29  * This file is provided under a dual BSD/GPLv2 license.  When using or
45 * You should have received a copy of the GNU General Public License
67 * * Redistributions of source code must retain the above copyright
693 * Intentional or a bug? Observations from
922 /* Must be aligned on a 16-byte boundary. */
931 /* TX scheduler rings must be aligned on a 1KB boundary. */
1426 * W/A : NIC is stuck in a reset state after Early PCIe power off
1891 * NICs prior to 7000 family don't have a real NVM, but just read
2657 /* XXX Add proper rfkill support code */
2699 /* maybe we should write a few times more? just to make sure */
2802 if (pkt->hdr.code != IWM_CALIB_RES_NOTIF_PHY_DB) {
2803 if(pkt->hdr.code != IWM_INIT_COMPLETE_NOTIF) {
2805 __func__, pkt->hdr.code);
2856 uint32_t a = 0x5a5a5a5a, b = 0x5a5a5a5a;
2858 a = iwm_read_prph(sc, IWM_SB_CPU_1_STATUS);
2864 a, b);
3113 /* For now, just hard-code it to -96 to be safe */
3132 * values by -256dBm: practically 0 power and a non-feasible 8 bit value.
3568 * Process a "command done" firmware notification. This is where we wakeup
3569 * processes waiting for a synchronous command completion.
3579 return; /* Not a command ack. */
3585 pkt->hdr.code, pkt->hdr.qid, pkt->hdr.idx);
3662 * Fill in the rate related information for a transmit command.
3764 cmd->hdr.code = IWM_TX_CMD;
3828 /* First segment length must be a multiple of 4. */
3935 /* Mark TX ring as full if we reach a certain threshold. */
4098 * XXX i have a feeling that the vap node is being
4141 * and always does a mac_ctx_changed().
4147 * the NIC except for a firmware failure, which should drag
4149 * contexts that are required), let's do a dirty hack here.
4203 * by "protecting" the session with a time event.
4298 /* then construct a lq_cmd based on those */
4471 /* Stop blinking for a scan, when authenticating. */
4690 /* W/A for a FW/NVM issue - returns 0x00 for the world domain */
5033 * read with uint32_t-sized accesses, any members with a different size
5088 * read with u32-sized accesses, any members with a different size
5196 * Support for dumping the error log seemed like a good idea ...
5287 #define HAVEROOM(a) \
5288 ((a) + sizeof(uint32_t) + sizeof(struct iwm_cmd_header) < maxoff)
5293 int qid, idx, code, len;
5298 code = IWM_WIDE_ID(pkt->hdr.flags, pkt->hdr.code);
5304 if ((pkt->hdr.code == 0 && (qid & ~0x80) == 0 && idx == 0) ||
5311 qid & ~0x80, pkt->hdr.idx, code);
5317 iwm_notification_wait_notify(sc->sc_notif_wait, code, pkt);
5319 switch (code) {
5332 (nextpkt->hdr.code == 0 &&
5347 * makes it easier to keep a valid rx buffer in
5569 "code %x, frame %d/%d %x unhandled\n",
5570 code, qid & ~0x80, idx, pkt->len_n_flags);
5579 * response/notification is not a direct response to a
5581 * IWM_REPLY_RX when it sends a received frame to the driver;
5582 * it is not a direct response to any driver command.
5585 * uses a slightly different format for pkt->hdr, and "qid"
5586 * is actually the upper byte of a two-byte field.
5727 /* Don't stop the device; just do a VAP restart */
6148 * XXX Add a solution for properly deferring firmware load
6331 if (!TAILQ_EMPTY(&ic->ic_vaps)) /* only one at a time */