Lines Matching defs:xgene_hwmon_dev
80 container_of(cl, struct xgene_hwmon_dev, mbox_client)
93 struct xgene_hwmon_dev {
131 static int xgene_hwmon_pcc_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
189 static int xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg)
226 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr,
255 static int xgene_hwmon_get_notification_msg(struct xgene_hwmon_dev *ctx,
276 static int xgene_hwmon_get_cpu_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
293 static int xgene_hwmon_get_io_pwr(struct xgene_hwmon_dev *ctx, u32 *val)
310 static int xgene_hwmon_get_temp(struct xgene_hwmon_dev *ctx, u32 *val)
322 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
346 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
369 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
384 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev);
416 static int xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx,
425 static void xgene_hwmon_process_pwrmsg(struct xgene_hwmon_dev *ctx,
439 struct xgene_hwmon_dev *ctx;
442 ctx = container_of(work, struct xgene_hwmon_dev, workq);
462 static int xgene_hwmon_rx_ready(struct xgene_hwmon_dev *ctx, void *msg)
480 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
530 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl);
616 struct xgene_hwmon_dev *ctx;
769 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev);