Lines Matching defs:xgene_hwmon_dev
74 container_of(cl, struct xgene_hwmon_dev, mbox_client)
87 struct xgene_hwmon_dev {
124 static int xgene_hwmon_pcc_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
183 static int xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
220 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr,
249 static int xgene_hwmon_get_notification_msg(struct xgene_hwmon_dev *ctx,
270 static int xgene_hwmon_get_cpu_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
287 static int xgene_hwmon_get_io_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
304 static int xgene_hwmon_get_temp(struct xgene_hwmon_dev *ctx, u32 *val)
316 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
340 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
363 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
378 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
410 static int xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx,
419 static void xgene_hwmon_process_pwrmsg(struct xgene_hwmon_dev *ctx,
433 struct xgene_hwmon_dev *ctx;
436 ctx = container_of(work, struct xgene_hwmon_dev, workq);
456 static int xgene_hwmon_rx_ready(struct xgene_hwmon_dev *ctx, void *msg)
474 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
524 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
611 struct xgene_hwmon_dev *ctx;
725 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev);