Home
last modified time | relevance | path

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

12345678910>>...19

/illumos-gate/usr/src/common/vga/
H A Dvgasubr.c61 #define GETB(reg, off) inb(reg + (off)) argument
100 vga_get_reg(vgaregmap_t reg, int indexreg) in vga_get_reg()
112 vga_get_crtc(vgaregmap_t reg, int i) in vga_get_crtc()
124 vga_get_seq(vgaregmap_t reg, int i) in vga_get_seq()
130 vga_set_seq(vgaregmap_t reg, int i, int v) in vga_set_seq()
136 vga_get_grc(vgaregmap_t reg, int i) in vga_get_grc()
148 vga_get_atr(vgaregmap_t reg, int i) in vga_get_atr()
175 vgaregmap_t reg, in vga_set_indexed()
187 vgaregmap_t reg, in vga_get_indexed()
203 vgaregmap_t reg, in vga_put_cmap()
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.h126 #define RANKOFFSET(reg) (((reg) >> 10) & 7) argument
131 #define NUMCOL(reg) (((reg) & 3) + 10) argument
140 #define REMOVE_6(reg) (((reg) >> 24) & 1) argument
141 #define REMOVE_7(reg) (((reg) >> 25) & 1) argument
142 #define REMOVE_8(reg) (((reg) >> 26) & 1) argument
143 #define CH_ADDRESS_OFFSET(reg) \ argument
145 #define CH_ADDRESS_SOFFSET(reg) \ argument
165 #define RIR_DIMM_RANK(reg) ((reg) & 0xf) argument
166 #define RIR_RANK(reg) ((reg) & 0x3) argument
167 #define RIR_DIMM(reg) ((reg)>>2 & 0x03) argument
[all …]
H A Dnhm_pci_cfg.c45 pci_regspec_t reg; in nhm_pci_cfg_setup() local
108 nhm_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getb()
117 nhm_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getw()
126 nhm_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getl()
135 nhm_pci_putb(int bus, int dev, int func, int reg, uint8_t val) in nhm_pci_putb()
144 nhm_pci_putw(int bus, int dev, int func, int reg, uint16_t val) in nhm_pci_putw()
153 nhm_pci_putl(int bus, int dev, int func, int reg, uint32_t val) in nhm_pci_putl()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_intr.c214 uint32_t reg; in i40e_intr_adminq_enable() local
227 uint32_t reg; in i40e_intr_adminq_disable() local
243 uint32_t reg; in i40e_intr_io_enable() local
256 uint32_t reg; in i40e_intr_io_disable() local
358 uint32_t reg; in i40e_intr_chip_fini() local
388 uint32_t reg; in i40e_set_lnklstn() local
407 uint32_t reg; in i40e_set_rqctl() local
429 uint32_t reg; in i40e_set_tqctl() local
496 uint32_t reg; in i40e_intr_init_queue_shared() local
530 uint32_t reg; in i40e_intr_rx_queue_enable() local
[all …]
/illumos-gate/usr/src/uts/intel/ml/
H A Dretpoline.s34 #define RETPOLINE_MKTHUNK(reg) \ argument
51 #define RETPOLINE_MKGENERIC(reg) \ argument
68 #define RETPOLINE_MKJUMP(reg) \ argument
167 #define RETPOLINE_MKTHUNK(reg) \ argument
/illumos-gate/usr/src/uts/sun4/brand/common/
H A Dbrand_solaris.s43 #define GLOBALS_SWAP(reg) \ argument
51 #define GLOBALS_RESTORE(reg) \ argument
56 #define GLOBALS_SWAP(reg) \ argument
64 #define GLOBALS_RESTORE(reg) \ argument
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_mech1.c50 pci_mech1_getb(int bus, int device, int function, int reg) in pci_mech1_getb()
70 pci_mech1_getw(int bus, int device, int function, int reg) in pci_mech1_getw()
91 pci_mech1_getl(int bus, int device, int function, int reg) in pci_mech1_getl()
112 pci_mech1_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech1_putb()
130 pci_mech1_putw(int bus, int device, int function, int reg, uint16_t val) in pci_mech1_putw()
148 pci_mech1_putl(int bus, int device, int function, int reg, uint32_t val) in pci_mech1_putl()
H A Dpci_neptune.c140 pci_neptune_getb(int bus, int device, int function, int reg) in pci_neptune_getb()
153 pci_neptune_getw(int bus, int device, int function, int reg) in pci_neptune_getw()
166 pci_neptune_getl(int bus, int device, int function, int reg) in pci_neptune_getl()
179 pci_neptune_putb(int bus, int device, int function, int reg, uint8_t val) in pci_neptune_putb()
189 pci_neptune_putw(int bus, int device, int function, int reg, uint16_t val) in pci_neptune_putw()
199 pci_neptune_putl(int bus, int device, int function, int reg, uint32_t val) in pci_neptune_putl()
H A Dpci_mech1_amd.c96 pci_mech1_amd_getb(int bus, int device, int function, int reg) in pci_mech1_amd_getb()
117 pci_mech1_amd_getw(int bus, int device, int function, int reg) in pci_mech1_amd_getw()
138 pci_mech1_amd_getl(int bus, int device, int function, int reg) in pci_mech1_amd_getl()
159 pci_mech1_amd_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech1_amd_putb()
173 pci_mech1_amd_putw(int bus, int device, int function, int reg, uint16_t val) in pci_mech1_amd_putw()
187 pci_mech1_amd_putl(int bus, int device, int function, int reg, uint32_t val) in pci_mech1_amd_putl()
H A Dpci_mech2.c76 pci_mech2_getb(int bus, int device, int function, int reg) in pci_mech2_getb()
92 pci_mech2_getw(int bus, int device, int function, int reg) in pci_mech2_getw()
108 pci_mech2_getl(int bus, int device, int function, int reg) in pci_mech2_getl()
124 pci_mech2_putb(int bus, int device, int function, int reg, uint8_t val) in pci_mech2_putb()
137 pci_mech2_putw(int bus, int device, int function, int reg, uint16_t val) in pci_mech2_putw()
150 pci_mech2_putl(int bus, int device, int function, int reg, uint32_t val) in pci_mech2_putl()
H A Dpci_orion.c181 pci_orion_getb(int bus, int device, int function, int reg) in pci_orion_getb()
194 pci_orion_getw(int bus, int device, int function, int reg) in pci_orion_getw()
207 pci_orion_getl(int bus, int device, int function, int reg) in pci_orion_getl()
220 pci_orion_putb(int bus, int device, int function, int reg, uint8_t val) in pci_orion_putb()
230 pci_orion_putw(int bus, int device, int function, int reg, uint16_t val) in pci_orion_putw()
240 pci_orion_putl(int bus, int device, int function, int reg, uint32_t val) in pci_orion_putl()
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_mii.c64 atge_mii_read(void *arg, uint8_t phy, uint8_t reg) in atge_mii_read()
107 atge_mii_write(void *arg, uint8_t phy, uint8_t reg, uint16_t val) in atge_mii_write()
187 uint16_t reg, pn; in atge_l1_mii_reset() local
272 uint16_t reg; in atge_l1c_mii_reset() local
350 atge_l1c_mii_read(void *arg, uint8_t phy, uint8_t reg) in atge_l1c_mii_read()
362 atge_l1c_mii_write(void *arg, uint8_t phy, uint8_t reg, uint16_t val) in atge_l1c_mii_write()
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dnb_pci_cfg.c49 pci_regspec_t reg; in nb_pci_cfg_setup() local
149 nb_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getb()
158 nb_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getw()
167 nb_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getl()
176 nb_pci_putb(int bus, int dev, int func, int reg, uint8_t val) in nb_pci_putb()
185 nb_pci_putw(int bus, int dev, int func, int reg, uint16_t val) in nb_pci_putw()
194 nb_pci_putl(int bus, int dev, int func, int reg, uint32_t val) in nb_pci_putl()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_osdep.c46 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pci_cfg()
52 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pci_cfg()
69 uint16_t reg; /* register contents */ in phy_spd_state() local
109 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_read_pcie_cap_reg()
123 e1000_write_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) in e1000_write_pcie_cap_reg()
H A De1000_osdep.h123 #define E1000_WRITE_REG(hw, reg, value) \ argument
136 #define E1000_READ_REG(hw, reg) (\ argument
144 #define E1000_WRITE_REG_ARRAY(hw, reg, offset, value) \ argument
158 #define E1000_READ_REG_ARRAY(hw, reg, offset) (\ argument
169 #define E1000_WRITE_REG_ARRAY_DWORD(a, reg, offset, value) \ argument
171 #define E1000_READ_REG_ARRAY_DWORD(a, reg, offset) \ argument
175 #define E1000_READ_FLASH_REG(hw, reg) \ argument
179 #define E1000_READ_FLASH_REG16(hw, reg) \ argument
183 #define E1000_WRITE_FLASH_REG(hw, reg, value) \ argument
187 #define E1000_WRITE_FLASH_REG16(hw, reg, value) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/igb/
H A De1000_osdep.h113 #define E1000_WRITE_REG(hw, reg, value) \ argument
117 #define E1000_READ_REG(hw, reg) \ argument
121 #define E1000_WRITE_REG_ARRAY(hw, reg, offset, value) \ argument
126 #define E1000_READ_REG_ARRAY(hw, reg, offset) \ argument
130 #define E1000_WRITE_REG_ARRAY_DWORD(a, reg, offset, value) \ argument
132 #define E1000_READ_REG_ARRAY_DWORD(a, reg, offset) \ argument
136 #define E1000_READ_FLASH_REG(hw, reg) \ argument
140 #define E1000_READ_FLASH_REG16(hw, reg) \ argument
144 #define E1000_WRITE_FLASH_REG(hw, reg, value) \ argument
148 #define E1000_WRITE_FLASH_REG16(hw, reg, value) \ argument
[all …]
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c165 amdzen_stub_get32(amdzen_stub_t *stub, off_t reg) in amdzen_stub_get32()
171 amdzen_stub_get64(amdzen_stub_t *stub, off_t reg) in amdzen_stub_get64()
177 amdzen_stub_put32(amdzen_stub_t *stub, off_t reg, uint32_t val) in amdzen_stub_put32()
187 uint16_t reg) in amdzen_df_read32()
204 uint16_t reg) in amdzen_df_read64()
217 amdzen_smn_read32(amdzen_t *azn, amdzen_df_t *df, uint32_t reg) in amdzen_smn_read32()
261 amdzen_c_smn_read32(uint_t dfno, uint32_t reg, uint32_t *valp) in amdzen_c_smn_read32()
284 amdzen_c_smn_write32(uint_t dfno, uint32_t reg, uint32_t val) in amdzen_c_smn_write32()
321 uint16_t reg, uint32_t *valp) in amdzen_c_df_read32()
341 uint16_t reg, uint64_t *valp) in amdzen_c_df_read64()
[all …]
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii_marvell.c151 uint16_t reg; in mvphy_reset_88e3016() local
184 uint16_t reg; in mvphy_loop_88e3016() local
210 uint16_t reg; in mvphy_reset_88e3082() local
227 uint16_t reg; in mvphy_reset_88e1149() local
289 uint16_t reg; in mvphy_reset_88e1116() local
324 uint16_t reg; in mvphy_reset_88e1118() local
340 uint16_t reg; in mvphy_reset_88e1111() local
362 uint16_t reg, page; in mvphy_reset_88e1112() local
397 uint16_t reg; in mvphy_reset_88e1011() local
420 uint16_t reg; in mvphy_reset() local
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82599.c126 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82599() local
187 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82599() local
237 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82599() local
297 u32 i, j, fcrtl, reg; in ixgbe_dcb_config_pfc_82599() local
385 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82599() local
511 u32 reg; in ixgbe_dcb_config_82599() local
H A Dixgbe_dcb_82598.c124 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() local
183 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82598() local
230 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82598() local
273 u32 fcrtl, reg; in ixgbe_dcb_config_pfc_82598() local
325 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82598() local
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c1018 uint_t reg; in hci1394_ohci_bus_reset() local
1072 uint_t reg; in hci1394_ohci_bus_reset_nroot() local
1190 uint_t reg; in hci1394_ohci_phy_set() local
1240 uint_t reg; in hci1394_ohci_phy_clr() local
1536 uint32_t reg; in hci1394_ohci_phy_info() local
1649 uint32_t reg; in hci1394_ohci_current_busgen() local
1725 uint32_t reg; in hci1394_ohci_postwr_addr() local
1759 uint32_t reg; in hci1394_ohci_guid() local
2234 uint32_t reg; in hci1394_ohci_nodeid_get() local
2257 uint32_t reg; in hci1394_ohci_nodeid_set() local
[all …]
/illumos-gate/usr/src/uts/intel/brand/common/
H A Dbrand_asm.h153 #define GET_V(sp, pcnt, var, reg) \ argument
156 #define SET_V(sp, pcnt, var, reg) \ argument
159 #define GET_PROCP(sp, pcnt, reg) \ argument
163 #define GET_P_BRAND_DATA(sp, pcnt, reg) \ argument
194 #define CHECK_FOR_NATIVE(reg) \ argument
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txc.h67 #define TXC_FZC_REG_READ64(handle, reg, cn, val_p) \ argument
71 #define TXC_FZC_REG_WRITE64(handle, reg, cn, data) \ argument
75 #define TXC_FZC_CNTL_REG_READ64(handle, reg, port, val_p) \ argument
79 #define TXC_FZC_CNTL_REG_WRITE64(handle, reg, port, data) \ argument
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dpayload_vlapic_mmio_access.c26 write_vlapic(uint_t reg, uint32_t value) in write_vlapic()
33 read_vlapic(uint_t reg) in read_vlapic()
55 for (uint_t reg = 0; reg < 0x1000; reg += 16) { in start() local
/illumos-gate/usr/src/tools/smatch/src/
H A Dexample.c156 struct hardreg *reg; member
490 struct hardreg *reg; in target_reg() local
523 struct hardreg *reg; in find_in_reg() local
642 struct hardreg *reg; in getreg() local
659 struct hardreg *reg; in copy_reg() local
735 struct hardreg *reg; in get_generic_operand() local
797 struct hardreg *reg; in generic() local
997 struct hardreg *reg; in kill_pseudo() local
1160 struct hardreg *reg; member
1258 struct hardreg *reg, *orig; in generate_asm_inputs() local
[all …]

12345678910>>...19