Lines Matching +full:use +full:- +full:cases
10 Bus-Independent Device Accesses
27 ----------------------------
49 --------------------
52 memory-mapped registers on the device. Linux provides interfaces to read
53 and write 8-bit, 16-bit, 32-bit and 64-bit quantities. Due to a
62 Some devices (such as framebuffers) would like to use larger transfers than
65 provided. Do not use memset or memcpy on IO addresses; they are not
70 can be compiler optimised, you can use __readb() and friends to
71 indicate the relaxed ordering. Use this with care.
78 writes have occurred in the specific cases the author cares. This kind
80 cases, the read used to flush the device may be expected to fail (if the
82 from config space, which is guaranteed to soft-fail if the card doesn't
94 reg = ha->iobase;
96 WRT_REG_WORD(®->ictrl, 0);
102 RD_REG_WORD(®->ictrl);
103 ha->flags.ints_enabled = 0;
109 complete. In many cases, however, the driver may want to indicate that the
111 performed by the device. The driver can use readb_relaxed() for
112 these cases, although only some platforms will honor the relaxed
115 provides examples of how to use readX_relaxed(). In many cases, a majority
123 --------------------
134 --------------------
137 allow 8-bit, 16-bit and 32-bit accesses; also known as byte, word and
152 .. kernel-doc:: arch/x86/include/asm/io.h
155 .. kernel-doc:: lib/pci_iomap.c