Lines Matching refs:dw_i2c_dev

250 struct dw_i2c_dev {  struct
261 u32 (*get_clk_rate_khz) (struct dw_i2c_dev *dev); argument
298 int (*init)(struct dw_i2c_dev *dev); argument
299 int (*set_sda_hold_time)(struct dw_i2c_dev *dev); argument
326 int (*probe)(struct dw_i2c_dev *dev);
327 void (*remove)(struct dw_i2c_dev *dev);
330 int i2c_dw_init_regmap(struct dw_i2c_dev *dev);
331 u32 i2c_dw_scl_hcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk,
333 u32 i2c_dw_scl_lcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk,
335 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev);
336 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev);
337 int i2c_dw_prepare_clk(struct dw_i2c_dev *dev, bool prepare);
338 int i2c_dw_acquire_lock(struct dw_i2c_dev *dev);
339 void i2c_dw_release_lock(struct dw_i2c_dev *dev);
340 int i2c_dw_wait_bus_not_busy(struct dw_i2c_dev *dev);
341 int i2c_dw_handle_tx_abort(struct dw_i2c_dev *dev);
342 int i2c_dw_set_fifo_size(struct dw_i2c_dev *dev);
347 static inline void __i2c_dw_enable(struct dw_i2c_dev *dev) in __i2c_dw_enable()
353 static inline void __i2c_dw_disable_nowait(struct dw_i2c_dev *dev) in __i2c_dw_disable_nowait()
359 static inline void __i2c_dw_write_intr_mask(struct dw_i2c_dev *dev, in __i2c_dw_write_intr_mask()
368 static inline void __i2c_dw_read_intr_mask(struct dw_i2c_dev *dev, in __i2c_dw_read_intr_mask()
377 void __i2c_dw_disable(struct dw_i2c_dev *dev);
378 void i2c_dw_disable(struct dw_i2c_dev *dev);
380 extern void i2c_dw_configure_master(struct dw_i2c_dev *dev);
381 extern int i2c_dw_probe_master(struct dw_i2c_dev *dev);
384 extern void i2c_dw_configure_slave(struct dw_i2c_dev *dev);
385 extern int i2c_dw_probe_slave(struct dw_i2c_dev *dev);
387 static inline void i2c_dw_configure_slave(struct dw_i2c_dev *dev) { } in i2c_dw_configure_slave()
388 static inline int i2c_dw_probe_slave(struct dw_i2c_dev *dev) { return -EINVAL; } in i2c_dw_probe_slave()
391 static inline void i2c_dw_configure(struct dw_i2c_dev *dev) in i2c_dw_configure()
399 int i2c_dw_probe(struct dw_i2c_dev *dev);
402 int i2c_dw_baytrail_probe_lock_support(struct dw_i2c_dev *dev);
406 int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev);
409 int i2c_dw_fw_parse_and_configure(struct dw_i2c_dev *dev);