• Home
  • Raw
  • Download

Lines Matching refs:xgene_hwmon_dev

80 	container_of(cl, struct xgene_hwmon_dev, mbox_client)
93 struct xgene_hwmon_dev { struct
131 static int xgene_hwmon_pcc_rd(struct xgene_hwmon_dev *ctx, u32 *msg) in xgene_hwmon_pcc_rd() argument
189 static int xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg) in xgene_hwmon_rd()
226 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr, in xgene_hwmon_reg_map_rd()
255 static int xgene_hwmon_get_notification_msg(struct xgene_hwmon_dev *ctx, in xgene_hwmon_get_notification_msg()
276 static int xgene_hwmon_get_cpu_pwr(struct xgene_hwmon_dev *ctx, u32 *val) in xgene_hwmon_get_cpu_pwr()
293 static int xgene_hwmon_get_io_pwr(struct xgene_hwmon_dev *ctx, u32 *val) in xgene_hwmon_get_io_pwr()
310 static int xgene_hwmon_get_temp(struct xgene_hwmon_dev *ctx, u32 *val) in xgene_hwmon_get_temp()
322 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in temp1_input_show()
346 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in temp1_critical_alarm_show()
369 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in power1_input_show()
384 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); in power2_input_show()
416 static int xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx, in xgene_hwmon_tpc_alarm()
425 static void xgene_hwmon_process_pwrmsg(struct xgene_hwmon_dev *ctx, in xgene_hwmon_process_pwrmsg()
439 struct xgene_hwmon_dev *ctx; in xgene_hwmon_evt_work()
442 ctx = container_of(work, struct xgene_hwmon_dev, workq); in xgene_hwmon_evt_work()
462 static int xgene_hwmon_rx_ready(struct xgene_hwmon_dev *ctx, void *msg) in xgene_hwmon_rx_ready()
480 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); in xgene_hwmon_rx_cb()
530 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); in xgene_hwmon_pcc_rx_cb()
616 struct xgene_hwmon_dev *ctx; in xgene_hwmon_probe()
769 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev); in xgene_hwmon_remove()