Lines Matching defs:ops
39 if (!chip->ops->request_locality)
42 rc = chip->ops->request_locality(chip, 0);
54 if (!chip->ops->relinquish_locality)
57 rc = chip->ops->relinquish_locality(chip, chip->locality);
66 if (!chip->ops->cmd_ready)
69 return chip->ops->cmd_ready(chip);
74 if (!chip->ops->go_idle)
77 return chip->ops->go_idle(chip);
82 if (chip->ops->clk_enable)
83 chip->ops->clk_enable(chip, true);
88 if (chip->ops->clk_enable)
89 chip->ops->clk_enable(chip, false);
146 * valid. This function will lock the chip so that the ops member can be
159 if (!chip->ops)
297 chip->ops = NULL;
308 * @ops: struct tpm_class_ops instance
314 const struct tpm_class_ops *ops)
326 chip->ops = ops;
379 * @ops: struct tpm_class_ops instance
384 const struct tpm_class_ops *ops)
389 chip = tpm_chip_alloc(pdev, ops);
453 chip->ops = NULL;