Home
last modified time | relevance | path

Searched full:slave (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c304 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
305 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument
316 if (slave > dev->persist->num_vfs) in mlx4_grant_resource()
322 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource()
323 res_alloc->allocated[slave]; in mlx4_grant_resource()
328 guaranteed = res_alloc->guaranteed[slave]; in mlx4_grant_resource()
330 if (allocated + count > res_alloc->quota[slave]) { in mlx4_grant_resource()
332 slave, port, resource_str(res_type), count, in mlx4_grant_resource()
333 allocated, res_alloc->quota[slave]); in mlx4_grant_resource()
353 slave, port, resource_str(res_type), free, in mlx4_grant_resource()
[all …]
H A Dmlx4_cmd.c135 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
318 /* check if the slave is trying to boot in the middle of in mlx4_comm_cmd_poll()
819 int slave, u64 slave_addr, in mlx4_ACCESS_MEM() argument
826 (slave & ~0x7f) | (size & 0xff)) { in mlx4_ACCESS_MEM()
830 (unsigned long long)master_addr, slave, size); in mlx4_ACCESS_MEM()
835 in_param = (u64) slave | slave_addr; in mlx4_ACCESS_MEM()
839 out_param = (u64) slave | slave_addr; in mlx4_ACCESS_MEM()
899 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper() argument
920 port = mlx4_slave_convert_port(dev, slave, slave_port); in mlx4_MAD_IFC_wrapper()
946 pidx = priv->virt2phys_pkey[slave][port - 1][vidx]; in mlx4_MAD_IFC_wrapper()
[all …]
H A Dmlx4_eq.c147 u8 slave; in mlx4_gen_slave_eqe() local
152 slave = eqe->slave_id; in mlx4_gen_slave_eqe()
166 if (slave == ALL_SLAVES) { in mlx4_gen_slave_eqe()
178 mlx4_warn(dev, "Failed to generate event for slave %d\n", in mlx4_gen_slave_eqe()
184 if (mlx4_GEN_EQE(dev, slave, eqe)) in mlx4_gen_slave_eqe()
185 mlx4_warn(dev, "Failed to generate event for slave %d\n", in mlx4_gen_slave_eqe()
186 slave); in mlx4_gen_slave_eqe()
194 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event() argument
205 …mlx4_warn(dev, "Master failed to generate an EQE for slave: %d. No free EQE on slave events queue\… in slave_event()
206 slave); in slave_event()
[all …]
H A Dmlx4.h133 /*The flag indicates that the slave should delay the RESET cmd*/
204 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
206 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
551 /* num_of_slave's lists, one per slave */
645 int slave; member
970 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
975 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
980 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
985 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
990 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
[all …]
/freebsd/sys/dev/smbus/
H A Dsmbconf.h78 SMBUS_IVAR_ADDR, /* slave address of the device */
97 #define smbus_quick(bus,slave,how) \ argument
98 (SMBUS_QUICK(device_get_parent(bus), slave, how))
99 #define smbus_sendb(bus,slave,byte) \ argument
100 (SMBUS_SENDB(device_get_parent(bus), slave, byte))
101 #define smbus_recvb(bus,slave,byte) \ argument
102 (SMBUS_RECVB(device_get_parent(bus), slave, byte))
103 #define smbus_writeb(bus,slave,cmd,byte) \ argument
104 (SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte))
105 #define smbus_writew(bus,slave,cmd,word) \ argument
[all …]
H A Dsmbus_if.m57 u_char slave;
66 u_char slave;
75 u_char slave;
84 u_char slave;
94 u_char slave;
104 u_char slave;
114 u_char slave;
124 u_char slave;
135 u_char slave;
146 u_char slave;
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dbrcm,kona-ccu.txt32 compatible = "brcm,bcm11351-slave-ccu";
63 "brcm,bcm11351-slave-ccu"
90 slave uartb peri 0 BCM281XX_SLAVE_CCU_UARTB
91 slave uartb2 peri 1 BCM281XX_SLAVE_CCU_UARTB2
92 slave uartb3 peri 2 BCM281XX_SLAVE_CCU_UARTB3
93 slave uartb4 peri 3 BCM281XX_SLAVE_CCU_UARTB4
94 slave ssp0 peri 4 BCM281XX_SLAVE_CCU_SSP0
95 slave ssp2 peri 5 BCM281XX_SLAVE_CCU_SSP2
96 slave bsc1 peri 6 BCM281XX_SLAVE_CCU_BSC1
97 slave bsc2 peri 7 BCM281XX_SLAVE_CCU_BSC2
[all …]
H A Damlogic,axg-audio-clkc.yaml46 - description: slave bit clock N0 provided by external components
47 - description: slave bit clock N1 provided by external components
48 - description: slave bit clock N2 provided by external components
49 - description: slave bit clock N3 provided by external components
50 - description: slave bit clock N4 provided by external components
51 - description: slave bit clock N5 provided by external components
52 - description: slave bit clock N6 provided by external components
53 - description: slave bit clock N7 provided by external components
54 - description: slave bit clock N8 provided by external components
55 - description: slave bit clock N9 provided by external components
[all …]
/freebsd/sys/dev/iicbus/
H A Diicsmb.c74 u_char devaddr; /* slave device address */
90 static int iicsmb_quick(device_t dev, u_char slave, int how);
91 static int iicsmb_sendb(device_t dev, u_char slave, char byte);
92 static int iicsmb_recvb(device_t dev, u_char slave, char *byte);
93 static int iicsmb_writeb(device_t dev, u_char slave, char cmd, char byte);
94 static int iicsmb_writew(device_t dev, u_char slave, char cmd, short word);
95 static int iicsmb_readb(device_t dev, u_char slave, char cmd, char *byte);
96 static int iicsmb_readw(device_t dev, u_char slave, char cmd, short *word);
97 static int iicsmb_pcall(device_t dev, u_char slave, char cmd, short sdata, short *rdata);
98 static int iicsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf);
[all …]
H A Diiconf.c248 * Send start condition to the slave addressed by 'slave'
251 iicbus_start(device_t bus, u_char slave, int timeout) in iicbus_start() argument
259 if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout))) in iicbus_start()
260 sc->started = slave; in iicbus_start()
270 * Send start condition to the slave addressed by 'slave'
273 iicbus_repeated_start(device_t bus, u_char slave, int timeout) in iicbus_repeated_start() argument
281 if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout))) in iicbus_repeated_start()
282 sc->started = slave; in iicbus_repeated_start()
314 * Write a block of data to the slave previously started by
322 /* a slave must have been started for writing */ in iicbus_write()
[all …]
/freebsd/crypto/heimdal/lib/kadm5/
H A Diprop.840 .Nm ipropd-slave
41 .Nd propagate changes to a Heimdal Kerberos master KDC to slave KDCs
60 .Op Fl Fl slave-stats-file= Ns Ar file
66 .Nm ipropd-slave
87 master Kerberos server on which it runs to slave Kerberos servers
89 .Nm ipropd-slave .
96 .Dl iprop/ Ns Ar slave Ns @ Ns Ar REALM
98 .Ar slave
99 is the hostname of the slave server in the given
103 On a slave, the argument
[all …]
/freebsd/share/doc/smm/12.timed/
H A Dtimed.ms64 is based on a master slave scheme.
70 among slave time daemons when, for any reason, the master disappears.
77 (one per machine) and is based on a master-slave
95 It then sends to each \fIslave time daemon\fP the
101 it starts a slave time daemon, which
109 A submaster time daemon functions as a slave on one network that
174 one of three states: slave, master, or candidate for election to master.
185 The master sends this message to a slave to communicate
187 the clock of the slave and
189 The slave will accordingly
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/
H A Dtestframe.txt22 director and the slave. The director reads a configuration file of
23 tests to perform, passes these commands to the slave over a pipe and
24 reads the pty for any output from the slave. Data from the slave is
26 are highlighted to the tester. The slave is a curses application that
29 along with the parameters required for the call. The slave takes the
41 -s slave_path the director will execute slave_path as the slave
42 process. The default is ./slave
44 executing the slave. The default is atf
50 slave. The test language has a small number of commands, they are:
116 Compares the output stream from the slave against the contents
[all …]
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c332 int i, ix, slave, err; in __propagate_pkey_ev() local
335 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) { in __propagate_pkey_ev()
336 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev()
338 if (!mlx4_is_slave_active(dev->dev, slave)) in __propagate_pkey_ev()
347 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1] in __propagate_pkey_ev()
349 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num); in __propagate_pkey_ev()
350 pr_debug("propagate_pkey_ev: slave %d," in __propagate_pkey_ev()
352 slave, port_num, ix, err); in __propagate_pkey_ev()
412 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler() argument
420 ret = mlx4_ib_mcg_demux_handler(ibdev, port, slave, sa_mad); in mlx4_ib_demux_sa_handler()
[all …]
H A Dmlx4_ib_sysfs.c374 int slave; member
449 if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >= in show_port_pkey()
454 p->dev->pkeys.virt2phys_pkey[p->slave] in show_port_pkey()
468 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()
478 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1] in store_port_pkey()
480 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num, in store_port_pkey()
482 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num); in store_port_pkey()
484 pr_err("mlx4_gen_pkey_eqe failed for slave %d," in store_port_pkey()
485 " port %d, index %d\n", p->slave, p->port_num, idx); in store_port_pkey()
494 return sprintf(buf, "%d\n", p->slave); in show_port_gid_idx()
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/director/
H A Ddirector.c50 #define DEF_SLAVE "./slave"
57 int cmdpipe[2]; /* command pipe between director and slave */
58 int slvpipe[2]; /* reply pipe back from slave */
59 int master; /* pty to the slave */
69 * Handle the slave exiting unexpectedly, try to recover the exit message
78 fprintf(stderr, "ERROR: Slave has exited\n"); in slave_died()
80 fprintf(stderr, "output from slave: "); in slave_died()
90 fprintf(stderr, "slave exited with message \"%s\"\n", in slave_died()
108 fprintf(stderr, " -s is the path to the slave executable\n"); in usage()
122 const char *termpath, *term, *slave; in main() local
[all …]
/freebsd/contrib/netbsd-tests/kernel/tty/
H A Dt_pr.c72 exercise_ptytty(int master, int slave) in exercise_ptytty() argument
77 * send a few bytes from master to slave and read them back in exercise_ptytty()
79 error = sendsome(master, slave); in exercise_ptytty()
89 error = sendsome(slave, master); in exercise_ptytty()
108 int master, slave, error, v; in ATF_TC_BODY() local
111 slave = rump_sys_open("/dev/ttyp1", O_RDWR|O_NONBLOCK); in ATF_TC_BODY()
112 ATF_CHECK(slave != -1); in ATF_TC_BODY()
118 rump_sys_ioctl(slave, FIOASYNC, &v); in ATF_TC_BODY()
119 error = exercise_ptytty(master, slave); in ATF_TC_BODY()
123 rump_sys_close(slave); in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/alpm/
H A Dalpm.c63 #define SMBSTS 0x0 /* SMBus host/slave status register */
64 #define SMBCMD 0x1 /* SMBus host/slave command register */
179 (l & SMBHSI_SLAVE) ? "slave":"noslave"); in alpm_attach()
338 alpm_quick(device_t dev, u_char slave, int how) in alpm_quick() argument
352 ALPM_DEBUG(printf("alpm: QWRITE to 0x%x", slave)); in alpm_quick()
353 ALPM_SMBOUTB(sc, SMBHADDR, slave & ~LSB); in alpm_quick()
356 ALPM_DEBUG(printf("alpm: QREAD to 0x%x", slave)); in alpm_quick()
357 ALPM_SMBOUTB(sc, SMBHADDR, slave | LSB); in alpm_quick()
375 alpm_sendb(device_t dev, u_char slave, char byte) in alpm_sendb() argument
387 ALPM_SMBOUTB(sc, SMBHADDR, slave & ~LSB); in alpm_sendb()
[all …]
/freebsd/sys/dev/ichsmb/
H A Dichsmb.c164 ichsmb_quick(device_t dev, u_char slave, int how) in ichsmb_quick() argument
169 DBG("slave=0x%02x how=%d\n", slave, how); in ichsmb_quick()
178 slave | (how == SMB_QREAD ? in ichsmb_quick()
193 ichsmb_sendb(device_t dev, u_char slave, char byte) in ichsmb_sendb() argument
198 DBG("slave=0x%02x byte=0x%02x\n", slave, (u_char)byte); in ichsmb_sendb()
204 slave | ICH_XMIT_SLVA_WRITE); in ichsmb_sendb()
215 ichsmb_recvb(device_t dev, u_char slave, char *byte) in ichsmb_recvb() argument
220 DBG("slave=0x%02x\n", slave); in ichsmb_recvb()
226 slave | ICH_XMIT_SLVA_READ); in ichsmb_recvb()
237 ichsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in ichsmb_writeb() argument
[all …]
/freebsd/sys/dev/amdsmb/
H A Damdsmb.c325 amdsmb_quick(device_t dev, u_char slave, int how) in amdsmb_quick() argument
336 AMDSMB_DEBUG(printf("amdsmb: QWRITE to 0x%x", slave)); in amdsmb_quick()
340 AMDSMB_DEBUG(printf("amdsmb: QREAD to 0x%x", slave)); in amdsmb_quick()
347 amdsmb_ec_write(sc, SMB_ADDR, slave); in amdsmb_quick()
359 amdsmb_sendb(device_t dev, u_char slave, char byte) in amdsmb_sendb() argument
366 amdsmb_ec_write(sc, SMB_ADDR, slave); in amdsmb_sendb()
372 slave, byte, error)); in amdsmb_sendb()
379 amdsmb_recvb(device_t dev, u_char slave, char *byte) in amdsmb_recvb() argument
385 amdsmb_ec_write(sc, SMB_ADDR, slave); in amdsmb_recvb()
392 slave, *byte, error)); in amdsmb_recvb()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/fsi/
H A Dfsi.txt16 represent the FSI slaves and their slave engines. As a basic outline:
22 fsi-slave@<link,id> {
23 /* this node defines the FSI slave device, and is handled
26 fsi-slave-engine@<addr> {
32 fsi-slave-engine@<addr> {
54 addresses (link index and slave ID), and no size:
69 Slaves are identified by a (link-index, slave-id) pair, so require two cells
71 required. For an example, a slave on link 1, with ID 2, could be represented
79 Each slave provides an address-space, under which the engines are accessible.
81 addresses and sizes in the slave address space:
[all …]
/freebsd/sys/dev/nfsmb/
H A Dnfsmb.c257 /* Trying to add secondary device as slave */ in nfsmb_attach()
377 nfsmb_quick(device_t dev, u_char slave, int how) in nfsmb_quick() argument
388 NFSMB_DEBUG(printf("nfsmb: QWRITE to 0x%x", slave)); in nfsmb_quick()
392 NFSMB_DEBUG(printf("nfsmb: QREAD to 0x%x", slave)); in nfsmb_quick()
399 NFSMB_SMBOUTB(sc, SMB_ADDR, slave); in nfsmb_quick()
411 nfsmb_sendb(device_t dev, u_char slave, char byte) in nfsmb_sendb() argument
418 NFSMB_SMBOUTB(sc, SMB_ADDR, slave); in nfsmb_sendb()
423 NFSMB_DEBUG(printf("nfsmb: SENDB to 0x%x, byte=0x%x, error=0x%x\n", slave, byte, error)); in nfsmb_sendb()
430 nfsmb_recvb(device_t dev, u_char slave, char *byte) in nfsmb_recvb() argument
436 NFSMB_SMBOUTB(sc, SMB_ADDR, slave); in nfsmb_recvb()
[all …]
/freebsd/lib/libutil/
H A Dpty.c51 int master, slave; in openpty() local
67 slave = open(slavename, O_RDWR); in openpty()
68 if (slave == -1) in openpty()
72 *aslave = slave; in openpty()
77 tcsetattr(slave, TCSAFLUSH, termp); in openpty()
79 ioctl(slave, TIOCSWINSZ, (char *)winp); in openpty()
90 int master, slave, pid; in forkpty() local
92 if (openpty(&master, &slave, name, termp, winp) == -1) in forkpty()
97 (void)close(slave); in forkpty()
104 login_tty(slave); in forkpty()
[all …]
/freebsd/sys/dev/amdpm/
H A Damdpm.c341 amdpm_quick(device_t dev, u_char slave, int how) in amdpm_quick() argument
356 AMDPM_DEBUG(printf("amdpm: QWRITE to 0x%x", slave)); in amdpm_quick()
357 AMDPM_SMBOUTW(sc, AMDSMB_HSTADDR, slave & ~LSB); in amdpm_quick()
360 AMDPM_DEBUG(printf("amdpm: QREAD to 0x%x", slave)); in amdpm_quick()
361 AMDPM_SMBOUTW(sc, AMDSMB_HSTADDR, slave | LSB); in amdpm_quick()
378 amdpm_sendb(device_t dev, u_char slave, char byte) in amdpm_sendb() argument
391 AMDPM_SMBOUTW(sc, AMDSMB_HSTADDR, slave & ~LSB); in amdpm_sendb()
398 AMDPM_DEBUG(printf("amdpm: SENDB to 0x%x, byte=0x%x, error=0x%x\n", slave, byte, error)); in amdpm_sendb()
405 amdpm_recvb(device_t dev, u_char slave, char *byte) in amdpm_recvb() argument
418 AMDPM_SMBOUTW(sc, AMDSMB_HSTADDR, slave | LSB); in amdpm_recvb()
[all …]
/freebsd/tools/regression/p1003_1b/
H A Dyield.c69 int master, slave; in yield() local
112 slave = 0; in yield()
129 master = 0; /* I'm a slave */ in yield()
130 slave = i + 1; /* With this flag */ in yield()
131 *p = slave; /* And I live */ in yield()
137 /* If we conform the slave processes haven't run yet. in yield()
138 * The master must yield to let the first slave run. in yield()
147 /* Now the master yields, the first slave runs, and yields, in yield()
159 /* The final slave process should be the last one started. in yield()
163 "Error at line %d: Final slave is %d not %d.\n", in yield()
[all …]

12345678910>>...39