ioat_internal.h (b81eee4a) | ioat_internal.h (7afbb263) |
---|---|
1/*- 2 * Copyright (C) 2012 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 352 unchanged lines hidden (view full) --- 361 uint32_t ring_size_order; 362 bus_addr_t last_seen; 363 364 struct ioat_descriptor **ring; 365 366 struct mtx cleanup_lock; 367}; 368 | 1/*- 2 * Copyright (C) 2012 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 352 unchanged lines hidden (view full) --- 361 uint32_t ring_size_order; 362 bus_addr_t last_seen; 363 364 struct ioat_descriptor **ring; 365 366 struct mtx cleanup_lock; 367}; 368 |
369void ioat_test_attach(void); 370void ioat_test_detach(void); 371 |
|
369static inline uint64_t 370ioat_get_chansts(struct ioat_softc *ioat) 371{ 372 uint64_t status; 373 374 if (ioat->version >= IOAT_VER_3_3) 375 status = ioat_read_8(ioat, IOAT_CHANSTS_OFFSET); 376 else --- 71 unchanged lines hidden --- | 372static inline uint64_t 373ioat_get_chansts(struct ioat_softc *ioat) 374{ 375 uint64_t status; 376 377 if (ioat->version >= IOAT_VER_3_3) 378 status = ioat_read_8(ioat, IOAT_CHANSTS_OFFSET); 379 else --- 71 unchanged lines hidden --- |