Lines Matching refs:nmk_i2c_dev
140 * struct nmk_i2c_dev - private data structure of the controller
152 struct nmk_i2c_dev {
193 static int flush_i2c_fifo(struct nmk_i2c_dev *dev)
228 static void disable_all_interrupts(struct nmk_i2c_dev *dev)
238 static void clear_all_interrupts(struct nmk_i2c_dev *dev)
249 static int init_hw(struct nmk_i2c_dev *dev)
276 static u32 load_i2c_mcr_reg(struct nmk_i2c_dev *dev)
308 static void setup_i2c_controller(struct nmk_i2c_dev *dev)
385 static int read_i2c(struct nmk_i2c_dev *dev)
444 static int write_i2c(struct nmk_i2c_dev *dev)
556 struct nmk_i2c_dev *dev = i2c_get_adapdata(i2c_adap);
609 static int disable_interrupts(struct nmk_i2c_dev *dev, u32 irq)
630 struct nmk_i2c_dev *dev = arg;
814 struct nmk_i2c_dev *dev;
817 dev = kzalloc(sizeof(struct nmk_i2c_dev), GFP_KERNEL);
919 struct nmk_i2c_dev *dev = platform_get_drvdata(pdev);