Lines Matching +defs:read +defs:c
1 /* $NetBSD: fd.c,v 1.89 2024/12/21 17:40:11 tsutsui Exp $ */
4 * Copyright (c) 1990 The Regents of the University of California.
34 * @(#)fd.c 7.4 (Berkeley) 5/25/91
38 * Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
71 * @(#)fd.c 7.4 (Berkeley) 5/25/91
75 __KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.89 2024/12/21 17:40:11 tsutsui Exp $");
349 * present its latched data to the processor when read. This prevents the
350 * use of a read-modify-write cycle that would normally be used to modify
469 aprint_normal(": (softpri %d) chip 8207%c\n", FDC_SOFTPRI, code);
471 aprint_normal(": chip 8207%c\n", code);
603 #define OUT_FDC(sc, c) do { \
604 if (out_fdc((sc), (c)) != 0) \
1155 #define OUT_FDC(fdc, c, s) \
1157 if (out_fdc(fdc, (c))) { \
1165 int read, head, sec, nblks;
1312 read = bp->b_flags & B_READ;
1323 read ? "read" : "write", fd->sc_drive,
1338 if (read)
1410 ? "read failed" : "write failed");
1949 int c;
1956 c = cngetc();
1957 if ((c == '\r') || (c == '\n')) {