Lines Matching +full:rom +full:- +full:19 +full:h
1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/types.h>
7 #include <linux/netdevice.h>
8 #include <linux/spinlock_types.h>
9 #include <linux/dma-mapping.h>
10 #include <linux/pci.h>
11 #include <linux/list.h>
12 #include <linux/u64_stats_sync.h>
133 * 31-8 - phy addr of set of contiguous hdr buffers
134 * 7-0 - number of buffers passed
135 * Buffers are 256 bytes long on 256-byte boundaries.
144 * 31-5 - phy addr of host command buffer
145 * 4-0 - length of cmd in multiples of 32 bytes
152 * 31-8 - phy addr of set of contiguous response buffers
153 * 7-0 - number of buffers passed
154 * Buffers are 32 bytes long on 32-byte boundaries.
204 * Bits 63-32 for host i/f addrs.
286 u64_stats_update_begin(&(st)->syncp); \
287 (st)->counter++; \
288 u64_stats_update_end(&(st)->syncp); \
295 start = u64_stats_fetch_begin(&(st)->syncp); \
296 newst = (st)->counter; \
297 } while (u64_stats_fetch_retry(&(st)->syncp, start)); \
331 __le16 ramrom; /* 14 Dram/Rom function */
333 __le16 rom_size2pci; /* 16 ROM extension size to PCI (bytes * 4k) */
336 u8 ifctrl; /* 10-bit interface control (Mojave only) */
337 __le16 dram_size; /* 19 DRAM size (bytes * 64k) */
353 u8 pad3[4]; /* Pad to 128 bytes - includes 2 cksum bytes
379 __le16 rom_size2pci; /* 16 Flash (ROM extension) size to PCI
384 __le16 dev_stat_cfg; /* 19 Device Status Config Bytes 6-7 */
403 u8 pad[4]; /* Pad to 128 bytes - includes 2 checksum bytes
559 return ioread32(sdev->regs + reg); in slic_read()
565 iowrite32(val, sdev->regs + reg); in slic_write()
570 (void)ioread32(sdev->regs + SLIC_REG_HOSTID); in slic_flush_write()