Lines Matching refs:buffer
703 u8 *buffer, u32 pkt_len, u32 port)
724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size);
733 static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *buffer,
748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size);
1387 * This function sends a data buffer to the card.
1390 u32 *type, u8 *buffer,
1396 if (!buffer) {
1398 "%s: buffer is NULL\n", __func__);
1402 ret = mwifiex_read_data_sync(adapter, buffer, npayload, ioport, 1);
1411 nb = get_unaligned_le16((buffer));
1419 *type = get_unaligned_le16((buffer + 2));
1456 /* Assume that the allocated buffer is 8-byte aligned */
1545 /* Copy payload to buffer */
1734 * is enabled and required, the buffers are copied onto an aggregation buffer,
2064 /* Check if firmware has attach buffer at command port and
2160 * buffer and then downloaded to the card. Previous unsent packets in the
2161 * aggregation buffer are pre-copied first before new packets are added.
2162 * Aggregation is done till there is space left in the aggregation buffer,
2166 * stops, otherwise it will just aggregate the packet in aggregation buffer
2247 "data: %s: precopy current buffer\n",
2259 "data: %s: send aggr buffer: %d %d\n",
2303 "data: %s: send current buffer %d\n",
2311 "data: %s: postcopy current buffer\n",
2325 * This function adds the SDIO specific header to the front of the buffer
2341 /* Allocate buffer and copy payload */
2635 * - MPA Tx buffer
2636 * - MPA Rx buffer