Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/i40e_osdep.h
/****************************************************************************** | /****************************************************************************** | ||||
Copyright (c) 2013-2015, Intel Corporation | Copyright (c) 2013-2017, Intel Corporation | ||||
All rights reserved. | All rights reserved. | ||||
Redistribution and use in source and binary forms, with or without | Redistribution and use in source and binary forms, with or without | ||||
modification, are permitted provided that the following conditions are met: | modification, are permitted provided that the following conditions are met: | ||||
1. Redistributions of source code must retain the above copyright notice, | 1. Redistributions of source code must retain the above copyright notice, | ||||
this list of conditions and the following disclaimer. | this list of conditions and the following disclaimer. | ||||
▲ Show 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | bus_space_read_8( ((struct i40e_osdep *)(a)->back)->mem_bus_space_tag, \ | ||||
reg)) | reg)) | ||||
#define wr64(a, reg, value) (\ | #define wr64(a, reg, value) (\ | ||||
bus_space_write_8( ((struct i40e_osdep *)(a)->back)->mem_bus_space_tag, \ | bus_space_write_8( ((struct i40e_osdep *)(a)->back)->mem_bus_space_tag, \ | ||||
((struct i40e_osdep *)(a)->back)->mem_bus_space_handle, \ | ((struct i40e_osdep *)(a)->back)->mem_bus_space_handle, \ | ||||
reg, value)) | reg, value)) | ||||
#define ixl_flush(a) ixl_flush_osdep((a)->back) | #define ixl_flush(a) ixl_flush_osdep((a)->back) | ||||
enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, | |||||
u16 *data); | |||||
#endif /* _I40E_OSDEP_H_ */ | #endif /* _I40E_OSDEP_H_ */ |