/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_nvm.c | 234 u32 i, reg = 0; local 240 reg = E1000_READ_REG(hw, E1000_EERD); 242 reg = E1000_READ_REG(hw, E1000_EEWR); 244 if (reg & E1000_NVM_RW_REG_DONE)
|
H A D | e1000_82571.c | 1272 u32 reg; local 1277 reg = E1000_READ_REG(hw, E1000_TXDCTL(0)); 1278 reg |= (1 << 22); 1279 E1000_WRITE_REG(hw, E1000_TXDCTL(0), reg); 1282 reg = E1000_READ_REG(hw, E1000_TXDCTL(1)); 1283 reg |= (1 << 22); 1284 E1000_WRITE_REG(hw, E1000_TXDCTL(1), reg); 1287 reg = E1000_READ_REG(hw, E1000_TARC(0)); 1288 reg &= ~(0xF << 27); /* 30:27 */ 1292 reg | [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x540.c | 720 u32 reg; local 726 reg = IXGBE_READ_REG(hw, IXGBE_EEC_BY_MAC(hw)); 727 if (reg & IXGBE_EEC_FLUDONE) {
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_drv.c | 228 uint8_t reg, uint8_t val, uint8_t palette_enable) 231 vga_reg_put8(regmap, VGA_AR_INDEX, palette_enable | reg); 259 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); local 272 array[i] = S3_READ(reg + (i << 2)); 280 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); local 293 S3_WRITE(reg + (i << 2), array[i]); 227 i915_write_ar(struct vgaregmap *regmap, uint16_t st01, uint8_t reg, uint8_t val, uint8_t palette_enable) argument
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_resource.c | 470 /* Generate 'reg' for producer. */ 473 acpidev_regspec_t reg; local 475 reg.phys_hi = high; 476 reg.phys_mid = addrp->Address.Minimum >> 32; 477 reg.phys_low = addrp->Address.Minimum & 0xFFFFFFFF; 478 reg.size_hi = addrp->Address.AddressLength >> 32; 479 reg.size_low = addrp->Address.AddressLength & 481 rc = acpidev_resource_insert_reg(rhdl, ®); 541 /* Generate 'reg' for producer. */ 544 acpidev_regspec_t reg; local 825 acpidev_regspec_t reg; local 859 acpidev_regspec_t reg; local [all...] |
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | problem.c | 695 sunFmProblemTable_return(unsigned int reg, void *arg) argument 861 sunFmFaultEventTable_return(unsigned int reg, void *arg) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 151 * DI_PHYSPROP (which is set up from the PCIe slotcap reg). 275 uint_t reg; local 291 * We must have a reg prop and from it we extract the bus #, 294 if (di_uintprop_get(mp, src, DI_REGPROP, ®) < 0) { 302 np->dp_bus = PCI_REG_BUS_G(reg); 305 np->dp_dev = PCI_REG_DEV_G(reg); 306 np->dp_fn = PCI_REG_FUNC_G(reg); 307 np->dp_bdf = (PCI_REG_BUS_G(reg) << 8) | (PCI_REG_DEV_G(reg) << 3) | 308 PCI_REG_FUNC_G(reg); [all...] |
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 213 picld_plugin_reg_t reg; member in struct:picld_plugin_reg_list
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 180 find_prop(bank, "reg"))); 196 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); 207 preg = (uint_t *)(get_prop_val(find_prop(dimm, "reg"))); 1274 int *reg = NULL; local 1300 if ((prop = find_prop(parent, "reg")) != NULL) 1301 reg = (int *)(get_prop_val(prop)); 1304 if ((upa_id == NULL) || (reg == NULL)) { 1307 offset = reg[1];
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | sis900.c | 239 u8 reg; local 253 pcibios_read_config_byte(p->bus,p->devfn, 0x48, ®); 254 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg | 0x40); 261 pcibios_write_config_byte(p->bus,p->devfn, 0x48, reg & ~0x40);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | mpxio_rcm.c | 163 phci_list_t *reg; local 172 reg = reg_list; 173 while (reg) { 174 next = reg->next; 175 free(reg->phci.path); 176 free(reg); 177 reg = next; 245 phci_list_t *reg; local 251 for (reg = reg_list; reg ! 274 phci_list_t *reg; local 514 phci_list_t *reg; local 656 phci_list_t *reg; local [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | proc_isadep.c | 738 uint_t reg; local 750 reg = R_I7; 758 reg = RS2(instr); 761 reg = R_O7; 764 *p = psp->pr_reg[reg] + 2 * sizeof (instr_t);
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 187 uint32_t reg; local 191 reg = (uint32_t)*((uint16_t *) 194 reg = *((uint32_t *)((uint32_t)data + tbl->reg_offset)); 198 if (!(reg & entry->reg_bit)) 216 fmd_hdl_debug(hdl, "Sending ereport: %s 0x%x\n", fab_buf, reg);
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | machrel.amd.c | 529 #define INSN_ADDMR 0x03 /* addq mem,reg */ 530 #define INSN_ADDIR 0x81 /* addq imm,reg */ 531 #define INSN_MOVMR 0x8b /* movq mem,reg */ 532 #define INSN_MOVIR 0xc7 /* movq imm,reg */ 533 #define INSN_LEA 0x8d /* leaq mem,reg */ 634 * movq %fs:0, %reg 635 * addq x@gottpoff(%rip), %reg 637 * movq %fs:0, %reg 638 * leaq x@tpoff(%reg), %reg 655 uint8_t reg; /* Register */ local [all...] |
/illumos-gate/usr/src/ucbhead/ |
H A D | curses.h | 35 #define reg register macro
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_hotplug.c | 124 * It adds "hp-node", "reg", "compatible" properties to the devinfo 125 * (formats for "reg" and "compatible" properties are specified by 1275 156 uint32_t reg[6]; local 367 reg[0] = node->node_guid_hi; 368 reg[1] = node->node_guid_lo; 369 s1394_cfgrom_parse_unit_dir(unit_dir, ®[2], ®[3], ®[4], 370 ®[5]); 372 reg[ [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_recv.c | 442 size_t reg, tail; local 446 icp->ic_pktsz, ®, &tail); 452 dmac_laddress + coff, reg, 456 off += reg; 457 coff += reg;
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_mac.c | 1036 uint32_t reg; local 1047 reg = REG_READ(ah, AR_OBS_BUS_1); 1051 __func__, reg));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 1255 /* check the "reg" property to get the length of memory-mapped I/O */ 1257 "reg", (int **)®s_list, &nregs) != DDI_PROP_SUCCESS) { 1274 * When I/O BAR is enabled, the value of "reg" property should be like 1284 * When I/O BAR is disabled, the "reg" property of the device node does 1286 * illustrates the vaule of "reg" property, 1606 * uint8_t reg AC97 register number 1610 audio810_write_ac97(void *arg, uint8_t reg, uint16_t data) argument 1615 I810_AM_PUT16(reg, data); 1618 (void) audio810_read_ac97(statep, reg); 1629 * uint8_t reg AC9 1635 audio810_read_ac97(void *arg, uint8_t reg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 158 cmediahd_read_ac97(void *arg, uint8_t reg) argument 166 val |= reg << 16; 168 val |= 1 << 23; /* ac97 read the reg address */ 177 cmediahd_write_ac97(void *arg, uint8_t reg, uint16_t data) argument 184 val |= reg << 16; 195 cmediahd_read_fp_ac97(void *arg, uint8_t reg) 204 val |= 1 << 23; /* ac97 read the reg address */ 205 val |= reg << 16; 215 cmediahd_write_fp_ac97(void *arg, uint8_t reg, uint16_t data) 224 val |= reg << 1 233 spi_write(void *arg, int codec_num, unsigned char reg, int val) argument 276 i2c_write(void *arg, unsigned char codec_num, unsigned char reg, unsigned char data) argument [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiots/ |
H A D | audiots.c | 734 * int reg AC-97 register number 740 audiots_get_ac97(void *arg, uint8_t reg) argument 757 reg &= AP_ACRD_INDEX_MASK; 759 if ((first = audiots_read_ac97(state, reg)) != 0) { 769 if ((next = audiots_read_ac97(state, reg)) != 0) { 1015 * int reg AC-97 register number 1021 audiots_read_ac97(audiots_state_t *state, int reg) argument 1077 ddi_put16(acch, addr, (reg|AP_ACRD_W_PRIMARY_CODEC| 1142 * int reg AC-97 register number 1155 uint16_t reg local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_mcp.c | 1103 u32_t reg = 0 ; local 1106 reg = REG_RD(pdev, offset); 1110 if( REG_RD(pdev, offset) != reg ) 1115 return reg; // mcp is hang on this value as program counter!
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 95 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) argument 97 (void) t1_tpi_read(cmac->adapter, OFFSET(reg), data32); 101 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) argument 103 (void) t1_tpi_write(cmac->adapter, OFFSET(reg), data32);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 722 uint16_t reg; local 724 reg = pci_config_get16(confhdl, cap_ptr + PCI_CAP_ID_REGS_OFF); 726 switch ((reg & PCI_HTCAP_ADDRMAP_MAPTYPE_MASK) >> 730 nwords = 3 + ((reg & PCI_HTCAP_ADDRMAP_NUMMAP_MASK) * 2); 750 uint16_t reg; local 752 reg = pci_config_get16(confhdl, cap_ptr + PCI_CAP_ID_REGS_OFF); 755 nwords = 1 + (reg & PCI_HTCAP_FUNCEXT_LEN_MASK);
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | physdev.h | 118 uint32_t reg; member in struct:physdev_apic
|