/dflybsd-src/sys/cpu/x86_64/include/ |
H A D | reg.h | 43 struct reg { struct 44 register_t r_rdi; argument 45 register_t r_rsi; argument 46 register_t r_rdx; argument 47 register_t r_rcx; argument 48 register_t r_r8; argument 49 register_t r_r9; argument 50 register_t r_rax; argument 51 register_t r_rbx; argument 52 register_t r_rbp; argument [all …]
|
/dflybsd-src/sys/dev/drm/i915/ |
H A D | intel_sideband.c | 108 u32 vlv_bunit_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_bunit_read() 118 void vlv_bunit_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_bunit_write() 138 u32 vlv_iosf_sb_read(struct drm_i915_private *dev_priv, u8 port, u32 reg) in vlv_iosf_sb_read() 147 u8 port, u32 reg, u32 val) in vlv_iosf_sb_write() 153 u32 vlv_cck_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_cck_read() 161 void vlv_cck_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_cck_write() 167 u32 vlv_ccu_read(struct drm_i915_private *dev_priv, u32 reg) in vlv_ccu_read() 175 void vlv_ccu_write(struct drm_i915_private *dev_priv, u32 reg, u32 val) in vlv_ccu_write() 181 u32 vlv_dpio_read(struct drm_i915_private *dev_priv, enum i915_pipe pipe, int reg) in vlv_dpio_read() 198 void vlv_dpio_write(struct drm_i915_private *dev_priv, enum i915_pipe pipe, int reg, u32 val) in vlv_dpio_write() [all …]
|
/dflybsd-src/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | smu_helper.h | 112 #define PHM_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT argument 113 #define PHM_FIELD_MASK(reg, field) reg##__##field##_MASK argument 115 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ argument 119 #define PHM_GET_FIELD(value, reg, field) \ argument 126 #define PHM_READ_FIELD(device, reg, field) \ argument 129 #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ argument 133 #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ argument 137 #define PHM_WRITE_FIELD(device, reg, field, fieldval) \ argument 141 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument 146 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument [all …]
|
/dflybsd-src/sys/dev/drm/amd/amdgpu/ |
H A D | soc15_common.h | 28 #define SOC15_REG_OFFSET(ip, inst, reg) (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) argument 30 #define WREG32_FIELD15(ip, idx, reg, field, val) \ argument 35 #define RREG32_SOC15(ip, inst, reg) \ argument 38 #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \ argument 41 #define WREG32_SOC15(ip, inst, reg, value) \ argument 44 #define WREG32_SOC15_NO_KIQ(ip, inst, reg, value) \ argument 47 #define WREG32_SOC15_OFFSET(ip, inst, reg, offset, value) \ argument 50 #define SOC15_WAIT_ON_RREG(ip, inst, reg, expected_value, mask, ret) \ argument
|
H A D | vi.c | 84 static u32 vi_pcie_rreg(struct amdgpu_device *adev, u32 reg) in vi_pcie_rreg() 97 static void vi_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_pcie_wreg() 109 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg() 121 static void vi_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_smc_wreg() 135 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg() 147 static void cz_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in cz_smc_wreg() 157 static u32 vi_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in vi_uvd_ctx_rreg() 169 static void vi_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_uvd_ctx_wreg() 179 static u32 vi_didt_rreg(struct amdgpu_device *adev, u32 reg) in vi_didt_rreg() 191 static void vi_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_didt_wreg() [all …]
|
/dflybsd-src/sys/dev/netif/re/ |
H A D | re_dragonfly.h | 43 #define RE_CMAC_WRITE_1(sc, reg, val) \ argument 45 #define RE_CMAC_WRITE_2(sc, reg, val) \ argument 47 #define RE_CMAC_WRITE_4(sc, reg, val) \ argument 49 #define RE_CMAC_READ_1(sc, reg) \ argument 51 #define RE_CMAC_READ_2(sc, reg) \ argument 53 #define RE_CMAC_READ_4(sc, reg) \ argument
|
/dflybsd-src/sys/dev/netif/ix/ |
H A D | ixgbe_osdep_pf.c | 48 ixgbe_read_pci_cfg_pf(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_pf() 54 ixgbe_write_pci_cfg_pf(struct ixgbe_hw *hw, u32 reg, u16 value) in ixgbe_write_pci_cfg_pf() 60 ixgbe_read_reg_pf(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_reg_pf() 104 ixgbe_write_reg_pf(struct ixgbe_hw *hw, u32 reg, u32 val) in ixgbe_write_reg_pf() 112 ixgbe_read_reg_array_pf(struct ixgbe_hw *hw, u32 reg, u32 offset) in ixgbe_read_reg_array_pf() 120 ixgbe_write_reg_array_pf(struct ixgbe_hw *hw, u32 reg, u32 offset, u32 val) in ixgbe_write_reg_array_pf()
|
H A D | ixgbe_dcb_82599.c | 125 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82599() local 186 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82599() local 236 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82599() local 296 u32 i, j, fcrtl, reg; in ixgbe_dcb_config_pfc_82599() local 384 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82599() local 510 u32 reg; in ixgbe_dcb_config_82599() local
|
H A D | ixgbe_dcb_82598.c | 123 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() local 182 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82598() local 229 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82598() local 272 u32 fcrtl, reg; in ixgbe_dcb_config_pfc_82598() local 324 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82598() local
|
/dflybsd-src/sys/dev/netif/ig_hal/ |
H A D | e1000_osdep.h | 93 #define E1000_REGISTER(hw, reg) (((hw)->mac.type >= e1000_82543) \ argument 110 #define E1000_READ_REG(hw, reg) \ argument 115 #define E1000_WRITE_REG(hw, reg, value) \ argument 120 #define E1000_READ_REG_ARRAY(hw, reg, index) \ argument 125 #define E1000_WRITE_REG_ARRAY(hw, reg, index, value) \ argument 133 #define E1000_READ_REG_ARRAY_BYTE(hw, reg, index) \ argument 138 #define E1000_WRITE_REG_ARRAY_BYTE(hw, reg, index, value) \ argument 143 #define E1000_WRITE_REG_ARRAY_WORD(hw, reg, index, value) \ argument 148 #define E1000_WRITE_REG_IO(hw, reg, value) do {\ argument 156 #define E1000_READ_FLASH_REG(hw, reg) \ argument [all …]
|
H A D | e1000_osdep.c | 58 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pci_cfg() 64 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pci_cfg() 87 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pcie_cap_reg() 101 e1000_write_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pcie_cap_reg()
|
/dflybsd-src/contrib/wpa_supplicant/src/wps/ |
H A D | wps_registrar.c | 233 static void wps_registrar_add_authorized_mac(struct wps_registrar *reg, in wps_registrar_add_authorized_mac() 254 static void wps_registrar_remove_authorized_mac(struct wps_registrar *reg, in wps_registrar_remove_authorized_mac() 292 static struct wps_registrar_device * wps_device_get(struct wps_registrar *reg, in wps_device_get() 324 int wps_device_store(struct wps_registrar *reg, in wps_device_store() 345 static void wps_registrar_add_pbc_session(struct wps_registrar *reg, in wps_registrar_add_pbc_session() 397 static void wps_registrar_remove_pbc_session(struct wps_registrar *reg, in wps_registrar_remove_pbc_session() 428 int wps_registrar_pbc_overlap(struct wps_registrar *reg, in wps_registrar_pbc_overlap() 526 static int wps_build_selected_registrar(struct wps_registrar *reg, in wps_build_selected_registrar() 539 static int wps_build_sel_reg_dev_password_id(struct wps_registrar *reg, in wps_build_sel_reg_dev_password_id() 555 static int wps_build_sel_pbc_reg_uuid_e(struct wps_registrar *reg, in wps_build_sel_pbc_reg_uuid_e() [all …]
|
H A D | wps_upnp_ap.c | 22 struct wps_registrar *reg = timeout_ctx; in upnp_er_set_selected_timeout() local 29 int upnp_er_set_selected_registrar(struct wps_registrar *reg, in upnp_er_set_selected_registrar() 76 void upnp_er_remove_notification(struct wps_registrar *reg, in upnp_er_remove_notification()
|
/dflybsd-src/contrib/gdb-7/gdb/regformats/ |
H A D | regdef.h | 22 struct reg struct 42 void set_register_cache (struct reg *regs, int n); argument
|
/dflybsd-src/sys/bus/pci/x86_64/ |
H A D | pci_cfgreg.c | 129 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() 143 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() 167 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) in pci_cfgregwrite() 183 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable() 212 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread() 238 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite() 308 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument 316 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, in pciereg_cfgread() 343 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, in pciereg_cfgwrite()
|
/dflybsd-src/sys/dev/netif/vge/ |
H A D | if_vgevar.h | 134 #define CSR_WRITE_STREAM_4(sc, reg, val) \ argument 136 #define CSR_WRITE_4(sc, reg, val) \ argument 138 #define CSR_WRITE_2(sc, reg, val) \ argument 140 #define CSR_WRITE_1(sc, reg, val) \ argument 143 #define CSR_READ_4(sc, reg) \ argument 145 #define CSR_READ_2(sc, reg) \ argument 147 #define CSR_READ_1(sc, reg) \ argument 150 #define CSR_SETBIT_1(sc, reg, x) \ argument 152 #define CSR_SETBIT_2(sc, reg, x) \ argument 154 #define CSR_SETBIT_4(sc, reg, x) \ argument [all …]
|
/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | hsa-regalloc.c | 183 hsa_op_reg *reg = dyn_cast <hsa_op_reg *> (op); in insn_reg_addr() local 220 hsa_op_reg *reg = *regaddr; in rewrite_code_bb() local 272 try_alloc_reg (struct m_reg_class_desc *classes, hsa_op_reg *reg) in try_alloc_reg() 299 free_reg (struct m_reg_class_desc *classes, hsa_op_reg *reg) in free_reg() 311 note_lr_end (hsa_op_reg *reg, int end) in note_lr_end() 320 note_lr_begin (hsa_op_reg *reg, int begin) in note_lr_begin() 364 expire_old_intervals (hsa_op_reg *reg, vec<hsa_op_reg*> *active, in expire_old_intervals() 385 spill_at_interval (hsa_op_reg *reg, vec<hsa_op_reg*> *active) in spill_at_interval() 551 hsa_op_reg *reg = *regaddr; in linear_scan_regalloc() local 603 hsa_op_reg *reg = ind2reg[i]; in linear_scan_regalloc() local [all …]
|
/dflybsd-src/contrib/gdb-7/gdb/ |
H A D | user-regs.c | 63 struct user_reg *reg) in append_user_reg() 99 struct user_reg *reg; in user_regs_init() local 157 struct user_reg *reg; in user_reg_map_name_to_regnum() local 177 struct user_reg *reg; in usernum_to_user_reg() local 200 struct user_reg *reg = usernum_to_user_reg (gdbarch, regnum - maxregs); in user_reg_map_regnum_to_name() local 214 struct user_reg *reg = usernum_to_user_reg (gdbarch, regnum - maxregs); in value_of_user_reg() local
|
/dflybsd-src/sys/dev/netif/tx/ |
H A D | if_txvar.h | 106 #define CSR_WRITE_4(sc, reg, val) \ argument 108 #define CSR_WRITE_2(sc, reg, val) \ argument 110 #define CSR_WRITE_1(sc, reg, val) \ argument 112 #define CSR_READ_4(sc, reg) \ argument 114 #define CSR_READ_2(sc, reg) \ argument 116 #define CSR_READ_1(sc, reg) \ argument 119 #define PHY_READ_2(sc, phy, reg) \ argument 121 #define PHY_WRITE_2(sc, phy, reg, val) \ argument
|
/dflybsd-src/sys/dev/netif/pcn/ |
H A D | if_pcn.c | 187 #define PCN_CSR_SETBIT(sc, reg, x) \ argument 190 #define PCN_CSR_CLRBIT(sc, reg, x) \ argument 193 #define PCN_BCR_SETBIT(sc, reg, x) \ argument 196 #define PCN_BCR_CLRBIT(sc, reg, x) \ argument 200 pcn_csr_read(struct pcn_softc *sc, int reg) in pcn_csr_read() 207 pcn_csr_read16(struct pcn_softc *sc, int reg) in pcn_csr_read16() 214 pcn_csr_write(struct pcn_softc *sc, int reg, int val) in pcn_csr_write() 222 pcn_bcr_read(struct pcn_softc *sc, int reg) in pcn_bcr_read() 229 pcn_bcr_read16(struct pcn_softc *sc, int reg) in pcn_bcr_read16() 236 pcn_bcr_write(struct pcn_softc *sc, int reg, int val) in pcn_bcr_write() [all …]
|
/dflybsd-src/sys/dev/netif/mii_layer/ |
H A D | brgphy.c | 223 int reg, speed, gig; in brgphy_service() local 576 int reg; in brgphy_bcm5401_dspcode() member 604 int reg; in brgphy_bcm5411_dspcode() member 641 int reg; in brgphy_bcm54k2_dspcode() member 658 int reg; in brgphy_adc_bug() member 679 int reg; in brgphy_5704_a0_bug() member 696 int reg; in brgphy_ber_bug() member 719 int reg; in brgphy_crc_bug() member
|
/dflybsd-src/sys/dev/raid/tws/ |
H A D | tws_hdm.c | 86 u_int64_t reg; in tws_init_ctlr() local 410 u_int32_t reg; in tws_ctlr_ready() local 442 u_int32_t reg; in tws_disable_db_intr() local 453 u_int32_t reg; in tws_enable_db_intr() local 465 u_int32_t reg; in tws_ctlr_reset() local 489 u_int32_t reg; in tws_assert_soft_reset() local
|
/dflybsd-src/sys/dev/netif/alc/ |
H A D | if_alc.c | 242 alc_miibus_readreg(device_t dev, int phy, int reg) in alc_miibus_readreg() 256 alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg) in alc_mii_readreg_813x() 289 alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg) in alc_mii_readreg_816x() 316 alc_miibus_writereg(device_t dev, int phy, int reg, int val) in alc_miibus_writereg() 330 alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, int val) in alc_mii_writereg_813x() 352 alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, int val) in alc_mii_writereg_816x() 383 uint32_t reg; in alc_miibus_statchg() local 426 alc_miidbg_readreg(struct alc_softc *sc, int reg) in alc_miidbg_readreg() 436 alc_miidbg_writereg(struct alc_softc *sc, int reg, int val) in alc_miidbg_writereg() 446 alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg) in alc_miiext_readreg() [all …]
|
/dflybsd-src/sys/dev/drm/radeon/ |
H A D | radeon_device.c | 193 u32 tmp, reg, and_mask, or_mask; in radeon_program_register_sequence() local 280 int radeon_scratch_get(struct radeon_device *rdev, uint32_t *reg) in radeon_scratch_get() 302 void radeon_scratch_free(struct radeon_device *rdev, uint32_t reg) in radeon_scratch_free() 679 uint32_t reg; in radeon_card_posted() local 850 static uint32_t cail_pll_read(struct card_info *info, uint32_t reg) in cail_pll_read() 868 static void cail_pll_write(struct card_info *info, uint32_t reg, uint32_t val) in cail_pll_write() 884 static uint32_t cail_mc_read(struct card_info *info, uint32_t reg) in cail_mc_read() 902 static void cail_mc_write(struct card_info *info, uint32_t reg, uint32_t val) in cail_mc_write() 918 static void cail_reg_write(struct card_info *info, uint32_t reg, uint32_t val) in cail_reg_write() 934 static uint32_t cail_reg_read(struct card_info *info, uint32_t reg) in cail_reg_read() [all …]
|
/dflybsd-src/sys/bus/gpio/gpio_intel/ |
H A D | gpio_cherryview.c | 243 uint32_t reg, reg1, reg2; in gpio_cherryview_map_intr() local 384 uint32_t reg, intcfg, gpiocfg; in gpio_cherryview_unmap_intr() local 420 uint32_t reg; in gpio_cherryview_enable_intr() local 437 uint32_t reg; in gpio_cherryview_disable_intr() local 479 uint32_t reg; in gpio_cherryview_read_pin() local 498 uint32_t reg; in gpio_cherryview_write_pin() local
|