Home
last modified time | relevance | path

Searched refs:host_addr (Results 1 – 25 of 104) sorted by relevance

12345

/openbmc/linux/drivers/usb/gadget/function/
H A Du_ether.h35 static char *host_addr; \
36 module_param(host_addr, charp, S_IRUGO); \
37 MODULE_PARM_DESC(host_addr, "Host Ethernet Address")
92 const char *dev_addr, const char *host_addr,
109 const char *dev_addr, const char *host_addr, in gether_setup() argument
112 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup()
184 int gether_set_host_addr(struct net_device *net, const char *host_addr);
195 int gether_get_host_addr(struct net_device *net, char *host_addr, int len);
207 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len);
H A Du_ether.c740 const char *dev_addr, const char *host_addr, in gether_setup_name() argument
774 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
929 int gether_set_host_addr(struct net_device *net, const char *host_addr) in gether_set_host_addr() argument
935 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr()
942 int gether_get_host_addr(struct net_device *net, char *host_addr, int len) in gether_get_host_addr() argument
948 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
950 host_addr[ret++] = '\n'; in gether_get_host_addr()
951 host_addr[ret] = '\0'; in gether_get_host_addr()
966 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
968 string_upper(host_addr, host_addr); in gether_get_host_addr_cdc()
[all …]
/openbmc/qemu/linux-user/
H A Duaccess.c10 void *host_addr; in lock_user() local
16 host_addr = g2h_untagged(guest_addr); in lock_user()
19 host_addr = g_memdup(host_addr, len); in lock_user()
21 host_addr = g_malloc0(len); in lock_user()
24 return host_addr; in lock_user()
H A Dmmap.c1106 void *host_addr; in target_mremap() local
1120 host_addr = mremap(g2h_untagged(old_addr), old_size, new_size, in target_mremap()
1123 if (reserved_va && host_addr != MAP_FAILED) { in target_mremap()
1137 host_addr = MAP_FAILED; in target_mremap()
1157 host_addr = mremap(g2h_untagged(old_addr), in target_mremap()
1160 if (host_addr != MAP_FAILED) { in target_mremap()
1164 host_addr = mremap(g2h_untagged(old_addr), in target_mremap()
1167 host_addr = MAP_FAILED; in target_mremap()
1175 host_addr = MAP_FAILED; in target_mremap()
1179 if (host_addr == MAP_FAILED) { in target_mremap()
[all …]
/openbmc/telemetry/redfish-tests/
H A Dredfish_requests.py25 def __init__(self, host_addr, username, password): argument
26 self.host_addr = host_addr
31 u = self.host_addr + path
40 u = self.host_addr + path
51 u = self.host_addr + path
H A Dconftest.py16 host_addr = request.config.getoption("--host_addr")
19 return redfish_requests.RedfishRequest(host_addr, username, password)
/openbmc/qemu/linux-user/arm/
H A Dcpu_loop.c119 uint32_t oldval, newval, val, addr, cpsr, *host_addr; in arm_kernel_cmpxchg32_helper() local
127 host_addr = atomic_mmu_lookup(env, addr, 4); in arm_kernel_cmpxchg32_helper()
128 if (!host_addr) { in arm_kernel_cmpxchg32_helper()
133 val = qatomic_cmpxchg__nocheck(host_addr, oldval, newval); in arm_kernel_cmpxchg32_helper()
159 uint64_t *host_addr; in arm_kernel_cmpxchg64_helper() local
173 host_addr = atomic_mmu_lookup(env, addr, 8); in arm_kernel_cmpxchg64_helper()
174 if (!host_addr) { in arm_kernel_cmpxchg64_helper()
184 val = qatomic_cmpxchg__nocheck(host_addr, oldval, newval); in arm_kernel_cmpxchg64_helper()
192 val = *host_addr; in arm_kernel_cmpxchg64_helper()
194 *host_addr = newval; in arm_kernel_cmpxchg64_helper()
/openbmc/qemu/accel/tcg/
H A Dtranslator.c135 db->host_addr[0] = host_pc; in translator_loop()
136 db->host_addr[1] = NULL; in translator_loop()
257 host = db->host_addr[0]; in translator_ld()
288 host = db->host_addr[1]; in translator_ld()
293 new_page1 = get_page_addr_code_hostp(env, base, &db->host_addr[1]); in translator_ld()
323 host = db->host_addr[1]; in translator_ld()
386 if (db->host_addr[0]) { in translator_st()
388 memcpy(dest, db->host_addr[0] + offset, len); in translator_st()
393 memcpy(dest, db->host_addr[0] + offset, len0); in translator_st()
400 if (db->host_addr[1] && offset >= offset_page1) { in translator_st()
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.h77 uint32_t host_addr:8; member
100 uint8_t host_addr; member
182 uint8_t host_addr; member
197 uint8_t host_addr; member
207 uint8_t host_addr; member
287 hdr->host_addr = 0; in ishtp_hbm_hdr()
/openbmc/linux/include/xen/
H A Dgrant_table.h166 map->host_addr = addr; in gnttab_set_map_op()
168 map->host_addr = __pa(addr); in gnttab_set_map_op()
170 map->host_addr = addr; in gnttab_set_map_op()
183 unmap->host_addr = addr; in gnttab_set_unmap_op()
185 unmap->host_addr = __pa(addr); in gnttab_set_unmap_op()
187 unmap->host_addr = addr; in gnttab_set_unmap_op()
/openbmc/linux/drivers/misc/mei/
H A Dhw.h413 u32 host_addr:8; member
443 u8 host_addr; member
602 u8 host_addr; member
617 u8 host_addr; member
627 u8 host_addr; member
644 u8 host_addr; member
668 u8 host_addr; member
685 u8 host_addr; member
/openbmc/qemu/hw/tpm/
H A Dtpm_ppi.c33 hwaddr mr_offs = block->host_addr - in tpm_ppi_reset()
36 trace_tpm_ppi_memset(block->host_addr, in tpm_ppi_reset()
38 memset(block->host_addr, 0, in tpm_ppi_reset()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dp54pci.c149 if (!desc->host_addr) { in p54p_refill_rx_ring()
228 desc->host_addr = cpu_to_le32(0); in p54p_check_rx_ring()
265 le32_to_cpu(desc->host_addr), in p54p_check_tx_ring()
268 desc->host_addr = 0; in p54p_check_tx_ring()
386 if (desc->host_addr) in p54p_stop()
388 le32_to_cpu(desc->host_addr), in p54p_stop()
397 if (desc->host_addr) in p54p_stop()
399 le32_to_cpu(desc->host_addr), in p54p_stop()
408 if (desc->host_addr) in p54p_stop()
410 le32_to_cpu(desc->host_addr), in p54p_stop()
[all …]
/openbmc/qemu/migration/
H A Dram.h68 int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr);
70 void ramblock_recv_bitmap_set(RAMBlock *rb, void *host_addr);
71 void ramblock_recv_bitmap_set_range(RAMBlock *rb, void *host_addr, size_t nr);
H A Dpostcopy-ram.c491 void *host_addr = qemu_ram_get_host_addr(rb); in init_range() local
523 void *host_addr = qemu_ram_get_host_addr(rb); in cleanup_range() local
534 qemu_madvise(host_addr, length, QEMU_MADV_HUGEPAGE); in cleanup_range()
541 range_struct.start = (uintptr_t)host_addr; in cleanup_range()
679 void *host_addr = qemu_ram_get_host_addr(rb); in nhp_range() local
689 qemu_madvise(host_addr, length, QEMU_MADV_NOHUGEPAGE); in nhp_range()
1279 copy_struct.dst = (uint64_t)(uintptr_t)host_addr; in qemu_ufd_copy_ioctl()
1293 ramblock_recv_bitmap_set_range(rb, host_addr, in qemu_ufd_copy_ioctl()
1300 g_tree_remove(mis->page_requested, host_addr); in qemu_ufd_copy_ioctl()
1317 mark_postcopy_blocktime_end((uintptr_t)host_addr); in qemu_ufd_copy_ioctl()
[all …]
/openbmc/linux/arch/arm/xen/
H A Dp2m.c103 if (likely(set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT, in set_foreign_p2m_mapping()
112 unmap.host_addr = map_ops[i].host_addr, in set_foreign_p2m_mapping()
143 set_phys_to_machine(unmap_ops[i].host_addr >> XEN_PAGE_SHIFT, in clear_foreign_p2m_mapping()
/openbmc/qemu/system/
H A Dmemory_mapping.c203 uint8_t *host_addr = memory_region_get_ram_ptr(section->mr) + in guest_phys_block_add_section() local
219 predecessor->host_addr + predecessor_size != host_addr || in guest_phys_block_add_section()
231 block->host_addr = host_addr; in guest_phys_block_add_section()
/openbmc/linux/drivers/bus/mhi/ep/
H A Dring.c48 buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element)); in __mhi_ep_cache_ring()
56 buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element)); in __mhi_ep_cache_ring()
64 buf_info.host_addr = ring->rbase; in __mhi_ep_cache_ring()
142 buf_info.host_addr = ring->rbase + (old_offset * sizeof(*el)); in mhi_ep_ring_add_element()
/openbmc/linux/include/xen/interface/
H A Dgrant_table.h283 uint64_t host_addr; member
307 uint64_t host_addr; member
435 uint64_t host_addr; member
/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-xdma.c168 u64 host_addr; member
307 (u32)op->host_addr); in aspeed_xdma_ast2500_set_cmd()
324 cmds[1].host_addr = op->host_addr + (u64)total; in aspeed_xdma_ast2500_set_cmd()
346 cmds[0].host_addr = op->host_addr; in aspeed_xdma_ast2500_set_cmd()
373 if (op->host_addr & 0xffffffff00000000ULL || in aspeed_xdma_ast2600_set_cmd()
374 (op->host_addr + (u64)op->len) & 0xffffffff00000000ULL) in aspeed_xdma_ast2600_set_cmd()
379 bmc_addr, op->len, op->host_addr); in aspeed_xdma_ast2600_set_cmd()
394 cmds[1].host_addr = op->host_addr + (u64)total; in aspeed_xdma_ast2600_set_cmd()
415 cmds[0].host_addr = op->host_addr; in aspeed_xdma_ast2600_set_cmd()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c1089 u64 host_addr = hyp_pfn_to_phys(pfn); in __pkvm_host_share_hyp() local
1090 u64 hyp_addr = (u64)__hyp_va(host_addr); in __pkvm_host_share_hyp()
1096 .addr = host_addr, in __pkvm_host_share_hyp()
1122 u64 host_addr = hyp_pfn_to_phys(pfn); in __pkvm_host_unshare_hyp() local
1123 u64 hyp_addr = (u64)__hyp_va(host_addr); in __pkvm_host_unshare_hyp()
1129 .addr = host_addr, in __pkvm_host_unshare_hyp()
1155 u64 host_addr = hyp_pfn_to_phys(pfn); in __pkvm_host_donate_hyp() local
1156 u64 hyp_addr = (u64)__hyp_va(host_addr); in __pkvm_host_donate_hyp()
1162 .addr = host_addr, in __pkvm_host_donate_hyp()
1187 u64 host_addr = hyp_pfn_to_phys(pfn); in __pkvm_hyp_donate_host() local
[all …]
/openbmc/qemu/net/
H A Dslirp.c721 struct sockaddr_in host_addr = { in hmp_hostfwd_remove() local
763 if (buf[0] != '\0' && !inet_aton(buf, &host_addr.sin_addr)) { in hmp_hostfwd_remove()
770 host_addr.sin_port = htons(host_port); in hmp_hostfwd_remove()
773 err = slirp_remove_hostxfwd(s->slirp, (struct sockaddr *) &host_addr, in hmp_hostfwd_remove()
774 sizeof(host_addr), is_udp ? SLIRP_HOSTFWD_UDP : 0); in hmp_hostfwd_remove()
776 err = slirp_remove_hostfwd(s->slirp, is_udp, host_addr.sin_addr, host_port); in hmp_hostfwd_remove()
789 struct sockaddr_in host_addr = { in slirp_hostfwd() local
827 if (buf[0] != '\0' && !inet_aton(buf, &host_addr.sin_addr)) { in slirp_hostfwd()
841 host_addr.sin_port = htons(host_port); in slirp_hostfwd()
861 (struct sockaddr *) &host_addr, sizeof(host_addr), in slirp_hostfwd()
[all …]
/openbmc/qemu/include/hw/xen/interface/
H A Dgrant_table.h328 uint64_t host_addr; member
353 uint64_t host_addr; member
492 uint64_t host_addr; member
/openbmc/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-mhi.c216 size_t offset = get_align_offset(epf_mhi, buf_info->host_addr); in pci_epf_mhi_iatu_read()
223 ret = __pci_epf_mhi_alloc_map(mhi_cntrl, buf_info->host_addr, &tre_phys, in pci_epf_mhi_iatu_read()
232 __pci_epf_mhi_unmap_free(mhi_cntrl, buf_info->host_addr, tre_phys, in pci_epf_mhi_iatu_read()
244 size_t offset = get_align_offset(epf_mhi, buf_info->host_addr); in pci_epf_mhi_iatu_write()
251 ret = __pci_epf_mhi_alloc_map(mhi_cntrl, buf_info->host_addr, &tre_phys, in pci_epf_mhi_iatu_write()
260 __pci_epf_mhi_unmap_free(mhi_cntrl, buf_info->host_addr, tre_phys, in pci_epf_mhi_iatu_write()
293 config.src_addr = buf_info->host_addr; in pci_epf_mhi_edma_read()
364 config.dst_addr = buf_info->host_addr; in pci_epf_mhi_edma_write()
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c172 uintptr_t host_addr; in proxy_memory_listener_commit() local
191 host_addr = (uintptr_t)memory_region_get_ram_ptr(section->mr) + in proxy_memory_listener_commit()
193 msg.fds[region] = get_fd_from_hostaddr(host_addr, &offset); in proxy_memory_listener_commit()

12345