Lines Matching +full:rom +full:- +full:val
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * linux/include/asm-m68k/raw_io.h
5 * 10/20/00 RZ: - created from bits of io.h and ide.h to cleanup namespace
43 #define raw_outb(val,port) out_8((port),(val)) argument
44 #define raw_outw(val,port) out_be16((port),(val)) argument
45 #define raw_outl(val,port) out_be32((port),(val)) argument
46 #define __raw_writeb(val,addr) out_8((addr),(val)) argument
47 #define __raw_writew(val,addr) out_be16((addr),(val)) argument
48 #define __raw_writel(val,addr) out_be32((addr),(val)) argument
51 * Atari ROM port (cartridge port) ISA adapter, used for the EtherNEC NE2000
53 * The ISA adapter connects address lines A9-A13 to ISA address lines A0-A4,
56 * Data lines D8-D15 are connected to ISA data lines D0-D7 for reading.
57 * For writes, address lines A1-A8 are latched to ISA data lines D0-D7
58 * (meaning the bit pattern on A1-A8 can be read back as byte).
61 * reads are from the ROM A side range, writes are through the B side range
67 * chipset - 16 bit words are read straight off the ROM port while 16 bit
70 * asserted as A1-A8 address pattern). The high byte is then written to the
97 #define raw_rom_outb(val, port) rom_out_8((port), (val)) argument
98 #define raw_rom_outw(val, port) rom_out_be16((port), (val)) argument
116 tmp = (nr & 15) - 1; in raw_outsb()
124 tmp = (nr >> 4) - 1; in raw_outsb()
155 tmp = (nr & 15) - 1; in raw_insw()
163 tmp = (nr >> 4) - 1; in raw_insw()
195 tmp = (nr & 15) - 1; in raw_outsw()
203 tmp = (nr >> 4) - 1; in raw_outsw()
234 tmp = (nr & 15) - 1; in raw_insl()
242 tmp = (nr >> 4) - 1; in raw_insl()
274 tmp = (nr & 15) - 1; in raw_outsl()
282 tmp = (nr >> 4) - 1; in raw_outsl()