e1000_nvm.c (de0ae5d1) | e1000_nvm.c (5b426b3e) |
---|---|
1/****************************************************************************** 2 SPDX-License-Identifier: BSD-3-Clause 3 4 Copyright (c) 2001-2020, Intel Corporation 5 All rights reserved. 6 7 Redistribution and use in source and binary forms, with or without 8 modification, are permitted provided that the following conditions are met: --- 49 unchanged lines hidden (view full) --- 58 nvm->ops.valid_led_default = e1000_null_led_default; 59 nvm->ops.validate = e1000_null_ops_generic; 60 nvm->ops.write = e1000_null_write_nvm; 61} 62 63/** 64 * e1000_null_nvm_read - No-op function, return 0 65 * @hw: pointer to the HW structure | 1/****************************************************************************** 2 SPDX-License-Identifier: BSD-3-Clause 3 4 Copyright (c) 2001-2020, Intel Corporation 5 All rights reserved. 6 7 Redistribution and use in source and binary forms, with or without 8 modification, are permitted provided that the following conditions are met: --- 49 unchanged lines hidden (view full) --- 58 nvm->ops.valid_led_default = e1000_null_led_default; 59 nvm->ops.validate = e1000_null_ops_generic; 60 nvm->ops.write = e1000_null_write_nvm; 61} 62 63/** 64 * e1000_null_nvm_read - No-op function, return 0 65 * @hw: pointer to the HW structure |
66 * @a: dummy variable 67 * @b: dummy variable 68 * @c: dummy variable |
|
66 **/ 67s32 e1000_null_read_nvm(struct e1000_hw E1000_UNUSEDARG *hw, 68 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, 69 u16 E1000_UNUSEDARG *c) 70{ 71 DEBUGFUNC("e1000_null_read_nvm"); 72 return E1000_SUCCESS; 73} --- 6 unchanged lines hidden (view full) --- 80{ 81 DEBUGFUNC("e1000_null_nvm_generic"); 82 return; 83} 84 85/** 86 * e1000_null_led_default - No-op function, return 0 87 * @hw: pointer to the HW structure | 69 **/ 70s32 e1000_null_read_nvm(struct e1000_hw E1000_UNUSEDARG *hw, 71 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, 72 u16 E1000_UNUSEDARG *c) 73{ 74 DEBUGFUNC("e1000_null_read_nvm"); 75 return E1000_SUCCESS; 76} --- 6 unchanged lines hidden (view full) --- 83{ 84 DEBUGFUNC("e1000_null_nvm_generic"); 85 return; 86} 87 88/** 89 * e1000_null_led_default - No-op function, return 0 90 * @hw: pointer to the HW structure |
91 * @data: dummy variable |
|
88 **/ 89s32 e1000_null_led_default(struct e1000_hw E1000_UNUSEDARG *hw, 90 u16 E1000_UNUSEDARG *data) 91{ 92 DEBUGFUNC("e1000_null_led_default"); 93 return E1000_SUCCESS; 94} 95 96/** 97 * e1000_null_write_nvm - No-op function, return 0 98 * @hw: pointer to the HW structure | 92 **/ 93s32 e1000_null_led_default(struct e1000_hw E1000_UNUSEDARG *hw, 94 u16 E1000_UNUSEDARG *data) 95{ 96 DEBUGFUNC("e1000_null_led_default"); 97 return E1000_SUCCESS; 98} 99 100/** 101 * e1000_null_write_nvm - No-op function, return 0 102 * @hw: pointer to the HW structure |
103 * @a: dummy variable 104 * @b: dummy variable 105 * @c: dummy variable |
|
99 **/ 100s32 e1000_null_write_nvm(struct e1000_hw E1000_UNUSEDARG *hw, 101 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, 102 u16 E1000_UNUSEDARG *c) 103{ 104 DEBUGFUNC("e1000_null_write_nvm"); 105 return E1000_SUCCESS; 106} --- 1131 unchanged lines hidden --- | 106 **/ 107s32 e1000_null_write_nvm(struct e1000_hw E1000_UNUSEDARG *hw, 108 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, 109 u16 E1000_UNUSEDARG *c) 110{ 111 DEBUGFUNC("e1000_null_write_nvm"); 112 return E1000_SUCCESS; 113} --- 1131 unchanged lines hidden --- |