Lines Matching refs:cpuxram_cfg
221 struct NI_HV_XRAM_CPUXRAM_CFG_t cpuxram_cfg; in ca_ni_setup_mac_addr() local
250 ca_reg_read(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in ca_ni_setup_mac_addr()
252 cpuxram_cfg.xram_mgmt_promisc_mode = 0; in ca_ni_setup_mac_addr()
253 cpuxram_cfg.rx_0_cpu_pkt_dis = 0; in ca_ni_setup_mac_addr()
254 cpuxram_cfg.tx_0_cpu_pkt_dis = 0; in ca_ni_setup_mac_addr()
255 ca_reg_write(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in ca_ni_setup_mac_addr()
259 ca_reg_read(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in ca_ni_setup_mac_addr()
261 cpuxram_cfg.xram_mgmt_promisc_mode = 3; in ca_ni_setup_mac_addr()
262 cpuxram_cfg.rx_0_cpu_pkt_dis = 0; in ca_ni_setup_mac_addr()
263 cpuxram_cfg.tx_0_cpu_pkt_dis = 0; in ca_ni_setup_mac_addr()
264 ca_reg_write(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in ca_ni_setup_mac_addr()
549 struct NI_HV_XRAM_CPUXRAM_CFG_t cpuxram_cfg; in cortina_eth_start() local
624 ca_reg_read(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in cortina_eth_start()
626 cpuxram_cfg.rx_0_cpu_pkt_dis = 1; in cortina_eth_start()
627 cpuxram_cfg.tx_0_cpu_pkt_dis = 1; in cortina_eth_start()
628 ca_reg_write(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in cortina_eth_start()
631 ca_reg_read(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in cortina_eth_start()
633 cpuxram_cfg.rx_0_cpu_pkt_dis = 0; in cortina_eth_start()
634 cpuxram_cfg.tx_0_cpu_pkt_dis = 0; in cortina_eth_start()
635 ca_reg_write(&cpuxram_cfg, (u64)priv->ni_hv_base_addr, in cortina_eth_start()