/freebsd-current/contrib/com_err/ |
H A D | error.c | 52 return p->table->msgs[code - p->table->base]; 62 const char *msg = p->table->msgs[code - p->table->base]; 88 if (et->table->msgs == messages) 95 et->table->msgs = messages;
|
H A D | com_right.h | 76 char const * const * msgs; member in struct:error_table
|
/freebsd-current/crypto/heimdal/lib/com_err/ |
H A D | error.c | 55 return p->table->msgs[code - p->table->base]; 65 const char *msg = p->table->msgs[code - p->table->base]; 91 if (et->table->msgs == messages) 98 et->table->msgs = messages;
|
H A D | com_right.h | 64 char const * const * msgs; member in struct:error_table
|
/freebsd-current/sys/dev/iicbus/ |
H A D | iic.h | 55 struct iic_msg *msgs; member in struct:iic_rdwr_data
|
H A D | acpi_iicbus.c | 95 struct iic_msg msgs[] = { local 99 return (iicbus_transfer(dev, msgs, nitems(msgs))); 106 struct iic_msg msgs[] = { local 111 error = iicbus_transfer(dev, msgs, nitems(msgs)); 122 struct iic_msg msgs[] = { local 127 return (iicbus_transfer(dev, msgs, nitems(msgs))); 135 struct iic_msg msgs[] local 158 struct iic_msg msgs[] = { local 174 struct iic_msg msgs[] = { local [all...] |
H A D | iiconf.h | 153 int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs); 154 int iicbus_transfer_excl(device_t bus, struct iic_msg *msgs, uint32_t nmsgs, 156 int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
|
H A D | iichid.c | 275 struct iic_msg msgs[] = { local 281 error = iicbus_transfer(sc->dev, msgs, nitems(msgs)); 288 msgs[0] = (struct iic_msg) 299 msgs[0] = (struct iic_msg) 303 error = iicbus_transfer(sc->dev, msgs, 1); 308 "%*D - %*D\n", 2, actbuf, " ", msgs[0].len, msgs[0].buf, " "); 320 struct iic_msg msgs[] = { local 333 return (iicbus_transfer(sc->dev, msgs, nitem 345 struct iic_msg msgs[] = { local 368 struct iic_msg msgs[] = { local 382 struct iic_msg msgs[] = { local 396 struct iic_msg msgs[] = { local 439 struct iic_msg msgs[] = { local 509 struct iic_msg msgs[] = { local [all...] |
H A D | icee.c | 222 struct iic_msg msgs[2] = { local 243 msgs[0].len = 1; 244 msgs[1].len = len; 249 msgs[0].len = 2; 250 msgs[1].len = len; 256 msgs[i].slave = slave; 257 error = iicbus_transfer_excl(sc->dev, msgs, 2, IIC_INTRWAIT);
|
/freebsd-current/lib/libgssapi/ |
H A D | gss_display_status.c | 106 static const char *msgs[] = { local 115 if (v >= nitems(msgs)) 118 return msgs[v]; 124 static const char *msgs[] = { local 149 if (v >= nitems(msgs)) 152 return msgs[v]; 158 static const char *msgs[] = { local 169 if (v >= nitems(msgs)) 172 return msgs[v];
|
/freebsd-current/sys/dev/iicbus/controller/rockchip/ |
H A D | rk_i2c.c | 466 rk_i2c_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument 491 if (msgs == NULL || msgs[i].buf == NULL || 492 msgs[i].len == 0) { 501 if ((msgs[i + 1].flags & IIC_M_NOSTART) && 502 ((msgs[i].flags & IIC_M_RD) != 503 (msgs[i + 1].flags & IIC_M_RD) || 504 (msgs[i].slave != msgs[i + 1].slave))) { 516 if (nmsgs - i >= 2 && msgs[ [all...] |
/freebsd-current/sys/arm64/nvidia/tegra210/ |
H A D | max77620.c | 80 struct iic_msg msgs[2] = { local 85 msgs[0].slave = sc->bus_addr; 86 msgs[1].slave = sc->bus_addr; 89 rv = iicbus_transfer(sc->dev, msgs, 2); 104 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[1] = { local 133 msgs[ 152 struct iic_msg msgs[2] = { local [all...] |
/freebsd-current/lib/libpam/modules/pam_radius/ |
H A D | pam_radius.c | 223 struct pam_message msgs[MAX_CHALLENGE_MSGS]; local 247 msgs[num_msgs].msg = rad_cvt_string(attrval, attrlen); 248 if (msgs[num_msgs].msg == NULL) { 253 msgs[num_msgs].msg_style = PAM_TEXT_INFO; 254 msg_ptrs[num_msgs] = &msgs[num_msgs]; 264 msgs[num_msgs].msg = strdup("(null RADIUS challenge): "); 265 if (msgs[num_msgs].msg == NULL) { 269 msgs[num_msgs].msg_style = PAM_TEXT_INFO; 270 msg_ptrs[num_msgs] = &msgs[num_msgs]; 273 msgs[num_msg [all...] |
/freebsd-current/contrib/sendmail/libsm/ |
H A D | t-notify.c | 28 static char msgs[MAX_CHILDREN][MAX_MSGS]; variable 156 SM_TEST('\0' == msgs[pidx][n]); 157 msgs[pidx][n] = 'f'; 218 memset(msgs, '\0', sizeof(msgs));
|
/freebsd-current/sys/dev/usb/misc/ |
H A D | cp2112.c | 1079 cp2112iic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument 1101 if (i == 0 && (msgs[i].flags & IIC_M_NOSTART) != 0) { 1105 if (i == nmsgs - 1 && (msgs[i].flags & IIC_M_NOSTOP) != 0) { 1109 if (msgs[i].len == 0) { 1113 if ((msgs[i].flags & IIC_M_RD) != 0 && 1114 msgs[i].len > CP2112_IIC_MAX_READ_LEN) { 1118 if ((msgs[i].flags & IIC_M_RD) == 0 && 1119 msgs[i].len > SIZEOF_FIELD(i2c_write_req, data)) { 1123 if ((msgs[i].flags & IIC_M_NOSTART) != 0) { 1127 if ((msgs[ [all...] |
/freebsd-current/sys/dev/iicbus/rtc/ |
H A D | ds1672.c | 73 struct iic_msg msgs[2] = { local 78 return (iicbus_transfer(dev, msgs, 2)); 85 struct iic_msg msgs[1] = { local 94 return (iicbus_transfer(dev, msgs, 1));
|
H A D | rtc8583.c | 98 struct iic_msg msgs; local 106 msgs.slave = slaveaddr; 107 msgs.flags = IIC_M_WR; 108 msgs.len = 1 + buflen; 109 msgs.buf = newbuf; 111 return (iicbus_transfer_excl(slavedev, &msgs, 1, waithow));
|
/freebsd-current/sys/dev/iicbus/controller/twsi/ |
H A D | twsi.h | 54 struct iic_msg *msgs; member in struct:twsi_softc
|
/freebsd-current/sys/powerpc/powermac/ |
H A D | kiic.c | 123 static int kiic_transfer(device_t dev, struct iic_msg *msgs, 352 kiic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument 380 if (msgs[i].flags & IIC_M_NOSTOP) { 381 if (msgs[i+1].flags & IIC_M_RD) 385 KASSERT(msgs[i].len == 1, ("oversize I2C message")); 386 subaddr = msgs[i].buf[0]; 392 sc->sc_data = msgs[i].buf; 393 sc->sc_resid = msgs[i].len; 395 addr = msgs[i].slave; 399 if (msgs[ [all...] |
/freebsd-current/sys/dev/isl/ |
H A D | isl.c | 80 struct iic_msg msgs[] = { local 85 return (iicbus_transfer(dev, msgs, nitems(msgs))); 93 struct iic_msg msgs[] = { local 97 return (iicbus_transfer(dev, msgs, nitems(msgs)));
|
/freebsd-current/usr.sbin/nghook/ |
H A D | main.c | 68 static StringList *msgs; variable 86 if ((msgs = sl_init()) == NULL) 108 if (sl_add(msgs, optarg) == -1) 304 for (i = 0; i < msgs->sl_cur; i++) 305 if (NgSendAsciiMsg(cs, path, "%s", msgs->sl_str[i]) == -1) 306 err(EX_OSERR, "sending message '%s'", msgs->sl_str[i]);
|
/freebsd-current/sys/dev/ichiic/ |
H A D | ig4_iic.c | 531 ig4iic_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument 562 if (i == 0 && (msgs[i].flags & IIC_M_NOSTART) != 0) { 566 if (i == nmsgs - 1 && (msgs[i].flags & IIC_M_NOSTOP) != 0) { 571 if (msgs[i].len == 0) { 576 if ((msgs[i].flags & IIC_M_NOSTART) != 0 && 577 (msgs[i - 1].flags & IIC_M_NOSTOP) == 0) { 581 if ((msgs[i - 1].flags & IIC_M_NOSTOP) != 0 && 582 msgs[i].slave != msgs[i - 1].slave) { 586 if ((msgs[ [all...] |
/freebsd-current/sys/powerpc/powernv/ |
H A D | opal_i2c.c | 189 opal_i2c_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) argument 201 req.type = (msgs[i].flags & IIC_M_RD) ? 203 req.addr = htobe16(msgs[i].slave >> 1); 204 req.size = htobe32(msgs[i].len); 205 req.buffer_pa = htobe64(pmap_kextract((uint64_t)msgs[i].buf));
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_dp_iic_helper.c | 134 iic_dp_aux_xfer(device_t idev, struct iic_msg *msgs, uint32_t num) argument 145 len = msgs[m].len; 146 buf = msgs[m].buf; 147 reading = (msgs[m].flags & IIC_M_RD) != 0; 148 ret = iic_dp_aux_address(idev, msgs[m].slave >> 1, reading);
|
/freebsd-current/contrib/wpa/src/radius/ |
H A D | radius_client.c | 222 * msgs - Pending outgoing RADIUS messages 224 struct radius_msg_list *msgs; member in struct:radius_client_data 227 * num_msgs - Number of pending messages in the msgs list 501 entry = radius->msgs; 529 entry = radius->msgs; 540 radius->msgs = entry->next; 552 entry = radius->msgs; 564 if (radius->msgs) { 592 for (entry = radius->msgs; entry; entry = entry->next) { 621 for (entry = radius->msgs; entr [all...] |