/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 75 * its own promif_root pointer that it will be set to the value passed by 153 promif_stree_getprop(pnode_t nodeid, char *name, void *value) argument 168 bcopy(prop, value, len); 275 promif_stree_setprop(pnode_t nodeid, char *name, void *value, int len) argument 288 * value. 303 bcopy(value, prop->pp_val, len);
|
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/ |
H A D | fpc-impl-4u.c | 94 * write a value to that counter. 100 * zeros and this is the value we want. This register isn't touched by this 285 /* Read original value. */ 296 int counter_index, uint64_t *value, boolean_t is_write) 325 prg.data = *value; 329 *value = prg.data; 295 fpc_counter_io(fire_perfreg_handle_t handle, fire_perfcnt_t group, int counter_index, uint64_t *value, boolean_t is_write) argument
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pcf8591.c | 236 int32_t value; local 303 value = i2c_tran_pointer->i2c_rbuf[0]; 305 unitp->pcf8591_name, value)); 306 if (ddi_copyout((caddr_t)&value, 337 if (ddi_copyin((caddr_t)arg, (caddr_t)&value, 352 i2c_tran_pointer->i2c_wbuf[1] = (uchar_t)value; 356 current_value = value; 391 " value is not a valid mode\n",
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pmugpio.c | 258 uint8_t value; local 276 * fetch current reg value and invert it 280 value = (CPLD_WATCHDOG ^ 285 pmugpio_ptr->pmugpio_watchdog_reg, value); 289 value = (uint8_t)(MBC_WATCHDOG ^ 294 pmugpio_ptr->pmugpio_watchdog_reg, value); 298 value = (uint8_t)(0xff ^ 303 pmugpio_ptr->pmugpio_watchdog_reg, value); 319 uint8_t value; local 337 value [all...] |
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_tools_4u.c | 91 * value_p is where the value is returned. 165 * value contains the value to be written. 169 uint64_t value) 179 poke_value.u64 = value; 182 poke_value.u32 = (uint32_t)value; 185 poke_value.u16 = (uint16_t)value; 188 poke_value.u8 = (uint8_t)value; 246 * errno-style function return value. 168 pxtool_safe_phys_poke(px_t *px_p, boolean_t type, size_t size, uint64_t paddr, uint64_t value) argument
|
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | lw8_impl.h | 77 char value[(3 * (MAX_FRUS - 1)) + MAX_LEDS_PER_FRU]; member in struct:lw8_get_led_payload 82 char value; member in struct:lw8_set_led_payload 124 * 'value' for the specified 'property_id'. 127 * System Mode, <property_id, value> would be set to: 133 int value; member in struct:__anon9826 143 * choices for 'value' field (for the specified 'property_id'):
|
/illumos-gate/usr/src/uts/intel/io/heci/ |
H A D | heci_interface.c | 92 * @value: the byte to write 96 uint32_t value) 99 (uint32_t *)(long)(device->mem_addr + offset), value); 95 write_heci_register(struct iamt_heci_device *device, unsigned long offset, uint32_t value) argument
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 118 * This isn't an offset -- it's an absolute value. (This is 120 * value into an offset from mp->text. 163 Addr value, destination; local 177 _kobj_printf(ops, "krtld:\t\t\t\t\t value\n"); 252 value = baseaddr; 256 * value is base address of this object 262 value = symref->st_value; 293 * - symbol value plus base address of 296 value = symref->st_value; 301 value [all...] |
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_hba.c | 127 int value; local 180 value = dcd_options; 182 prop_name, value) != DDI_PROP_SUCCESS) {
|
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | amd64_gart.c | 38 uint32_t value; local 42 value = pci_config_get32(sc->gsoft_pcihdl, 44 aper_base = (uint64_t)value << AMD64_APERBASE_SHIFT; 51 uint32_t value; local 54 value = pci_config_get32(sc->gsoft_pcihdl, AMD64_APERTURE_CONTROL); 56 value = (value & AMD64_APERSIZE_MASK) >> 1; 58 /* aper size = 2^value x 32 */ 59 switch (value) { 91 uint32_t value; local [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_timer.c | 62 long value; member in struct:__anon9510 158 * Check the CCB timer value for every active CCB for this 426 * using the timeout value from ghd_timeout_table[]. 465 * have a different timeout value. 742 * determine default timeout value 757 ulong_t value; local 762 value = ghd_time_inits[indx].value; 763 ghd_timeout_table[state] = (cmdstate_t)value;
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 441 *value; local 447 if (!(value = strchr(env, '='))) 449 *value++ = 0; 450 if (!strchr(value, '\'')) 452 env, env, value); 453 *--value = '=';
|
H A D | files.c | 49 is_printer_uri(char *value) argument 51 if (value == NULL) 54 if ((value[0] == '/') && (access(value, F_OK) == 0)) 57 if (strstr(value, "://") == NULL)
|
/illumos-gate/usr/src/cmd/lvm/md_monitord/ |
H A D | md_monitord.c | 261 int2string(intmap_t *map, int value) argument 267 if (map->im_int == value) { 274 (void) sprintf(charstr, "%d", value); 277 value, name); 458 "set value and interval %lu sec mode\n"), timerval);
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 238 uint16_t value; /* register value */ local 245 stat = e1000_read_phy_reg(hw, offset[i], &value); 248 "phyreg offset: %d value: 0x%x\n", 249 offset[i], value); 362 "macreg %10s offset: 0x%x value: 0x%x\n",
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_gld.c | 547 int value; local 550 value = OCE_DEFAULT_TX_RING_SIZE; 552 value = OCE_DEFAULT_RX_RING_SIZE; 557 (void) snprintf(valstr, sizeof (valstr), "%d", value); 676 * val - pointer to a location where the value to set is stored 678 * return EINVAL => invalid value in val 0 => success 719 * function to get the value of a private property. Called from get_prop 732 int value; local 735 value = dev->tx_ring_size; 737 value [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_regops.c | 45 static void local_apic_write(uint32_t reg, uint64_t value); 47 static void local_apic_write_task_reg(uint64_t value); 50 static void local_x2apic_write(uint32_t msr, uint64_t value); 52 static void local_x2apic_write_task_reg(uint64_t value); 116 local_apic_write(uint32_t reg, uint64_t value) argument 118 apicadr[reg] = (uint32_t)value; 134 local_apic_write_task_reg(uint64_t value) argument 137 setcr8((ulong_t)(value >> APIC_IPL_SHIFT)); 140 setcr8((ulong_t)(value >> APIC_IPL_SHIFT)); 142 apicadr[APIC_TASK_REG] = (uint32_t)value; 166 local_x2apic_write(uint32_t msr, uint64_t value) argument 187 local_x2apic_write_task_reg(uint64_t value) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | expand.c | 43 set_variable(const char *name, const char *value) argument 51 if (value != NULL && strlen(value) >= sizeof (expvars[0].v_value)) 72 if (value != NULL) { 73 (void) grub_strcpy(expvars[i].v_value, value); 106 * This function returns 16 bits. The upper 8 are the value of %ah
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc_impl.h | 43 AD_STATE_INVALID = 0, /* The value is not valid */ 44 AD_STATE_FIXED, /* The value was fixed by caller */ 45 AD_STATE_AUTO /* The value is auto discovered */ 65 void *value; member in struct:ad_item 68 /* if the value changes */
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 101 update_dirs(ad_disc_ds_t **value, ad_disc_ds_t **new) argument 103 if (*value == *new) 106 if (*value != NULL && *new != NULL && 107 ad_disc_compare_ds(*value, *new) == 0) { 113 if (*value) 114 free(*value); 115 *value = *new;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_autohome.c | 452 * name-value pairs. One of the options may be an AD container, which 453 * is also a comma separated list of name-value pairs. For example, 467 char *value; local 485 if ((value = strsep(&bp, ",")) == NULL) 487 } while (*value == '\0'); 489 if (value == NULL) 492 *ap++ = value; 500 value = *ap; 502 if (strncasecmp(value, "catia=", 6) == 0) { 503 smb_shr_sa_setflag((value [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 385 nfs_smf_set_prop(char *prop_name, char *value, char *instance, argument 388 return (fs_smf_set_prop(NFS_SMF, prop_name, value, instance, 393 autofs_smf_set_prop(char *prop_name, char *value, char *instance, argument 396 return (fs_smf_set_prop(AUTOFS_SMF, prop_name, value, instance,
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.h | 47 int value; member in struct:enum_lookup_map 52 extern const char *enum_lookup(int value, struct enum_lookup_map *map);
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/ |
H A D | sharectl.c | 110 ret = gettext("set\t{-p <property>=<value>}... <proto>"); 129 char *section, *value, *name; local 198 /* get and display the property and value */ 201 value = sa_get_property_attr(prop, 202 "value"); 204 value != NULL ? value : ""); 206 if (value != NULL) 207 sa_free_attr_string(value); 231 value [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82543.c | 65 u32 value); 526 * "shift in" the 16-bit value (18 total bits) of the requested PHY 626 * We need to shift 'count' bits out to the PHY. So, the value in the 637 * value in the "data" parameter will be shifted out to the PHY one 679 * the PHY (setting the MDC bit), and then reading the value of the data out 695 * value of the MDIO bit. 1010 * Read the EEPROM to determine the initial polarity value and write the 1029 * polarity value for the SW controlled pins, and setup the 1232 * interrupt state to its previous value except for the link 1449 * e1000_write_vfta_82543 - Write value t 1457 e1000_write_vfta_82543(struct e1000_hw *hw, u32 offset, u32 value) argument [all...] |