Lines Matching defs:i2c_common
19 static void amd_mp2_c2p_mutex_lock(struct amd_i2c_common *i2c_common) in amd_mp2_c2p_mutex_lock()
28 static void amd_mp2_c2p_mutex_unlock(struct amd_i2c_common *i2c_common) in amd_mp2_c2p_mutex_unlock()
42 static int amd_mp2_cmd(struct amd_i2c_common *i2c_common, in amd_mp2_cmd()
57 int amd_mp2_bus_enable_set(struct amd_i2c_common *i2c_common, bool enable) in amd_mp2_bus_enable_set()
75 static void amd_mp2_cmd_rw_fill(struct amd_i2c_common *i2c_common, in amd_mp2_cmd_rw_fill()
86 int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd) in amd_mp2_rw()
110 static void amd_mp2_pci_check_rw_event(struct amd_i2c_common *i2c_common) in amd_mp2_pci_check_rw_event()
134 static void __amd_mp2_process_event(struct amd_i2c_common *i2c_common) in __amd_mp2_process_event()
183 void amd_mp2_process_event(struct amd_i2c_common *i2c_common) in amd_mp2_process_event()
205 struct amd_i2c_common *i2c_common; in amd_mp2_irq_isr() local
241 void amd_mp2_rw_timeout(struct amd_i2c_common *i2c_common) in amd_mp2_rw_timeout()
248 int amd_mp2_register_cb(struct amd_i2c_common *i2c_common) in amd_mp2_register_cb()
267 int amd_mp2_unregister_cb(struct amd_i2c_common *i2c_common) in amd_mp2_unregister_cb()
390 struct amd_i2c_common *i2c_common; in amd_mp2_pci_suspend() local
414 struct amd_i2c_common *i2c_common; in amd_mp2_pci_resume() local