Lines Matching defs:n

251 	ral_debug(RAL_DBG_HW, "setting BSSID to " MACSTR "\n", MAC2STR(bssid));
267 ral_debug(RAL_DBG_HW, "could not write to BBP\n");
274 ral_debug(RAL_DBG_HW, "BBP R%u <- 0x%02x\n", reg, val);
293 ral_debug(RAL_DBG_HW, "could not read from BBP\n");
309 ral_debug(RAL_DBG_HW, "could not write to RF\n");
320 ral_debug(RAL_DBG_HW, "RF R[%u] <- 0x%05x\n", reg & 0x3, val & 0xfffff);
342 ral_debug(RAL_DBG_CHAN, "setting channel to %u, txpower to %u\n",
455 ral_debug(RAL_DBG_HW, "enabling TSF synchronization\n");
478 ral_debug(RAL_DBG_HW, "updating PLCP for %s preamble\n",
513 ral_debug(RAL_DBG_HW, "setting slottime to %uus\n", slottime);
546 ral_debug(RAL_DBG_DMA, "get physical-base=0x%08x\n", dr->dr_pbase);
964 int n;
984 n = (RAL_READ(sc, RT2560_CSR21) & RT2560_93C46) ? 5 : 7;
985 for (; n >= 0; n--) {
987 (((addr >> n) & 1) << RT2560_SHIFT_D));
989 (((addr >> n) & 1) << RT2560_SHIFT_D) | RT2560_C);
996 for (n = 15; n >= 0; n--) {
999 val |= ((tmp & RT2560_Q) >> RT2560_SHIFT_Q) << n;
1045 ral_debug(RAL_DBG_INTR, "data frame sent success\n");
1054 "data frame sent after %u retries\n",
1061 "sending data frame failed (too much retries)\n");
1072 "0x%08x\n", LE_32(desc->flags));
1082 ral_debug(RAL_DBG_INTR, "tx done idx=%u\n", sc->txq.next);
1128 ral_debug(RAL_DBG_INTR, "mgt frame sent success\n");
1133 "mgt frame sent after %u retries\n",
1139 "sending mgt frame failed (too much " "retries)\n");
1146 "0x%08x\n", LE_32(desc->flags));
1155 ral_debug(RAL_DBG_INTR, "prio done idx=%u\n", sc->prioq.next);
1213 ral_debug(RAL_DBG_RX, "PHY or CRC error flags 0x%08x\n",
1219 ral_debug(RAL_DBG_RX, "bad length\n");
1233 ral_debug(RAL_DBG_RX, "bad frame length=%u\n", len);
1240 " allocate mblk failed.\n");
1266 ral_debug(RAL_DBG_RX, "rx done idx=%u\n", sc->rxq.cur);
1462 ral_debug(RAL_DBG_TX, "rt2560_mgmt_send: can't alloc mblk.\n");
1533 ral_debug(RAL_DBG_MGMT, "sending mgt frame len=%u idx=%u rate=%u\n",
1583 "no TX DMA buffer available!\n");
1592 ral_debug(RAL_DBG_TX, "rt2560_xmit(): can't alloc mblk.\n");
1687 ral_debug(RAL_DBG_TX, "sending data frame len=%u idx=%u rate=%u\n",
1728 "discard, state %u\n", ic->ic_state);
1758 "setting MAC address to " MACSTR "\n", MAC2STR(addr));
1788 ral_debug(RAL_DBG_HW, "%s promiscuous mode\n",
1849 ral_debug(RAL_DBG_HW, "timeout waiting for BBP\n");
2025 ral_debug(RAL_DBG_MSG, "tx timer timeout\n");
2055 ral_debug(RAL_DBG_GLD, "device configuration failed\n");
2081 ral_debug(RAL_DBG_GLD, "rt2560_m_unicst(): " MACSTR "\n",
2377 "unable to alloc soft_state_p\n");
2405 "device id 0x%x, cache size %d\n", vendor_id, device_id, cachelsz);
2414 "set command reg to 0x%x \n", command);
2424 "regs map1 = %x err=%d\n", regs, err);
2443 ral_debug(RAL_DBG_GLD, "MAC/BBP RT2560 (rev 0x%02x), RF %s\n",
2451 ral_debug(RAL_DBG_GLD, "could not allocate Tx ring\n");
2456 ral_debug(RAL_DBG_GLD, "could not allocate Prio ring\n");
2461 ral_debug(RAL_DBG_GLD, "could not allocate Rx ring\n");
2557 "Can not get iblock cookie for INT\n");
2564 "unable to add device interrupt handler\n");
2578 "MAC version mismatch\n");
2596 "mac_register err %x\n", err);
2609 ral_debug(RAL_DBG_GLD, "ddi_create_minor_node() failed\n");