Home
last modified time | relevance | path

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

12

/drivers/usb/gadget/function/
Du_ether.h39 static char *host_addr; \
40 module_param(host_addr, charp, S_IRUGO); \
41 MODULE_PARM_DESC(host_addr, "Host Ethernet Address")
96 const char *dev_addr, const char *host_addr,
113 const char *dev_addr, const char *host_addr, in gether_setup() argument
116 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup()
188 int gether_set_host_addr(struct net_device *net, const char *host_addr);
199 int gether_get_host_addr(struct net_device *net, char *host_addr, int len);
211 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len);
Du_ether.c756 const char *dev_addr, const char *host_addr, in gether_setup_name() argument
784 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
927 int gether_set_host_addr(struct net_device *net, const char *host_addr) in gether_set_host_addr() argument
933 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr()
940 int gether_get_host_addr(struct net_device *net, char *host_addr, int len) in gether_get_host_addr() argument
945 return get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
949 int gether_get_host_addr_cdc(struct net_device *net, char *host_addr, int len) in gether_get_host_addr_cdc() argument
957 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
959 return strlen(host_addr); in gether_get_host_addr_cdc()
Du_ether_configfs.h99 CONFIGFS_ATTR(_f_##_opts_, host_addr)
/drivers/misc/mei/
Dhw.h191 u32 host_addr:8; member
216 u8 host_addr; member
361 u8 host_addr; member
376 u8 host_addr; member
386 u8 host_addr; member
403 u8 host_addr; member
427 u8 host_addr; member
444 u8 host_addr; member
Dinterrupt.c69 return mei_cl_host_addr(cl) == mei_hdr->host_addr && in mei_cl_hbm_equal()
236 return mei_hdr->host_addr == 0 && mei_hdr->me_addr == 0; in hdr_is_hbm()
241 return mei_hdr->host_addr == 0 && mei_hdr->me_addr != 0; in hdr_is_fixed()
Dhbm.c130 hdr->host_addr = 0; in mei_hbm_hdr()
154 cmd->host_addr = mei_cl_host_addr(cl); in mei_hbm_cl_hdr()
193 return mei_cl_host_addr(cl) == cmd->host_addr && in mei_hbm_cl_addr_equal()
688 if (!fctrl->host_addr) { in mei_hbm_cl_tx_flow_ctrl_creds_res()
Dmei_dev.h704 (hdr)->host_addr, (hdr)->me_addr, \
/drivers/net/wireless/intersil/p54/
Dp54pci.c152 if (!desc->host_addr) { in p54p_refill_rx_ring()
171 desc->host_addr = cpu_to_le32(mapping); in p54p_refill_rx_ring()
220 dma_addr = le32_to_cpu(desc->host_addr); in p54p_check_rx_ring()
229 desc->host_addr = cpu_to_le32(0); in p54p_check_rx_ring()
264 pci_unmap_single(priv->pdev, le32_to_cpu(desc->host_addr), in p54p_check_tx_ring()
267 desc->host_addr = 0; in p54p_check_tx_ring()
351 desc->host_addr = cpu_to_le32(mapping); in p54p_tx()
383 if (desc->host_addr) in p54p_stop()
385 le32_to_cpu(desc->host_addr), in p54p_stop()
394 if (desc->host_addr) in p54p_stop()
[all …]
Dp54pci.h74 __le32 host_addr; member
/drivers/hid/intel-ish-hid/ishtp/
Dhbm.h85 uint32_t host_addr:8; member
108 uint8_t host_addr; member
190 uint8_t host_addr; member
205 uint8_t host_addr; member
215 uint8_t host_addr; member
294 hdr->host_addr = 0; in ishtp_hbm_hdr()
Dhbm.c73 cmd->host_addr = cl->host_client_id; in ishtp_hbm_cl_hdr()
90 return cl->host_client_id == cmd->host_addr && in ishtp_hbm_cl_addr_equal()
829 if (cl->host_client_id == flow_control->host_addr && in recv_hbm()
949 hdr->host_addr = 0; in fix_cl_hdr()
Dbus.c68 if (!ishtp_hdr->host_addr && !ishtp_hdr->fw_addr) in ishtp_recv()
71 else if (!ishtp_hdr->host_addr) in ishtp_recv()
Dclient.c673 ishtp_hdr.host_addr = cl->host_client_id; in ipc_tx_callback()
836 if (!cl || !(cl->host_client_id == ishtp_hdr->host_addr && in recv_ishtp_cl_msg()
/drivers/char/
Dmbcs.c98 union dma_hostaddr host_addr; in mbcs_getdma_set() local
104 host_addr.dma_hostaddr_reg = 0; in mbcs_getdma_set()
106 host_addr.dma_sys_addr = hostAddr; in mbcs_getdma_set()
107 MBCS_MMR_SET(mmr, MBCS_RD_DMA_SYS_ADDR, host_addr.dma_hostaddr_reg); in mbcs_getdma_set()
145 union dma_hostaddr host_addr; in mbcs_putdma_set() local
151 host_addr.dma_hostaddr_reg = 0; in mbcs_putdma_set()
153 host_addr.dma_sys_addr = hostAddr; in mbcs_putdma_set()
154 MBCS_MMR_SET(mmr, MBCS_WR_DMA_SYS_ADDR, host_addr.dma_hostaddr_reg); in mbcs_putdma_set()
Dmbcs.h410 union dma_hostaddr host_addr; member
431 union dma_hostaddr host_addr; member
/drivers/usb/gadget/legacy/
Dmulti.c325 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in multi_bind()
326 pr_info("using host ethernet address: %s", host_addr); in multi_bind()
341 if (!gether_set_host_addr(rndis_opts->net, host_addr)) in multi_bind()
342 pr_info("using host ethernet address: %s", host_addr); in multi_bind()
Dncm.c146 if (!gether_set_host_addr(ncm_opts->net, host_addr)) in gncm_bind()
147 pr_info("using host ethernet address: %s", host_addr); in gncm_bind()
Dcdc2.c161 if (!gether_set_host_addr(ecm_opts->net, host_addr)) in cdc_bind()
162 pr_info("using host ethernet address: %s", host_addr); in cdc_bind()
Dether.c364 if (!gether_set_host_addr(net, host_addr)) in eth_bind()
365 pr_info("using host ethernet address: %s", host_addr); in eth_bind()
Dg_ffs.c364 if (!gether_set_host_addr(net, host_addr)) in gfs_bind()
365 pr_info("using host ethernet address: %s", host_addr); in gfs_bind()
/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c224 u32 dw_count, *host_addr, hw_offset; in qed_memcpy_hw() local
240 host_addr = (u32 *)((u8 *)addr + done); in qed_memcpy_hw()
244 DIRECT_REG_WR(reg_addr++, *host_addr++); in qed_memcpy_hw()
247 *host_addr++ = DIRECT_REG_RD(reg_addr++); in qed_memcpy_hw()
/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h361 struct bna_dma_addr host_addr; /* Tx-Buf DMA addr */ member
396 struct bna_dma_addr host_addr; /* Rx-Buffer DMA address */ member
/drivers/pcmcia/
Dpcmcia_cis.c235 p_dev->resource[2]->start = mem->win[0].host_addr; in pcmcia_do_loop_config()
Dcistpl.c1058 mem->win[i].host_addr = ha << 8; in parse_mem()
1165 entry->mem.win[0].host_addr = 0; in parse_cftable_entry()
1174 entry->mem.win[0].host_addr = 0; in parse_cftable_entry()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c2532 priv->rx_queue.drv[i].host_addr = packet->dma_addr; in isr_rx()
2614 priv->rx_queue.drv[i].host_addr = packet->dma_addr; in isr_rx_monitor()
2908 txq->drv[i].host_addr, txq->drv[i].buf_length); in __ipw2100_tx_process()
2917 (u32) txq->drv[i].host_addr, in __ipw2100_tx_process()
2937 tbd->host_addr, tbd->buf_length); in __ipw2100_tx_process()
2940 tbd->host_addr, in __ipw2100_tx_process()
3046 tbd->host_addr = packet->info.c_struct.cmd_phys; in ipw2100_tx_send_commands()
3150 tbd->host_addr = packet->info.d_struct.data_phys; in ipw2100_tx_send_data()
3160 packet->index, tbd->host_addr, tbd->buf_length); in ipw2100_tx_send_data()
3181 tbd->host_addr = pci_map_single(priv->pci_dev, in ipw2100_tx_send_data()
[all …]

12