Searched refs:msgs (Results 1 - 25 of 109) sorted by relevance

12345

/freebsd-current/usr.bin/localedef/
H A Dmessages.c45 static struct lc_messages_T msgs; variable in typeref:struct:lc_messages_T
50 (void) memset(&msgs, 0, sizeof (msgs));
66 msgs.yesstr = str;
69 msgs.nostr = str;
72 msgs.yesexpr = str;
75 msgs.noexpr = str;
90 if (msgs.yesstr == NULL) {
92 msgs.yesstr = "";
94 if (msgs
[all...]
/freebsd-current/usr.bin/msgs/
H A DMakefile2 PROG= msgs
/freebsd-current/libexec/rc/rc.d/
H A Dmsgs5 # PROVIDE: msgs
10 name="msgs"
11 desc="Make a bounds file for msgs(1)"
17 # Make a bounds file for msgs(1) if there isn't one already
19 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then
20 echo 0 > /var/msgs/bounds
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/
H A Ddisplay_status.c39 static const char *msgs[] = { local
50 else if (v >= sizeof(msgs)/sizeof(*msgs))
53 return msgs[v];
59 static const char *msgs[] = { local
86 else if (v >= sizeof(msgs)/sizeof(*msgs))
89 return msgs[v];
95 static const char *msgs[] = { local
106 if (v >= sizeof(msgs)/sizeo
[all...]
/freebsd-current/crypto/heimdal/lib/gssapi/mech/
H A Dgss_display_status.c66 static const char *msgs[] = { local
77 else if (v >= sizeof(msgs)/sizeof(*msgs))
80 return msgs[v];
86 static const char *msgs[] = { local
110 if (v >= sizeof(msgs)/sizeof(*msgs))
113 return msgs[v];
119 static const char *msgs[] = { local
130 if (v >= sizeof(msgs)/sizeo
[all...]
/freebsd-current/contrib/openpam/t/
H A Dt_pam_conv.h35 struct pam_message *msgs; member in struct:t_pam_conv_script
H A Dt_pam_conv.c63 t_pam_conv(int nm, const struct pam_message **msgs, argument
86 if (msgs[i]->msg_style != s->msgs[i].msg_style) {
89 s->msgs[i].msg_style, msgs[i]->msg_style);
92 if (strcmp(msgs[i]->msg, s->msgs[i].msg) != 0) {
95 s->msgs[i].msg, msgs[i]->msg);
98 switch (msgs[
[all...]
/freebsd-current/sys/dev/iicbus/sensor/
H A Dhtu21.c127 struct iic_msg msgs[2]; local
132 msgs[0].slave = sc->sc_addr;
133 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP;
134 msgs[0].len = 1;
135 msgs[0].buf = &cmd;
137 msgs[1].slave = sc->sc_addr;
138 msgs[1].flags = IIC_M_RD;
139 msgs[1].len = count;
140 msgs[1].buf = data;
142 error = iicbus_transfer_excl(dev, msgs, nitem
150 struct iic_msg msgs[2]; local
256 struct iic_msg msgs[2]; local
349 struct iic_msg msgs[2]; local
[all...]
H A Dmax44009.c70 struct iic_msg msgs[4]; local
80 msgs[0].slave = sc->sc_addr;
81 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP;
82 msgs[0].len = 1;
83 msgs[0].buf = &reghi;
84 msgs[1].slave = sc->sc_addr;
85 msgs[1].flags = IIC_M_RD | IIC_M_NOSTOP;
86 msgs[1].len = 1;
87 msgs[1].buf = &valhi;
88 msgs[
[all...]
/freebsd-current/usr.sbin/periodic/etc/daily/
H A D130.clean-msgs17 if [ ! -d /var/msgs ]
19 echo '$daily_clean_msgs_enable is set but /var/msgs' \
28 msgs -c $arg && rc=0 || rc=3
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_i2c.c45 static int lkpi_i2c_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs);
168 struct iic_msg *msgs, uint32_t nmsgs)
188 msgs[0].flags & IIC_M_RD) {
195 !(msgs[1].flags & IIC_M_RD)) {
203 msgs[0].slave != msgs[1].slave) {
212 msgs[0].len > quirks->max_comb_1st_msg_len) {
216 msgs[0].len,
221 msgs[1].len > quirks->max_comb_2nd_msg_len) {
225 msgs[
167 i2c_check_for_quirks(struct i2c_adapter *adapter, struct iic_msg *msgs, uint32_t nmsgs) argument
278 lkpi_i2c_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Di2c.h113 int lkpi_i2cbb_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs);
122 do_i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) argument
129 ret = adapter->algo->master_xfer(adapter, msgs, nmsgs);
131 ret = lkpi_i2cbb_transfer(adapter, msgs, nmsgs);
140 i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) argument
150 ret = do_i2c_transfer(adapter, msgs, nmsgs);
160 __i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int nmsgs) argument
162 return (do_i2c_transfer(adapter, msgs, nmsgs));
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/
H A Dtst.icmp.ksh47 msgs = args[0];
51 /in && reps && msgs/
/freebsd-current/sys/dev/mpr/
H A Dmpr_pci.c68 static int mpr_alloc_msix(struct mpr_softc *sc, int msgs);
69 static int mpr_alloc_msi(struct mpr_softc *sc, int msgs);
290 int error, msgs; local
294 msgs = 0;
297 msgs = pci_msix_count(dev);
298 mpr_dprint(sc, MPR_INIT, "Counted %d MSI-X messages\n", msgs);
299 msgs = min(msgs, sc->max_msix);
300 msgs = min(msgs, MPR_MSIX_MA
454 mpr_alloc_msix(struct mpr_softc *sc, int msgs) argument
463 mpr_alloc_msi(struct mpr_softc *sc, int msgs) argument
[all...]
/freebsd-current/sys/dev/mps/
H A Dmps_pci.c69 static int mps_alloc_msix(struct mps_softc *sc, int msgs);
70 static int mps_alloc_msi(struct mps_softc *sc, int msgs);
236 int error, msgs; local
240 msgs = 0;
243 msgs = pci_msix_count(dev);
244 mps_dprint(sc, MPS_INIT, "Counted %d MSI-X messages\n", msgs);
245 msgs = min(msgs, sc->max_msix);
246 msgs = min(msgs, MPS_MSIX_MA
401 mps_alloc_msix(struct mps_softc *sc, int msgs) argument
410 mps_alloc_msi(struct mps_softc *sc, int msgs) argument
[all...]
/freebsd-current/contrib/xz/src/xz/
H A Dhardware.c268 const char *msgs[] = { local
278 for (unsigned i = 0; i < ARRAY_SIZE(msgs); ++i) {
279 size_t w = tuklib_mbstr_width(msgs[i], NULL);
293 memlimit_show(msgs[0], width_max, total_ram);
295 tuklib_mbstr_fw(msgs[1], (int)(width_max)),
296 msgs[1], cputhreads);
300 memlimit_show(msgs[2], width_max, memlimit_compress);
301 memlimit_show(msgs[3], width_max, memlimit_decompress);
302 memlimit_show(msgs[4], width_max,
304 memlimit_show(msgs[
[all...]
/freebsd-current/sys/dev/iicbus/pmic/
H A Dact8846.c76 struct iic_msg msgs[2] = { local
81 msgs[0].slave = sc->bus_addr;
82 msgs[1].slave = sc->bus_addr;
85 rv = iicbus_transfer_excl(sc->dev, msgs, 2, IIC_INTRWAIT);
100 struct iic_msg msgs[2] = { local
105 msgs[0].slave = sc->bus_addr;
106 msgs[1].slave = sc->bus_addr;
109 rv = iicbus_transfer_excl(sc->dev, msgs, 2, IIC_INTRWAIT);
125 struct iic_msg msgs[1] = { local
129 msgs[
147 struct iic_msg msgs[2] = { local
[all...]
/freebsd-current/sys/dev/iicbus/
H A Diiconf.c439 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument
442 return (IICBUS_TRANSFER(device_get_parent(bus), msgs, nmsgs));
446 iicbus_transfer_excl(device_t dev, struct iic_msg *msgs, uint32_t nmsgs, argument
455 error = IICBUS_TRANSFER(bus, msgs, nmsgs);
466 iicbus_transfer_gen(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
483 addr = msgs[i].slave;
484 if (msgs[i].flags & IIC_M_RD)
489 if (!(msgs[i].flags & IIC_M_NOSTART)) {
499 if (msgs[i].flags & IIC_M_RD)
500 error = iicbus_read(bus, msgs[
524 struct iic_msg msgs[2]; local
[all...]
H A Diicsmb.c306 #define TRANSFER_MSGS(dev, msgs) iicbus_transfer(dev, msgs, nitems(msgs))
311 struct iic_msg msgs[] = { local
324 error = TRANSFER_MSGS(dev, msgs);
331 struct iic_msg msgs[] = { local
336 error = TRANSFER_MSGS(dev, msgs);
343 struct iic_msg msgs[] = { local
348 error = TRANSFER_MSGS(dev, msgs);
356 struct iic_msg msgs[] local
369 struct iic_msg msgs[] = { local
381 struct iic_msg msgs[] = { local
395 struct iic_msg msgs[] = { local
412 struct iic_msg msgs[] = { local
428 struct iic_msg msgs[] = { local
443 struct iic_msg msgs[] = { local
[all...]
/freebsd-current/usr.bin/talk/
H A DMakefile4 init_disp.c invite.c io.c look_up.c msgs.c talk.c
/freebsd-current/sys/arm64/nvidia/tegra210/
H A Dmax77620_rtc.c104 struct iic_msg msgs[2] = { local
109 msgs[0].slave = sc->bus_addr;
110 msgs[1].slave = sc->bus_addr;
113 rv = iicbus_transfer(sc->dev, msgs, 2);
129 struct iic_msg msgs[2] = { local
134 msgs[0].slave = sc->bus_addr;
135 msgs[1].slave = sc->bus_addr;
138 rv = iicbus_transfer(sc->dev, msgs, 2);
154 struct iic_msg msgs[1] = { local
158 msgs[
177 struct iic_msg msgs[2] = { local
[all...]
/freebsd-current/sys/arm/nvidia/
H A Das3722.c81 struct iic_msg msgs[2] = { local
86 msgs[0].slave = sc->bus_addr;
87 msgs[1].slave = sc->bus_addr;
90 rv = iicbus_transfer(sc->dev, msgs, 2);
105 struct iic_msg msgs[2] = { local
110 msgs[0].slave = sc->bus_addr;
111 msgs[1].slave = sc->bus_addr;
114 rv = iicbus_transfer(sc->dev, msgs, 2);
130 struct iic_msg msgs[1] = { local
134 msgs[
152 struct iic_msg msgs[2] = { local
[all...]
/freebsd-current/sys/arm/allwinner/
H A Daw_rsb.c271 rsb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
291 if (nmsgs != 2 || (msgs[0].flags & IIC_M_RD) == IIC_M_RD ||
292 (msgs[0].slave >> 1) != (msgs[1].slave >> 1) ||
293 msgs[0].len != 1 || msgs[1].len > RSB_MAXLEN)
298 if ((msgs[1].flags & IIC_M_RD) != 0) {
299 switch (msgs[1].len) {
313 switch (msgs[1].len) {
337 device_addr = msgs[
[all...]
/freebsd-current/sys/dev/iicbus/controller/twsi/
H A Dtwsi.c486 twsi_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument
495 return (iicbus_transfer_gen(dev, msgs, nmsgs));
511 sc->msgs = msgs;
518 debugf(sc, "msg %d is %d bytes long\n", i, msgs[i].len);
580 sc->msgs[sc->msg_idx].slave);
582 if (sc->msgs[sc->msg_idx].flags & IIC_M_RD)
584 sc->msgs[sc->msg_idx].slave | LSB);
587 sc->msgs[sc->msg_idx].slave & ~LSB);
593 if (sc->msgs[s
[all...]
/freebsd-current/sys/dev/iicbus/adc/
H A Dad7418.c139 struct iic_msg msgs[2] = { local
143 return iicbus_transfer(dev, msgs, 2) != 0 ? -1 : data[0];
151 struct iic_msg msgs[1] = { local
156 return iicbus_transfer(dev, msgs, 1);
183 struct iic_msg msgs[2] = { local
188 return iicbus_transfer(dev, msgs, 2) != 0 ?

Completed in 180 milliseconds

12345