altera-a10sr.c (16217dc79dbc599b110dda26d0421df47904bba4) | altera-a10sr.c (7f70495a51889e86930fb3807fa984b8b370eaf3) |
---|---|
1/* 2 * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms and conditions of the GNU General Public License, 6 * version 2, as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope it will be useful, but WITHOUT --- 80 unchanged lines hidden (view full) --- 89 case ALTR_A10SR_WR_KEY_REG: 90 case ALTR_A10SR_PMBUS_REG: 91 return true; 92 default: 93 return false; 94 } 95} 96 | 1/* 2 * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms and conditions of the GNU General Public License, 6 * version 2, as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope it will be useful, but WITHOUT --- 80 unchanged lines hidden (view full) --- 89 case ALTR_A10SR_WR_KEY_REG: 90 case ALTR_A10SR_PMBUS_REG: 91 return true; 92 default: 93 return false; 94 } 95} 96 |
97const struct regmap_config altr_a10sr_regmap_config = { | 97static const struct regmap_config altr_a10sr_regmap_config = { |
98 .reg_bits = 8, 99 .val_bits = 8, 100 101 .cache_type = REGCACHE_NONE, 102 103 .use_single_rw = true, 104 .read_flag_mask = 1, 105 .write_flag_mask = 0, --- 64 unchanged lines hidden --- | 98 .reg_bits = 8, 99 .val_bits = 8, 100 101 .cache_type = REGCACHE_NONE, 102 103 .use_single_rw = true, 104 .read_flag_mask = 1, 105 .write_flag_mask = 0, --- 64 unchanged lines hidden --- |