linux-4.4.1/regmap_write()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#e96844e6]
#backlinks
*説明 [#g295b37e]
-パス: 複数あり
--CONFIG_REGMAP 有効: [[linux-4.4.1/drivers/base/regmap/r...
--CONFIG_REGMAP 無効: [[linux-4.4.1/include/linux/regmap....
-FIXME: これは何?
--説明
**引数 [#d87fab89]
-struct regmap *map
--
--[[linux-4.4.1/regmap]]
-unsigned int reg
--
-unsigned int val
--
**返り値 [#m7be501d]
-int
--
**参考 [#fcb5d911]
*実装 [#y99061ec]
**CONFIG_REGMAP 有効: drivers/base/regmap/regmap.c [#x9f4...
/**
* regmap_write(): Write a value to a single register
*
* @map: Register map to write to
* @reg: Register to write to
* @val: Value to be written
*
* A value of zero will be returned on success, a negati...
* be returned in error cases.
*/
int regmap_write(struct regmap *map, unsigned int reg, u...
{
int ret;
if (reg % map->reg_stride)
return -EINVAL;
map->lock(map->lock_arg);
ret = _regmap_write(map, reg, val);
-
--[[linux-4.4.1/_regmap_write()]]
map->unlock(map->lock_arg);
return ret;
}
EXPORT_SYMBOL_GPL(regmap_write);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
**CONFIG_REGMAP 無効: include/linux/regmap.h [#v69c48b8]
static inline int regmap_write(struct regmap *map, unsig...
unsigned int val)
{
WARN_ONCE(1, "regmap API is disabled");
-
--[[linux-4.4.1/WARN_ONCE()]]
return -EINVAL;
}
*コメント [#k7649dae]
終了行:
*参照元 [#e96844e6]
#backlinks
*説明 [#g295b37e]
-パス: 複数あり
--CONFIG_REGMAP 有効: [[linux-4.4.1/drivers/base/regmap/r...
--CONFIG_REGMAP 無効: [[linux-4.4.1/include/linux/regmap....
-FIXME: これは何?
--説明
**引数 [#d87fab89]
-struct regmap *map
--
--[[linux-4.4.1/regmap]]
-unsigned int reg
--
-unsigned int val
--
**返り値 [#m7be501d]
-int
--
**参考 [#fcb5d911]
*実装 [#y99061ec]
**CONFIG_REGMAP 有効: drivers/base/regmap/regmap.c [#x9f4...
/**
* regmap_write(): Write a value to a single register
*
* @map: Register map to write to
* @reg: Register to write to
* @val: Value to be written
*
* A value of zero will be returned on success, a negati...
* be returned in error cases.
*/
int regmap_write(struct regmap *map, unsigned int reg, u...
{
int ret;
if (reg % map->reg_stride)
return -EINVAL;
map->lock(map->lock_arg);
ret = _regmap_write(map, reg, val);
-
--[[linux-4.4.1/_regmap_write()]]
map->unlock(map->lock_arg);
return ret;
}
EXPORT_SYMBOL_GPL(regmap_write);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
**CONFIG_REGMAP 無効: include/linux/regmap.h [#v69c48b8]
static inline int regmap_write(struct regmap *map, unsig...
unsigned int val)
{
WARN_ONCE(1, "regmap API is disabled");
-
--[[linux-4.4.1/WARN_ONCE()]]
return -EINVAL;
}
*コメント [#k7649dae]
ページ名: