Searched refs:amd_i2c_common (Results 1 – 3 of 3) sorted by relevance
18 struct amd_i2c_common;152 struct amd_i2c_common { struct156 void (*cmd_completion)(struct amd_i2c_common *i2c_common); argument164 int (*suspend)(struct amd_i2c_common *i2c_common); argument165 int (*resume)(struct amd_i2c_common *i2c_common); argument181 struct amd_i2c_common *busses[2];191 int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd);192 int amd_mp2_bus_enable_set(struct amd_i2c_common *i2c_common, bool enable);194 void amd_mp2_process_event(struct amd_i2c_common *i2c_common);196 void amd_mp2_rw_timeout(struct amd_i2c_common *i2c_common);[all …]
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()[all …]
32 struct amd_i2c_common common;41 static int i2c_amd_dma_map(struct amd_i2c_common *i2c_common) in i2c_amd_dma_map()64 static void i2c_amd_dma_unmap(struct amd_i2c_common *i2c_common) in i2c_amd_dma_unmap()79 struct amd_i2c_common *i2c_common = &i2c_dev->common; in i2c_amd_start_cmd()85 static void i2c_amd_cmd_completion(struct amd_i2c_common *i2c_common) in i2c_amd_cmd_completion()99 struct amd_i2c_common *i2c_common = &i2c_dev->common; in i2c_amd_check_cmd_completion()125 struct amd_i2c_common *i2c_common = &i2c_dev->common; in i2c_amd_enable_set()135 struct amd_i2c_common *i2c_common = &i2c_dev->common; in i2c_amd_xfer_msg()187 static int i2c_amd_suspend(struct amd_i2c_common *i2c_common) in i2c_amd_suspend()195 static int i2c_amd_resume(struct amd_i2c_common *i2c_common) in i2c_amd_resume()[all …]