Lines Matching refs:mpa_rx
1760 if (!card->mpa_rx.enabled) { in mwifiex_sdio_card_to_host_mp_aggr()
1827 card->mpa_rx.pkt_cnt); in mwifiex_sdio_card_to_host_mp_aggr()
1834 if (card->mpa_rx.ports & BIT(i)) in mwifiex_sdio_card_to_host_mp_aggr()
1842 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1845 (card->mpa_rx.ports << 4)) + in mwifiex_sdio_card_to_host_mp_aggr()
1846 card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1849 if (card->mpa_rx.pkt_cnt == 1) in mwifiex_sdio_card_to_host_mp_aggr()
1850 mport = adapter->ioport + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1852 if (mwifiex_read_data_sync(adapter, card->mpa_rx.buf, in mwifiex_sdio_card_to_host_mp_aggr()
1853 card->mpa_rx.buf_len, mport, 1)) in mwifiex_sdio_card_to_host_mp_aggr()
1856 curr_ptr = card->mpa_rx.buf; in mwifiex_sdio_card_to_host_mp_aggr()
1858 for (pind = 0; pind < card->mpa_rx.pkt_cnt; pind++) { in mwifiex_sdio_card_to_host_mp_aggr()
1859 u32 *len_arr = card->mpa_rx.len_arr; in mwifiex_sdio_card_to_host_mp_aggr()
1915 card->mpa_rx.buf, rx_len, in mwifiex_sdio_card_to_host_mp_aggr()
2106 (card->mpa_rx.enabled && in mwifiex_process_int_status()
2108 card->mpa_rx.buf_size))) { in mwifiex_process_int_status()
2428 card->mpa_rx.buf = kzalloc(rx_buf_size, GFP_KERNEL); in mwifiex_alloc_sdio_mpa_buffers()
2429 if (!card->mpa_rx.buf) { in mwifiex_alloc_sdio_mpa_buffers()
2434 card->mpa_rx.buf_size = rx_buf_size; in mwifiex_alloc_sdio_mpa_buffers()
2439 kfree(card->mpa_rx.buf); in mwifiex_alloc_sdio_mpa_buffers()
2441 card->mpa_rx.buf_size = 0; in mwifiex_alloc_sdio_mpa_buffers()
2443 card->mpa_rx.buf = NULL; in mwifiex_alloc_sdio_mpa_buffers()
2565 card->mpa_rx.buf_len = 0; in mwifiex_init_sdio()
2566 card->mpa_rx.pkt_cnt = 0; in mwifiex_init_sdio()
2567 card->mpa_rx.start_port = 0; in mwifiex_init_sdio()
2569 card->mpa_rx.enabled = 1; in mwifiex_init_sdio()
2570 card->mpa_rx.pkt_aggr_limit = card->mp_agg_pkt_limit; in mwifiex_init_sdio()
2578 card->mpa_rx.skb_arr = kcalloc(card->mp_agg_pkt_limit, sizeof(void *), in mwifiex_init_sdio()
2580 if (!card->mpa_rx.skb_arr) { in mwifiex_init_sdio()
2585 card->mpa_rx.len_arr = kcalloc(card->mp_agg_pkt_limit, in mwifiex_init_sdio()
2586 sizeof(*card->mpa_rx.len_arr), in mwifiex_init_sdio()
2588 if (!card->mpa_rx.len_arr) { in mwifiex_init_sdio()
2590 kfree(card->mpa_rx.skb_arr); in mwifiex_init_sdio()
2610 card->mpa_rx.enabled = 0; in mwifiex_init_sdio()
2645 kfree(card->mpa_rx.skb_arr); in mwifiex_cleanup_sdio()
2646 kfree(card->mpa_rx.len_arr); in mwifiex_cleanup_sdio()
2648 kfree(card->mpa_rx.buf); in mwifiex_cleanup_sdio()