Searched +full:riic +full:- +full:r7s72100 (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | renesas,riic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/renesas,riic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/A and RZ/G2L I2C Bus Interface (RIIC) 10 - Chris Brandt <chris.brandt@renesas.com> 11 - Wolfram Sang <wsa+renesas@sang-engineering.com> 14 - $ref: /schemas/i2c/i2c-controller.yaml# 19 - items: 20 - enum: [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-riic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas RIIC driver 5 * Copyright (C) 2013 Wolfram Sang <wsa@sang-engineering.com> 78 #define RIIC_INIT_MSG -1 122 static inline void riic_writeb(struct riic_dev *riic, u8 val, u8 offset) in riic_writeb() argument 124 writeb(val, riic->base + riic->info->regs[offset]); in riic_writeb() 127 static inline u8 riic_readb(struct riic_dev *riic, u8 offset) in riic_readb() argument 129 return readb(riic->base + riic->info->regs[offset]); in riic_readb() 132 static inline void riic_clear_set_bit(struct riic_dev *riic, u8 clear, u8 set, u8 reg) in riic_clear_set_bit() argument 134 riic_writeb(riic, (riic_readb(riic, reg) & ~clear) | set, reg); in riic_clear_set_bit() [all …]
|