/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | u_ether.h | 24 * host_addr: this address is invisible to ifconfig 35 static char *host_addr; \ 36 module_param(host_addr, charp, S_IRUGO); \ 37 MODULE_PARM_DESC(host_addr, "Host Ethernet Address") 91 const char *dev_addr, const char *host_addr, 108 const char *dev_addr, const char *host_addr, in gether_setup() 111 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup() 177 * @host_addr: eth address of the host 180 * if host_addr is correct. 183 int gether_set_host_addr(struct net_device *net, const char *host_addr); 107 gether_setup(struct usb_gadget *g, const char *dev_addr, const char *host_addr, u8 ethaddr[ETH_ALEN], unsigned qmult) gether_setup() argument [all...] |
H A D | u_ether.c | 751 const char *dev_addr, const char *host_addr, in gether_setup_name() 783 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name() 939 int gether_set_host_addr(struct net_device *net, const char *host_addr) in gether_set_host_addr() argument 945 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr() 952 int gether_get_host_addr(struct net_device *net, char *host_addr, int len) in gether_get_host_addr() argument 958 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr() 960 host_addr[ret++] = '\n'; in gether_get_host_addr() 961 host_addr[ret] = '\0'; in gether_get_host_addr() 968 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len) in gether_get_host_addr_cdc() argument 976 snprintf(host_addr, le in gether_get_host_addr_cdc() 750 gether_setup_name(struct usb_gadget *g, const char *dev_addr, const char *host_addr, u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname) gether_setup_name() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | u_ether.h | 24 * host_addr: this address is invisible to ifconfig 35 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() 112 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup() 178 * @host_addr: eth address of the host 181 * if host_addr is correct. 184 int gether_set_host_addr(struct net_device *net, const char *host_addr); 108 gether_setup(struct usb_gadget *g, const char *dev_addr, const char *host_addr, u8 ethaddr[ETH_ALEN], unsigned qmult) gether_setup() argument [all...] |
H A D | u_ether.c | 740 const char *dev_addr, const char *host_addr, in gether_setup_name() 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() 958 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len) in gether_get_host_addr_cdc() argument 966 snprintf(host_addr, le in gether_get_host_addr_cdc() 739 gether_setup_name(struct usb_gadget *g, const char *dev_addr, const char *host_addr, u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname) gether_setup_name() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | hw.h | 293 * @host_addr: host address 304 u32 host_addr:8; member 328 * @host_addr: address of the client in the driver 334 u8 host_addr; member 487 * @host_addr: address of the client in the driver 493 u8 host_addr; member 502 * @host_addr: address of the client in the driver 508 u8 host_addr; member 518 u8 host_addr; member 529 * @host_addr 535 u8 host_addr; global() member 559 u8 host_addr; global() member 576 u8 host_addr; global() member [all...] |
/kernel/linux/linux-6.6/drivers/misc/mei/ |
H A D | hw.h | 402 * @host_addr: host address 413 u32 host_addr:8; member 437 * @host_addr: address of the client in the driver 443 u8 host_addr; member 596 * @host_addr: address of the client in the driver 602 u8 host_addr; member 611 * @host_addr: address of the client in the driver 617 u8 host_addr; member 627 u8 host_addr; member 638 * @host_addr 644 u8 host_addr; global() member 668 u8 host_addr; global() member 685 u8 host_addr; global() member [all...] |
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
H A D | gasket_page_table.c | 428 * contiguous virtual memory range. Check if the host_addr is within that range. 430 static int is_coherent(struct gasket_page_table *pg_tbl, ulong host_addr) in is_coherent() argument 441 return min <= host_addr && host_addr < max; in is_coherent() 467 u64 __iomem *slots, ulong host_addr, in gasket_perform_mapping() 478 page_addr = host_addr + i * PAGE_SIZE; in gasket_perform_mapping() 480 if (is_coherent(pg_tbl, host_addr)) { in gasket_perform_mapping() 482 (u64)host_addr - in gasket_perform_mapping() 818 ulong host_addr, ulong dev_addr, in gasket_map_simple_pages() 833 pg_tbl->base_slot + slot_idx, host_addr, in gasket_map_simple_pages() 465 gasket_perform_mapping(struct gasket_page_table *pg_tbl, struct gasket_page_table_entry *ptes, u64 __iomem *slots, ulong host_addr, uint num_pages, int is_simple_mapping) gasket_perform_mapping() argument 817 gasket_map_simple_pages(struct gasket_page_table *pg_tbl, ulong host_addr, ulong dev_addr, uint num_pages) gasket_map_simple_pages() argument 953 gasket_map_extended_pages(struct gasket_page_table *pg_tbl, ulong host_addr, ulong dev_addr, uint num_pages) gasket_map_extended_pages() argument 1012 gasket_page_table_map(struct gasket_page_table *pg_tbl, ulong host_addr, ulong dev_addr, uint num_pages) gasket_page_table_map() argument 1134 gasket_page_table_are_addrs_bad(struct gasket_page_table *pg_tbl, ulong host_addr, ulong dev_addr, ulong bytes) gasket_page_table_are_addrs_bad() argument [all...] |
H A D | gasket_page_table.h | 85 * @host_addr: Starting host virtual memory address of the pages. 90 * host_addr to the address "dev_addr" in device memory. 97 int gasket_page_table_map(struct gasket_page_table *page_table, ulong host_addr, 155 * @host_addr: Host address to check. 166 ulong host_addr, ulong dev_addr, 235 * Records the host_addr to coherent dma memory mapping.
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
H A D | hbm.h | 77 uint32_t host_addr:8; member 94 * @host_addr - address of the client in the driver 100 uint8_t host_addr; member 176 * @host_addr - address of the client in the driver 182 uint8_t host_addr; member 191 * @host_addr - address of the client in the driver 197 uint8_t host_addr; member 207 uint8_t host_addr; member 286 hdr->host_addr = 0; in ishtp_hbm_hdr()
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | grant_table.h | 166 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()
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | grant_table.h | 166 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()
|
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/ |
H A D | hbm.h | 77 uint32_t host_addr:8; member 94 * @host_addr - address of the client in the driver 100 uint8_t host_addr; member 176 * @host_addr - address of the client in the driver 182 uint8_t host_addr; member 191 * @host_addr - address of the client in the driver 197 uint8_t host_addr; member 207 uint8_t host_addr; member 287 hdr->host_addr = 0; in ishtp_hbm_hdr()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
H A D | p54pci.c | 149 if (!desc->host_addr) { in p54p_refill_rx_ring() 168 desc->host_addr = cpu_to_le32(mapping); in p54p_refill_rx_ring() 217 dma_addr = le32_to_cpu(desc->host_addr); in p54p_check_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() 354 desc->host_addr = cpu_to_le32(mapping); in p54p_tx() 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H A D | p54pci.c | 149 if (!desc->host_addr) { in p54p_refill_rx_ring() 168 desc->host_addr = cpu_to_le32(mapping); in p54p_refill_rx_ring() 217 dma_addr = le32_to_cpu(desc->host_addr); in p54p_check_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() 354 desc->host_addr = cpu_to_le32(mapping); in p54p_tx() 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() [all...] |
/kernel/linux/linux-5.10/arch/arm/xen/ |
H A D | p2m.c | 102 if (likely(set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT, in set_foreign_p2m_mapping() 111 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()
|
/kernel/linux/linux-6.6/arch/arm/xen/ |
H A D | p2m.c | 103 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()
|
/kernel/linux/linux-6.6/drivers/bus/mhi/ep/ |
H A D | ring.c | 48 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()
|
/kernel/linux/linux-5.10/include/xen/interface/ |
H A D | grant_table.h | 256 * address is specified in <host_addr>. 264 uint64_t host_addr; member 277 * tracked by <handle>. If <host_addr> or <dev_bus_addr> is zero, that 289 uint64_t host_addr; member 422 uint64_t host_addr; member
|
/kernel/linux/linux-6.6/include/xen/interface/ |
H A D | grant_table.h | 276 * address is specified in <host_addr>. 283 uint64_t host_addr; member 296 * tracked by <handle>. If <host_addr> or <dev_bus_addr> is zero, that 307 uint64_t host_addr; member 435 uint64_t host_addr; member
|
/kernel/linux/linux-6.6/drivers/pci/endpoint/functions/ |
H A D | pci-epf-mhi.c | 216 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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
H A D | multi.c | 321 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in multi_bind() 322 pr_info("using host ethernet address: %s", host_addr); in multi_bind() 337 if (!gether_set_host_addr(rndis_opts->net, host_addr)) in multi_bind() 338 pr_info("using host ethernet address: %s", host_addr); in multi_bind()
|
H A D | ncm.c | 140 if (!gether_set_host_addr(ncm_opts->net, host_addr)) in gncm_bind() 141 pr_info("using host ethernet address: %s", host_addr); in gncm_bind()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/ |
H A D | multi.c | 321 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in multi_bind() 322 pr_info("using host ethernet address: %s", host_addr); in multi_bind() 337 if (!gether_set_host_addr(rndis_opts->net, host_addr)) in multi_bind() 338 pr_info("using host ethernet address: %s", host_addr); in multi_bind()
|
H A D | ncm.c | 140 if (!gether_set_host_addr(ncm_opts->net, host_addr)) in gncm_bind() 141 pr_info("using host ethernet address: %s", host_addr); in gncm_bind()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 1089 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 in __pkvm_hyp_donate_host() local [all...] |