Searched refs:smu_i2c_cmd (Results 1 – 3 of 3) sorted by relevance
494 struct smu_i2c_cmd struct498 void (*done)(struct smu_i2c_cmd *cmd, void *misc); argument517 extern int smu_queue_i2c(struct smu_i2c_cmd *cmd); argument
91 struct smu_i2c_cmd *cmd_i2c_cur; /* pending i2c command */706 static void smu_i2c_complete_command(struct smu_i2c_cmd *cmd, int fail) in smu_i2c_complete_command()708 void (*done)(struct smu_i2c_cmd *cmd, void *misc) = cmd->done; in smu_i2c_complete_command()734 struct smu_i2c_cmd *newcmd; in smu_i2c_complete_command()738 struct smu_i2c_cmd, link); in smu_i2c_complete_command()758 struct smu_i2c_cmd *cmd = smu->cmd_i2c_cur; in smu_i2c_retry()771 struct smu_i2c_cmd *cmd = misc; in smu_i2c_low_completion()823 int smu_queue_i2c(struct smu_i2c_cmd *cmd) in smu_queue_i2c()
835 static void smu_i2c_complete(struct smu_i2c_cmd *cmd, void *misc) in smu_i2c_complete()843 struct smu_i2c_cmd *cmd = bus->hostdata; in smu_i2c_xfer()852 memset(cmd, 0, sizeof(struct smu_i2c_cmd)); in smu_i2c_xfer()926 sz = sizeof(struct pmac_i2c_bus) + sizeof(struct smu_i2c_cmd); in smu_i2c_probe()