Home
last modified time | relevance | path

Searched defs:reg (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-fau.h155 static inline uint64_t __cvmx_fau_store_address(uint64_t noadd, uint64_t reg) in __cvmx_fau_store_address()
235 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_fetch_and_add8()
353 cvmx_fau_op_size_t size, uint64_t reg) in __cvmx_fau_iobdma_data()
513 static inline void cvmx_fau_atomic_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_atomic_add64()
525 static inline void cvmx_fau_atomic_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_atomic_add32()
537 static inline void cvmx_fau_atomic_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_add16()
548 static inline void cvmx_fau_atomic_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_atomic_add8()
560 static inline void cvmx_fau_atomic_write64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_atomic_write64()
572 static inline void cvmx_fau_atomic_write32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_atomic_write32()
584 static inline void cvmx_fau_atomic_write16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_write16()
[all …]
H A Dcvmx-debug-handler.S71 #define SAVE_REGISTER(reg) \ argument
75 #define RESTORE_REGISTER(reg) \ argument
79 #define SAVE_COP0(reg) \ argument
84 #define RESTORE_COP0(reg) \ argument
118 #define loadaddr(reg, addr, shift) \ argument
125 #define loadaddr(reg, addr, shift) \ argument
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_udma_config.c53 uint32_t reg; in al_udma_axi_set() local
98 uint32_t reg; in al_udma_m2s_axi_sm_set() local
139 uint32_t reg; in al_udma_m2s_axi_set() local
195 uint32_t reg; in al_udma_s2m_axi_sm_set() local
236 uint32_t reg; in al_udma_s2m_axi_set() local
347 uint32_t reg; in al_udma_m2s_pref_set() local
405 uint32_t reg; in al_udma_m2s_pref_get() local
516 uint32_t reg; in al_udma_s2m_pref_set() local
585 uint32_t reg; in al_udma_s2m_data_write_set() local
767 uint32_t reg; in al_udma_common_rlimit_act() local
[all …]
H A Dal_hal_reg_utils.h66 #define AL_REG_FIELD_GET(reg, mask, shift) (((reg) & (mask)) >> (shift)) argument
69 #define AL_REG_FIELD_SET(reg, mask, shift, val) \ argument
75 #define AL_REG_FIELD_SET_64(reg, mask, shift, val) \ argument
81 #define AL_REG_BIT_GET(reg, shift) \ argument
88 #define AL_REG_BIT_VAL_SET(reg, shift, val) \ argument
92 #define AL_REG_BIT_SET(reg, shift) \ argument
96 #define AL_REG_BIT_CLEAR(reg, shift) \ argument
107 #define AL_REG_MASK_CLEAR(reg, clear_mask) \ argument
111 #define AL_REG_MASK_SET(reg, clear_mask) \ argument
116 #define AL_REG_CLEAR_AND_SET(reg, clear_mask, set_mask) \ argument
[all …]
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_exec.c23 #define BPF_JMP_CND_REG(reg, ins, op, type) \ argument
28 #define BPF_JMP_CND_IMM(reg, ins, op, type) \ argument
33 #define BPF_NEG_ALU(reg, ins, type) \ argument
36 #define EBPF_MOV_ALU_REG(reg, ins, type) \ argument
39 #define BPF_OP_ALU_REG(reg, ins, op, type) \ argument
43 #define EBPF_MOV_ALU_IMM(reg, ins, type) \ argument
60 #define BPF_LD_REG(reg, ins, type) \ argument
64 #define BPF_ST_IMM(reg, ins, type) \ argument
68 #define BPF_ST_REG(reg, ins, type) \ argument
72 #define BPF_ST_XADD_REG(reg, ins, tp) \ argument
[all …]
/f-stack/dpdk/drivers/net/igc/base/
H A Digc_osdep.h81 #define IGC_PCI_REG(reg) rte_read32(reg) argument
83 #define IGC_PCI_REG16(reg) rte_read16(reg) argument
85 #define IGC_PCI_REG_WRITE(reg, value) \ argument
91 #define IGC_PCI_REG_WRITE16(reg, value) \ argument
94 #define IGC_PCI_REG_ADDR(hw, reg) \ argument
100 #define IGC_PCI_REG_FLASH_ADDR(hw, reg) \ argument
115 #define IGC_READ_REG(hw, reg) \ argument
118 #define IGC_READ_REG_LE_VALUE(hw, reg) \ argument
121 #define IGC_WRITE_REG(hw, reg, value) \ argument
151 #define IGC_READ_FLASH_REG(hw, reg) \ argument
[all …]
H A Digc_osdep.c14 igc_write_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value) in igc_write_pci_cfg()
22 igc_read_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value) in igc_read_pci_cfg()
45 igc_read_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value) in igc_read_pcie_cap_reg()
57 igc_write_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value) in igc_write_pcie_cap_reg()
/f-stack/dpdk/drivers/net/e1000/base/
H A De1000_osdep.h69 #define E1000_PCI_REG(reg) rte_read32(reg) argument
71 #define E1000_PCI_REG16(reg) rte_read16(reg) argument
73 #define E1000_PCI_REG_WRITE(reg, value) \ argument
79 #define E1000_PCI_REG_WRITE16(reg, value) \ argument
82 #define E1000_PCI_REG_ADDR(hw, reg) \ argument
88 #define E1000_PCI_REG_FLASH_ADDR(hw, reg) \ argument
115 #define E1000_READ_REG(hw, reg) \ argument
118 #define E1000_WRITE_REG(hw, reg, value) \ argument
141 #define E1000_WRITE_REG_IO(hw, reg, value) \ argument
148 #define E1000_READ_FLASH_REG(hw, reg) \ argument
[all …]
H A De1000_osdep.c15 e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value) in e1000_write_pci_cfg()
21 e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value) in e1000_read_pci_cfg()
42 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) in e1000_read_pcie_cap_reg()
51 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) in e1000_write_pcie_cap_reg()
/f-stack/freebsd/arm/include/
H A Dreg.h6 struct reg { struct
20 typedef struct fp_extended_precision fp_reg_t; argument
34 int fill_regs(struct thread *, struct reg *); argument
/f-stack/freebsd/mips/include/
H A Dpcb.h96 #define SAVE_U_PCB_REG(reg, offs, base) \ argument
99 #define RESTORE_U_PCB_REG(reg, offs, base) \ argument
102 #define SAVE_U_PCB_FPREG(reg, offs, base) \ argument
105 #define RESTORE_U_PCB_FPREG(reg, offs, base) \ argument
108 #define SAVE_U_PCB_FPSR(reg, offs, base) \ argument
111 #define RESTORE_U_PCB_FPSR(reg, offs, base) \ argument
114 #define SAVE_U_PCB_CONTEXT(reg, offs, base) \ argument
117 #define RESTORE_U_PCB_CONTEXT(reg, offs, base) \ argument
H A Dreg.h56 struct reg { struct
57 register_t r_regs[NUMSAVEREGS]; /* numbered as above */ argument
105 #define fill_dbregs32(td, reg) 0 argument
106 #define set_dbregs32(td, reg) 0 argument
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_memac_mii_acc.c37 uint8_t phy_addr, uint8_t reg, uint16_t data) in write_phy_reg_10g()
73 uint8_t phy_addr, uint8_t reg, uint16_t *data) in read_phy_reg_10g()
116 uint8_t phy_addr, uint8_t reg, uint16_t data) in write_phy_reg_1g()
147 uint8_t phy_addr, uint8_t reg, uint16_t *data) in read_phy_reg_1g()
181 uint8_t phy_addr, uint8_t reg, uint16_t data, in fman_memac_mii_write_phy_reg()
196 uint8_t phy_addr, uint8_t reg, uint16_t *data, in fman_memac_mii_read_phy_reg()
/f-stack/freebsd/amd64/pci/
H A Dpci_cfgreg.c82 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) in pci_docfgregread()
97 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread()
122 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) in pci_cfgregwrite()
139 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable()
165 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread()
191 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite()
257 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument
273 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, in pciereg_cfgread()
304 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, in pciereg_cfgwrite()
/f-stack/dpdk/drivers/vdpa/ifc/base/
H A Difcvf_osdep.h22 #define IFCVF_READ_REG8(reg) rte_read8(reg) argument
23 #define IFCVF_WRITE_REG8(val, reg) rte_write8((val), (reg)) argument
24 #define IFCVF_READ_REG16(reg) rte_read16(reg) argument
25 #define IFCVF_WRITE_REG16(val, reg) rte_write16((val), (reg)) argument
26 #define IFCVF_READ_REG32(reg) rte_read32(reg) argument
27 #define IFCVF_WRITE_REG32(val, reg) rte_write32((val), (reg)) argument
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_osdep.h95 #define IXGBE_PCI_REG(reg) rte_read32(reg) argument
102 #define IXGBE_PCI_REG_WRITE(reg, value) \ argument
105 #define IXGBE_PCI_REG_WRITE_RELAXED(reg, value) \ argument
108 #define IXGBE_PCI_REG_WC_WRITE(reg, value) \ argument
111 #define IXGBE_PCI_REG_WC_WRITE_RELAXED(reg, value) \ argument
114 #define IXGBE_PCI_REG_ADDR(hw, reg) \ argument
117 #define IXGBE_PCI_REG_ARRAY_ADDR(hw, reg, index) \ argument
121 #define IXGBE_READ_PCIE_WORD(hw, reg) 0 argument
126 #define IXGBE_READ_REG(hw, reg) \ argument
129 #define IXGBE_WRITE_REG(hw, reg, value) \ argument
[all …]
/f-stack/freebsd/mips/malta/
H A Dmalta_mp.c116 #define write_c0_register32(reg, sel, val) \ argument
126 #define read_c0_register32(reg, sel) \ argument
141 uint32_t reg; in set_thread_context() local
154 uint32_t reg; in platform_ipi_send() local
167 uint32_t reg; in platform_ipi_clear() local
212 uint32_t i, ncpus, reg; in platform_cpu_mask() local
232 uint32_t reg; in platform_start_ap() local
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_osdep.h52 #define ioread8(reg) rte_read8(reg) argument
53 #define ioread32(reg) rte_read32(reg) argument
54 #define iowrite8(value, reg) rte_write8(value, reg) argument
55 #define iowrite32(value, reg) rte_write32(value, reg) argument
56 #define writeq(value, reg) rte_write64(value, reg) argument
/f-stack/freebsd/mips/nlm/hal/
H A Dmips-extns.h120 #define read_c0_register32(reg, sel) \ argument
132 #define write_c0_register32(reg, sel, value) \ argument
144 #define read_c0_register64(reg, sel) \ argument
156 #define write_c0_register64(reg, sel, value) \ argument
168 #define read_c0_register64(reg, sel) \ argument
184 #define write_c0_register64(reg, sel, value) \ argument
/f-stack/freebsd/mips/atheros/
H A Dar934x_chip.c97 uint32_t reg; in ar934x_chip_detect_sys_frequency() local
210 uint32_t reg; in ar934x_chip_device_stop() local
219 uint32_t reg; in ar934x_chip_device_start() local
228 uint32_t reg; in ar934x_chip_device_stopped() local
328 uint32_t reg; in ar934x_configure_gmac() local
345 uint32_t reg; in ar934x_chip_init_usb_peripheral() local
439 uint32_t reg, s; in ar934x_chip_gpio_output_configure() local
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep.h25 #define DLB2_PCI_REG_WRITE(reg, value) rte_write32(value, (void *)reg) argument
28 #define DLB2_CSR_REG_ADDR(a, reg) ((void *)((uintptr_t)(a)->csr_kva + (reg))) argument
29 #define DLB2_CSR_RD(hw, reg) \ argument
31 #define DLB2_CSR_WR(hw, reg, value) \ argument
35 #define DLB2_FUNC_REG_ADDR(a, reg) ((void *)((uintptr_t)(a)->func_kva + (reg))) argument
36 #define DLB2_FUNC_RD(hw, reg) \ argument
38 #define DLB2_FUNC_WR(hw, reg, value) \ argument
/f-stack/freebsd/i386/pci/
H A Dpci_cfgreg.c156 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) in pci_docfgregread()
171 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread()
191 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) in pci_cfgregwrite()
208 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable()
258 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread()
284 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite()
520 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument
528 pciereg_findaddr(int bus, unsigned slot, unsigned func, unsigned reg) in pciereg_findaddr()
575 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, in pciereg_cfgread()
608 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, in pciereg_cfgwrite()
/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_mdio.c12 int reg; in axgbe_an37_clear_interrupts() local
21 int reg; in axgbe_an37_disable_interrupts() local
34 unsigned int reg; in axgbe_an37_enable_interrupts() local
85 unsigned int reg; in axgbe_an73_enable_kr_training() local
95 unsigned int reg; in axgbe_an73_disable_kr_training() local
256 unsigned int reg; in axgbe_an37_set() local
285 unsigned int reg; in axgbe_an73_set() local
700 unsigned int reg = 0; in axgbe_an37_isr() local
747 unsigned int reg = 0; in axgbe_an37_init() local
788 unsigned int advertising, reg; in axgbe_an73_init() local
[all …]
/f-stack/freebsd/arm/versatile/
H A Dversatile_scm.c64 #define versatile_scm_read_4(sc, reg) \ argument
66 #define versatile_scm_write_4(sc, reg, val) \ argument
109 versatile_scm_reg_read_4(uint32_t reg, uint32_t *val) in versatile_scm_reg_read_4()
119 versatile_scm_reg_write_4(uint32_t reg, uint32_t val) in versatile_scm_reg_write_4()
/f-stack/dpdk/drivers/event/dlb/pf/base/
H A Ddlb_osdep.h24 #define DLB_PCI_REG_READ(reg) rte_read32((void *)reg) argument
25 #define DLB_PCI_REG_WRITE(reg, val) rte_write32(val, (void *)reg) argument
27 #define DLB_CSR_REG_ADDR(a, reg) ((void *)((uintptr_t)(a)->csr_kva + (reg))) argument
28 #define DLB_CSR_RD(hw, reg) \ argument
30 #define DLB_CSR_WR(hw, reg, val) \ argument
33 #define DLB_FUNC_REG_ADDR(a, reg) ((void *)((uintptr_t)(a)->func_kva + (reg))) argument
34 #define DLB_FUNC_RD(hw, reg) \ argument
36 #define DLB_FUNC_WR(hw, reg, val) \ argument

12345678910>>...25