Lines Matching refs:BWN_SHARED
1820 backup = bwn_shm_read_4(mac, BWN_SHARED, 0);
1822 bwn_shm_write_4(mac, BWN_SHARED, 0, TESTVAL0);
1823 if (bwn_shm_read_4(mac, BWN_SHARED, 0) != TESTVAL0)
1825 bwn_shm_write_4(mac, BWN_SHARED, 0, TESTVAL1);
1826 if (bwn_shm_read_4(mac, BWN_SHARED, 0) != TESTVAL1)
1829 bwn_shm_write_4(mac, BWN_SHARED, 0, backup);
1895 if (way == BWN_SHARED) {
1921 if (way == BWN_SHARED) {
1956 if (way == BWN_SHARED) {
1979 if (way == BWN_SHARED) {
3177 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_COREREV,
3202 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_SHORT_RETRY_FALLBACK, 3);
3203 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_LONG_RETRY_FALLBACK, 2);
3204 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_MAXTIME, 1);
3353 bwn_shm_write_2(mac, BWN_SHARED, 0x0074, 0x0000);
3384 ret = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFHI);
3386 ret |= bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFMI);
3388 ret |= bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFLO);
3396 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFLO,
3398 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFMI,
3400 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFHI,
3454 bwn_shm_write_2(mac, BWN_SHARED, offset + 0x20,
3455 bwn_shm_read_2(mac, BWN_SHARED, offset));
3509 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_BEACON_PHYCTL, ctl);
3510 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL, ctl);
3511 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL, ctl);
3521 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_RX_PADOFFSET, 0);
4452 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_SPU_WAKEUP, delay);
4511 mac->mac_ktp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_KEY_TABLEP);
4638 tmp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL);
4640 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL, tmp);
4642 tmp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL);
4644 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL, tmp);
6080 tmp = bwn_shm_read_2(mac, BWN_SHARED, 0x310 + i);
6082 bwn_shm_write_2(mac, BWN_SHARED, 0x310 + i, 0);
6674 state = bwn_shm_read_2(mac, BWN_SHARED,
6713 ucstat = bwn_shm_read_2(mac, BWN_SHARED,
7225 bwn_shm_write_2(mac, BWN_SHARED, 0x0058, 0x7f7f);
7226 bwn_shm_write_2(mac, BWN_SHARED, 0x005a, 0x7f7f);
7227 bwn_shm_write_2(mac, BWN_SHARED, 0x0070, 0x7f7f);
7228 bwn_shm_write_2(mac, BWN_SHARED, 0x0072, 0x7f7f);
7379 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_RADIO_ATT, rf);
7786 bwn_shm_write_2(mac, BWN_SHARED, i, 0);
7825 mac->mac_fw.rev = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_REV);
7831 mac->mac_fw.patch = bwn_shm_read_2(mac, BWN_SHARED,
7833 date = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_DATE);
7839 time = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_TIME);
7883 return (bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_FWCAPS));
7956 savedcookie = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_CHAN);
7957 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_CHAN, channelcookie);
7967 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_CHAN, savedcookie);
8036 tmp = bwn_shm_read_2(mac, BWN_SHARED,
8039 bwn_shm_write_2(mac, BWN_SHARED, shm_offset + (i * 2),
8042 bwn_shm_write_2(mac, BWN_SHARED, shm_offset + (i * 2),
8148 bwn_shm_write_4(mac, BWN_SHARED,
8150 bwn_shm_write_2(mac, BWN_SHARED,
8165 bwn_shm_write_2(mac, BWN_SHARED,
8172 bwn_shm_write_2(mac, BWN_SHARED, offset + i, value);
8395 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PRETBTT, pretbtt);
8721 tmp = (bwn_shm_read_2(mac, BWN_SHARED, 0x40c) / 128) & 0x1f;
8872 val = bwn_shm_read_2(mac, BWN_SHARED, 0x08a);
8874 val |= bwn_shm_read_2(mac, BWN_SHARED, 0x088);
8884 bwn_shm_write_2(mac, BWN_SHARED, 0x088, (jssi & 0x0000ffff));
8885 bwn_shm_write_2(mac, BWN_SHARED, 0x08a, (jssi & 0xffff0000) >> 16);
9982 bwn_shm_write_2(mac, BWN_SHARED, 0x0010, time);
10033 tmp = bwn_shm_read_4(mac, BWN_SHARED, shm_offset);
10041 bwn_shm_write_4(mac, BWN_SHARED, shm_offset,
10054 if (bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFLO)