Searched defs:slave (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/enhance/
H A Denhance.c72 * Pseudo-terminal slave device file names start with the following
78 * Specify the maximum suffix length for the control and slave device
84 * Set the maximum length of the master and slave terminal device filenames,
115 static int pty_child(const char *prog, int slave, char *argv[]);
132 int slave = -1; /* The fd of the pseudo-terminal slave device */ local
135 char slave_name[PTY_MAX_NAME]; /* The filename of the slave end of the */
170 * slave end of the pseudo-terminal.
204 close(cntrl); /* The child doesn't use the slave device */
206 if((slave
517 pty_child(const char *prog, int slave, char *argv[]) argument
[all...]
/illumos-gate/usr/src/cmd/script/
H A Dscript.c51 int slave; /* file descriptor for slave pseudo-tty */ variable
210 (void) dup2(slave, 0);
211 (void) dup2(slave, 1);
212 (void) dup2(slave, 2);
213 (void) close(slave);
279 char *slavename; /* name of slave pseudo-tty */
281 grantpt(master); /* change permissions of slave */
282 unlockpt(master); /* unlock slave */
283 slavename = ptsname(master); /* get name of slave */
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c81 int32_t slave = 0; local
90 "upa-interrupt-slave", 0) != 0) {
92 /* Give slave devices pri of 5. e.g. fb's */
104 * Hack to support the UPA slave devices before the 1275
109 rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0 &&
111 slave = 1;
128 * Hack to support the UPA slave devices before the 1275
131 if (slave) {
134 * Interrupts from the slave UPA devices are
175 * Hack to support the UPA slave device
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_ddi_impl.c195 * Routines to set/get UPA slave only device interrupt mapping registers.
198 * this routine is called on behalf of a slave device, the framework
199 * determines the upa id of the slave based on that supplied by the master.
205 * behalf of a slave device and the mapping register has not been set,
207 * nexus which owns the mapping register of the slave and installs that
213 set_intr_mapping_reg(int upaid, uint64_t *addr, int slave) argument
218 if (slave == 0) {
224 * If we get here, we're adding an entry for a UPA slave only device.
226 * will be the device with the same UPA id minus the slave number.
229 if ((affin_upaid = upaid - slave) <
240 get_intr_mapping_reg(int upaid, int slave) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c455 * If the slave is discovered to have a skew, gethrtimef will be changed to
457 * the master and slave TSCs are read simultaneously; however, there is no
460 * management. The slave CPU continuously reads TSC and then reads a global
462 * the slave's visibility (being forced by an mfence operation) we use the TSC
463 * reading taken on the slave. A corresponding TSC read will be taken on the
465 * delay between causing the slave to notice the invalid cache line and the
482 tsc_sync_master(processorid_t slave) argument
521 * after the slave noticed the cache line
528 tsc_sync_tick_delta[slave] =
583 * if the master and slave ar
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c1476 int slave = 0; local
1582 slave = 1;
1633 if (slave) {
1717 int slave = 0; local
1829 slave = 1;
1880 if (slave) {
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dnb5000_init.c196 read_spd_eeprom(int bus, int slave, int addr) argument
213 cmd = SPD_EEPROM_WRITE | SPD_ADDR(slave, addr);
325 int slave; local
327 slave = channel & 0x1 ? dimm + 4 : dimm;
330 dp->nrow = read_spd_eeprom(channel, slave, 3) & 0x1f;
333 dp->ncolumn = read_spd_eeprom(channel, slave, 4) & 0xf;
336 dp->nranks = (read_spd_eeprom(channel, slave, 5) & 0x3) + 1;
339 dp->width = (read_spd_eeprom(channel, slave, 6) >> 5) << 2;
342 dp->nbanks = read_spd_eeprom(channel, slave, 17);
348 dp->manufacture_id = read_spd_eeprom(channel, slave, 6
385 int t, slave; local
[all...]

Completed in 81 milliseconds