Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 25 of 244) sorted by relevance

12345678910

/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_dtsec.c37 void fman_dtsec_stop_rx(struct dtsec_regs *regs) in fman_dtsec_stop_rx()
43 void fman_dtsec_stop_tx(struct dtsec_regs *regs) in fman_dtsec_stop_tx()
49 void fman_dtsec_start_tx(struct dtsec_regs *regs) in fman_dtsec_start_tx()
55 void fman_dtsec_start_rx(struct dtsec_regs *regs) in fman_dtsec_start_rx()
102 int fman_dtsec_init(struct dtsec_regs *regs, struct dtsec_cfg *cfg, in fman_dtsec_init()
342 uint16_t fman_dtsec_get_max_frame_len(struct dtsec_regs *regs) in fman_dtsec_get_max_frame_len()
347 void fman_dtsec_set_max_frame_len(struct dtsec_regs *regs, uint16_t length) in fman_dtsec_set_max_frame_len()
352 void fman_dtsec_set_mac_address(struct dtsec_regs *regs, uint8_t *adr) in fman_dtsec_set_mac_address()
367 void fman_dtsec_get_mac_address(struct dtsec_regs *regs, uint8_t *macaddr) in fman_dtsec_get_mac_address()
382 void fman_dtsec_set_hash_table(struct dtsec_regs *regs, uint32_t crc, bool mcast, bool ghtx) in fman_dtsec_set_hash_table()
[all …]
H A Dfman_tgec.c37 void fman_tgec_set_mac_address(struct tgec_regs *regs, uint8_t *adr) in fman_tgec_set_mac_address()
50 void fman_tgec_reset_stat(struct tgec_regs *regs) in fman_tgec_reset_stat()
67 uint64_t fman_tgec_get_counter(struct tgec_regs *regs, enum tgec_counters reg_name) in fman_tgec_get_counter()
157 void fman_tgec_enable(struct tgec_regs *regs, bool apply_rx, bool apply_tx) in fman_tgec_enable()
169 void fman_tgec_disable(struct tgec_regs *regs, bool apply_rx, bool apply_tx) in fman_tgec_disable()
181 void fman_tgec_set_promiscuous(struct tgec_regs *regs, bool val) in fman_tgec_set_promiscuous()
193 void fman_tgec_reset_filter_table(struct tgec_regs *regs) in fman_tgec_reset_filter_table()
200 void fman_tgec_set_hash_table_entry(struct tgec_regs *regs, uint32_t crc) in fman_tgec_set_hash_table_entry()
206 void fman_tgec_set_hash_table(struct tgec_regs *regs, uint32_t value) in fman_tgec_set_hash_table()
211 void fman_tgec_set_tx_pause_frames(struct tgec_regs *regs, uint16_t pause_time) in fman_tgec_set_tx_pause_frames()
[all …]
H A Dfman_memac.c37 uint32_t fman_memac_get_event(struct memac_regs *regs, uint32_t 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()
47 void fman_memac_ack_event(struct memac_regs *regs, uint32_t ev_mask) in fman_memac_ack_event()
52 void fman_memac_set_promiscuous(struct memac_regs *regs, bool val) in fman_memac_set_promiscuous()
66 void fman_memac_clear_addr_in_paddr(struct memac_regs *regs, in fman_memac_clear_addr_in_paddr()
78 void fman_memac_add_addr_in_paddr(struct memac_regs *regs, in fman_memac_add_addr_in_paddr()
99 void fman_memac_enable(struct memac_regs *regs, bool apply_rx, bool apply_tx) in fman_memac_enable()
114 void fman_memac_disable(struct memac_regs *regs, bool apply_rx, bool apply_tx) in fman_memac_disable()
129 void fman_memac_reset_stat(struct memac_regs *regs) in fman_memac_reset_stat()
142 void fman_memac_reset(struct memac_regs *regs) in fman_memac_reset()
[all …]
H A Dfman_dtsec_mii_acc.c81 void fman_dtsec_mii_reset(struct dtsec_mii_reg *regs) 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()
125 int fman_dtsec_mii_read_reg(struct dtsec_mii_reg *regs, uint8_t addr, in fman_dtsec_mii_read_reg()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfman_rtc.c48 uint32_t fman_rtc_get_events(struct rtc_regs *regs) 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()
58 uint32_t fman_rtc_get_interrupt_mask(struct rtc_regs *regs) 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()
68 void fman_rtc_ack_event(struct rtc_regs *regs, uint32_t events) in fman_rtc_ack_event()
73 uint32_t fman_rtc_check_and_clear_event(struct rtc_regs *regs) in fman_rtc_check_and_clear_event()
85 uint32_t fman_rtc_get_frequency_compensation(struct rtc_regs *regs) in fman_rtc_get_frequency_compensation()
90 void fman_rtc_set_frequency_compensation(struct rtc_regs *regs, uint32_t val) in fman_rtc_set_frequency_compensation()
95 void fman_rtc_enable_interupt(struct rtc_regs *regs, uint32_t events) in fman_rtc_enable_interupt()
100 void fman_rtc_disable_interupt(struct rtc_regs *regs, uint32_t events) in fman_rtc_disable_interupt()
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfman_prs.c35 uint32_t fman_prs_get_err_event(struct fman_prs_regs *regs, uint32_t 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()
45 void fman_prs_ack_err_event(struct fman_prs_regs *regs, uint32_t event) 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()
55 uint32_t fman_prs_get_expt_ev_mask(struct fman_prs_regs *regs) in fman_prs_get_expt_ev_mask()
60 void fman_prs_ack_expt_event(struct fman_prs_regs *regs, uint32_t event) in fman_prs_ack_expt_event()
72 int fman_prs_init(struct fman_prs_regs *regs, struct fman_prs_cfg *cfg) in fman_prs_init()
97 void fman_prs_enable(struct fman_prs_regs *regs) in fman_prs_enable()
105 void fman_prs_disable(struct fman_prs_regs *regs) in fman_prs_disable()
113 int fman_prs_is_enabled(struct fman_prs_regs *regs) in fman_prs_is_enabled()
[all …]
H A Dfman_kg.c53 static void clear_pe_all_scheme(struct fman_kg_regs *regs, uint8_t hwport_id) 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()
255 int fman_kg_write_ar_wait(struct fman_kg_regs *regs, uint32_t fmkg_ar) 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()
283 void fman_kg_write_cpp(struct fman_kg_regs *regs, uint32_t cpp) in fman_kg_write_cpp()
292 void fman_kg_get_event(struct fman_kg_regs *regs, in fman_kg_get_event()
315 void fman_kg_init(struct fman_kg_regs *regs, in fman_kg_init()
346 void fman_kg_enable_scheme_interrupts(struct fman_kg_regs *regs) in fman_kg_enable_scheme_interrupts()
353 void fman_kg_enable(struct fman_kg_regs *regs) in fman_kg_enable()
359 void fman_kg_disable(struct fman_kg_regs *regs) in fman_kg_disable()
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_iofic.c53 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_config() local
70 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_moder_res_config() local
92 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_legacy_moder_interval_config() local
115 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_msix_moder_interval_config() local
137 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_msix_tgtid_attributes_config() local
161 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_unmask_offset_get() local
175 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_unmask() local
192 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_mask() local
208 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_read_mask() local
221 struct al_iofic_regs __iomem *regs = (struct al_iofic_regs __iomem *)(regs_base); in al_iofic_read_cause() local
[all …]
H A Dal_hal_pcie.c154 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_link_speed_ctrl_set() local
177 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_link_config() local
229 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_ram_parity_int_config() local
246 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_axi_parity_int_config() local
309 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_relaxed_pcie_ordering_config() local
362 struct al_pcie_revx_regs __iomem *regs = in al_pcie_rev_id_get() local
390 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_lat_rply_timers_config() local
467 struct al_pcie_regs *regs = (struct al_pcie_regs *)pcie_port->regs; in al_pcie_check_link() local
493 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_gen2_params_config() local
542 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_gen3_params_config() local
[all …]
H A Dal_hal_udma_iofic.c117 int al_udma_iofic_config(struct unit_regs __iomem *regs, enum al_iofic_mode mode, in al_udma_iofic_config()
143 struct unit_regs __iomem *regs, in al_udma_iofic_unmask_offset_get()
/freebsd/sys/arm/arm/
H A Dmachdep_kdb.c92 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
104 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs()
130 set_regs(struct thread *td, struct reg *regs) in set_regs()
144 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs()
159 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs()
167 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs()
/freebsd/sys/dev/enetc/
H A Denetc_mdio.c41 #define ENETC_MDIO_RD4(regs, base, off) \ argument
43 #define ENETC_MDIO_WR4(regs, base, off, value) \ argument
47 enetc_mdio_wait(struct resource *regs, int mdio_base) in enetc_mdio_wait()
64 enetc_mdio_read(struct resource *regs, int mdio_base, int phy, int reg) in enetc_mdio_read()
111 enetc_mdio_write(struct resource *regs, int mdio_base, int phy, int reg, in enetc_mdio_write()
/freebsd/sys/arm64/arm64/
H A Dexec_machdep.c70 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
96 set_regs(struct thread *td, struct reg *regs) in set_regs()
147 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs()
175 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs()
191 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs()
234 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs()
331 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
349 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
369 fill_fpregs32(struct thread *td, struct fpreg32 *regs) in fill_fpregs32()
377 set_fpregs32(struct thread *td, struct fpreg32 *regs) in set_fpregs32()
[all …]
/freebsd/sys/amd64/ia32/
H A Dia32_reg.c73 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
107 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
136 fill_fpregs32(struct thread *td, struct fpreg32 *regs) in fill_fpregs32()
210 set_fpregs32(struct thread *td, struct fpreg32 *regs) in set_fpregs32()
242 fill_dbregs32(struct thread *td, struct dbreg32 *regs) in fill_dbregs32()
254 set_dbregs32(struct thread *td, struct dbreg32 *regs) in set_dbregs32()
H A Dia32_signal.c343 struct trapframe *regs; in ia32_osendsig() local
446 struct trapframe *regs; in freebsd4_ia32_sendsig() local
558 struct trapframe *regs; in ia32_sendsig() local
697 struct trapframe *regs; in ofreebsd32_sigreturn() local
755 struct trapframe *regs; in freebsd4_freebsd32_sigreturn() local
822 struct trapframe *regs; in freebsd32_sigreturn() local
924 struct trapframe *regs; in ia32_setregs() local
/freebsd/sys/riscv/riscv/
H A Dexec_machdep.c79 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
99 set_regs(struct thread *td, struct reg *regs) in set_regs()
118 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs()
141 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs()
159 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs()
166 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs()
/freebsd/sys/x86/x86/
H A Didentcpu.c249 u_int regs[4], i; in printcpuinfo() local
1381 u_int leaf, regs[4]; in identify_hypervisor_cpuid_base() local
1462 u_int regs[4]; in identify_hypervisor() local
1546 u_int regs[4]; in identify_cpu1() local
1565 u_int regs[4], cpu_stdext_disable; in identify_cpu2() local
1600 u_int regs[4]; in identify_cpu_ext_features() local
1612 u_int regs[4]; in identify_cpu_fixup_bsp() local
1628 u_int regs[4]; in finishidentcpu() local
1830 u_int regs[4]; in print_AMD_info() local
1940 u_int regs[4]; in print_INTEL_info() local
[all …]
/freebsd/sys/i386/i386/
H A Dexec_machdep.c134 struct trapframe *regs; in osendsig() local
263 struct trapframe *regs; in freebsd4_sendsig() local
383 struct trapframe *regs; in sendsig() local
549 struct trapframe *regs; in osigreturn() local
658 struct trapframe *regs; in freebsd4_sigreturn() local
757 struct trapframe *regs; in sys_sigreturn() local
947 struct trapframe *regs; in exec_setregs() local
1006 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
1018 fill_frame_regs(struct trapframe *tp, struct reg *regs) in fill_frame_regs()
1042 set_regs(struct thread *td, struct reg *regs) in set_regs()
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_calib.c128 const uint16_t regs[], int size) in r12a_save_bb_afe_vals()
141 const uint16_t regs[], int size) in r12a_restore_bb_afe_vals()
154 const uint8_t regs[], int size) in r12a_save_rf_vals()
168 const uint8_t regs[], int size) in r12a_restore_rf_vals()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfman_port.c56 struct fman_port_rx_bmi_regs *regs = &port->bmi_regs->rx; in init_bmi_rx() local
177 struct fman_port_tx_bmi_regs *regs = &port->bmi_regs->tx; in init_bmi_tx() local
281 struct fman_port_oh_bmi_regs *regs = &port->bmi_regs->oh; in init_bmi_oh() local
374 struct fman_port_qmi_regs *regs = port->qmi_regs; in init_qmi() local
454 struct fman_port_rx_bmi_regs *regs = &port->bmi_regs->rx; in get_rx_stats_reg() local
490 struct fman_port_tx_bmi_regs *regs = &port->bmi_regs->tx; in get_tx_stats_reg() local
517 struct fman_port_oh_bmi_regs *regs = &port->bmi_regs->oh; in get_oh_stats_reg() local
553 struct fman_port_rx_bmi_regs *regs = &port->bmi_regs->rx; in get_rx_perf_reg() local
583 struct fman_port_tx_bmi_regs *regs = &port->bmi_regs->tx; in get_tx_perf_reg() local
610 struct fman_port_oh_bmi_regs *regs = &port->bmi_regs->oh; in get_oh_perf_reg() local
[all …]
/freebsd/sys/dev/fb/
H A Dvesa.c77 u_char regs[1]; member
237 x86regs_t regs; in int10_set_mode() local
250 x86regs_t regs; in vesa_bios_post() local
306 x86regs_t regs; in vesa_bios_get_mode() local
337 x86regs_t regs; in vesa_bios_set_mode() local
370 x86regs_t regs; in vesa_bios_set_dac() local
388 x86regs_t regs; in vesa_bios_save_palette() local
421 x86regs_t regs; in vesa_bios_save_palette2() local
453 x86regs_t regs; in vesa_bios_load_palette() local
483 x86regs_t regs; in vesa_bios_load_palette2() local
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/SP/
H A Dfman_sp.c36 uint32_t fman_vsp_get_statistics(struct fm_pcd_storage_profile_regs *regs, in fman_vsp_get_statistics()
44 void fman_vsp_set_statistics(struct fm_pcd_storage_profile_regs *regs, in fman_vsp_set_statistics()
83 void fman_vsp_init(struct fm_pcd_storage_profile_regs *regs, in fman_vsp_init()
/freebsd/sys/amd64/amd64/
H A Dexec_machdep.c116 struct trapframe *regs; in sendsig() local
231 struct trapframe *regs; in sys_sigreturn() local
371 struct trapframe *regs; in exec_setregs() local
411 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
420 fill_frame_regs(struct trapframe *tp, struct reg *regs) in fill_frame_regs()
460 set_regs(struct thread *td, struct reg *regs) in set_regs()
/freebsd/sys/dev/aic7xxx/
H A Dahc_isa.c89 struct resource *regs; ahc_isa_identify() local
130 struct resource *regs; ahc_isa_probe() local
221 struct resource *regs; ahc_isa_attach() local
[all...]
/freebsd/sys/compat/x86bios/
H A Dx86bios.c86 x86bios_emu2vmf(struct x86emu_regs *regs, struct vm86frame *vmf) in x86bios_emu2vmf() argument
101 x86bios_vmf2emu(struct vm86frame * vmf,struct x86emu_regs * regs) x86bios_vmf2emu() argument
169 x86bios_init_regs(struct x86regs * regs) x86bios_init_regs() argument
176 x86bios_call(struct x86regs * regs,uint16_t seg,uint16_t off) x86bios_call() argument
211 x86bios_intr(struct x86regs * regs,int intno) x86bios_intr() argument
571 x86bios_init_regs(struct x86regs * regs) x86bios_init_regs() argument
580 x86bios_call(struct x86regs * regs,uint16_t seg,uint16_t off) x86bios_call() argument
619 x86bios_intr(struct x86regs * regs,int intno) x86bios_intr() argument
[all...]

12345678910