/freebsd/sys/amd64/vmm/ |
H A D | x86.c | 83 unsigned int func, regs[4], logical_cpus, param; in x86_emulate_cpuid() local 127 cpuid_count(func, param, regs); in x86_emulate_cpuid() 130 cpuid_count(func, param, regs); in x86_emulate_cpuid() 137 regs[1] &= (AMDFEID_CLZERO | AMDFEID_IRPERF | in x86_emulate_cpuid() 156 regs[2] = (width << AMDID_COREID_SIZE_SHIFT) | logical_cpus; in x86_emulate_cpuid() 161 cpuid_count(func, param, regs); in x86_emulate_cpuid() 166 regs[2] &= ~AMDID2_SVM; in x86_emulate_cpuid() 172 regs[2] &= ~AMDID2_PCXC; in x86_emulate_cpuid() 173 regs[2] &= ~AMDID2_PNXC; in x86_emulate_cpuid() 174 regs[2] &= ~AMDID2_PTSCEL2I; in x86_emulate_cpuid() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fman_dtsec.c | 37 void fman_dtsec_stop_rx(struct dtsec_regs *regs) in fman_dtsec_stop_rx() argument 40 iowrite32be(ioread32be(®s->rctrl) | RCTRL_GRS, ®s->rctrl); in fman_dtsec_stop_rx() 43 void fman_dtsec_stop_tx(struct dtsec_regs *regs) in fman_dtsec_stop_tx() argument 46 iowrite32be(ioread32be(®s->tctrl) | DTSEC_TCTRL_GTS, ®s->tctrl); in fman_dtsec_stop_tx() 49 void fman_dtsec_start_tx(struct dtsec_regs *regs) in fman_dtsec_start_tx() argument 52 iowrite32be(ioread32be(®s->tctrl) & ~DTSEC_TCTRL_GTS, ®s->tctrl); in fman_dtsec_start_tx() 55 void fman_dtsec_start_rx(struct dtsec_regs *regs) in fman_dtsec_start_rx() argument 58 iowrite32be(ioread32be(®s->rctrl) & ~RCTRL_GRS, ®s->rctrl); in fman_dtsec_start_rx() 102 int fman_dtsec_init(struct dtsec_regs *regs, struct dtsec_cfg *cfg, in fman_dtsec_init() argument 119 iowrite32be(MACCFG1_SOFT_RESET, ®s->maccfg1); in fman_dtsec_init() [all …]
|
H A D | fman_tgec.c | 37 void fman_tgec_set_mac_address(struct tgec_regs *regs, uint8_t *adr) in fman_tgec_set_mac_address() argument 46 iowrite32be(tmp0, ®s->mac_addr_0); in fman_tgec_set_mac_address() 47 iowrite32be(tmp1, ®s->mac_addr_1); in fman_tgec_set_mac_address() 50 void fman_tgec_reset_stat(struct tgec_regs *regs) in fman_tgec_reset_stat() argument 54 tmp = ioread32be(®s->command_config); in fman_tgec_reset_stat() 58 iowrite32be(tmp, ®s->command_config); in fman_tgec_reset_stat() 60 while (ioread32be(®s->command_config) & CMD_CFG_STAT_CLR) ; in fman_tgec_reset_stat() 64 (((uint64_t)ioread32be(®s->bn ## _u) << 32) | \ 65 ioread32be(®s->bn ## _l)) 67 uint64_t fman_tgec_get_counter(struct tgec_regs *regs, enum tgec_counters reg_name) in fman_tgec_get_counter() argument [all …]
|
H A D | fman_memac.c | 37 uint32_t fman_memac_get_event(struct memac_regs *regs, uint32_t ev_mask) in fman_memac_get_event() argument 39 return ioread32be(®s->ievent) & ev_mask; in fman_memac_get_event() 42 uint32_t fman_memac_get_interrupt_mask(struct memac_regs *regs) in fman_memac_get_interrupt_mask() argument 44 return ioread32be(®s->imask); in fman_memac_get_interrupt_mask() 47 void fman_memac_ack_event(struct memac_regs *regs, uint32_t ev_mask) in fman_memac_ack_event() argument 49 iowrite32be(ev_mask, ®s->ievent); in fman_memac_ack_event() 52 void fman_memac_set_promiscuous(struct memac_regs *regs, bool val) in fman_memac_set_promiscuous() argument 56 tmp = ioread32be(®s->command_config); in fman_memac_set_promiscuous() 63 iowrite32be(tmp, ®s->command_config); in fman_memac_set_promiscuous() 66 void fman_memac_clear_addr_in_paddr(struct memac_regs *regs, in fman_memac_clear_addr_in_paddr() argument [all …]
|
H A D | fman_dtsec_mii_acc.c | 81 void fman_dtsec_mii_reset(struct dtsec_mii_reg *regs) in fman_dtsec_mii_reset() argument 84 iowrite32be(ioread32be(®s->miimcfg) | MIIMCFG_RESET_MGMT, in fman_dtsec_mii_reset() 85 ®s->miimcfg); in fman_dtsec_mii_reset() 86 iowrite32be(ioread32be(®s->miimcfg) & ~MIIMCFG_RESET_MGMT, in fman_dtsec_mii_reset() 87 ®s->miimcfg); in fman_dtsec_mii_reset() 91 int fman_dtsec_mii_write_reg(struct dtsec_mii_reg *regs, uint8_t addr, in fman_dtsec_mii_write_reg() argument 97 iowrite32be((uint32_t)dtsec_mii_get_div(dtsec_freq), ®s->miimcfg); in fman_dtsec_mii_write_reg() 101 iowrite32be(0, ®s->miimcom); in fman_dtsec_mii_write_reg() 103 tmp = ioread32be(®s->miimcom); in fman_dtsec_mii_write_reg() 108 iowrite32be(tmp, ®s->miimadd); in fman_dtsec_mii_write_reg() [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie.c | 113 al_reg_write32(&pcie_port->regs->port_regs->rd_only_wr_en, in al_pcie_port_wr_to_ro_set() 154 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_link_speed_ctrl_set() local 161 (uint32_t __iomem *)(regs->core_space[0].pcie_link_cap_base), in al_pcie_port_link_speed_ctrl_set() 164 (uint32_t __iomem *)(regs->core_space[0].pcie_cap_base in al_pcie_port_link_speed_ctrl_set() 177 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_link_config() local 194 al_reg_write32_masked(regs->core_space[0].pcie_dev_ctrl_status, in al_pcie_port_link_config() 213 al_reg_write32_masked(®s->port_regs->gen2_ctrl, in al_pcie_port_link_config() 216 al_reg_write32_masked(®s->port_regs->port_link_ctrl, in al_pcie_port_link_config() 229 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_ram_parity_int_config() local 231 al_reg_write32(®s->app.parity->en_core, in al_pcie_port_ram_parity_int_config() [all …]
|
H A D | al_hal_iofic.c | 53 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_config() local 58 al_reg_write32(®s->ctrl[group].int_control_grp, flags); in al_iofic_config() 70 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_moder_res_config() local 76 reg = al_reg_read32(®s->ctrl[group].int_control_grp); in al_iofic_moder_res_config() 81 al_reg_write32(®s->ctrl[group].int_control_grp, reg); in al_iofic_moder_res_config() 92 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_legacy_moder_interval_config() local 98 reg = al_reg_read32(®s->ctrl[group].int_control_grp); in al_iofic_legacy_moder_interval_config() 103 al_reg_write32(®s->ctrl[group].int_control_grp, reg); in al_iofic_legacy_moder_interval_config() 115 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_msix_moder_interval_config() local 121 reg = al_reg_read32(®s->grp_int_mod[group][vector].grp_int_mod_reg); in al_iofic_msix_moder_interval_config() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Rtc/ |
H A D | fman_rtc.c | 48 uint32_t fman_rtc_get_events(struct rtc_regs *regs) in fman_rtc_get_events() argument 50 return ioread32be(®s->tmr_tevent); in fman_rtc_get_events() 53 uint32_t fman_rtc_get_event(struct rtc_regs *regs, uint32_t ev_mask) in fman_rtc_get_event() argument 55 return ioread32be(®s->tmr_tevent) & ev_mask; in fman_rtc_get_event() 58 uint32_t fman_rtc_get_interrupt_mask(struct rtc_regs *regs) in fman_rtc_get_interrupt_mask() argument 60 return ioread32be(®s->tmr_temask); in fman_rtc_get_interrupt_mask() 63 void fman_rtc_set_interrupt_mask(struct rtc_regs *regs, uint32_t mask) in fman_rtc_set_interrupt_mask() argument 65 iowrite32be(mask, ®s->tmr_temask); in fman_rtc_set_interrupt_mask() 68 void fman_rtc_ack_event(struct rtc_regs *regs, uint32_t events) in fman_rtc_ack_event() argument 70 iowrite32be(events, ®s->tmr_tevent); in fman_rtc_ack_event() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fman_prs.c | 35 uint32_t fman_prs_get_err_event(struct fman_prs_regs *regs, uint32_t ev_mask) in fman_prs_get_err_event() argument 37 return ioread32be(®s->fmpr_perr) & ev_mask; in fman_prs_get_err_event() 40 uint32_t fman_prs_get_err_ev_mask(struct fman_prs_regs *regs) in fman_prs_get_err_ev_mask() argument 42 return ioread32be(®s->fmpr_perer); in fman_prs_get_err_ev_mask() 45 void fman_prs_ack_err_event(struct fman_prs_regs *regs, uint32_t event) in fman_prs_ack_err_event() argument 47 iowrite32be(event, ®s->fmpr_perr); in fman_prs_ack_err_event() 50 uint32_t fman_prs_get_expt_event(struct fman_prs_regs *regs, uint32_t ev_mask) in fman_prs_get_expt_event() argument 52 return ioread32be(®s->fmpr_pevr) & ev_mask; in fman_prs_get_expt_event() 55 uint32_t fman_prs_get_expt_ev_mask(struct fman_prs_regs *regs) in fman_prs_get_expt_ev_mask() argument 57 return ioread32be(®s->fmpr_pever); in fman_prs_get_expt_ev_mask() [all …]
|
H A D | fman_kg.c | 53 static void clear_pe_all_scheme(struct fman_kg_regs *regs, uint8_t hwport_id) in clear_pe_all_scheme() argument 57 fman_kg_write_sp(regs, 0xffffffff, 0); in clear_pe_all_scheme() 60 fman_kg_write_ar_wait(regs, ar); in clear_pe_all_scheme() 76 static void clear_pe_all_cls_plan(struct fman_kg_regs *regs, uint8_t hwport_id) in clear_pe_all_cls_plan() argument 80 fman_kg_write_cpp(regs, 0); in clear_pe_all_cls_plan() 83 fman_kg_write_ar_wait(regs, ar); in clear_pe_all_cls_plan() 255 int fman_kg_write_ar_wait(struct fman_kg_regs *regs, uint32_t fmkg_ar) in fman_kg_write_ar_wait() argument 257 iowrite32be(fmkg_ar, ®s->fmkg_ar); in fman_kg_write_ar_wait() 259 while ((fmkg_ar = ioread32be(®s->fmkg_ar)) & FM_KG_KGAR_GO) ; in fman_kg_write_ar_wait() 265 void fman_kg_write_sp(struct fman_kg_regs *regs, uint32_t sp, bool add) in fman_kg_write_sp() argument [all …]
|
/freebsd/sys/amd64/ia32/ |
H A D | ia32_signal.c | 343 struct trapframe *regs; in ia32_osendsig() local 353 regs = td->td_frame; in ia32_osendsig() 354 oonstack = sigonstack(regs->tf_rsp); in ia32_osendsig() 363 fp = (struct ia32_osigframe *)regs->tf_rsp - 1; in ia32_osendsig() 386 sf.sf_siginfo.si_sc.sc_eax = regs->tf_rax; in ia32_osendsig() 387 sf.sf_siginfo.si_sc.sc_ebx = regs->tf_rbx; in ia32_osendsig() 388 sf.sf_siginfo.si_sc.sc_ecx = regs->tf_rcx; in ia32_osendsig() 389 sf.sf_siginfo.si_sc.sc_edx = regs->tf_rdx; in ia32_osendsig() 390 sf.sf_siginfo.si_sc.sc_esi = regs->tf_rsi; in ia32_osendsig() 391 sf.sf_siginfo.si_sc.sc_edi = regs->tf_rdi; in ia32_osendsig() [all …]
|
H A D | ia32_reg.c | 73 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32() argument 79 regs->r_gs = tp->tf_gs; in fill_regs32() 80 regs->r_fs = tp->tf_fs; in fill_regs32() 81 regs->r_es = tp->tf_es; in fill_regs32() 82 regs->r_ds = tp->tf_ds; in fill_regs32() 84 regs->r_gs = _ugssel; in fill_regs32() 85 regs->r_fs = _ufssel; in fill_regs32() 86 regs->r_es = _udatasel; in fill_regs32() 87 regs->r_ds = _udatasel; in fill_regs32() 89 regs->r_edi = tp->tf_rdi; in fill_regs32() [all …]
|
/freebsd/sys/x86/x86/ |
H A D | identcpu.c | 249 u_int regs[4], i; in printcpuinfo() local 264 do_cpuid(i, regs); in printcpuinfo() 265 memcpy(brand, regs, sizeof(regs)); in printcpuinfo() 266 brand += sizeof(regs); in printcpuinfo() 1048 cpuid_count(0xd, 0x1, regs); in printcpuinfo() 1049 if (regs[0] != 0) { in printcpuinfo() 1051 regs[0], in printcpuinfo() 1381 u_int leaf, regs[4]; in identify_hypervisor_cpuid_base() local 1397 do_cpuid(leaf, regs); in identify_hypervisor_cpuid_base() 1406 if (regs[0] == 0 && regs[1] == 0x4b4d564b && in identify_hypervisor_cpuid_base() [all …]
|
/freebsd/sys/dev/hyperv/vmbus/x86/ |
H A D | hyperv_x86.c | 153 u_int regs[4]; in hyperv_identify_features() local 159 do_cpuid(CPUID_LEAF_HV_MAXLEAF, regs); in hyperv_identify_features() 160 maxleaf = regs[0]; in hyperv_identify_features() 164 do_cpuid(CPUID_LEAF_HV_INTERFACE, regs); in hyperv_identify_features() 165 if (regs[0] != CPUID_HV_IFACE_HYPERV) in hyperv_identify_features() 168 do_cpuid(CPUID_LEAF_HV_FEATURES, regs); in hyperv_identify_features() 169 if ((regs[0] & CPUID_HV_MSR_HYPERCALL) == 0) { in hyperv_identify_features() 176 hyperv_features = regs[0]; in hyperv_identify_features() 177 hyperv_pm_features = regs[2]; in hyperv_identify_features() 178 hyperv_features3 = regs[3]; in hyperv_identify_features() [all …]
|
/freebsd/sys/arm/arm/ |
H A D | machdep_kdb.c | 92 fill_regs(struct thread *td, struct reg *regs) in fill_regs() argument 95 bcopy(&tf->tf_r0, regs->r, sizeof(regs->r)); in fill_regs() 96 regs->r_sp = tf->tf_usr_sp; in fill_regs() 97 regs->r_lr = tf->tf_usr_lr; in fill_regs() 98 regs->r_pc = tf->tf_pc; in fill_regs() 99 regs->r_cpsr = tf->tf_spsr; in fill_regs() 104 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs() argument 120 memcpy(regs->fpr_r, pcb->pcb_vfpstate.reg, in fill_fpregs() 121 sizeof(regs->fpr_r)); in fill_fpregs() 122 regs->fpr_fpscr = pcb->pcb_vfpstate.fpscr; in fill_fpregs() [all …]
|
/freebsd/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_rtc.h | 187 uint32_t fman_rtc_get_events(struct rtc_regs *regs); 195 uint32_t fman_rtc_get_interrupt_mask(struct rtc_regs *regs); 203 void fman_rtc_set_interrupt_mask(struct rtc_regs *regs, uint32_t mask); 212 uint32_t fman_rtc_get_event(struct rtc_regs *regs, uint32_t ev_mask); 220 uint32_t fman_rtc_check_and_clear_event(struct rtc_regs *regs); 227 void fman_rtc_ack_event(struct rtc_regs *regs, uint32_t events); 234 void fman_rtc_enable_interupt(struct rtc_regs *regs, uint32_t mask); 241 void fman_rtc_disable_interupt(struct rtc_regs *regs, uint32_t mask); 249 uint32_t fman_rtc_get_timer_ctrl(struct rtc_regs *regs); 256 void fman_rtc_set_timer_ctrl(struct rtc_regs *regs, uint32_t val); [all …]
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 151 struct trapframe *regs; in linux_rt_sendsig() local 162 regs = td->td_frame; in linux_rt_sendsig() 163 oonstack = sigonstack(regs->tf_rsp); in linux_rt_sendsig() 171 fp = (struct l_rt_sigframe *)regs->tf_rsp - 1; in linux_rt_sendsig() 198 frame.sf_uc.uc_mcontext.sc_edi = regs->tf_rdi; in linux_rt_sendsig() 199 frame.sf_uc.uc_mcontext.sc_esi = regs->tf_rsi; in linux_rt_sendsig() 200 frame.sf_uc.uc_mcontext.sc_ebp = regs->tf_rbp; in linux_rt_sendsig() 201 frame.sf_uc.uc_mcontext.sc_ebx = regs->tf_rbx; in linux_rt_sendsig() 202 frame.sf_uc.uc_mcontext.sc_esp = regs->tf_rsp; in linux_rt_sendsig() 203 frame.sf_uc.uc_mcontext.sc_edx = regs->tf_rdx; in linux_rt_sendsig() [all …]
|
/freebsd/sys/i386/i386/ |
H A D | exec_machdep.c | 134 struct trapframe *regs; in osendsig() local 144 regs = td->td_frame; in osendsig() 145 oonstack = sigonstack(regs->tf_esp); in osendsig() 156 fp = (struct osigframe *)regs->tf_esp - 1; in osendsig() 179 sf.sf_siginfo.si_sc.sc_eax = regs->tf_eax; in osendsig() 180 sf.sf_siginfo.si_sc.sc_ebx = regs->tf_ebx; in osendsig() 181 sf.sf_siginfo.si_sc.sc_ecx = regs->tf_ecx; in osendsig() 182 sf.sf_siginfo.si_sc.sc_edx = regs->tf_edx; in osendsig() 183 sf.sf_siginfo.si_sc.sc_esi = regs->tf_esi; in osendsig() 184 sf.sf_siginfo.si_sc.sc_edi = regs->tf_edi; in osendsig() [all …]
|
/freebsd/sys/dev/enetc/ |
H A D | enetc_mdio.c | 41 #define ENETC_MDIO_RD4(regs, base, off) \ argument 42 bus_read_4((regs), (base) + (off)) 43 #define ENETC_MDIO_WR4(regs, base, off, value) \ argument 44 bus_write_4((regs), (base) + (off), (value)) 47 enetc_mdio_wait(struct resource *regs, int mdio_base) in enetc_mdio_wait() argument 55 val = ENETC_MDIO_RD4(regs, mdio_base, ENETC_MDIO_CFG); in enetc_mdio_wait() 64 enetc_mdio_read(struct resource *regs, int mdio_base, int phy, int reg) in enetc_mdio_read() argument 80 ENETC_MDIO_WR4(regs, mdio_base, ENETC_MDIO_CFG, mdio_cfg); in enetc_mdio_read() 82 if (enetc_mdio_wait(regs, mdio_base) == ETIMEDOUT) in enetc_mdio_read() 87 ENETC_MDIO_WR4(regs, mdio_base, ENETC_MDIO_CTL, mdio_ctl); in enetc_mdio_read() [all …]
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysvec.c | 158 struct trapframe *regs; in linux_rt_sendsig() local 168 regs = td->td_frame; in linux_rt_sendsig() 169 oonstack = sigonstack(regs->tf_esp); in linux_rt_sendsig() 177 fp = (struct l_rt_sigframe *)regs->tf_esp - 1; in linux_rt_sendsig() 203 frame.sf_uc.uc_mcontext.sc_fs = regs->tf_fs; in linux_rt_sendsig() 204 frame.sf_uc.uc_mcontext.sc_es = regs->tf_es; in linux_rt_sendsig() 205 frame.sf_uc.uc_mcontext.sc_ds = regs->tf_ds; in linux_rt_sendsig() 206 frame.sf_uc.uc_mcontext.sc_edi = regs->tf_edi; in linux_rt_sendsig() 207 frame.sf_uc.uc_mcontext.sc_esi = regs->tf_esi; in linux_rt_sendsig() 208 frame.sf_uc.uc_mcontext.sc_ebp = regs->tf_ebp; in linux_rt_sendsig() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | exec_machdep.c | 116 struct trapframe *regs; in sendsig() local 129 regs = td->td_frame; in sendsig() 130 oonstack = sigonstack(regs->tf_rsp); in sendsig() 139 bcopy(regs, &sf.sf_uc.uc_mcontext.mc_rdi, sizeof(*regs)); in sendsig() 156 sp = (char *)regs->tf_rsp - 128; in sendsig() 167 regs->tf_rdi = sig; /* arg 1 in %rdi */ in sendsig() 168 regs->tf_rdx = (register_t)&sfp->sf_uc; /* arg 3 in %rdx */ in sendsig() 172 regs->tf_rsi = (register_t)&sfp->sf_si; /* arg 2 in %rsi */ in sendsig() 178 regs->tf_rcx = (register_t)ksi->ksi_addr; /* arg 4 in %rcx */ in sendsig() 181 regs->tf_rsi = ksi->ksi_code; /* arg 2 in %rsi */ in sendsig() [all …]
|
/freebsd/sys/dev/fb/ |
H A D | vesa.c | 77 u_char regs[1]; member 237 x86regs_t regs; in int10_set_mode() local 239 x86bios_init_regs(®s); in int10_set_mode() 240 regs.R_AL = mode; in int10_set_mode() 242 x86bios_intr(®s, 0x10); in int10_set_mode() 250 x86regs_t regs; in vesa_bios_post() local 286 x86bios_init_regs(®s); in vesa_bios_post() 288 regs.R_AH = pci_get_bus(dev); in vesa_bios_post() 289 regs.R_AL = (pci_get_slot(dev) << 3) | in vesa_bios_post() 292 regs.R_DL = 0x80; in vesa_bios_post() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | tpm_intf_crb.c | 145 #define CRB_CMD_SIZE_READ(regs) (regs.cmd_size) argument 146 #define CRB_CMD_SIZE_WRITE(regs, val) \ argument 148 regs.cmd_size = val; \ 150 #define CRB_CMD_ADDR_READ(regs) \ argument 151 (((uint64_t)regs.cmd_addr_hi << 32) | regs.cmd_addr_lo) 152 #define CRB_CMD_ADDR_WRITE(regs, val) \ argument 154 regs.cmd_addr_lo = val & 0xFFFFFFFF; \ 155 regs.cmd_addr_hi = val >> 32; \ 157 #define CRB_RSP_SIZE_READ(regs) (regs.rsp_size) argument 158 #define CRB_RSP_SIZE_WRITE(regs, val) \ argument [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/ |
H A D | fman_port.c | 56 struct fman_port_rx_bmi_regs *regs = &port->bmi_regs->rx; in init_bmi_rx() local 65 iowrite32be(tmp, ®s->fmbm_rcfg); in init_bmi_rx() 77 iowrite32be(tmp, ®s->fmbm_rda); in init_bmi_rx() 83 iowrite32be(tmp, ®s->fmbm_rfp); in init_bmi_rx() 87 iowrite32be(BMI_RX_FIFO_THRESHOLD_ETHE, ®s->fmbm_reth); in init_bmi_rx() 96 iowrite32be(tmp, ®s->fmbm_rfed); in init_bmi_rx() 104 iowrite32be(tmp, ®s->fmbm_ricp); in init_bmi_rx() 109 iowrite32be(tmp, ®s->fmbm_rim); in init_bmi_rx() 119 iowrite32be(tmp, ®s->fmbm_rebm); in init_bmi_rx() 131 iowrite32be(tmp, ®s->fmbm_rfca); in init_bmi_rx() [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | exec_machdep.c | 70 fill_regs(struct thread *td, struct reg *regs) in fill_regs() argument 75 regs->sp = frame->tf_sp; in fill_regs() 76 regs->lr = frame->tf_lr; in fill_regs() 77 regs->elr = frame->tf_elr; in fill_regs() 78 regs->spsr = frame->tf_spsr; in fill_regs() 80 memcpy(regs->x, frame->tf_x, sizeof(regs->x)); in fill_regs() 88 regs->x[15] = frame->tf_elr; in fill_regs() 89 regs->x[16] = frame->tf_spsr; in fill_regs() 96 set_regs(struct thread *td, struct reg *regs) in set_regs() argument 101 frame->tf_sp = regs->sp; in set_regs() [all …]
|