Lines Matching refs:data

213 	mapping.addr = dma_map_single(&card->dev->dev, skb->data, size, flags);
234 * This function writes data into PCIE card register.
236 static int mwifiex_write_reg(struct mwifiex_adapter *adapter, int reg, u32 data)
240 iowrite32(data, card->pci_mmap1 + reg);
245 /* This function reads data from PCIE card register.
247 static int mwifiex_read_reg(struct mwifiex_adapter *adapter, int reg, u32 *data)
251 *data = ioread32(card->pci_mmap1 + reg);
252 if (*data == 0xffffffff)
258 /* This function reads u8 data from PCIE card register. */
260 int reg, u8 *data)
264 *data = ioread8(card->pci_mmap1 + reg);
398 struct mwifiex_pcie_device *data = (void *)ent->driver_data;
399 card->pcie.reg = data->reg;
400 card->pcie.blksz_fw_dl = data->blksz_fw_dl;
401 card->pcie.tx_buf_size = data->tx_buf_size;
402 card->pcie.can_dump_fw = data->can_dump_fw;
403 card->pcie.mem_type_mapping_tbl = data->mem_type_mapping_tbl;
404 card->pcie.num_mem_types = data->num_mem_types;
405 card->pcie.can_ext_scan = data->can_ext_scan;
623 buffer = cmdrsp->data;
793 /* Allocate skb here so that firmware can DMA data from it */
812 "info: RX ring: skb=%p len=%d data=%p buf_pa=%#x:%x\n",
813 skb, skb->len, skb->data, (u32)buf_pa,
852 /* Allocate skb here so that firmware can DMA data from it */
870 "info: EVT ring: skb=%p len=%d data=%p buf_pa=%#x:%x\n",
871 skb, skb->len, skb->data, (u32)buf_pa,
1209 /* Allocate memory for receiving command response data */
1213 "Unable to allocate skb for command response data.\n");
1328 * This function unmaps and frees downloaded data buffer
1420 /* This function sends data buffer to device. First 4 bytes of payload
1439 if (!(skb->data && skb->len)) {
1442 __func__, skb->data, skb->len);
1457 payload = skb->data;
1609 /* Get data length from interface header -
1612 rx_len = get_unaligned_le16(skb_data->data);
1714 if (!(skb->data && skb->len)) {
1717 __func__, skb->data, skb->len);
1770 /* This function init rx port in firmware which in turn enables to receive data
1798 u8 *payload = (u8 *)skb->data;
1800 if (!(skb->data && skb->len)) {
1803 __func__, skb->data, skb->len);
1833 1. Write the 64bit physical address of the data buffer to
1936 rx_len = get_unaligned_le16(skb->data);
1962 mwifiex_process_sleep_confirm_resp(adapter, skb->data,
1968 memcpy(adapter->upld_buf, skb->data,
2078 &skb_cmd->data[adapter->intf_hdr_len]);
2082 memcpy(&data_len, skb_cmd->data, sizeof(__le16));
2091 memcpy(adapter->event_body, skb_cmd->data +
2190 * (2) bluetooth image, start with CMD7, end with CMD6, data wrapped in CMD1.
2348 /* Perform firmware data transfer */
2352 /* More data? */
2408 memmove(skb->data, &firmware[offset], txlen);
2734 * This function downloads data from driver to card.
2736 * Both commands and data packets are transferred to the card by this
2981 "vzalloc devdump data failure!\n");
3330 * PCIE IRQ is claimed, block size is set and driver data is initialized.
3355 * data is set to null.
3394 * data transfer, we should reset it to default size.