Lines Matching defs:xgene_hwmon_dev
80 container_of(cl, struct xgene_hwmon_dev, mbox_client)
93 struct xgene_hwmon_dev {
132 static int xgene_hwmon_pcc_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
190 static int xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
227 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr,
256 static int xgene_hwmon_get_notification_msg(struct xgene_hwmon_dev *ctx,
277 static int xgene_hwmon_get_cpu_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
294 static int xgene_hwmon_get_io_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
311 static int xgene_hwmon_get_temp(struct xgene_hwmon_dev *ctx, u32 *val)
323 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
347 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
370 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
385 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
417 static int xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx,
426 static void xgene_hwmon_process_pwrmsg(struct xgene_hwmon_dev *ctx,
440 struct xgene_hwmon_dev *ctx;
443 ctx = container_of(work, struct xgene_hwmon_dev, workq);
463 static int xgene_hwmon_rx_ready(struct xgene_hwmon_dev *ctx, void *msg)
481 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
531 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
617 struct xgene_hwmon_dev *ctx;
762 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev);