Searched refs:msg_sz (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/sys/dev/ppbus/ |
| H A D | ppbus_1284.c | 408 u_int16_t msg_sz; in ppbus_1284_read_id() local 455 msg_sz = length_field; in ppbus_1284_read_id() 462 msg_sz <<= 8; in ppbus_1284_read_id() 463 msg_sz |= length_field; in ppbus_1284_read_id() 464 msg_sz -= 2; in ppbus_1284_read_id() 465 if(msg_sz <= 0) { in ppbus_1284_read_id() 470 *buffer = malloc(msg_sz, M_DEVBUF, M_WAITOK); in ppbus_1284_read_id() 471 *size = msg_sz; in ppbus_1284_read_id() 472 error = ppbus_read(dev, *buffer, msg_sz, 0, read); in ppbus_1284_read_id()
|
| /netbsd-src/external/bsd/unbound/dist/util/data/ |
| H A D | msgencode.c | 944 size_t msg_sz = ((pad_pos + 3) / edns->padding_block_size + 1) in attach_edns_record_max_msg_sz() local 948 if (msg_sz > max_msg_sz) in attach_edns_record_max_msg_sz() 949 msg_sz = max_msg_sz; in attach_edns_record_max_msg_sz() 955 log_assert(pad_pos + 4 <= msg_sz); in attach_edns_record_max_msg_sz() 957 pad_sz = msg_sz - pad_pos - 4; in attach_edns_record_max_msg_sz()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| H A D | intel_hdmi.c | 1589 ssize_t *msg_sz) in hdcp2_detect_msg_availability() argument 1600 *msg_sz = ((HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(rx_status[1]) << 8) | in hdcp2_detect_msg_availability() 1605 *msg_sz); in hdcp2_detect_msg_availability() 1607 *msg_ready = *msg_sz; in hdcp2_detect_msg_availability() 1618 ssize_t msg_sz = 0; in intel_hdmi_hdcp2_wait_for_msg() local 1626 &msg_sz), in intel_hdmi_hdcp2_wait_for_msg() 1627 !ret && msg_ready && msg_sz, timeout * 1000, in intel_hdmi_hdcp2_wait_for_msg() 1633 return ret ? ret : msg_sz; in intel_hdmi_hdcp2_wait_for_msg()
|
| H A D | intel_hdcp.c | 965 size_t *msg_sz) in hdcp2_verify_rx_cert_prepare_km() argument 982 ek_pub_km, msg_sz); in hdcp2_verify_rx_cert_prepare_km()
|