Lines Matching refs:BWN_SHARED
1636 backup = bwn_shm_read_4(mac, BWN_SHARED, 0);
1638 bwn_shm_write_4(mac, BWN_SHARED, 0, TESTVAL0);
1639 if (bwn_shm_read_4(mac, BWN_SHARED, 0) != TESTVAL0)
1641 bwn_shm_write_4(mac, BWN_SHARED, 0, TESTVAL1);
1642 if (bwn_shm_read_4(mac, BWN_SHARED, 0) != TESTVAL1)
1645 bwn_shm_write_4(mac, BWN_SHARED, 0, backup);
1713 if (way == BWN_SHARED) {
1739 if (way == BWN_SHARED) {
1774 if (way == BWN_SHARED) {
1797 if (way == BWN_SHARED) {
2255 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_COREREV,
2285 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_MACHW_L,
2287 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_MACHW_H,
2292 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_SHORT_RETRY_FALLBACK, 3);
2293 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_LONG_RETRY_FALLBACK, 2);
2294 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_MAXTIME, 1);
2447 bwn_shm_write_2(mac, BWN_SHARED, 0x0074, 0x0000);
2493 ret = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFHI);
2495 ret |= bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFMI);
2497 ret |= bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_HFLO);
2505 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFLO,
2507 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFMI,
2509 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_HFHI,
2563 bwn_shm_write_2(mac, BWN_SHARED, offset + 0x20,
2564 bwn_shm_read_2(mac, BWN_SHARED, offset));
2618 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_BEACON_PHYCTL, ctl);
2619 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL, ctl);
2620 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL, ctl);
2630 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_RX_PADOFFSET, 0);
3566 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_SPU_WAKEUP, delay);
3626 mac->mac_ktp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_KEY_TABLEP);
3785 tmp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL);
3787 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL, tmp);
3789 tmp = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL);
3791 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL, tmp);
3985 state = bwn_shm_read_2(mac, BWN_SHARED,
4027 ucstat = bwn_shm_read_2(mac, BWN_SHARED,
4370 bwn_shm_write_2(mac, BWN_SHARED, i, 0);
4409 mac->mac_fw.rev = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_REV);
4444 mac->mac_fw.patch = bwn_shm_read_2(mac, BWN_SHARED,
4446 date = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_DATE);
4452 time = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_TIME);
4496 return (bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_FWCAPS));
4567 savedcookie = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_CHAN);
4568 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_CHAN, channelcookie);
4578 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_CHAN, savedcookie);
4649 tmp = bwn_shm_read_2(mac, BWN_SHARED,
4652 bwn_shm_write_2(mac, BWN_SHARED, shm_offset + (i * 2),
4655 bwn_shm_write_2(mac, BWN_SHARED, shm_offset + (i * 2),
4761 bwn_shm_write_4(mac, BWN_SHARED,
4763 bwn_shm_write_2(mac, BWN_SHARED,
4778 bwn_shm_write_2(mac, BWN_SHARED,
4785 bwn_shm_write_2(mac, BWN_SHARED, offset + i, value);
5029 bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PRETBTT, pretbtt);
5355 tmp = (bwn_shm_read_2(mac, BWN_SHARED, 0x40c) / 128) & 0x1f;
5527 val = bwn_shm_read_2(mac, BWN_SHARED, 0x08a);
5529 val |= bwn_shm_read_2(mac, BWN_SHARED, 0x088);
5539 bwn_shm_write_2(mac, BWN_SHARED, 0x088, (jssi & 0x0000ffff));
5540 bwn_shm_write_2(mac, BWN_SHARED, 0x08a, (jssi & 0xffff0000) >> 16);
6861 bwn_shm_write_2(mac, BWN_SHARED, 0x0010, time);