Lines Matching refs:mpa_rx

1724 	if (!card->mpa_rx.enabled) {  in mwifiex_sdio_card_to_host_mp_aggr()
1791 card->mpa_rx.pkt_cnt); in mwifiex_sdio_card_to_host_mp_aggr()
1798 if (card->mpa_rx.ports & BIT(i)) in mwifiex_sdio_card_to_host_mp_aggr()
1806 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1809 (card->mpa_rx.ports << 4)) + in mwifiex_sdio_card_to_host_mp_aggr()
1810 card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1813 if (card->mpa_rx.pkt_cnt == 1) in mwifiex_sdio_card_to_host_mp_aggr()
1814 mport = adapter->ioport + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
1816 if (mwifiex_read_data_sync(adapter, card->mpa_rx.buf, in mwifiex_sdio_card_to_host_mp_aggr()
1817 card->mpa_rx.buf_len, mport, 1)) in mwifiex_sdio_card_to_host_mp_aggr()
1820 curr_ptr = card->mpa_rx.buf; in mwifiex_sdio_card_to_host_mp_aggr()
1822 for (pind = 0; pind < card->mpa_rx.pkt_cnt; pind++) { in mwifiex_sdio_card_to_host_mp_aggr()
1823 u32 *len_arr = card->mpa_rx.len_arr; in mwifiex_sdio_card_to_host_mp_aggr()
1879 card->mpa_rx.buf, rx_len, in mwifiex_sdio_card_to_host_mp_aggr()
2070 (card->mpa_rx.enabled && in mwifiex_process_int_status()
2072 card->mpa_rx.buf_size))) { in mwifiex_process_int_status()
2392 card->mpa_rx.buf = kzalloc(rx_buf_size, GFP_KERNEL); in mwifiex_alloc_sdio_mpa_buffers()
2393 if (!card->mpa_rx.buf) { in mwifiex_alloc_sdio_mpa_buffers()
2398 card->mpa_rx.buf_size = rx_buf_size; in mwifiex_alloc_sdio_mpa_buffers()
2403 kfree(card->mpa_rx.buf); in mwifiex_alloc_sdio_mpa_buffers()
2405 card->mpa_rx.buf_size = 0; in mwifiex_alloc_sdio_mpa_buffers()
2407 card->mpa_rx.buf = NULL; in mwifiex_alloc_sdio_mpa_buffers()
2516 card->mpa_rx.buf_len = 0; in mwifiex_init_sdio()
2517 card->mpa_rx.pkt_cnt = 0; in mwifiex_init_sdio()
2518 card->mpa_rx.start_port = 0; in mwifiex_init_sdio()
2520 card->mpa_rx.enabled = 1; in mwifiex_init_sdio()
2521 card->mpa_rx.pkt_aggr_limit = card->mp_agg_pkt_limit; in mwifiex_init_sdio()
2529 card->mpa_rx.skb_arr = kcalloc(card->mp_agg_pkt_limit, sizeof(void *), in mwifiex_init_sdio()
2531 if (!card->mpa_rx.skb_arr) { in mwifiex_init_sdio()
2536 card->mpa_rx.len_arr = kcalloc(card->mp_agg_pkt_limit, in mwifiex_init_sdio()
2537 sizeof(*card->mpa_rx.len_arr), in mwifiex_init_sdio()
2539 if (!card->mpa_rx.len_arr) { in mwifiex_init_sdio()
2541 kfree(card->mpa_rx.skb_arr); in mwifiex_init_sdio()
2561 card->mpa_rx.enabled = 0; in mwifiex_init_sdio()
2596 kfree(card->mpa_rx.skb_arr); in mwifiex_cleanup_sdio()
2597 kfree(card->mpa_rx.len_arr); in mwifiex_cleanup_sdio()
2599 kfree(card->mpa_rx.buf); in mwifiex_cleanup_sdio()