Lines Matching refs:uint
268 uint brcm_msg_level;
462 static struct brcms_bss_cfg *brcms_c_bsscfg_malloc(uint unit) in brcms_c_bsscfg_malloc()
482 brcms_c_attach_malloc(uint unit, uint *err, uint devid) in brcms_c_attach_malloc()
614 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_time()
615 u8 preamble_type, uint mac_len) in brcms_c_calc_frame_time()
617 uint nsyms, dur = 0, Ndps, kNdps; in brcms_c_calc_frame_time()
618 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_time()
627 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_time()
684 uint offset; in brcms_c_write_inits()
782 static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit) in brcms_c_setxband()
807 static u32 brcms_c_setband_inact(struct brcms_c_info *wlc, uint bandunit) in brcms_c_setband_inact()
836 uint queue = NFIFO; in brcms_c_dotxstatus()
842 uint totlen, supr_status; in brcms_c_dotxstatus()
1035 uint n = 0; in brcms_b_txstatus()
1040 uint max_tx_num = bound ? TXSBND : -1; in brcms_b_txstatus()
1104 static uint
1105 dmareg(uint direction, uint fifonum) in dmareg()
1112 static bool brcms_b_attach_dmapio(struct brcms_c_info *wlc, uint j, bool wme) in brcms_b_attach_dmapio()
1114 uint i; in brcms_b_attach_dmapio()
1121 uint unit = wlc_hw->unit; in brcms_b_attach_dmapio()
1185 (uint *) dma_getvar(wlc_hw->di[i], in brcms_b_attach_dmapio()
1197 uint j; in brcms_b_detach_dmapio()
1637 uint i; in brcms_b_ofdm_ratetable_offset()
1677 uint i; in brcms_upd_ofdm_pctl1_table()
1823 static void brcms_b_setband(struct brcms_hardware *wlc_hw, uint bandunit, in brcms_b_setband()
1876 uint boardrev = wlc_hw->boardrev; in brcms_c_validboardtype()
1879 uint brt = (boardrev & 0xf000) >> 12; in brcms_c_validboardtype()
1880 uint b0 = (boardrev & 0xf00) >> 8; in brcms_c_validboardtype()
1881 uint b1 = (boardrev & 0xf0) >> 4; in brcms_c_validboardtype()
1882 uint b2 = boardrev & 0xf; in brcms_c_validboardtype()
1988 static bool wlc_dma_rxreset(struct brcms_hardware *wlc_hw, uint fifo) in wlc_dma_rxreset()
2004 uint i; in brcms_b_corereset()
2263 uint i; in brcms_ucode_write()
2264 uint count; in brcms_ucode_write()
2338 uint unit; in brcms_b_fifoerrors()
2339 uint intstatus, idx; in brcms_b_fifoerrors()
2438 uint tx_fifo) in brcms_b_tx_fifo_suspend()
2472 uint tx_fifo) in brcms_b_tx_fifo_resume()
2901 uint i; in brcms_c_flushqueues()
2918 brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel) in brcms_b_read_objmem()
2932 brcms_b_write_objmem(struct brcms_hardware *wlc_hw, uint offset, u16 v, in brcms_b_write_objmem()
2950 u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset) in brcms_b_read_shm()
2959 void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v) in brcms_b_write_shm()
2971 brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset, in brcms_b_copyto_objmem()
2994 brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset, void *buf, in brcms_b_copyfrom_objmem()
3015 static void brcms_c_copyto_shm(struct brcms_c_info *wlc, uint offset, in brcms_c_copyto_shm()
3185 uint i = 0; in brcms_b_coreinit()
3433 uint i; in brcms_c_rate_lookup_init()
3523 uint parkband; in brcms_c_bandinit_ordered()
3524 uint i, band_order[2]; in brcms_c_bandinit_ordered()
3545 uint j = band_order[i]; in brcms_c_bandinit_ordered()
3568 void brcms_c_mac_promisc(struct brcms_c_info *wlc, uint filter_flags) in brcms_c_mac_promisc()
3678 uint i; in brcms_c_set_ratetable()
3726 uint offset = in brcms_c_duty_cycle_set()
3852 uint bandunit; in brcms_b_set_chanspec()
3895 uint bandunit) in brcms_c_setband()
3911 uint bandunit; in brcms_c_set_chanspec()
3990 void brcms_c_protection_upd(struct brcms_c_info *wlc, uint idx, int val) in brcms_c_protection_upd()
4360 static uint brcms_c_attach_module(struct brcms_c_info *wlc) in brcms_c_attach_module()
4362 uint err = 0; in brcms_c_attach_module()
4363 uint unit; in brcms_c_attach_module()
4404 uint unit, bool piomode) in brcms_b_attach()
4407 uint err = 0; in brcms_b_attach()
4408 uint j; in brcms_b_attach()
4712 uint unit; in brcms_c_attach_stf_ant_init()
4784 uint i; in brcms_c_update_mimo_band_bwcap()
4837 uint i; in brcms_b_detach()
4874 uint brcms_c_detach(struct brcms_c_info *wlc) in brcms_c_detach()
4876 uint callbacks; in brcms_c_detach()
5108 static uint brcms_c_down_del_timer(struct brcms_c_info *wlc) in brcms_c_down_del_timer()
5110 uint callbacks = 0; in brcms_c_down_del_timer()
5118 uint callbacks = 0; in brcms_b_bmac_down_prep()
5143 uint callbacks = 0; in brcms_b_down_finish()
5187 uint brcms_c_down(struct brcms_c_info *wlc) in brcms_c_down()
5190 uint callbacks = 0; in brcms_c_down()
5245 uint i; in brcms_c_set_gmode()
5345 uint i; in brcms_c_set_nmode()
5375 uint bandunit; in brcms_c_set_internal_rateset()
5732 static uint
5736 uint dur = 0; in brcms_c_calc_ack_time()
5751 static uint
5758 static uint
5786 u8 preamble_type, uint next_frag_len) in brcms_c_compute_frame_dur()
5808 static uint
5810 u8 preamble_type, uint dur) in brcms_c_calc_frame_len()
5812 uint nsyms, mac_len, Ndps, kNdps; in brcms_c_calc_frame_len()
5813 uint rate = rspec2rate(ratespec); in brcms_c_calc_frame_len()
5816 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_frame_len()
5858 uint i; in brcms_c_valid_rate()
6012 uint length, u8 *plcp) in brcms_c_cck_plcp_set()
6059 static void brcms_c_compute_mimo_plcp(u32 rspec, uint length, u8 *plcp) in brcms_c_compute_mimo_plcp()
6096 uint length, u8 *plcp) in brcms_c_compute_cck_plcp()
6105 uint length, u8 *plcp) in brcms_c_compute_plcp()
6130 u8 frame_preamble_type, uint frame_len, bool ba) in brcms_c_compute_rtscts_dur()
6179 uint mcs = rspec & RSPEC_RATE_MASK; in brcms_c_phytxctl1_calc()
6222 struct sk_buff *p, struct scb *scb, uint frag, in brcms_c_d11hdrs_mac80211()
6223 uint nfrags, uint queue, uint next_frag_len) in brcms_c_d11hdrs_mac80211()
6242 uint ac; in brcms_c_d11hdrs_mac80211()
6248 uint phyctl1_stf = 0; in brcms_c_d11hdrs_mac80211()
6770 uint frag_dur, dur, dur_fallback; in brcms_c_d11hdrs_mac80211()
6822 uint newfragthresh; in brcms_c_d11hdrs_mac80211()
6919 uint fifo; in brcms_c_sendpkt_mac80211()
6933 brcms_c_txfifo(struct brcms_c_info *wlc, uint fifo, struct sk_buff *p) in brcms_c_txfifo()
7211 uint mac_len) in brcms_c_calc_lsig_len()
7213 uint nsyms, len = 0, kNdps; in brcms_c_calc_lsig_len()
7216 uint mcs = ratespec & RSPEC_RATE_MASK; in brcms_c_calc_lsig_len()
7252 brcms_c_mod_prb_rsp_rate_table(struct brcms_c_info *wlc, uint frame_len) in brcms_c_mod_prb_rsp_rate_table()
7260 uint i; in brcms_c_mod_prb_rsp_rate_table()
7530 int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo, in brcms_b_xmtfifo_sz_get()
7531 uint *blocks) in brcms_b_xmtfifo_sz_get()
7642 uint qdbm; in brcms_c_set_tx_power()
7645 qdbm = min_t(uint, txpwr * BRCMS_TXPWR_DB_FACTOR, 0xff); in brcms_c_set_tx_power()
7651 uint qdbm; in brcms_c_get_tx_power()
7669 uint len; in brcms_c_recv()
7719 brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound) in brcms_b_recv()
7725 uint n = 0; in brcms_b_recv()
7726 uint bound_limit = bound ? RXBND : -1; in brcms_b_recv()
7966 brcms_c_attach(struct brcms_info *wl, struct bcma_device *core, uint unit, in brcms_c_attach()
7967 bool piomode, uint *perr) in brcms_c_attach()
7970 uint err = 0; in brcms_c_attach()
7971 uint i, j; in brcms_c_attach()