Lines Matching defs:npcm_i2c
289 struct npcm_i2c { struct
293 const struct npcm_i2c_data *data; argument
294 spinlock_t lock; /* IRQ synchronization */
295 struct completion cmd_complete;
296 int cmd_err;
297 struct i2c_msg *msgs;
298 int msgs_num;
299 int num;
300 u32 apb_clk;
301 struct i2c_bus_recovery_info rinfo;
302 enum i2c_state state;
303 enum i2c_oper operation;
304 enum i2c_mode master_or_slave;
305 enum i2c_state_ind stop_ind;
306 u8 dest_addr;
307 u8 *rd_buf;
308 u16 rd_size;
309 u16 rd_ind;
310 u8 *wr_buf;
311 u16 wr_size;
312 u16 wr_ind;
313 bool fifo_use;
314 u16 PEC_mask; /* PEC bit mask per slave address */
338 static inline void npcm_i2c_select_bank(struct npcm_i2c *bus, in npcm_i2c_select_bank() argument