Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/netbsd-src/sys/dev/sdmmc/
H A Dsdmmcreg.h120 #define MMC_R1(resp) ((resp)[0])
121 #define MMC_R3(resp) ((resp)[0])
122 #define SD_R6(resp) ((resp)[0])
123 #define MMC_R7(resp) ((resp)[0])
124 #define MMC_SPI_R1(resp) ((resp)[
109 MMC_R1(resp) global() argument
110 MMC_R3(resp) global() argument
111 SD_R6(resp) global() argument
112 MMC_R7(resp) global() argument
113 MMC_SPI_R1(resp) global() argument
114 MMC_SPI_R7(resp) global() argument
118 SD_R6_RCA(resp) global() argument
209 MMC_CSD_CSDVER(resp) global() argument
214 MMC_CSD_MMCVER(resp) global() argument
220 MMC_CSD_TAAC(resp) global() argument
221 MMC_CSD_TAAC_MANT(resp) global() argument
222 MMC_CSD_TAAC_EXP(resp) global() argument
223 MMC_CSD_NSAC(resp) global() argument
224 MMC_CSD_TRAN_SPEED(resp) global() argument
225 MMC_CSD_TRAN_SPEED_MANT(resp) global() argument
226 MMC_CSD_TRAN_SPEED_EXP(resp) global() argument
227 MMC_CSD_READ_BL_LEN(resp) global() argument
228 MMC_CSD_C_SIZE(resp) global() argument
229 MMC_CSD_CAPACITY(resp) global() argument
231 MMC_CSD_C_SIZE_MULT(resp) global() argument
232 MMC_CSD_R2W_FACTOR(resp) global() argument
233 MMC_CSD_WRITE_BL_LEN(resp) global() argument
236 MMC_CID_MID_V1(resp) global() argument
237 MMC_CID_PNM_V1_CPY(resp,pnm) global() argument
248 MMC_CID_REV_V1(resp) global() argument
249 MMC_CID_PSN_V1(resp) global() argument
250 MMC_CID_MDT_V1(resp) global() argument
253 MMC_CID_MID_V2(resp) global() argument
254 MMC_CID_OID_V2(resp) global() argument
255 MMC_CID_PNM_V2_CPY(resp,pnm) global() argument
265 MMC_CID_PSN_V2(resp) global() argument
268 SD_CSD_CSDVER(resp) global() argument
271 SD_CSD_MMCVER(resp) global() argument
272 SD_CSD_TAAC(resp) global() argument
273 SD_CSD_TAAC_EXP(resp) global() argument
274 SD_CSD_TAAC_MANT(resp) global() argument
276 SD_CSD_NSAC(resp) global() argument
277 SD_CSD_SPEED(resp) global() argument
278 SD_CSD_SPEED_MANT(resp) global() argument
279 SD_CSD_SPEED_EXP(resp) global() argument
282 SD_CSD_CCC(resp) global() argument
292 SD_CSD_READ_BL_LEN(resp) global() argument
293 SD_CSD_READ_BL_PARTIAL(resp) global() argument
294 SD_CSD_WRITE_BLK_MISALIGN(resp) global() argument
295 SD_CSD_READ_BLK_MISALIGN(resp) global() argument
296 SD_CSD_DSR_IMP(resp) global() argument
297 SD_CSD_C_SIZE(resp) global() argument
298 SD_CSD_CAPACITY(resp) global() argument
300 SD_CSD_VDD_R_CURR_MIN(resp) global() argument
301 SD_CSD_VDD_R_CURR_MAX(resp) global() argument
302 SD_CSD_VDD_W_CURR_MIN(resp) global() argument
303 SD_CSD_VDD_W_CURR_MAX(resp) global() argument
306 SD_CSD_V2_C_SIZE(resp) global() argument
307 SD_CSD_V2_CAPACITY(resp) global() argument
309 SD_CSD_C_SIZE_MULT(resp) global() argument
310 SD_CSD_ERASE_BLK_EN(resp) global() argument
311 SD_CSD_SECTOR_SIZE(resp) global() argument
312 SD_CSD_WP_GRP_SIZE(resp) global() argument
313 SD_CSD_WP_GRP_ENABLE(resp) global() argument
314 SD_CSD_R2W_FACTOR(resp) global() argument
315 SD_CSD_WRITE_BL_LEN(resp) global() argument
318 SD_CSD_WRITE_BL_PARTIAL(resp) global() argument
319 SD_CSD_FILE_FORMAT_GRP(resp) global() argument
320 SD_CSD_COPY(resp) global() argument
321 SD_CSD_PERM_WRITE_PROTECT(resp) global() argument
322 SD_CSD_TMP_WRITE_PROTECT(resp) global() argument
323 SD_CSD_FILE_FORMAT(resp) global() argument
326 SD_CID_MID(resp) global() argument
327 SD_CID_OID(resp) global() argument
328 SD_CID_PNM_CPY(resp,pnm) global() argument
337 SD_CID_REV(resp) global() argument
338 SD_CID_PSN(resp) global() argument
339 SD_CID_MDT(resp) global() argument
364 SSR_DAT_BUS_WIDTH(resp) global() argument
367 SSR_SECURED_MODE(resp) global() argument
368 SSR_SD_CARD_TYPE(resp) global() argument
372 SSR_SIZE_OF_PROTECTED_AREA(resp) global() argument
373 SSR_SPEED_CLASS(resp) global() argument
379 SSR_PERFORMANCE_MOVE(resp) global() argument
380 SSR_AU_SIZE(resp) global() argument
381 SSR_ERASE_SIZE(resp) global() argument
382 SSR_ERASE_TIMEOUT(resp) global() argument
383 SSR_ERASE_OFFSET(resp) global() argument
384 SSR_UHS_SPEED_GRADE(resp) global() argument
387 SSR_UHS_AU_SIZE(resp) global() argument
388 SSR_VIDEO_SPEED_CLASS(resp) global() argument
389 SSR_VSC_AU_SIZE(resp) global() argument
390 SSR_SUS_ADDR(resp) global() argument
391 SSR_APP_PERF_CLASS(resp) global() argument
395 SSR_PERFORMANCE_ENHANCE(resp) global() argument
396 SSR_DISCARD_SUPPORT(resp) global() argument
397 SSR_FULE_SUPPORT(resp) global() argument
410 MMC_RSP_BITS(resp,start,len) global() argument
[all...]
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Ddispatch.c187 dispentry_cancel(dns_dispentry_t *resp, isc_result_t result);
192 udp_startrecv(isc_nmhandle_t *handle, dns_dispentry_t *resp);
194 udp_dispatch_connect(dns_dispatch_t *disp, dns_dispentry_t *resp);
196 tcp_startrecv(dns_dispatch_t *disp, dns_dispentry_t *resp);
198 tcp_dispatch_getnext(dns_dispatch_t *disp, dns_dispentry_t *resp,
201 udp_dispatch_getnext(dns_dispentry_t *resp, int32_t timeout);
204 socktype2str(dns_dispentry_t *resp) {
206 dns_dispatch_t *disp = resp->disp;
209 if (resp->transport != NULL) {
211 dns_transport_get_type(resp
224 socktype2str(dns_dispentry_t * resp) socktype2str() argument
323 dispentry_log(dns_dispentry_t * resp,int level,const char * fmt,...) dispentry_log() argument
368 setup_socket(dns_dispatch_t * disp,dns_dispentry_t * resp,const isc_sockaddr_t * dest,in_port_t * portp) setup_socket() argument
431 dispentry_destroy(dns_dispentry_t * resp) dispentry_destroy() argument
478 dispentry_runtime(dns_dispentry_t * resp,const isc_time_t * now) dispentry_runtime() argument
503 dns_dispentry_t *resp = (dns_dispentry_t *)arg; udp_recv() local
648 dns_dispentry_t *resp = NULL; tcp_recv_oldest() local
668 dns_dispentry_t *resp = NULL; tcp_recv_success() local
723 tcp_recv_add(dns_displist_t * resps,dns_dispentry_t * resp,isc_result_t result) tcp_recv_add() argument
736 dns_dispentry_t *resp = NULL, *next = NULL; tcp_recv_shutdown() local
749 tcp_recv_done(dns_dispentry_t * resp,isc_result_t eresult,isc_region_t * region) tcp_recv_done() argument
760 dns_dispentry_t *resp = NULL, *next = NULL; tcp_recv_processall() local
786 dns_dispentry_t *resp = NULL; tcp_recv() local
1432 dns_dispentry_t *resp = NULL; dns_dispatch_add() local
1552 dns_dispatch_getnext(dns_dispentry_t * resp) dns_dispatch_getnext() argument
1587 udp_dispentry_cancel(dns_dispentry_t * resp,isc_result_t result) udp_dispentry_cancel() argument
1655 tcp_dispentry_cancel(dns_dispentry_t * resp,isc_result_t result) tcp_dispentry_cancel() argument
1758 dispentry_cancel(dns_dispentry_t * resp,isc_result_t result) dispentry_cancel() argument
1780 dns_dispentry_t *resp = *respp; dns_dispatch_done() local
1788 udp_startrecv(isc_nmhandle_t * handle,dns_dispentry_t * resp) udp_startrecv() argument
1802 tcp_startrecv(isc_nmhandle_t * handle,dns_dispatch_t * disp,dns_dispentry_t * resp) tcp_startrecv() argument
1825 dns_dispentry_t *resp = NULL; tcp_connected() local
1903 dns_dispentry_t *resp = (dns_dispentry_t *)arg; udp_connected() local
1961 udp_dispatch_connect(dns_dispatch_t * disp,dns_dispentry_t * resp) udp_dispatch_connect() argument
1974 tcp_dispatch_connect(dns_dispatch_t * disp,dns_dispentry_t * resp) tcp_dispatch_connect() argument
2042 dns_dispatch_connect(dns_dispentry_t * resp) dns_dispatch_connect() argument
2063 dns_dispentry_t *resp = (dns_dispentry_t *)cbarg; send_done() local
2084 tcp_dispatch_getnext(dns_dispatch_t * disp,dns_dispentry_t * resp,int32_t timeout) tcp_dispatch_getnext() argument
2107 udp_dispatch_getnext(dns_dispentry_t * resp,int32_t timeout) udp_dispatch_getnext() argument
2126 dns_dispatch_resume(dns_dispentry_t * resp,uint16_t timeout) dns_dispatch_resume() argument
2151 dns_dispatch_send(dns_dispentry_t * resp,isc_region_t * r) dns_dispatch_send() argument
2186 dns_dispentry_getlocaladdress(dns_dispentry_t * resp,isc_sockaddr_t * addrp) dns_dispentry_getlocaladdress() argument
[all...]
/netbsd-src/distrib/miniroot/
H A Dinstall.sub59 read resp
60 if [ -z "$resp" ]; then
61 resp=$1
198 _dir=$resp
650 resp="" # force one iteration
651 while [ -z "${resp}" ]; do
654 _ftp_server_ip=$resp
658 resp="" # force one iteration
659 while [ -z "${resp}" ]; do
662 _ftp_server_login=$resp
[all …]
H A Dinstall.sh87 case "$resp" in
147 resp="not-done" # force at least one iteration
148 while [ "$resp" != "done" ]; do
152 case "$resp" in
157 _device_name=$(basename $resp)
164 _mount_point=$resp
173 resp="X" # force loop to repeat
179 resp="" # force at least one iteration
180 while [ -z "${resp}" ]; do
183 case "$resp" in
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_caps.c34 UINT32 * respSize, BYTE ** resp) in internal_TCSGetCap() argument
87 if ((*resp = malloc(*respSize)) == NULL) { in internal_TCSGetCap()
95 *(TSS_BOOL *)(*resp) = bValue; in internal_TCSGetCap()
97 *(UINT32 *)(*resp) = u32value; in internal_TCSGetCap()
101 if ((*resp = calloc(1, sizeof(TSS_VERSION))) == NULL) { in internal_TCSGetCap()
106 LoadBlob_VERSION(&offset, *resp, &tcsVersion); in internal_TCSGetCap()
111 if ((*resp = malloc(sizeof(TSS_BOOL))) == NULL) { in internal_TCSGetCap()
115 *(TSS_BOOL *)(*resp) = INTERNAL_CAP_TCS_PERSSTORAGE; in internal_TCSGetCap()
130 if ((*resp = malloc(sizeof(TSS_BOOL))) == NULL) { in internal_TCSGetCap()
135 *(TSS_BOOL *)(*resp) = bValue; in internal_TCSGetCap()
[all …]
H A Dtcs_caps.c39 BYTE *resp; in get_current_version() local
44 result = TCSP_GetCapability_Internal(InternalContext, capArea, 0, NULL, &respSize, &resp); in get_current_version()
47 UnloadBlob_VERSION(&offset, resp, version); in get_current_version()
48 free(resp); in get_current_version()
53 &resp); in get_current_version()
56 UnloadBlob_VERSION(&offset, resp, version); in get_current_version()
57 free(resp); in get_current_version()
68 BYTE *resp; in get_cap_uint32() local
73 &respSize, &resp); in get_cap_uint32()
78 UnloadBlob_BYTE(&offset, (BYTE *)v, resp); in get_cap_uint32()
[all …]
/netbsd-src/sys/net/npf/
H A Dnpf_ctl.c55 npf_mk_params(npf_t *npf, const nvlist_t *req, nvlist_t *resp, bool set) in npf_mk_params() argument
69 NPF_ERR_DEBUG(resp); in npf_mk_params()
86 nvlist_add_stringf(resp, "error-msg", in npf_mk_params()
90 nvlist_add_stringf(resp, "error-msg", in npf_mk_params()
99 npf_mk_table_entries(npf_table_t *t, const nvlist_t *req, nvlist_t *resp) in npf_mk_table_entries() argument
119 NPF_ERR_DEBUG(resp); in npf_mk_table_entries()
126 nvlist_add_stringf(resp, "error-msg", in npf_mk_table_entries()
130 NPF_ERR_DEBUG(resp); in npf_mk_table_entries()
142 npf_mk_table(npf_t *npf, const nvlist_t *req, nvlist_t *resp, in npf_mk_table() argument
158 NPF_ERR_DEBUG(resp); in npf_mk_table()
[all …]
/netbsd-src/sys/arch/macppc/dev/
H A Dpmu.c270 uint8_t resp[16]; in pmu_attach() local
333 pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp); in pmu_attach()
336 if (pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp) > 1) in pmu_attach()
337 aprint_normal(" rev. %d", resp[1]); in pmu_attach()
443 memset(resp, 0, 6); in pmu_attach()
444 if (pmu_send(sc, PMU_READ_BRIGHTNESS, 1, cmd, 16, resp) > 1) { in pmu_attach()
445 sc->sc_brightness_wanted = resp[1]; in pmu_attach()
502 uint8_t pmu_imask, resp[16]; in pmu_init() local
508 pmu_send(sc, PMU_SET_IMASK, 1, &pmu_imask, 16, resp); in pmu_init()
682 uint8_t resp[16]; in pmu_intr() local
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dssh-sk-helper.c60 struct sshbuf *resp; in reply_error() local
71 if ((resp = sshbuf_new()) == NULL) in reply_error()
73 if (sshbuf_put_u32(resp, SSH_SK_HELPER_ERROR) != 0 || in reply_error()
74 sshbuf_put_u32(resp, (u_int)-r) != 0) in reply_error()
76 return resp; in reply_error()
94 struct sshbuf *resp, *kbuf; in process_sign() local
127 resp = reply_error(r, "Signing failed: %s", ssh_err(r)); in process_sign()
131 if ((resp = sshbuf_new()) == NULL) in process_sign()
134 if ((r = sshbuf_put_u32(resp, SSH_SK_HELPER_SIGN)) != 0 || in process_sign()
135 (r = sshbuf_put_string(resp, sig, siglen)) != 0) in process_sign()
[all …]
H A Dgetrrsetbyname.c400 struct dns_response *resp; in parse_dns_response() local
404 resp = calloc(1, sizeof(*resp)); in parse_dns_response()
405 if (resp == NULL) in parse_dns_response()
412 memcpy(&resp->header, cp, HFIXEDSZ); in parse_dns_response()
416 resp->header.qdcount = ntohs(resp->header.qdcount); in parse_dns_response()
417 resp->header.ancount = ntohs(resp->header.ancount); in parse_dns_response()
418 resp->header.nscount = ntohs(resp->header.nscount); in parse_dns_response()
419 resp->header.arcount = ntohs(resp->header.arcount); in parse_dns_response()
422 if (resp->header.qdcount < 1) { in parse_dns_response()
423 free_dns_response(resp); in parse_dns_response()
[all …]
H A Dssh-sk-client.c148 struct sshbuf *req = NULL, *resp = NULL; in client_converse() local
154 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse()
171 if ((r = ssh_msg_recv(fd, resp)) != 0) { in client_converse()
175 if ((r = sshbuf_get_u8(resp, &version)) != 0) { in client_converse()
185 if ((r = sshbuf_get_u32(resp, &rtype)) != 0) { in client_converse()
190 if ((r = sshbuf_get_u32(resp, &rerr)) != 0) { in client_converse()
219 *respp = resp; in client_converse()
220 resp = NULL; in client_converse()
223 sshbuf_free(resp); in client_converse()
236 struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL; in sshsk_sign() local
[all …]
/netbsd-src/distrib/amiga/floppies/inst/
H A Dinstall.sh47 read resp
48 if [ -z "$resp" ]; then
49 resp=$1
95 case $resp in
119 case "$resp" in
155 otherdrives=$( echo "${driveunits}" | sed -e "s,${resp},," )
158 echo "\"${resp}\" is an invalid drive name. Valid choices"
161 rdev=${resp}
185 case "$resp" in
220 resp=""
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/milter/
H A Dmilter.c407 const char *resp; in milter_conn_event() local
421 for (resp = 0, m = milters->milter_list; resp == 0 && m != 0; m = m->next) { in milter_conn_event()
425 resp = m->conn_event(m, client_name, client_addr, client_port, in milter_conn_event()
432 return (resp); in milter_conn_event()
440 const char *resp; in milter_helo_event() local
447 for (resp = 0, m = milters->milter_list; resp == 0 && m != 0; m = m->next) { in milter_helo_event()
449 resp = m->helo_event(m, helo_name, esmtp_flag, any_macros); in milter_helo_event()
455 return (resp); in milter_helo_event()
462 const char *resp; in milter_mail_event() local
469 for (resp = 0, m = milters->milter_list; resp == 0 && m != 0; m = m->next) { in milter_mail_event()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Dutil.c109 parse_attributes (const char *resp, krb5_flags *attr, int *mask, int bit) in parse_attributes() argument
113 if (str2attributes(resp, &tmp) == 0) { in parse_attributes()
118 } else if(*resp == '?') { in parse_attributes()
121 fprintf (stderr, "Unable to parse \"%s\"\n", resp); in parse_attributes()
133 char buf[1024], resp[1024]; in edit_attributes() local
140 if(get_response("Attributes", buf, resp, sizeof(resp)) != 0) in edit_attributes()
142 if (resp[0] == '\0') in edit_attributes()
144 if (parse_attributes (resp, attr, mask, bit) == 0) in edit_attributes()
159 parse_policy (const char *resp, char **policy, int *mask, int bit) in parse_policy() argument
161 if (strspn(resp, VALID_POLICY_NAME_CHARS) == strlen(resp) && in parse_policy()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/smtpstone/
H A Dsmtp-source.c516 RESPONSE *resp; in read_banner() local
528 if (((resp = response(session->stream, buffer))->code / 100) == 2) { in read_banner()
531 msg_warn("rejected at server banner: %d %s", resp->code, resp->str); in read_banner()
533 msg_fatal("rejected at server banner: %d %s", resp->code, resp->str); in read_banner()
571 RESPONSE *resp; in helo_done() local
581 if ((resp = response(session->stream, buffer))->code / 100 == 2) { in helo_done()
584 msg_warn("%s rejected: %d %s", protocol, resp->code, resp->str); in helo_done()
585 if (resp->code == 421 || resp->code == 521) { in helo_done()
590 msg_fatal("%s rejected: %d %s", protocol, resp->code, resp->str); in helo_done()
621 RESPONSE *resp; in mail_done() local
[all …]
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Dntp_worker.c217 blocking_pipe_header * resp, in queue_blocking_response() argument
222 resp->octets = respsize; in queue_blocking_response()
223 resp->magic_sig = BLOCKING_RESP_MAGIC; in queue_blocking_response()
224 resp->rtype = req->rtype; in queue_blocking_response()
225 resp->context = req->context; in queue_blocking_response()
226 resp->done_func = req->done_func; in queue_blocking_response()
228 return send_blocking_resp_internal(c, resp); in queue_blocking_response()
237 blocking_pipe_header * resp; in process_blocking_resp() local
249 resp = receive_blocking_resp_internal(c); in process_blocking_resp()
250 if (NULL != resp) { in process_blocking_resp()
[all …]
/netbsd-src/distrib/alpha/instkernel/ramdisk/
H A Dinstall.sh49 read resp
50 if [ "X$resp" = "X" ]; then
51 resp=$1
82 case "$resp" in
102 case "$resp" in
107 case "$resp" in
149 otherdrives=`echo "${driveunits}" | sed -e s,${resp},,`
152 echo "\"${resp}\" is an invalid drive name. Valid choices"
156 drivename=${resp}
165 labelname=$resp
[all …]
/netbsd-src/sys/arch/evbarm/stand/boot2440/
H A Ddev_sdmmc.c713 printf("resp="); in sdmmc_dump_command()
788 sdmmc_response resp; in sdmmc_mem_scan() local
802 error = sdmmc_mem_send_cid(sc, &resp); in sdmmc_mem_scan()
828 memcpy(sc->raw_cid, resp, sizeof(sc->raw_cid)); in sdmmc_mem_scan()
860 error = sdmmc_mem_send_csd(sc, &resp); in sdmmc_mem_scan()
866 if (sdmmc_decode_csd(sc, resp) != 0 || in sdmmc_mem_scan()
913 sdmmc_mem_send_cid(struct sdmmc_softc *sc, sdmmc_response *resp) in sdmmc_mem_send_cid() argument
928 if (error == 0 && resp != NULL) in sdmmc_mem_send_cid()
929 memcpy(resp, &cmd.c_resp, sizeof(*resp)); in sdmmc_mem_send_cid()
992 sdmmc_mem_send_csd(struct sdmmc_softc * sc,sdmmc_response * resp) sdmmc_mem_send_csd() argument
1013 sdmmc_decode_csd(struct sdmmc_softc * sc,sdmmc_response resp) sdmmc_decode_csd() argument
1098 sdmmc_decode_cid(struct sdmmc_softc * sc,sdmmc_response resp) sdmmc_decode_cid() argument
1292 sdmmc_response resp; sdmmc_mem_decode_scr() local
[all...]
/netbsd-src/usr.sbin/rmt/
H A Drmt.c70 char resp[BUFSIZ]; variable
157 (void)snprintf(resp, sizeof(resp), "A%d\n", rval); in main()
158 (void)write(STDOUT_FILENO, resp, strlen(resp)); in main()
188 (void)snprintf(resp, sizeof(resp), "A%d\n", rval); in main()
189 (void)write(STDOUT_FILENO, resp, strlen(resp)); in main()
200 (void)snprintf(resp, sizeof(resp), "A%d\n", rval); in main()
201 (void)write(STDOUT_FILENO, resp, strlen(resp)); in main()
246 (void)snprintf(resp, sizeof(resp), "E%d\n%s\n", num, strerror(num)); in error()
247 (void)write(STDOUT_FILENO, resp, strlen(resp)); in error()
/netbsd-src/usr.sbin/btattach/
H A Dinit_bcm43xx.c97 uint8_t resp[7]; in init_bcm43xx() local
107 uart_recv_cc(fd, HCI_CMD_RESET, &resp, sizeof(resp)); in init_bcm43xx()
124 uart_recv_cc(fd, HCI_CMD_43XXFWDN, &resp, sizeof(resp)); in init_bcm43xx()
134 uart_recv_cc(fd, fw_cmd, &resp, sizeof(resp)); in init_bcm43xx()
141 uart_recv_cc(fd, HCI_CMD_RESET, &resp, sizeof(resp)); in init_bcm43xx()
150 uart_recv_cc(fd, HCI_CMD_BCM43XX_SET_CLOCK, &resp, sizeof(resp)); in init_bcm43xx()
158 uart_recv_cc(fd, HCI_CMD_BCM43XX_SET_UART_BAUD_RATE, &resp, sizeof(resp)); in init_bcm43xx()
/netbsd-src/distrib/atari/floppies/prepare/
H A Dinstall.sh57 read resp
58 if [ -z "$resp" ]; then
59 resp=$1
90 if isin $resp $_DKDEVS ; then
91 ROOTDISK="$resp"
94 echo "The disk $resp does not exist."
109 case "$resp" in
114 if isin $resp $_DKDEVS ; then
115 md_labeldisk $resp
118 echo "The disk $resp does not exist."
[all …]
/netbsd-src/sys/dev/pckbport/
H A Delantech.c138 uint8_t resp[3]; in pms_elantech_read_1() local
149 res |= pckbport_poll_cmd(tag, slot, &cmd, 1, 3, resp, 0); in pms_elantech_read_1()
152 *val = resp[0]; in pms_elantech_read_1()
320 u_char cmd[1], resp[3]; in pms_elantech_probe_init() local
341 cmd, 1, 3, resp, 0)) != 0) in pms_elantech_probe_init()
344 if (!ELANTECH_MAGIC(resp)) { in pms_elantech_probe_init()
348 resp[0], resp[1], resp[2]); in pms_elantech_probe_init()
358 cmd, 1, 3, resp, 0); in pms_elantech_probe_init()
365 fwversion = (resp[0] << 8) | resp[2]; in pms_elantech_probe_init()
369 resp[0], resp[2], resp[0], resp[1], resp[2]); in pms_elantech_probe_init()
[all …]
/netbsd-src/sys/dev/i2c/
H A Dibmhawk.c99 ibmhawk_response_t resp; in ibmhawk_match() local
110 if (ibmhawk_request(&sc, IHR_EQUIP, &resp)) in ibmhawk_match()
121 ibmhawk_response_t resp; in ibmhawk_attach() local
130 if (ibmhawk_request(sc, IHR_NAME, &resp)) { in ibmhawk_attach()
134 aprint_normal(": IBM Hawk \"%.16s\"\n", resp.ihr_name); in ibmhawk_attach()
135 if (ibmhawk_request(sc, IHR_EQUIP, &resp)) { in ibmhawk_attach()
139 sc->sc_numcpus = uimin(resp.ihr_numcpus, IBMHAWK_MAX_CPU); in ibmhawk_attach()
140 sc->sc_numfans = uimin(resp.ihr_numfans, IBMHAWK_MAX_FAN); in ibmhawk_attach()
143 sc->sc_numcpus, resp.ihr_numcpus, sc->sc_numfans, resp.ihr_numfans); in ibmhawk_attach()
146 if (ibmhawk_request(sc, IHR_TEMP_THR, &resp)) { in ibmhawk_attach()
[all …]
/netbsd-src/usr.sbin/timed/timed/
H A Dcandidate.c50 struct tsp *resp, msg; in election() local
89 resp = readmsg(TSP_ANY, ANYADDR, &wait, net); in election()
90 if (!resp) in election()
93 switch (resp->tsp_type) { in election()
96 (void)addmach(resp->tsp_name, &from,fromnet); in election()
106 && !good_host_name(resp->tsp_name)) { in election()
107 (void)addmach(resp->tsp_name, &from,fromnet); in election()
108 suppress(&from, resp->tsp_name, net); in election()
132 htp = addmach(resp->tsp_name,&from,fromnet); in election()
144 (void)addmach(resp->tsp_name, &from,fromnet); in election()
[all …]
/netbsd-src/external/bsd/wpa/dist/src/utils/
H A Dpcsc_funcs.c812 unsigned char resp[3]; in _scard_select_file() local
839 len = sizeof(resp); in _scard_select_file()
840 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in _scard_select_file()
853 if (resp[0] == 0x98 && resp[1] == 0x04) { in _scard_select_file()
860 if (resp[0] == 0x6e) { in _scard_select_file()
865 if (resp[0] != 0x6c && resp[0] != 0x9f && resp[0] != 0x61) { in _scard_select_file()
867 "(expected 0x61, 0x6c, or 0x9f)", resp[0]); in _scard_select_file()
871 get_resp[4] = resp[1]; in _scard_select_file()
873 resp[1]); in _scard_select_file()
878 *buf_len = resp[1] < rlen ? resp[1] : rlen; in _scard_select_file()
[all …]

12345678910>>...15