Lines Matching defs:address

901 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data,
909 /* Host buffer address in CE space */
933 /* The address supplied by the caller is in the
934 * Target CPU virtual address space.
936 * In order to use this address with the diagnostic CE,
937 * convert it from Target CPU virtual address space
938 * to CE address space
940 address = ath10k_pci_targ_cpu_to_ce_addr(ar, address);
952 /* Request CE to send from Target(!) address to Host buffer */
953 ret = ath10k_ce_send(ce_diag, NULL, (u32)address, nbytes, 0, 0);
993 address += nbytes;
1008 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value)
1013 ret = ath10k_pci_diag_read_mem(ar, address, &val, sizeof(val));
1029 ath10k_warn(ar, "failed to get memcpy hi address for firmware address %d: %d\n",
1047 int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address,
1078 * The address supplied by the caller is in the
1079 * Target CPU virtual address space.
1081 * In order to use this address with the diagnostic CE,
1083 * Target CPU virtual address space
1085 * CE address space
1087 address = ath10k_pci_targ_cpu_to_ce_addr(ar, address);
1097 /* Set up to receive directly into Target(!) address */
1098 ret = ath10k_ce_rx_post_buf(ce_diag, &address, address);
1104 * was copied to bounce buffer to Target(!) address.
1138 if (*buf != address) {
1144 address += nbytes;
1156 address, ret);
1163 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value)
1167 return ath10k_pci_diag_write_mem(ar, address, &val, sizeof(val));
1419 int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf,
1422 return ath10k_pci_diag_read_mem(ar, address, buf, buf_len);
1482 ath10k_warn(ar, "incorrect memdump region 0x%x with section start address 0x%x.\n",
1490 * start address
1503 ath10k_warn(ar, "incorrect ramdump format with start address 0x%x and stop address 0x%x\n",
1517 ath10k_warn(ar, "next ramdump section 0x%x is smaller than current end address 0x%x\n",
3246 * depends on target correctly decoding AXI address but